Skip to content

Commit

Permalink
Attempting fix for Rails caching
Browse files Browse the repository at this point in the history
  • Loading branch information
brasten committed Sep 2, 2011
1 parent f152122 commit a3dd74b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/active_shard/active_record/schema_connection_proxy.rb
Expand Up @@ -23,6 +23,10 @@ def initialize( target )
@target = target
end

def cache
yield
end

def method_missing( sym, *args, &block )
raise ::ActiveShard::NoActiveShardError
end
Expand Down

0 comments on commit a3dd74b

Please sign in to comment.