I have a rails 4.2.1 project on the jRuby platform connected to oracle with the following gem dependency:
gem 'activerecord-oracle_enhanced-adapter', git: "[email protected]:rsim/oracle-enhanced.git", branch: "rails42"
But when I run rake tasks like rake db:migrate, it invokes the default activerecord rake task instead of the ones defined in this gem. How do I make rails execute rake tasks from this gem instead of the default ActiveRecord tasks
need to use this:
instead of rails 3.2 style: