[RUBY] [Technical memo] How to resolve errors

Answer example

First, look at the log of the error that is occurring. If you encounter a common error (eg template missing or undefind method for nil Nil Class), make your own hypothesis and find the cause.

Search for errors you haven't seen often, as needed.

In my case

In the case of development environment, the error statement gives a lot of hints. Read and understand the situation, search if you do not understand the meaning

① Correspondence based on past error experience ② Search and if there are similar cases, take the same action ③ Once again, think about what the current situation would be ideal and make full use of debugging. Check how far is ideal Is it?

If you have to do ③ firmly to improve the search accuracy of ② There are many!

Recommended Posts

[Technical memo] How to resolve errors
How to resolve Mixed Content errors
How to resolve errors when installing Rails 5.1.3
How to resolve Sprockets :: DoubleLinkError
How to resolve Git conflicts
How to resolve errors when doing git push heroku master
How to ignore Rubocop warnings (errors)
[Servlet / Ajax] How to resolve NoClassDefFoundError [Eclipse]
How to handle sign-in errors with devise
How to use Swift's Codable Super personal memo
(Memo) How to solve dummy output in Ubuntu 20.04
Git and GitHub ~ How to fix common errors ~
[Java] Memo on how to write the source
How to resolve errors that occur in the "Ruby on Rails" integration test
How to develop OpenSPIFe
How to call AmazonSQSAsync
How to write Rails
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use java.util.logging
How to use map
AtCoder [ABC086A] Technical memo
How to adapt Bootstrap
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use hidden_field_tag
How to write dockerfile
How to uninstall Rails
How to install docker-machine
[How to use label]
How to make shaded-jar
How to write docker-compose
How to use identity
How to use hashes
How to write Mockito
How to create docker-compose
How to generate / verify ID token in Java Memo
How to use JUnit 5
How to install MySQL
How to write migrationfile
How to build android-midi-lib
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 resolve SSL_connect error in PayPal Ruby SDK
How to use Map
How to install ngrok
How to type backslash \
How to concatenate strings
An unsupported Java version How to get rid of errors
Memo: [Java] How to check groupId etc. described in pom.xml
How to resolve Missing Template error when implementing comment function
A story about misunderstanding how to use java scanner (memo)
How to delete BOM (UTF-8)
How to create an application
[Java] How to use Map
[rails] How to post images