私の質問は、Rails の命名規則の難問に関するものです。私のアプリケーションには、サインアップ、サインイン、サインアウトの機能があります。
サインアップ ページでは、form_for(@user)
ヘルパーを使用しました。
サインイン ページには、form_for(:session, url: sessions_path)
. しかし、routes.rb ファイルにはresources :sessions
、サインイン ページの form_for ヘルパーの引数で述べたように、単数形の代わりに を含めました。
誰かができれば:
1.) この特定の form_for 問題を解決する
2.) More importantly point me in the direction where I can learn/read about Rails naming conventions, I would be highly indebted.