RailsCasts Pro episodes are now free!

Learn more or hide this

karstene's Profile

GitHub User: karstene

Comments by


Is there a way to update a nested form in a partial from the controller with an update page do call?

I build the Keyword form in a partial
Now I call a controller action from an observefield tag.
n.times { campaign.keywords.build}
page.replace_html "form
keyword", :partial => "keyword"

If I place the entre form in a partial, the call goes through, however, If I only have the keyword-part in the partial I can