Learning Rails 5: Rails from the Outside In by J. Mark Locklear & Eric J Gruber & Barnabas Bulpett
Author:J. Mark Locklear & Eric J Gruber & Barnabas Bulpett [Locklear, J. Mark]
Language: eng
Format: azw3
Publisher: O'Reilly Media
Published: 2016-08-11T04:00:00+00:00
[24, 33] in ch11/students05a/app/controllers/students_controller.rb 24: # POST /students 25: # POST /students.json 26: def create 27: @student = Student.new(student_params) 28: debugger => 29: respond_to do |format| 30: if @student.save 31: format.html { redirect_to @student, notice: Student was... } 32: format.json { render :show, status: :created, location: ... } 33: else (byebug)
Figure 11-2. Waiting for a response because the debugger kicked in
The line above the prompt is the next statement to be executed, if you type next. Unsurprisingly, it’s the line right after debugger. If you type list, you can see where you are in the context of your source code:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9916)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7778)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Svelte with Test-Driven Development by Daniel Irvine(7163)
Test-Driven Development with PHP 8 by Rainier Sarabia(6890)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6761)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6532)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6414)
Web Development with Django by Ben Shaw Saurabh Badhwar(6223)
React Application Architecture for Production by Alan Alickovic(5948)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
Kotlin in Action by Dmitry Jemerov(5063)
Audition by Ryu Murakami(4583)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4452)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4317)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4300)
Functional Programming in JavaScript by Mantyla Dan(4038)
