Displaying 1 result from an estimated 1 matches for "5620a581".
Did you mean:
562081
2006 Aug 16
2
Where and how to store app wide settings variables?
Hi all
I''d like to know what''s a good way to store app wide settings variables.
Because for example I have different fields in models that all should be
20 chars long (validates_length_of :maximum => 20). I don''t want to
hard-code that, because in future this could change.
So where should I store such vars? In the environment.rb file in
constants like...?