be rake db:create
be rails g scaffold User name email
be rails g scaffold Item name
rake db:migrate
be rails g scaffold UserItem user:references item:references number:integer
has_many
has_many thorugh
make sample data
use rspec
調整
serach
be rails generate rspec:install
be rails generate rspec:model User name email
be rails generate rspec:model Item name
be rails generate rspec:model UserItem user:references item:references number:integer
test database
factorygirl method
delete pending
add gem spring
bundle exec spring binstub