aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_assignment.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-12-26 16:28:36 -0700
committerSean Griffin <sean@thoughtbot.com>2014-12-26 16:28:36 -0700
commit5f521cbff3c8a46cfc8e16b234294a20c285d00d (patch)
tree531329ffc6a65d7dc8da260c5ab75a649294ae53 /activerecord/lib/active_record/attribute_assignment.rb
parentefe5986696960c53deca53312cc6d67c0a303537 (diff)
downloadrails-5f521cbff3c8a46cfc8e16b234294a20c285d00d.tar.gz
rails-5f521cbff3c8a46cfc8e16b234294a20c285d00d.tar.bz2
rails-5f521cbff3c8a46cfc8e16b234294a20c285d00d.zip
Go through normal `where` logic in uniqueness validation
This code could use some much heavier refactoring. It looks like `build_relation` duplicates most of the logic of `Relation#where` and `PredicateBuilder` with regards to handling associations and attribute aliases
Diffstat (limited to 'activerecord/lib/active_record/attribute_assignment.rb')
0 files changed, 0 insertions, 0 deletions