Helpers for a resource aren't being generated... I can consistently reproduce but I'm not sure how to further debug the issue or if its a reserved term that shouldn't be used at all.
rails testing cd testing script/generate scaffold_resource wave title:string mysql create database testing_development; exit rake db:migrate mongrel_rails start
Browsing any page will show the helpers aren't being created. I think it may be a bug but I'm not sure. If I hardcode the helpers it appears to work until I try and use the wave model in an association -- then it returns an uninitialized constant error about Person::Wafe ???
Here is my script/about: Ruby version 1.8.5 (i686-darwin8.8.1) RubyGems version 0.9.0 Rails version 1.2.3 Active Record version 1.15.3 Action Pack version 1.13.3 Action Web Service version 1.2.3 Action Mailer version 1.3.3 Active Support version 1.4.2 Application root /Users/westcoastlogic/Repository/testing Environment development Database adapter mysql Database schema version 2
Also:
puts ActionController::Routing::Routes.routes
GET /waves/ {:controller=>"waves", :action=>"index"} GET /waves.:format/ {:controller=>"waves", :action=>"index"} POST /waves/ {:controller=>"waves", :action=>"create"} POST /waves.:format/ {:controller=>"waves", :action=>"create"} GET /waves/new/ {:controller=>"waves", :action=>"new"} GET /waves/new.:format/ {:controller=>"waves", :action=>"new"} GET /waves/:id;edit/ {:controller=>"waves", :action=>"edit"} GET /waves/:id.:format;edit/ {:controller=>"waves", :action=>"edit"} GET /waves/:id/ {:controller=>"waves", :action=>"show"} GET /waves/:id.:format/ {:controller=>"waves", :action=>"show"} PUT /waves/:id/ {:controller=>"waves", :action=>"update"} PUT /waves/:id.:format/ {:controller=>"waves", :action=>"update"} DELETE /waves/:id/ {:controller=>"waves", :action=>"destroy"} DELETE /waves/:id.:format/ {:controller=>"waves", :action=>"destroy"}
Looks right to me?
Not sure how to further debug. Any insight really appreciated!