Use parameter_filter instead of attr_accessible
Foreman is dropping support for protected_attributes and we need to switch to their new way of whitelisting attributes. See here for more info:
Here's the Foreman PR:
#7 Updated by David Davis about 4 years ago
One option would be to add protected_attributes as a dependency for Katello but I'd probably recommend against it. We use strong_params pretty much everywhere--except when extending the foreman models. We call attr_accessible in about 8 places that I think we can switch over to parameter_filter. I am going to investigate that route.