aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/migration_generator_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-09-13 00:12:25 +0100
committerJon Leighton <j@jonathanleighton.com>2012-09-13 00:14:36 +0100
commite55c75d2d8c137a2482fb6464953801e69b6e335 (patch)
tree23a2c6c2df153adf87c5303622724af707547394 /railties/test/generators/migration_generator_test.rb
parente588c98035cbb0ab55d9509cf64916b97383ab6e (diff)
downloadrails-e55c75d2d8c137a2482fb6464953801e69b6e335.tar.gz
rails-e55c75d2d8c137a2482fb6464953801e69b6e335.tar.bz2
rails-e55c75d2d8c137a2482fb6464953801e69b6e335.zip
Pass in the model class rather than engine
In some circumstances engine was Arel::Table.engine which for separate reasons was an ActiveRecord::Model::DeprecationProxy, which caused a deprecation warning. In any case, we want the actual model class here, since we want to use it to infer information about associations.
Diffstat (limited to 'railties/test/generators/migration_generator_test.rb')
0 files changed, 0 insertions, 0 deletions