diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-09-13 00:12:25 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-09-13 00:14:36 +0100 |
commit | e55c75d2d8c137a2482fb6464953801e69b6e335 (patch) | |
tree | 23a2c6c2df153adf87c5303622724af707547394 /railties/test/fixtures | |
parent | e588c98035cbb0ab55d9509cf64916b97383ab6e (diff) | |
download | rails-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/fixtures')
0 files changed, 0 insertions, 0 deletions