I've read this somewhere but I can't find it now.
I'm trying to change the default "find" method on a model from the id to for example the name. So when I map resources to a model it uses the the name instead of the id.
I don't remember if this was a parameter in the resources command in the route file or if it was something you added to the model? I think it was the latter?
Thanks in advance!