This is what I still don’t understand (but probably should)… if I run this command:
script/generate scaffold FooFoo name:string submitted_on:datetime
How do I link to a the page that lets you view the list of FooFoo?
This doesn’t seem to work, and every variant of it that I’ve tried doesn’t work either:
<%= link_to "Mylink", foo_foos_path %>
This looks right to me. The
foo_foos_pathhelper is generated by this line inconfig/routes.rb:Make sure that line was added by your scaffold generator.