#23 √ committed
Tammer Saleh

bug in nested resource and to_param

Reported by Tammer Saleh | March 4th, 2008 @ 08:40 AM

If you are using to_param in your models, should_be_restful with nested resources won’t work as expected due to the fact it calls for the id.

  { :"#{parent_name}_id" => parent.id }.merge(make_parent_params(resource, parent, parent_names))

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket