aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/readonly_attributes.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-17 10:03:34 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-17 12:00:57 -0600
commitb301c40224c6d15b539dbcc7485adb44d810f88c (patch)
tree360535d8e67af9b43cad174a68ae3ad411460c0b /activerecord/lib/active_record/readonly_attributes.rb
parent63b347df427ed2189fac7e75e36a3a4b9f6c2a68 (diff)
downloadrails-b301c40224c6d15b539dbcc7485adb44d810f88c.tar.gz
rails-b301c40224c6d15b539dbcc7485adb44d810f88c.tar.bz2
rails-b301c40224c6d15b539dbcc7485adb44d810f88c.zip
Use `column_defaults` in dirty for checking changed defaults
We no longer need to "init changed attributes" from the initializer, either, as there is no longer a case where a given value would differ from the default, but would not already be marked as changed.
Diffstat (limited to 'activerecord/lib/active_record/readonly_attributes.rb')
0 files changed, 0 insertions, 0 deletions