On 10 May 2012 08:46, hanish jadala <[email protected]> wrote: > thanks for your reply i have added your code and i checked it. if i click > back button after logout it is still going back to app but it is give me the > error " > > undefined method `username' for nil:NilClass" it shows it going back to app.
It's not "my code" - it's sample code from the Internet. Your error is now in your code - probably in the handling of controller actions when users are not logged in. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

