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.
- Failure:
test_xml_atom10(XmlControllerTest)
[./test/functional/admin/…/…/test_helper.rb:44:inassert_xpath' ./test/functional/xml_controller_test.rb:295:in
test_xml_atom10’]:
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