最終更新:2019-06-08 (土) 06:45:03 (181d)  

Rails/ディレクトリ構成 はてなブックマークを見る
Top / Rails / ディレクトリ構成

ルートディレクトリ

  • Rails/README.md?
  • Rails/Rakefile?
  • Rails/.ruby-version?
  • Rails/config.ru?
  • Rails/.gitignore?
  • Rails/Gemfile
  • Rails/package.json?

Rails/app

Rails/app/assets?

  • Rails/app/assets/config/manifest.js?
  • Rails/app/assets/images/.keep?
  • Rails/app/assets/javascripts/channels?
  • Rails/app/assets/javascripts/channels/.keep?
  • Rails/app/assets/javascripts/application.js?
  • Rails/app/assets/javascripts/cable.js?
  • Rails/app/assets/stylesheets/application.css?

Rails/app/channels?

  • Rails/app/channels/application_cable/channel.rb?
  • Rails/app/channels/application_cable/connection.rb?

Rails/app/controllers?

Rails/app/helpers?

  • Rails/app/helpers/application_helper.rb?

Rails/app/jobs?

  • Rails/app/jobs/application_job.rb?

Rails/app/mailers?

  • Rails/app/mailers/application_mailer.rb?

Rails/app/models

  • Rails/app/models/application_record.rb?
  • Rails/app/models/concerns/.keep?

Rails/app/views

Rails/app/jobs?

Rails/bin?

  • Rails/bin/bundle?
  • Rails/bin/rails
  • Rails/bin/rake?
  • Rails/bin/setup?
  • Rails/bin/update?
  • Rails/bin/yarn?

Rails/config

  • アプリケーションの設定ファイル (ルーティング、データベースなど)
  • Rails/config/routes.rb
  • Rails/config/application.rb
  • Rails/config/environment.rb
  • Rails/config/cable.yml?
  • Rails/config/puma.rb?
  • Rails/config/storage.yml?
  • Rails/config/environments
  • Rails/config/environments/development.rb
  • Rails/config/environments/production.rb?
  • Rails/config/environments/test.rb?
  • Rails/config/initializers?
  • Rails/config/initializers/application_controller_renderer.rb?
  • Rails/config/initializers/assets.rb?
  • Rails/config/initializers/backtrace_silencers.rb?
  • Rails/config/initializers/content_security_policy.rb?
  • Rails/config/initializers/cookies_serializer.rb?
  • Rails/config/initializers/cors.rb?
  • Rails/config/initializers/filter_parameter_logging.rb?
  • Rails/config/initializers/inflections.rb?
  • Rails/config/initializers/mime_types.rb?
  • Rails/config/initializers/new_framework_defaults_5_2.rb?
  • Rails/config/initializers/wrap_parameters.rb?
  • Rails/config/locales?
  • Rails/config/locales/en.yml?
  • Rails/config/master.key?
  • Rails/config/boot.rb?
  • Rails/config/database.yml

Rails/db?

  • 現時点のデータベーススキーマと、データベースマイグレーションファイル
  • Rails/db/seeds.rb?

Rails/lib?

  • アプリケーションで使う拡張モジュール
  • Rails/lib/tasks?
  • Rails/lib/tasks/.keep?
  • Rails/lib/assets?
  • Rails/lib/assets/.keep?

Rails/log?

  • アプリケーションのログファイル
  • Rails/log/.keep?

Rails/public?

  • 静的なファイルやコンパイル済みアセット
  • Rails/public/404.html?
  • Rails/public/422.html?
  • Rails/public/500.html?
  • Rails/public/apple-touch-icon-precomposed.png?
  • Rails/public/apple-touch-icon.png?
  • Rails/public/favicon.ico?
  • Rails/public/robots.txt?

Rails/tmp?

  • Rails/tmp/.keep?
  • Rails/tmp/cache?
  • Rails/tmp/cache/assets?

Rails/vendor?

  • Rails/vendor/.keep?

Rails/test?

  • Rails/test/fixtures?
  • Rails/test/fixtures/.keep?
  • Rails/test/fixtures/files?
  • Rails/test/fixtures/files/.keep?
  • Rails/test/controllers?
  • Rails/test/controllers/.keep?
  • Rails/test/mailers?
  • Rails/test/mailers/.keep?
  • Rails/test/models?
  • Rails/test/models/.keep?
  • Rails/test/helpers?
  • Rails/test/helpers/.keep?
  • Rails/test/integration?
  • Rails/test/integration/.keep?
  • Rails/test/test_helper.rb?
  • Rails/test/system?
  • Rails/test/system/.keep?
  • Rails/test/application_system_test_case.rb?

Rails/storage?

  • Rails/storage/.keep?