I am *very* new to Ruby on Rails, and come from a C++ background, so some of this stuff is somewhat confusing. Please bear with me if this question sounds retarded, but I'm stumped.

Say I've a class called Bet:

```
class Bet < ActiveRecord::Base

```

The bets table is as follows:

```
  create_table "bets", :force => true do |t|
    t.string   "text"
    t.boolean  "completed",       :default => false
    t.boolean  "won_by_bettor"
    t.integer  "bet_against"
    t.datetime "twitter_tstamp"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.string   "tweet_id"
  end

```

I'm trying to retrieve and display certain bets (based on, say, user\_id) in a .haml file. How could I go about doing this?

If I try something like this in my .haml file:

> 
> #{Bet.find(:all)}
> 
> 
> 

I get something that looks like this:

```
#<Bet:0x2aaefc6c3920>#<Bet:0x2aaefc6be0b0>#<Bet:0x2aaefc6bdfc0>#<Bet:0x2aaefc6bdf20>#<Bet:0x2aaefc6bde80>#<Bet:0x2aaefc6bdde0>#<Bet:0x2aaefc6bdd40>#<Bet:0x2aaefc6bdca0>#<Bet:0x2aaefc6bdc00>#<Bet:0x2aaefc6bd368>#<Bet:0x2aaefc6bd278>#<Bet:0x2aaefc6bd1d8>#<Bet:0x2aaefc6bd0e8>#<Bet:0x2aaefc6bd048>#<Bet:0x2aaefc6bcfa8>

```

Which is obviously not what I want displayed. 

Any help would be really appreciated.

**EDIT (based on nathanvda's answers/suggestions)**

I'll clarify what I want to do exactly: I am able to display all the bets made *by* the user against someone else; however, I am also trying to display bets made by someone else *against* the user. This is where I am hitting a roadblock.

My logic is to check the bets table where the "bettee"=user (for lack of a better word, the user against whom the bet is made), and then display those bets. Thus, I would ideally like my show method to display all the bets made AGAINST (not by - since this is already working) the user.

I have a simple question: does the method NEED to be called "show"? Or should it be called "index"? Or does the name matter, based on the view it corresponds to? I've currently implemented the method as "show" but I'm still getting an error, which for some reason, makes me think that the view (show.html.haml) is not able to "interface" (again, for lack of a better word) with bet\_controller.rb. In the last 2 lines of the view (lines 68 and 69, which I commented out - [pastebin.com/rJWMntL0](http://pastebin.com/rJWMntL0) ), when I use exactly what dmarkow had suggested, I get an error ("We're sorry, but something went wrong.").