Hi foreman devs - particularly plugin authors this time,
As part of the Rails 4 upgrade, we are moving to attr_accessible to
enforce mass assignment protection on Rails models. We want to merge
this a bit before than Rails 4 itself.
If your plugin extends Foreman models and uses mass assignment on the
attributes it extends, you will need to whitelist these in your plugin.
I made a few pull requests to projects where I saw some failures:
Katello - https://github.com/Katello/katello/pull/5615
Discovery - https://github.com/theforeman/foreman_discovery/pull/233
Salt - https://github.com/theforeman/foreman_salt/pull/55
As a secondary reminder - Tom Caspy gave yesterday an overview of
changes on Rails 4 that you probably want to be aware if you're
developing a plugin - https://youtu.be/RCqwTtIXRSw?t=28m32s
···-- Daniel Lobato Garcia