aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-20 19:01:56 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-20 19:01:56 -0200
commit532e4808ffe4687cf0372b2fd6aee727eb048587 (patch)
tree603e272ba193aed49c03d4d847318bf438949c36
parent6db9915ea8180ca7a7386a0361cc1305f1f4870b (diff)
parent900f633acae7136fb80105c13e9cce1be93627d9 (diff)
downloadrails-532e4808ffe4687cf0372b2fd6aee727eb048587.tar.gz
rails-532e4808ffe4687cf0372b2fd6aee727eb048587.tar.bz2
rails-532e4808ffe4687cf0372b2fd6aee727eb048587.zip
Merge pull request #17692 from robertomiranda/patch-1
_will_change! method is not needed any more [ci skip]
-rw-r--r--guides/source/active_record_postgresql.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md
index 6c94218ef6..36345e3137 100644
--- a/guides/source/active_record_postgresql.md
+++ b/guides/source/active_record_postgresql.md
@@ -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