Hi all, I created a patch wich allows to a nested resource raise an
ActiveResource::MissingPrefixParam exception instead of
ActiveResource::ResourceNotFound when we call a 
method without prefix_params, IMO prefix_params should be required on
nested resource methods that uses element_path or collection_path. 
The ticket with the patch and tests:

https://rails.lighthouseapp.com/projects/8994/tickets/5631-activeresourcemissingprefixparam-proposal

Any comments and feedback would be awesome, If you're interested, please test
and +1.

-- 
"I always thought Smalltalk would beat Java, I just didn't know it would be
called 'Ruby' when it did."

   (Kent Beck)


+-------------------------------------+
Gastón Ramos
http://gastonramos.com.ar/
GNU/Linux Counter user #450312

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to