Hi, I've managed to create the database (tested it using .tables and it came up fine) and entered the following, which produced an error (all displayed below)


C:\Users\charlie\Downloads\InstantRails-2.0-win\rails_apps\shovell>ruby script/c
onsole
Loading development environment (Rails 2.0.2)
>> class Story < ActiveRecord::Base; end
=> nil
>> story = Story.new
ActiveRecord::StatementInvalid: Could not find table 'stories'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite3_adapte
r.rb:29:in `table_structure'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/object/misc.rb:28:in `r
eturning'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite3_adapte
r.rb:28:in `table_structure'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter
.rb:189:in `columns'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1080:in `columns'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:2363:in `attributes_from_c
olumn_definition_without_lock'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/locking/optimistic.rb:55:in `attri
butes_from_column_definition'
from C:/Users/charlie/Downloads/InstantRails-2.0-win/ruby/lib/ruby/gems/
1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1922:in `initialize'
from (irb):2:in `new'
from (irb):2
>>

I know that someone has already posted, but they were told there was a difference between the archive and the book (the book being right) but I copied it from the book not the archive so this cannot be the issue here.

Please help, I'm at my wits end!

Thanks,

Charlotte