Skip to content

Instantly share code, notes, and snippets.

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