rails/rails — pull request #10352 by zohlgren (2013-04-26 00:23:35+00:00)
Title: Fix bug in ActiveRecord::Sanitization#sanitize_sql_hash_for_conditions

Currently throwing NoMethodError when using associations because method is always passing Class to PredicateBuilder#build_from_hash.