diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-09 01:15:54 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-09 01:15:54 +0530 |
commit | 94dcbe8115810b4545ca8011e6c1e5386cb1c842 (patch) | |
tree | f05feeae2687b36d7dbb789fb5a23ba08b883293 /activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | |
parent | 120861c023375bf56705f5c8c13a4d01f59aa375 (diff) | |
download | rails-94dcbe8115810b4545ca8011e6c1e5386cb1c842.tar.gz rails-94dcbe8115810b4545ca8011e6c1e5386cb1c842.tar.bz2 rails-94dcbe8115810b4545ca8011e6c1e5386cb1c842.zip |
fix nodocs
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index dc4a53034b..eb8cff9610 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -130,7 +130,7 @@ module ActiveRecord # # In order to get around this problem, #transaction will emulate the effect # of nested transactions, by using savepoints: - # http://dev.mysql.com/doc/refman/5.0/en/savepoints.html + # http://dev.mysql.com/doc/refman/5.0/en/savepoint.html # Savepoints are supported by MySQL and PostgreSQL, but not SQLite3. # # It is safe to call this method if a database transaction is already open, @@ -341,7 +341,7 @@ module ActiveRecord # Send a rollback message to all records after they have been rolled back. If rollback # is false, only rollback records since the last save point. - def rollback_transaction_records(rollback) #:nodoc + def rollback_transaction_records(rollback) if rollback records = @_current_transaction_records.flatten @_current_transaction_records.clear @@ -361,7 +361,7 @@ module ActiveRecord end # Send a commit message to all records after they have been committed. - def commit_transaction_records #:nodoc + def commit_transaction_records records = @_current_transaction_records.flatten @_current_transaction_records.clear unless records.blank? |