Having a dumb model object like
def MyModel
attr_accessor :property
def initialize
@property = Array.new
end
end
when it is used for for interaction by “@object = MyModel.new” and then
used in view as
<%= text_field ‘object’, ‘property’ %>
shoudn’t it be rendered as?:
that is with [] at the end so params[:property] will gain array?
–
Kamil