lib/connection_manager/shards.rb in connection_manager-1.0.4 vs lib/connection_manager/shards.rb in connection_manager-1.1.0
- old
+ new
@@ -20,6 +20,7 @@
else
raise ArgumentError, 'shards method requires a block.'
end
end
end
-end
+end
+ActiveRecord::Base.extend(ConnectionManager::Shards)
\ No newline at end of file