Project

General

Profile

Actions

Feature #15741

closed

Use parameter_filter instead of attr_accessible

Added by David Davis over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
hard
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman is dropping support for protected_attributes and we need to switch to their new way of whitelisting attributes. See here for more info:

http://projects.theforeman.org/projects/foreman/wiki/Strong_parameters#Changing-core-extensions-to-use-the-plugin-API

Here's the Foreman PR:

https://github.com/theforeman/foreman/pull/3659


Related issues 3 (0 open3 closed)

Related to Foreman - Feature #3917: Add strong_parameters to foremanClosedDominic Cleal12/19/2013Actions
Has duplicate Katello - Bug #5158: Remove attr_accessible from KatelloDuplicate04/11/2014Actions
Has duplicate Katello - Bug #16109: db_seed fails with Host::Managed is using attr_accessible so must either be converted to strong parameters, or add the protected_attributes gemDuplicate08/15/2016Actions
Actions

Also available in: Atom PDF