aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/timestamp.rb
diff options
context:
space:
mode:
authorKassio Borges <kassioborgesm@gmail.com>2015-11-08 10:57:25 -0200
committerKassio Borges <kassioborgesm@gmail.com>2015-11-08 10:58:39 -0200
commitc8bbe9aefae3fdee1eebc8c3e95f5009f5148034 (patch)
treee4eab9384c95c45aefe223f41355a274f6bb909f /activerecord/lib/active_record/timestamp.rb
parent25673f47b607528d12b0f4d1bace30b2c41a97fa (diff)
downloadrails-c8bbe9aefae3fdee1eebc8c3e95f5009f5148034.tar.gz
rails-c8bbe9aefae3fdee1eebc8c3e95f5009f5148034.tar.bz2
rails-c8bbe9aefae3fdee1eebc8c3e95f5009f5148034.zip
Improve support for non Active Record objects on `validates_associated`
Skipping `marked_for_destruction?` when the associated object does not responds to it make easier to validate virtual associations built on top of Active Model objects and/or serialized objects that implement a `valid?` instance method.
Diffstat (limited to 'activerecord/lib/active_record/timestamp.rb')
0 files changed, 0 insertions, 0 deletions