bill walton wrote:
> Hi,
> 
> On Thu, 2009-11-05 at 17:55 -0800, Zovar wrote:
>> Hello,
>> 
>> I was wondering if there is a right way to keep some 
>> static arrays of data inside the application.
> 
> I'd consider storing them in the models to which they relate.  If they
> need their own models, that's easy too.  The models don't have to
> inherit from ActiveRecord.

I'm about to try something kind of similar.  I'm going to be 
experimenting with storing state and country info outside the DB, since 
it's static and relatively small.  I hope to use one of the tableless AR 
libraries to make the data act like an AR model, though.  Perhaps I'll 
find out why no one does this... :)

> 
> HTH,
> Bill

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to