Topic about top 10 error
tell us popular error and
way to prevent them
1.ActionController::RoutingError
this error get 404error
this means your app doesn't have URL.
2. NoMethodError: undefined method '[]' for nil:NilClass
- avoid user&
street = user&.address&.street
3.ActionController::InvalidAuthenticityToken
CSRF (Cross Site Request Forgery)
word
-
gotchas 落とし穴
-
relevant
- ex) errors are not relevant to most readers.
-
dig in
- see detail
-
classic
- very typical of its kind.
-
errant 間違った
- errant users
-
keep in mind
ex)
You should also keep in mind that
-
notation 表記方法
-
retrieve
-
internal error 内部エラー
-
vulnerability 脆弱性
-
malicious 悪意のある
-
mitigate 半減させる
記事