mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Use protected_attributes to support legacy model protection
This commit is contained in:
parent
54e4c6a4bb
commit
344239502c
2 changed files with 6 additions and 0 deletions
3
Gemfile
3
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue