before_action is just a new syntax for before_filter and old syntax isn't even deprecated.
fix syntax error
add belongs_to & has_one
Merge branch 'master' of https://github.com/tonyhsu23/language-ruby-on-rails into before_action