How To : Add 'active_record_shards' Rake Tasks to Rails Application

The 'active_record_shards' gem has its own implementation for the db rake tasks (like create, drop, etc) in its 'lib/active_record_shards/tasks.rb' file. To get this rake tasks into your rails application, add the below lines at the bottom of the Rakefile of your application.

require 'active_record_shards/tasks'

1 comment:

  1. As always, we also reviewed Ignition’s buyer support and had been impressed with the attentive professionalism of the support workers. Should you need to|you should|you have to} get in touch, shall be able|it is possible for you to} 온라인카지노 to contact their 24/7 buyer support by way of e-mail, web type, and reside chat. You won’t discover any e-wallet options right here and we hope that they rethink this within the not too distant future.