On Monday, June 05, 2006, at 2:58 PM, ss wrote:>ss wrote:
>> Hi
>>
>> I have an array in a helper method and I want to oupt the contents to
>> the screen, so i can see waht array key''s are avalible
>>
>> How can this be done?
>
>found a .inspect function whcih seemed to do the job if i returned it to
>the view, but if anyone knows of any better and quicker ways to de-bug
>stuff, please elt me know
>
>thanks
>scott
>
>--
>Posted via http://www.ruby-forum.com/.
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
You can use <%= debug(varname) %>
--
Posted with http://DevLists.com. Sign up and save your mailbox.