2019-10-27から1日間の記事一覧
1)productのshowページに行くと、underfined-method `title`が出る →show.html.erbのエラー個所、@product.titleを見てみる。 →インスタンス変数@productがおかしい?productコントローラを見に行く →def showの中を見ると、@productのスペルは・・・正しい…
1)productのshowページに行くと、underfined-method `title`が出る →show.html.erbのエラー個所、@product.titleを見てみる。 →インスタンス変数@productがおかしい?productコントローラを見に行く →def showの中を見ると、@productのスペルは・・・正しい…