donald dapp
2006-Mar-22 18:03 UTC
[Rails] Wierd hash being returned from a .find_all call (usingmySQL)
I was following a basic todo list tutorial, and when I call a: @items = Listing.find_all render_text @items.inspect The following is displayed in my browser, and clues?... [#"Don", "category"=>"Human", "id"=>"1", "hidden"=>"0"}>, #"Cheese", "category"=>"Food", "id"=>"2", "hidden"=>"1"}>, #"Hat", "category"=>"Head", "id"=>"3", "hidden"=>"0"}>] I''m getting funky symbols in the hash thats being returned... I searched everywhere for a similar problem and I can''t find anything. -- Posted via http://www.ruby-forum.com/.