Frederick Cheung wrote: > On Apr 7, 3:48�pm, John Merlino <li...@ruby-forum.com> wrote: >> >> I would like @result to return this: >> [1,11] >> > >> Any suggestions thanks? > > Symbols and strings are not the same thing > > Fred > > --
But even this: @result = @results.map{ |result| result['RunningTotal'] } returns this: ["1", "11"] Which is not helping me either, because I believe I need something like this: [1,11] for the chart I'm using. -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.