rails_indexes icon indicating copy to clipboard operation
rails_indexes copied to clipboard

rake db:find_query_indexes fails for Rails 2.2.2

Open krazykiwi opened this issue 14 years ago • 0 comments

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)

krazykiwi avatar Mar 15 '10 06:03 krazykiwi