My app won't launch because it has some Legacy models that rely on
a :legacy database adapter.
I have no intention to use these models in production -- they're only
used to migrate legacy content. So my plan is to just run my legacy
migration rake task in development, migrate all legacy data, and then
push the data to my Heroku app.
Sure, the easy fix would be to just ditch the models entirely, but
realistically I'll need to migrate legacy data repeatedly until the
app is completed and launched publicly.
So how can I tell Heroku to ignore these models?
I've tried this:
config.load_paths += %W( #{RAILS_ROOT}/app/models/legacy ) unless
RAILS_ENV == 'production'
But Heroku seems to ignore it.
--
You received this message because you are subscribed to the Google Groups
"Heroku" 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/heroku?hl=en.