Added protected attributes gem to Gemfile and database.rb in active_record example
Merge pull request #38 from JulianNicholls/rails4-changes

Added protected attributes gem to Gemfile and database.rb in active_record example for Rails 4.