How to use binding.pry [53 days left]

I didn't understand how to use binding.pry A memorandum because it could be used for error resolution today

No matter how many times you click Create Room in the section Creating a new chat room, it will reload Well this is due to the render If an error statement appears, there will be no error if it is easy to resolve. Well troubled

Here comes binding.pry

4-1.binding.pry.png I thought that the create method was strange, so I decided to try pry. 4-3.binding.pry.png HM Normal up to here 4-4.binding.pry.png Mumu There seems to be a cause in the strong parameters 4-5.binding.pry.png user_ids is displayed but no name

I thought and looked back An ordinary mistake of the century that it became nmae instead of name

It's a mistype rather than a misspelling

This time it was used inside the controller I'm sure I used it in the test code

Remember binding.pry when you don't see a clear error statement

Recommended Posts

How to use binding.pry [53 days left]
How to use binding.pry for view files
How to use Map
How to use rbenv
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to use collection_select
How to use Twitter4J
How to use active_hash! !!
How to use MapStruct
How to use TreeSet
[How to use label]
How to use identity
How to use hashes
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to use Chain API
[Java] How to use Map
How to use Priority Queuing
[Rails] How to use enum
How to use java Optional
How to use JUnit (beginner)
How to use Ruby return
[Rails] How to use enum
How to use @Builder (Lombok)
How to use java class
How to use Big Decimal
[Java] How to use removeAll ()
How to use String [] args
How to use rails join
How to use Java Map
Ruby: How to use cookies
How to use dependent :: destroy
How to use Eclipse Debug_Shell
How to use Apache POI
[Rails] How to use validation
How to use Java variables
[Rails] How to use authenticate_user!
How to use GC Viewer
How to use Lombok now
[Creating] How to use JUnit
[Rails] How to use Scope
How to use the link_to method
[Rails] How to use gem "devise"
How to use Lombok in Spring
How to use StringBurrer and Arrays.toString.
How to use arrays (personal memorandum)
How to use Java HttpClient (Get)
How to use scope (JSP & Servlet)
How to use the include? method
[Rails] How to use devise (Note)
How to use the form_with method
[Rails] How to use flash messages
How to use EventBus3 and ThreadMode
How to use Spring Data JDBC