Class: Setting::RemoteExecution
- Inherits:
-
Setting
- Object
- Setting
- Setting::RemoteExecution
- Defined in:
- app/models/setting/remote_execution.rb
Class Method Summary collapse
Class Method Details
.load_defaults ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'app/models/setting/remote_execution.rb', line 3 def self.load_defaults # Check the table exists return unless super self.transaction do [ self.set('remote_execution_global_proxy', N_("Allows searching for remote execution proxy outside of the proxies assigned to the host: useful when missing the host proxies associations"), false), ].each { |s| self.create! s.update(:category => "Setting::RemoteExecution") } end true end |