error when calling "to_sql" (Rails 3 beta 4, 1.9.2-head)

I'm testing Rails 3 beta 4 on Ruby 1.9.2-head, and when I start a
console and do:


I get this error:

  ArgumentError: wrong number of arguments (0 for 1)

I know it can find the Game record, because when I type:


it returns:

=> #<Game id: 1, name: "Galaga", created_at: "2010-06-19 11:02:37",
updated_at: "2010-06-19 11:02:37">

What am I missing? I just want to make the to_ql work in a very simple