Skip to content
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

rake db:find_query_indexes fails for Rails 2.2.2 #13

Open
krazykiwi opened this issue Mar 15, 2010 · 0 comments
Open

rake db:find_query_indexes fails for Rails 2.2.2 #13

krazykiwi opened this issue Mar 15, 2010 · 0 comments

Comments

@krazykiwi
Copy link

Hi, when I run "rake db:find_query_indexes" it get the following error:

Expected //app/controllers/application.rb to define Application
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:428:in `load_missing_constant'

Rails 2.2.2, ruby 1.8.7 (2009-06-12 patchlevel 174)

["rake db:index_migration" works fine on Rails 2.2.2]

For Rails 2.2.2, application.rb defines ApplicationController.
For Rails 2.3.x, application.rb was renamed to application_controller.rb (to be consistent with other controller naming)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant