Re: How to delete nested resource?

Davi Vidal
Fri, 21 Mar 2008 11:41:25 -0000

Em Friday 21 March 2008, szimek escreveu:
[...]
> The generated url is "/admin/news/
> 23/asset?id=35", but it should be enough for rails to figure out ID of
> the asset even with url like this "/admin/news/23/asset".

	Only if news has_one asset. Otherwise, Rails can''t figure out which of
N
assets you want to delete.

	Sorry my poor English.


	Best regards,
--
Davi Vidal
--
E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
MSN   : davividal-uAjRD0nVeow@public.gmane.org
GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Skype : davi vidal
YIM   : davi_vidal
ICQ   : 138815296