Forum: Ruby on Rails External data file for a model

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9ced25040ef51a7d985591aa452d9e18?d=identicon&s=25 Ryan Glover (prion)
on 2007-01-06 05:08

I have a number of models that each require some static key/value pairs
to perform calculations.  I envision an external file for each model
named the same as the model that the model can open and parse when

I liken this external file to the .plist files that apple apps have.

Q1.  Does this make sense?  Is there an easy way to do this?

Q2.  Does Rails have a .plist equivalent or something similar?

Q3.  Does Rails have built in parsing functionality that can make this
easy (say xml or yaml)?

Many thanks,
Ryan Glover
This topic is locked and can not be replied to.