Created
May 12, 2015 22:04
-
-
Save edgarjs/783f87adf56e99a8f29d to your computer and use it in GitHub Desktop.
serialize dirty behavior 4.2.0 vs 4.2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person < ActiveRecord::Base | |
serialize :something, Hash | |
end | |
# rails 4.2.0 | |
Person.last.changes # => { "something" => [{}, {}] } | |
# rails 4.2.1 | |
Person.last.changes # => {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rails/rails#8328