Matt Jones wrote:
> Have you tried explicitly setting the URL to post to in the form_for?
> From the trace, it looks like it's trying to generate a route to
> edit_full_quote_ho without specifying the parent model.
> [...@full_quote_ho_model, @full_quote_ho] might work as well.
> 
> --Matt Jones
> 
> 
> On Jun 23, 2:02�am, Ahad Amdani <[email protected]>

No, I haven't tried explicitly setting the URL. I'm trying to do this 
the proper way within the Rails framework, and I wanted to utilize the 
helpers/paths.

[...@full_quote_ho_model, @full_quote_ho] didn't work and caused similar 
issues.

As I said earlier, if the IDs for the parent model and it's nested 
models are the same, everything works fine - but if not, that's when 
there is an error. So, I have a feeling it isn't my view code/URLs, but 
rather the logic behind how I have things routed and/or designed.
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to