rails g scaffold time_record user:references date:date type:integer in:timestamp out:timestamp note:string
rake db:migrate
user has_many time_records
set time_zone Tokyo
crud time_record by user