Project

General

Profile

Actions

Bug #5158

closed

Remove attr_accessible from Katello

Added by David Davis over 10 years ago. Updated about 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

At some point it would be nice to remove the attr_accessible calls from Katello models as we could/should just use strong parameters for mass assignment security.

See the following post for more information on this:

http://blog.remarkablelabs.com/2012/12/strong-parameters-rails-4-countdown-to-2013


Related issues 2 (0 open2 closed)

Is duplicate of Katello - Feature #15741: Use parameter_filter instead of attr_accessibleClosedDavid Davis07/19/2016Actions
Blocks Katello - Tracker #9259: Rails 4 featureResolved02/06/2015

Actions
Actions

Also available in: Atom PDF