Created
January 19, 2014 04:11
-
-
Save kikeda1104/8500408 to your computer and use it in GitHub Desktop.
rails app作成
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails -v | |
rails new use_query_report && cd use_query_report | |
vi Gemfile | |
> Gemfileの末尾に | |
gem 'query_report' | |
Gem fileを閉じて | |
bundle install --path=vendor/bundle | |
be rails g controller top index | |
be rails g model user name:string age:integer | |
be rake db:migrate | |
vi app/controller/top_controller.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment