Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running w Rails 3.2.10... #6

Open
ghost opened this issue Jan 23, 2013 · 0 comments
Open

running w Rails 3.2.10... #6

ghost opened this issue Jan 23, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2013

Need to change a little bit the settings.rb, then created the migration... running fine THANKS !

cattr_accessor :defaults

attr_accessible :var, :value

def Settings.defaults
@@defaults ||= {}.with_indifferent_access
end

Also Have to modify one line in
def self.method_missing(method, *args)

if method_name =~ /=$/

unless (method_name =~ /=$/).nil?
aaronjensen pushed a commit to substantial/rails-settings that referenced this issue Jun 13, 2013
set_table_name -> self.table_name=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants