Skip to content

Instantly share code, notes, and snippets.

@danielevans
Created January 23, 2013 22:13
Show Gist options
  • Save danielevans/4614612 to your computer and use it in GitHub Desktop.
Save danielevans/4614612 to your computer and use it in GitHub Desktop.
respond_with(@user) do |format|
format.json { render :json => { :message => "User created" } }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment