I have a database table and associated ActiveRecord model. I was
trying to store (temporarily) an array in one of the attribute
elements - not to save it, but just so that I can keep some form data
in a sensible place. A stripped down version of the problem I'm having
p = Property.new(:bedroom_count => ["2","3"])
puts p.inspect # ==> will correctly show that the array is stored in
the attributes "hash"
puts p.bedroom_count # => returns 1
I realize I'm a little "off rails" on this approach, but does anyone
have any knowledge of what's going on in this case?