diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-01-01 03:17:47 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-01-01 04:17:56 +0530 |
commit | 141d3aff2f010384cc5d3488f75605bd0f702416 (patch) | |
tree | 9849644a1cb5d6323ba7ecbdd6577f7529c2b235 /activerecord | |
parent | 3c23b71a09c28a7be13090f83161963b56a5088e (diff) | |
download | rails-141d3aff2f010384cc5d3488f75605bd0f702416.tar.gz rails-141d3aff2f010384cc5d3488f75605bd0f702416.tar.bz2 rails-141d3aff2f010384cc5d3488f75605bd0f702416.zip |
Fix the method name for recusion
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation/predicate_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/predicate_builder.rb b/activerecord/lib/active_record/relation/predicate_builder.rb index c85a0510b4..223eb71885 100644 --- a/activerecord/lib/active_record/relation/predicate_builder.rb +++ b/activerecord/lib/active_record/relation/predicate_builder.rb @@ -11,7 +11,7 @@ module ActiveRecord if value.is_a?(Hash) arel_table = Arel::Table.new(column, @engine) - build_predicate_from_hash(value, arel_table) + build_from_hash(value, arel_table) else column = column.to_s |