AaronLasseigne / active_interaction

:briefcase: Manage application specific business logic.
MIT License
2.07k stars 137 forks source link

converter option not resolving correctly to classname of array attribute in v4.0.2 #511

Closed agustindaguerre closed 3 years ago

agustindaguerre commented 3 years ago

After bumping from 4.0.1 to 4.0.2 usage of converter: :new option in a array attribute broke resolving to correct class.

Example:

array :summaries do
  object converter: :new
end

This does not longer resolve to use Summary class after updating, now we have to specify the class for it to work as expected:

array :documentaries do
  object class: Summary, converter: :new
end