# Newbie question -how do I add values to a result?

**URL:** <https://www.ruby-forum.com/t/newbie-question-how-do-i-add-values-to-a-result/135639>\
**Category:** Ruby\
**Created:** [April 23, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/newbie-question-how-do-i-add-values-to-a-result/135639 "2008-04-23T20:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newrubygirl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Post date:** [April 23, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/newbie-question-how-do-i-add-values-to-a-result/135639/1 "2008-04-23T20:26:33Z")

</div>

I know that I’m missing something simple here, but the solution is  
evading me.

I want to get the values in the fruits field for my first order.

> > 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  
fruits field.

How can I do that?

I know it’s something so basic, but I’m missing it.

Thanks!
