Robert Scott wrote: > In RoR applications, each record is accessed by its own ID, usually as > in products/ID. However, I'd prefer that users not be able to know how > many records are in the database nor be able to access them on an > incremental basis. Is there any way to hide or mask this ID through the > use of an alternate? Salting the IDs seems like it could work, but I'm > not sure how to do it - if its even the right way. > > Thanks in advance!
see a plugin http://github.com/hashtrain/acts_as_random_id/tree/master -- 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 -~----------~----~----~----~------~----~------~--~---

