Skip to content

Instantly share code, notes, and snippets.

@kikeda1104
Created January 19, 2014 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikeda1104/8500408 to your computer and use it in GitHub Desktop.
Save kikeda1104/8500408 to your computer and use it in GitHub Desktop.
rails app作成
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