diff --git a/lib/master_slave_adapter.rb b/lib/master_slave_adapter.rb index 5ce13c6..456a339 100644 --- a/lib/master_slave_adapter.rb +++ b/lib/master_slave_adapter.rb @@ -249,6 +249,20 @@ def execute(*args) :release_savepoint, :current_savepoint_name, :begin_db_transaction, + :outside_transaction?, + :add_limit!, + :add_limit_offset!, + :add_lock!, + :default_sequence_name, + :reset_sequence!, + :insert_fixture, + :empty_insert_statement, + :case_sensitive_equality_operator, + :limited_update_conditions, + :insert_sql, + :update_sql, + :delete_sql, + :sanitize_limit, :to => :master_connection delegate *ActiveRecord::ConnectionAdapters::SchemaStatements.instance_methods, :to => :master_connection