Fix generator for ActiveRecord migration in Rails 4. This commit fixes #22.