jcasimir/draper — Issue #53: g.orm :decorator, :invoke_after_finished breaks `rails g migration`
Author: listrophy
Created: 2011-10-17 15:22:19+00:00
State: open

In the README, it's suggested to add the following line to config/application.rb:

g.orm :decorator, :invoke_after_finished => "active_record:model"

However, if you add this, running the following:

rails generate migration add_foo_to_bar

Will invoke active_record:model in such a way that it will create an add_foo_to_bar model, spec, and decorator. This is undesired.