Closed ishikawa999 closed 11 months ago
https://github.com/railsgirls/guides.railsgirls.com/pull/543 英語版の方にもプルリクエストを作成済みです。
https://guides.railsgirls.com/html-and-css に「app/views/ideas/index.htmlファイルを開くと」とありますが、rails generate scaffold idea name:string description:text picture:string で生成されるファイルはapp/views/ideas/index.html.erbのようです。 このプルリクエストではガイドの側を「app/views/ideas/index.html.erbファイルを開くと」に変更します。
app/views/ideas/index.html
rails generate scaffold idea name:string description:text picture:string
app/views/ideas/index.html.erb
rails generate scaffold idea name:string description:text picture:string を実行したときのスクリーンショット:
https://github.com/railsgirls/guides.railsgirls.com/pull/543 英語版の方にもプルリクエストを作成済みです。
https://guides.railsgirls.com/html-and-css に「
app/views/ideas/index.html
ファイルを開くと」とありますが、rails generate scaffold idea name:string description:text picture:string
で生成されるファイルはapp/views/ideas/index.html.erbのようです。 このプルリクエストではガイドの側を「app/views/ideas/index.html.erb
ファイルを開くと」に変更します。rails generate scaffold idea name:string description:text picture:string
を実行したときのスクリーンショット: