Problem with db:migrate in rails 3.1 with mysql

Hi,

I have been working with Rubymine 3.1.1 with rails 3.0.6 since last 6
months.
I have just started working with rails ‘3.1.0.rc5’ with RubyMine 3.2.3
and mysql.
Just to get hands-on with the new version of rails, I tried creating a
sample application with single scaffold (User username:string
password:string), but it gives the following error on db:migrate :-

== CreateUsers: migrating

– create_table(:users)
rake aborted!
An error has occurred, all later migrations canceled:

undefined method `rows’ for nil:NilClass

Tasks: TOP => db:migrate
(See full trace by running task with --trace)
-> 0.1100s
== CreateUsers: migrated (0.1100s)

Process finished with exit code 1

Any suggestions??

Thanks in advance!