bin/rails g model XXX
にてモデルの各種スケルトンを作成- マイグレーションスクリプトを編集
bin/rake db:migrate
でマイグレーションを実行app/models/
配下のファイルでモデルの設定を実施- シードデータ作成
bin/rake db:seed
にてシードデータを投入- ルーティングの設定
bin/rails g controller xxx
にてコントローラの各種スケルトンを作成- アクション実装
- ERBテンプレート作成
- スタイルシート作成
- バリデーテョンなど色々な設定
Created
May 18, 2015 22:11
-
-
Save seak0503/fd5778a698e1337781b4 to your computer and use it in GitHub Desktop.
Rails 基本的な開発順例
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment