Help: migrating data from fixtures

I’m attempting to load some test data into a table , following along
with AWDWR example.
My migration is failing on the user connection.

C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`rake_original_const_missing’: uninitialized constant User (NameError)

So in this line from the migration file:

f = Fixtures.new(User.connection, # a database connection

I’m translating it to me f = Fixtures.new(Root.mydatabase_development,

Would that not be correct ?

TIA
Stuart

So in this line from the migration file:

f = Fixtures.new(User.connection, # a database connection

I’m translating it to me f = Fixtures.new(Root.mydatabase_development,

Would that not be correct ?

I don’t think you want to change “connection”; I think that is a
keyword. And is your class really “Root” (with a default table name
roots?)?