Module to use similar model multiple params assignment and dates with multiparams (params["date(1i)"], params["date(2i)"], params["date(3i)"]) in a non ActiveModel class.
class Sample
include ActiveModel::Multiassignment
attr_accessor :name, :date
multiparameter_dates :date