aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-12-26 14:44:48 -0700
committerSean Griffin <sean@thoughtbot.com>2014-12-26 14:44:48 -0700
commit3bbe88ecd7c6a21e01c4730fd6d2034338b9e034 (patch)
tree9fe6bf0909f1aa56536d9b1a0096bb535ebc83e5 /activerecord/lib/active_record/validations
parent392a453b10abad60432f2612000f306de55b7d1a (diff)
downloadrails-3bbe88ecd7c6a21e01c4730fd6d2034338b9e034.tar.gz
rails-3bbe88ecd7c6a21e01c4730fd6d2034338b9e034.tar.bz2
rails-3bbe88ecd7c6a21e01c4730fd6d2034338b9e034.zip
Refactor association handling in `PredicateBuilder`
I'm attempting to remove `klass` as a dependency of the predicate builder, in favor of an object that better represents what we're using it for. The only part of this which doesn't fit nicely into that picture is the check for an association being polymorphic. Since I'm not yet sure what that is going to look like, I've moved this logic into another class in an attempt to separate things that will change from things that won't.
Diffstat (limited to 'activerecord/lib/active_record/validations')
0 files changed, 0 insertions, 0 deletions