If I build a model named 'Config', things break. The model generator is supposed to prevent name collisions like this (class_collisions in lib/rails_generator/commands.rb) but for some reason it's never checking for collisions with Config, only with ConfigTest.
Note: the rspec_model generator does properly fail with a collision in this case. This is on Rails 2.3.4. To reproduce: script/generate scaffold config name:string Then try to view /configs in the browser: NoMethodError in ConfigsController#index undefined method `all' for Config:Module --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
