I got the point. Thank you so much Colin.
Now code is working fine. Problem was that I was not using the hashing algorithm for authorization_token. It was taking the user.id as an authorization_token. As I apply the hashing algorithm to it. Hashing generates authorization token as a string. Problem Solved :) Thanks Colin Have a colorful day. Regards Amir -- Posted via http://www.ruby-forum.com/. -- 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.

