Only add protected_attributes to Rails 4 Gemfile