diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-05-12 08:24:50 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-05-12 08:24:50 +0200 |
commit | e99d909928e4b919ace290c3ace3fbaceeba70da (patch) | |
tree | 2c88c737118d7e326feb18ddc0c98e27dfb46794 /guides | |
parent | fe1055fc84c995cb897f07ddb82f14fc7493c616 (diff) | |
parent | 7656d672aa0e0063fce5a28fbf28e01c073f4f4e (diff) | |
download | rails-e99d909928e4b919ace290c3ace3fbaceeba70da.tar.gz rails-e99d909928e4b919ace290c3ace3fbaceeba70da.tar.bz2 rails-e99d909928e4b919ace290c3ace3fbaceeba70da.zip |
Merge pull request #20119 from yui-knk/fix/active_record_querying
[ci skip] Fix `transaction` code example
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 92767491d7..e3cfabb327 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -898,7 +898,7 @@ For example: Item.transaction do i = Item.lock.first i.name = 'Jones' - i.save + i.save! end ``` |