1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #17692 from robertomiranda/patch-1

_will_change! method is not needed any more [ci skip]
This commit is contained in:
Rafael Mendonça França 2014-11-20 19:01:56 -02:00
commit 532e4808ff

View file

@ -103,11 +103,6 @@ profile.settings # => {"color"=>"blue", "resolution"=>"800x600"}
profile.settings = {"color" => "yellow", "resolution" => "1280x1024"}
profile.save!
## you need to call _will_change! if you are editing the store in place
profile.settings["color"] = "green"
profile.settings_will_change!
profile.save!
```
### JSON