• J
    Pass in the model class rather than engine · e55c75d2
    Jon Leighton 提交于
    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.
    e55c75d2
query_methods.rb 25.6 KB