lib/active_configuration/setting_manager.rb
# Writes over multiple settings and saves all setting updates at once.
#
# @param [Hash] replacement_settings the has of settings to be set.
#
# @return [Boolean] whether or not the save was successful.
Writes over multiple settings and saves all setting updates at once.
Writes over multiple settings and saves all setting updates at once .
def update_settings(replacement_settings = {})
      write_settings(replacement_settings)
      validate
      return (@configurable.errors[:settings].empty? ? save : false)
    end
def update_settings ( replacement_settings = { } ) write_settings ( replacement_settings ) validate return ( @configurable . errors [ :settings ] . empty? ? save : false ) end
Writes over multiple settings and saves all setting updates at once.
Writes over multiple settings and saves all setting updates at once .
whether or not the save was successful.
whether or not the save was successful .
Boolean
replacement_settings
<not_specific>
<not_specific>
replacement_settings the has of settings to be set.
replacement_settings the has of settings to be set .