Skip to content

Instantly share code, notes, and snippets.

@christianramsey
Created March 10, 2013 03:34
Show Gist options
  • Save christianramsey/5126995 to your computer and use it in GitHub Desktop.
Save christianramsey/5126995 to your computer and use it in GitHub Desktop.
ruby debugger set
def create
debugger
@movie = Movie.create!(params[:movie])
flash[:notice] = "#{@movie.title} was successfully created."
redirect_to movies_path
end
// line 2 debugger to debug on save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment