Monday, February 14, 2011

[Rails] active resource authentication

I am new to RoR.
I want to consume a restful service from a rails app which uses devise.
Devise allows to authenticate on a number of attributes, not only one
(e.g. username) as is commonly used. In this case the credentials
consist of username, subdomain and password.

The examples for active resource authentication I have seen only use one
attribute. How do I get the second one across?

--
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 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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate