Installing migrations from Rails engine
===

I see a lot of people on the web using:

    migration_template "create_something.rb", "db/migrate/create_something.rb"

But in the docs for the [Rails::Engine][1] they give a special rake task:

    rake ENGINE_NAME:install:migrations

So what's the current preferred way to install migrations?

  [1]: http://edgeapi.rubyonrails.org/classes/Rails/Engine.html