Hmm, one way is to implement it as has_many association. but also you could save it as json or xml. or use serialization http://api.rubyonrails.org/classes/ActiveModel/Serialization.html
Ahmy Yulrizka On Mon, Jan 9, 2012 at 7:02 AM, Rodrigo Ruiz <[email protected]>wrote: > Hi, is there a way to save an array of float values to my database (for a > specific mode, for example User, so it stays like user.values = [0, 2, 54, > 3])? > > Thanks in advance > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

