Skip to content

Instantly share code, notes, and snippets.

@inkdeep
Created June 26, 2009 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inkdeep/136270 to your computer and use it in GitHub Desktop.
Save inkdeep/136270 to your computer and use it in GitHub Desktop.
respond_to do |format|
format.js {render :update do |page|
page.replace_html :deal_object_selector, :partial => "configure_"+@class_type.underscore, :locals => {:deal => deal, :f => nil}
page.hide :deal_object_selector
page.visual_effect :appear, :deal_object_selector, :duration => 0.5
end}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment