search for: settingsdefaults

Displaying 1 result from an estimated 1 matches for "settingsdefaults".

2006 Apr 13
5
Changing class data in environmrnt.rb
Greetings, I have a class that should allow you define some default values. It seems to make the most sense to do this environment.rb since its the default app configuration. It currently looks like this: Settings::DEFAULT_VALUES.merge!({ :setting_one => ''foo'', :settings_two => ''bar'' }) The problem is in development mode, the values are only