lib/rails-settings/settings.rb in rails-settings-cached-0.5.3 vs lib/rails-settings/settings.rb in rails-settings-cached-0.5.4

- old
+ new

@@ -14,10 +14,10 @@ @@defaults = SettingsDefaults::DEFAULTS.with_indifferent_access end # get the value field, YAML decoded def value - YAML.load(self[:value]) + YAML.load(self[:value]) if self[:value].present? end # set the value field, YAML encoded def value=(new_value) self[:value] = new_value.to_yaml