Hi, just stubbing out an app with Rails3, and I've run into a snag trying to generate a scaffold for Equipment. Namely, the following happens:
$ rails generate scaffold Equipment name:string
$ cat app/views/home/index.html.erb <%= link_to "Equipment", equipment_path %> <br>
Hitting the index gives this error:
No route matches {:action=>"show", :controller=>"equipment"}
I've looked around the web a bit, and tried playing with config/ initializers/inflections.rb (specifying that equipment is uncoutable), but that didn't help. Also, checking on the rails console shows that equipment already pluralizes to equipment, so I'm not sure what the exact issue is.