Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[FEAT] adding #columns to the slaves directed methods

  • Loading branch information...
commit 3b3de0cf1bddd4e38efee87867de91a4408925ac 1 parent 7b0a5e7
@eladmeidar eladmeidar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/db_charmer/rails2/active_record/master_slave_routing.rb
View
2  lib/db_charmer/rails2/active_record/master_slave_routing.rb
@@ -3,7 +3,7 @@ module ActiveRecord
module MasterSlaveRouting
module ClassMethods
- SLAVE_METHODS = [ :find_by_sql, :count_by_sql, :calculate ]
+ SLAVE_METHODS = [ :find_by_sql, :count_by_sql, :calculate, :columns]
MASTER_METHODS = [ :update, :create, :delete, :destroy, :delete_all, :destroy_all, :update_all, :update_counters ]
SLAVE_METHODS.each do |slave_method|
Please sign in to comment.
Something went wrong with that request. Please try again.