Displaying 1 result from an estimated 1 matches for "create_party".
2006 Apr 05
2
RJS and remote forms
I''ve run into what I think is a browser bug related to using
remote_forms pushed in an RJS update.
In my controller, I have an action that creates a new model and returns
a form for one of its children:
def create_party
party = Party.create
render :update do |page|
page.insert_html :top, ''party-list'', :partial => ''party_header'',
:locals => { :party => party }
page.insert_html :after, "party-#{party.id}", :partial =>
''guest_for...