This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Auditable | |
extend ActiveSupport::Concern | |
# @TODO: Figure out a way around this? | |
# This causes the session to not exist in rspec | |
included do | |
if Rails.env != "test" | |
audited except: [:heartbeat, :try], allow_mass_assignment: true | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.network :forwarded_port, guest: 3000, host: 3000 | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
config.vm.provider :virtualbox do |vm| | |
vm.customize ["modifyvm", :id, "--name", project] | |
vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
host = RbConfig::CONFIG['host_os'] |
OlderNewer