Hi, Ive got an array, and when I run @aArray.inspect in the view it outputs [#"45", "id"=>"1"}>] how can I just output the number 45? thanks dave -- Posted via http://www.ruby-forum.com/.
dave wrote:> Hi, > > Ive got an array, and when I run @aArray.inspect in the view it outputs > [#"45", "id"=>"1"}>] > > how can I just output the number 45? > > thanks > davedont worry found it, <%=@oLicence[0][''sum(software_keys.number_of_users)'']%> -- Posted via http://www.ruby-forum.com/.