Forum: Ruby on Rails Migrations for populating authority tables

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.
Steve Lloyd (Guest)
on 2006-01-25 11:20
I've got a number of fixtures which populate 'authority' tables in an
app (eg tables which are used to construct the values of selects or
valid 'constants'). These will be updated infrequently and are
'configuration' data, so I'm not sure its worth constructing an
interface to do this in the deployed app.
Seeing as migrations can execute arbitrary code, I had thought of adding
one to populate these authority tables-any thoughts on this approach?
Tom M. (Guest)
on 2006-01-25 20:16
(Received via mailing list)
Sounds perfectly reasonable to me.

-- Tom M.
This topic is locked and can not be replied to.