I followed this nice book, but in Chapter 8 I ran into trouble when creating login form.
I think I did everything right, didn't use code base but typed code manually. I can enter anything into login form but the redirect doesn't function:
- render :action=>'new'
- redirect_to stories_path
Maybe it has something to do with the update fail that is described in Chapter 1. I ran into errors when using console commands to update rails and ruby.
Chapter 8 describes that the code in sessions_controller.rb should skip create.html.erb view when action 'new' is used, that is the form written earlier is submitted, but that doesn't occur in my case.