rubocop: rewrite read_attribute method to self[attr] style.
rubocop: rewrite validate_presence_of to validates attr, presence: true style
rubocop: rewrite write_attribute to self[attr] = value style
rubocop: rewrite before_filter to before_action style

before_filter is old style, Rails 3
rubocop: rewrite validate_presence_of to validates attr, presence: true style
rubocop: rewrite read_attribute method to self[attr] style.
Merge pull request #9 from gouf/rubocop_rails_style

rubocop rails style