Skip to content

Instantly share code, notes, and snippets.

@voxxit
Created November 25, 2009 01:28
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 voxxit/242392 to your computer and use it in GitHub Desktop.
Save voxxit/242392 to your computer and use it in GitHub Desktop.
def controller_action
render :update do |page|
page << "$('#div1, #div2').html('content');"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment