Forum: Rails Engines Migrations with Engines 1.2?

Posted by Tony Arcieri (Guest)
on 2007-01-26 02:09
(Received via mailing list)
So do I have to install plugin_migrations to run my migrations now?  I
installed the plugin_dependencies, loaded_plugins, and plugin_migrations
plugins (uggggh) and rake db:migrate:plugins gibs with:

rake aborted!
can't convert Array into String
/Users/tarcieri/src/clickcaster/config/../vendor/plugins/plugin_migrations/tasks/plugin_migrations_tasks.rake:13:in
`basename'

Awesome
Posted by Martijn van Leeuwen - MVLWebdesign (Guest)
on 2007-01-26 09:08
(Received via mailing list)
Run a plugin_migration yes. And than rake db:migrate. Works fine here.
Posted by James Adam (Guest)
on 2007-01-26 09:29
(Received via mailing list)
No - you don't need to install any other plugins. Run

  script/generate plugin_migration [PLUGIN=name]

To create migrations in your application for your installed plugins.
This is different from pluginaweek's "plugin_migrations" plugin - it's
a generator that comes with the engines plugin.
Posted by Tony Arcieri (Guest)
on 2007-09-25 22:41
(Received via mailing list)
Well, never mind... adding PLUGIN=my_engine solved the problem.

Is this the "recommended" way of doing migrations now?

- Tony
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.