The error message is pretty clear - You haven't defined a current_usermethod in your helper.
Check out Listing 9.16 in that tutorial you posted. That's where it describes the current_user method you need to add. http://ruby.railstutorial.org/chapters/sign-in-sign-out#code:current_user_working -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/1sGjKBBYzikJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.