diff options
author | Xavier Noria <fxn@hashref.com> | 2010-02-15 23:50:05 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-02-15 23:50:36 +0100 |
commit | a077e4128d788158fc174d1f6ed673d159c8ea7a (patch) | |
tree | 1925979940acbe3f65a26c363bc06ecd52b94b15 /activerecord | |
parent | 6f3c5f67870a625b8be4de6e34e8d0d2f5d2b5e3 (diff) | |
download | rails-a077e4128d788158fc174d1f6ed673d159c8ea7a.tar.gz rails-a077e4128d788158fc174d1f6ed673d159c8ea7a.tar.bz2 rails-a077e4128d788158fc174d1f6ed673d159c8ea7a.zip |
testing cron job in edge api generation
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 f30eba4f06..9c92bc708a 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 + # +ActiveRecord::Transactions::ClassMethods.transaction+ 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, + # +ActiveRecord::Rollback+ 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: |