Ben Wilson wrote: > Okay, so I'm trying to have a URL like the following (which uses a key > generated at random): > > societies/6b241c631c6beaa89c889b9fb388caef9f617900ca1eff > societies/6b241c631c6beaa89c889b9fb388caef9f617900ca1eff/edit > > Where do I change the default behavior from using the ID, to another > value of that object?
Did you try this in routes - map.connect 'societies/:something/edit', :action=>'aaa', :controller=>'ccc' - example. societies/:rkey/edit -- 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 -~----------~----~----~----~------~----~------~--~---

