friendshipモデルを作成してフォローできるように変更

$ rails g model Friendship user_id:integer friend_id:integer
/Users/yuta/tmp/rails/Twitter/config/initializers/devise.rb:255: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
      invoke  active_record
      create    db/migrate/20131004005137_create_friendships.rb
      create    app/models/friendship.rb
$ rake db:migrate
==  CreateFriendships: migrating ==============================================
-- create_table(:friendships)
   -> 0.0054s
==  CreateFriendships: migrated (0.0055s) =====================================
Homeコントローラーを生成

$ rails g controller Home account_info
/Users/yuta/tmp/rails/Twitter/config/initializers/devise.rb:255: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
      create  app/controllers/home_controller.rb
       route  get "home/account_info"
      invoke  erb
      create    app/views/home
      create    app/views/home/account_info.html.erb
      invoke  helper
      create    app/helpers/home_helper.rb
      invoke  assets
      invoke    coffee
      create      app/assets/javascripts/home.js.coffee
      invoke    scss
      create      app/assets/stylesheets/home.css.scss
ユーザ情報を見れるページを作成
Merge pull request #3 from ytkt/day4

Day4