Forum: Typo Why doesn't typo.blogs exist?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hal Fulton (Guest)
on 2006-06-13 01:13
(Received via mailing list)
OK, I finally figured out how to destroy my database.

I then imported my old tables/data again.

I then ran rake migrate and it seemed fine.

rake test reports only one failure.

   1) Failure:
test_xml_atom10(XmlControllerTest)
     [./test/functional/admin/../../test_helper.rb:44:in `assert_xpath'
      ./test/functional/xml_controller_test.rb:295:in
`test_xml_atom10']:
<false> is not true.

204 tests, 794 assertions, 1 failures, 0 errors


So when I go to /admin, it 500s on me.

Tailing the log says:

ActiveRecord::StatementInvalid (Mysql::Error: #42S02Table 'typo.blogs'
doesn't exist:
SELECT * FROM blogs  ORDER BY id  LIMIT 1):

/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:185:in
`execute'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:337:in
`select'

/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:176:in
`select_all'


...and at least 60 more lines.

So what gives?? Who/what creates typo.blogs, and when, and why don't
I have it? And how can I get it?


Thanks...

Hal
This topic is locked and can not be replied to.