Permalink
Browse files

delegate columns to master, migrations should work better now

Signed-off-by: rick <technoweenie@gmail.com>
  • Loading branch information...
1 parent fec38cf commit 3a42b57a373ae42cc0c25aa8679d841304bec887 Eduard Litau committed with technoweenie Jul 31, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_reload/connection_proxy.rb
@@ -41,7 +41,7 @@ def set_to_slave!
delegate :insert, :update, :delete, :create_table, :rename_table, :drop_table, :add_column, :remove_column,
:change_column, :change_column_default, :rename_column, :add_index, :remove_index, :initialize_schema_information,
- :dump_schema_information, :execute, :to => :master
+ :dump_schema_information, :execute, :columns, :to => :master
def transaction(start_db_transaction = true, &block)
with_master { @current.transaction(start_db_transaction, &block) }

0 comments on commit 3a42b57

Please sign in to comment.