Forum: Ruby on Rails Wierd hash being returned from a .find_all call (usingmySQL)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B8dd02d48a27700343a04210af10fd25?d=identicon&s=25 Donald Dapp (thedapp)
on 2006-03-22 19:03
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.
This topic is locked and can not be replied to.