From 344239502cad0ad6e943d706189bedd304be2b56 Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Sat, 15 Aug 2015 20:27:40 +0100 Subject: [PATCH] Use protected_attributes to support legacy model protection --- Gemfile | 3 +++ Gemfile.lock | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 87eeeb7..90228f6 100644 --- a/Gemfile +++ b/Gemfile @@ -39,6 +39,9 @@ gem 'neat', '~> 1.6.0' gem 'haml', '~> 4.0.5' gem 'rails_autolink', '~> 1.1.5' +# Legacy feature shims +gem 'protected_attributes', '~> 1.1.3' + group :assets do gem 'uglifier', '~> 2.5.0' end diff --git a/Gemfile.lock b/Gemfile.lock index 530d8be..e1143b0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -149,6 +149,8 @@ GEM multi_json (~> 1.0) websocket-driver (>= 0.2.0) power_assert (0.2.4) + protected_attributes (1.1.3) + activemodel (>= 4.0.1, < 5.0) pry (0.9.12.6) coderay (~> 1.0) method_source (~> 0.8) @@ -286,6 +288,7 @@ DEPENDENCIES nokogiri (~> 1.6.1) oj (~> 2.5.5) poltergeist (~> 1.6.0) + protected_attributes (~> 1.1.3) pry-byebug (~> 1.3.2) puma (~> 2.11.1) quiet_assets (~> 1.0.2)