Sorry for cross posting this, but I accidentally put this in the Ruby
forum first and I think it’s more appropriate in RoR.
I know that I’m missing something simple here, but the solution is
I want to get the values in the fruits field for my first order.
In script console I type this:
Cart.find(:first, :select => “fruits”)
=>#(Car fruits: “apple, orange, pear”)
Now I want to add grapefruit to that list and save it back into the
How can I do that?
I know it’s something so basic, but I’m missing it.