Module: Lockdown::Frameworks::Rails::System
- Includes:
- Controller
- Defined in:
- lib/lockdown/frameworks/rails.rb
Instance Method Summary
collapse
Methods included from Controller
#available_actions, #controller_name
Instance Method Details
#skip_sync? ⇒ Boolean
99
100
101
|
# File 'lib/lockdown/frameworks/rails.rb', line 99
def skip_sync?
Lockdown::System.fetch(:skip_db_sync_in).include?(ENV['RAILS_ENV'])
end
|