Skip to content

running w Rails 3.2.10... #6

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions