-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 4 not executing rake tasks #402
Comments
Doing a bit more digging, it looks like Rails will remove It also looks like Rails 4 doesn't use the global Interestingly enough, if I run using JRuby rather than MRI, and also include |
Thanks for the report.
Now I'm taking a look at this issue, if you have pull requests available it would be welcomed. |
Support Rails 4 Database Tasks - Fixes #402
Closed as #404 merged to master. Thanks! |
I've been trying to update a Rails 3 application to Rails 4.0.2 and the last piece in the puzzle is getting it working with Oracle Enhanced 1.5.1. I've been previously using Rails 3.2.16 and Oracle Enhanced 1.4.3 without any trouble. However, I can't even execute basic rake commands on Rails 4, Oracle Enhanced 1.5.
For example,
rake db:drop
will simply print:but it doesn't drop tables as it used to with 1.4. I believe the warning is originating from https://github.com/rails/rails/blob/4-0-stable/activerecord/lib/active_record/tasks/oracle_database_tasks.rb#L7
I had a look at https://github.com/rsim/oracle-enhanced/blob/master/lib/active_record/connection_adapters/oracle_enhanced.rake#L47 and
defined?(drop_database)
isnil
when I run it.The text was updated successfully, but these errors were encountered: