generate migrate add_user_id_to_group
rake db:migrate add_user_id_to_group
generate user and group databse relationship
groups/create, edit, update, destroy 加入 user_id 參數
只有 Current_user 跟 作者相同才能在前台顯示 edit / destroy 按鈕
generate migrate add_user_id_to_post
rake db:migrate add_user_id_to_post
generate user and post database relationship
posts/create , edit, update, destroy 加入 user_id 參數
只有 current_user 跟 post.user_id 相同才能在前台顯示 edit / destroy 按鈕
Merge pull request #4 from sdlong/chapter5

將 group 跟 post 加入作者機制