Topic: Replace :id with other attribute in routes?
is there a way who to use a different attribute then the id in routes and stil remain Resourceful (which should also mean that the helpders function)?
If I head for example a book store, then it would look nice to have an ISBN number insteat of a number that has no meaning.
So I want: MyApp/book/978-3-86680-192-9
And book_path(@book) should also deliver such an URL.
How can I do that?