Created
March 10, 2013 03:34
-
-
Save christianramsey/5126995 to your computer and use it in GitHub Desktop.
ruby debugger set
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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