On Mar 29, 8:39 am, HelloRails <vitalizakhar...@gmail.com> wrote:
> #############
> How i can check tokens?
> if @token (from db) == token_url (check the url) ?
Well I'm entirely sure what you're trying to do but presumably you'll
need to grab something out of the params hash (params[:auth] for the
url given in your first email) and then verify that a token of that
value does indeed exist in your database (and is still active)
Fred
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment