Why do I see generators for frameworks I have removed from a Rails 3 project?
When I comment out the lines that require the Active Record and Test Unit railties in config/application.rb
and do a rails generate
in the project root folder, I still see tasks for the above frameworks in the list of generators.
% rails generate
...
ActiveRecord:
active_record:migration
active_record:model
...
Is this expected behavior? If not, what do I do to remo开发者_开发技巧ve these from the list of available generators?
It doesn't make or break anything, but it's annoying!
Are the gems still in your Gemfile? That's the likely candidate.
精彩评论