diff options
author | Xavier Noria <fxn@hashref.com> | 2010-02-15 23:56:29 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-02-15 23:56:29 +0100 |
commit | b6935e5179fce959a1bf4ea62114e8d86584ac68 (patch) | |
tree | 44742b4e895177d5ae514ab86f5140c65ab0368e /activerecord | |
parent | a077e4128d788158fc174d1f6ed673d159c8ea7a (diff) | |
download | rails-b6935e5179fce959a1bf4ea62114e8d86584ac68.tar.gz rails-b6935e5179fce959a1bf4ea62114e8d86584ac68.tar.bz2 rails-b6935e5179fce959a1bf4ea62114e8d86584ac68.zip |
and now even with proper markup
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 9c92bc708a..318bfbe826 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -119,11 +119,11 @@ module ActiveRecord #:nodoc: class ReadOnlyRecord < ActiveRecordError end - # +ActiveRecord::Transactions::ClassMethods.transaction+ uses this exception + # <tt>ActiveRecord::Transactions::ClassMethods.transaction</tt> uses this exception # to distinguish a deliberate rollback from other exceptional situations. # Normally, raising an exception will cause the +transaction+ method to rollback # the database transaction *and* pass on the exception. But if you raise an - # +ActiveRecord::Rollback+ exception, then the database transaction will be rolled back, + # <tt>ActiveRecord::Rollback</tt> exception, then the database transaction will be rolled back, # without passing on the exception. # # For example, you could do this in your controller to rollback a transaction: |