diff options
author | Michael Hutchinson <github@mhutchinson.com> | 2011-09-27 18:11:01 -0700 |
---|---|---|
committer | Michael Hutchinson <github@mhutchinson.com> | 2011-09-27 18:11:01 -0700 |
commit | 0678a5bb18b7045054a03bbe2ca0434486a7d404 (patch) | |
tree | d9c3144ac4ec090520d98815d2294de99d567cf1 /railties | |
parent | 9f74ce29245c1a0ffe51e7e6af3d45871b275870 (diff) | |
download | rails-0678a5bb18b7045054a03bbe2ca0434486a7d404.tar.gz rails-0678a5bb18b7045054a03bbe2ca0434486a7d404.tar.bz2 rails-0678a5bb18b7045054a03bbe2ca0434486a7d404.zip |
Corrected a typo.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index 96f91cfef6..b1acdd189a 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/railties/guides/source/active_record_querying.textile @@ -616,7 +616,7 @@ c1.first_name = "Michael" c1.save c2.name = "should fail" -c2.save # Raises a ActiveRecord::StaleObjectError +c2.save # Raises an ActiveRecord::StaleObjectError </ruby> You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging, or otherwise apply the business logic needed to resolve the conflict. |