Ruby on Rails
Monday, July 6, 2015
Scott is so right as this being contradictory. You are trying to seek a specific user where uniqueness of that user is not established. Mathematically you need some transitional element. You simply need to gather another identifying aspect of your user. Thereafter, you can encrypt data ( username and other_element) served, the same way you are likely encrypting your user password.
Liz
On Monday, July 6, 2015 at 9:29:07 AM UTC-4, Sunil Kumar wrote:
-- Liz
On Monday, July 6, 2015 at 9:29:07 AM UTC-4, Sunil Kumar wrote:
Hello,How can i hide the params in browser url. I read many blogs and suggestions.They suggested me to use to_params friendlyid gem.Example.I have a user table and have multiple records with the same name.If i fire get request using localhost:3000/users?name=abcThen how can i make name as identification work as id. Because name can be same.ThanksSunil
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a3f50628-d420-453d-8ce1-4ec3ec6d5c49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment