aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-10-09 14:52:02 +0200
committerHongli Lai (Phusion) <hongli@phusion.nl>2008-11-03 20:56:07 +0100
commite981eaaf342d06e399b5138553c964adcfadd87c (patch)
tree1b0341fc4167b981916c9d0476061e028efbb082 /activerecord/lib
parente383835e738a30cd992c322eff126380bd15094f (diff)
downloadrails-e981eaaf342d06e399b5138553c964adcfadd87c.tar.gz
rails-e981eaaf342d06e399b5138553c964adcfadd87c.tar.bz2
rails-e981eaaf342d06e399b5138553c964adcfadd87c.zip
Fix a stale typo in the PostgreSQL adapter. Fix a stale mock expection in transaction_test.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 98501db816..cfeef30d06 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -537,7 +537,7 @@ module ActiveRecord
execute("ROLLBACK TO SAVEPOINT #{current_savepoint_name}")
end
- def release_savepoint(savepoint_number)
+ def release_savepoint
execute("RELEASE SAVEPOINT #{current_savepoint_name}")
end