0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rails popular error of top 10

Posted at

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 半減させる

記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?