ok, so it was a problem with my routes file. I've now copied the routes from cast #250 (thanks to Tim Fletcher) and everything works fine - without the respond_to code.
I had a problem with the users_controller as posted in the screencast. I copied it directly into my app, and on running got - undefined method `model_name' for NilClass:Class. I'm not sure if this was an issue with my routes, but rails needed a respond_to to be able to handle the "new" request. ie
ok, so it was a problem with my routes file. I've now copied the routes from cast #250 (thanks to Tim Fletcher) and everything works fine - without the respond_to code.
I had a problem with the users_controller as posted in the screencast. I copied it directly into my app, and on running got - undefined method `model_name' for NilClass:Class. I'm not sure if this was an issue with my routes, but rails needed a respond_to to be able to handle the "new" request. ie
Probably only an issue if new to rails!
(Currently running rails 3.1.3)