d204918f91
There is an example in Rails documentation that suggests implementing assign_attributes method for ActiveModel interface, that by default sends option role with nil. Since mass_assignment_authorizer never is called without args, we can move the default value internally. |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |