Fix generator for activerecord migration file for Rails4

Just a fix for the generators to work properly in Rails 4.
Todo: compatibility for Strong params.

Temporary use: add `protected_attributes` gem to your project.