mercredi 31 mai 2017

How can I build array dynamically for 21 fields per element?

I want to build an array dynamically for 21 fields per element. Everything must be done in the view.

How can I do that?

Every element must have 21 fields and I have to access it later like

@xyz.each do |element|
  puts element["fieldA"]
end

Aucun commentaire:

Enregistrer un commentaire