On Mar 29, 8:39 am, HelloRails <[email protected]> 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 [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.

Reply via email to