Install protected_attributes gem

Rails 4 removed `attr_accessible`, and we should move away from it to (I think we'll need to by Rails 5?), but for now we can install this and move on!
This commit is contained in:
Matchu 2023-07-22 12:20:30 -07:00
parent 7d20204940
commit d61b57967d
3 changed files with 6 additions and 0 deletions

View file

@ -66,7 +66,10 @@ gem 'sass-rails', "~> 4.0.5"
gem 'compass-rails', "~> 1.0.3" gem 'compass-rails', "~> 1.0.3"
gem 'uglifier', ">= 1.0.3" gem 'uglifier', ">= 1.0.3"
# Backfills for old Rails behaviors
# TODO: Would be nice to become canonical and not need these!
gem 'rails-observers', '~> 0.1.5' gem 'rails-observers', '~> 0.1.5'
gem 'protected_attributes', '~> 1.1', '>= 1.1.4'
group :development do group :development do
gem 'capistrano', '~> 2.15.5', require: false gem 'capistrano', '~> 2.15.5', require: false

View file

@ -147,6 +147,8 @@ GEM
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.13.0) parallel (1.13.0)
passenger_monit (0.1.1) passenger_monit (0.1.1)
protected_attributes (1.1.4)
activemodel (>= 4.0.1, < 5.0)
rack (1.5.5) rack (1.5.5)
rack-attack (2.2.1) rack-attack (2.2.1)
rack rack
@ -287,6 +289,7 @@ DEPENDENCIES
openneo-auth-signatory (~> 0.1.0) openneo-auth-signatory (~> 0.1.0)
parallel (~> 1.13.0) parallel (~> 1.13.0)
passenger_monit (~> 0.1.1) passenger_monit (~> 0.1.1)
protected_attributes (~> 1.1, >= 1.1.4)
rack-attack (~> 2.2.0) rack-attack (~> 2.2.0)
rails (= 4.0.13) rails (= 4.0.13)
rails-i18n (~> 4.0, >= 4.0.9) rails-i18n (~> 4.0, >= 4.0.9)

Binary file not shown.