Fix bug in ActiveRecord::Sanitization#sanitize_sql_hash_for_conditions #10350

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@zjo
zjo commented Apr 25, 2013

Always passing Class into PredicateBuilder.build_from_hash. This is a problem when using associations and throws NoMethodError when PredicateBuilder attempts to call Class.reflect_on_association.

@zjo zjo closed this Apr 25, 2013
@zjo zjo reopened this Apr 25, 2013
@zjo zjo closed this Apr 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment