lib/rails-settings/settings.rb in rails-settings-cached-0.3.0 vs lib/rails-settings/settings.rb in rails-settings-cached-0.3.1
- old
+ new
@@ -1,9 +1,8 @@
module RailsSettings
class Settings < ActiveRecord::Base
self.table_name = 'settings'
- # attr_accessible :var
class SettingNotFound < RuntimeError; end
cattr_accessor :defaults
@@defaults = {}.with_indifferent_access