collectiveidea/delayed_job_active_record — pull request #45 by michalczapko (2013-03-25 00:31:51+00:00)
Title: Fix generator for activerecord migration file

I got an error (reported also in issue #41) when trying to generate migration with `rails g delayed_job:active_record`. It seems that activerecord was restructured lastly and our generator tried to load not existing file. Also we missed `next_migration_number` class method.