fix "uninitialized constant ActiveRecord::Generators (NameError)" error

in rails 4