Ruby on Rails
Tuesday, October 20, 2015
According to the Rails guides (http://guides.rubyonrails.org/engines.html), after creating an engine using --mountable, there should should be a rake task in the parent app (not the engine), in the format for copying engine migrations from the Rails engine into the parent app.
copies migrations from the Rails engine to the parent app.
-- rake <engine>:install:migrationsI've run through the tutorial in the guides twice and each time there is only the following rake task in the Rails engine (which copies the engine migrations into /test/dummy/db/migrate):
Neither
rake app:<engine>:install:migrationsNeither
rake <engine>:install:migrationsnor
rake railties:install:migrationsGrateful for any help/suggestions you can offer.
- Thanks!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/246fa9be-31ae-4999-9b06-77ad4c61f0d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment