title: Rails 3 'test the truth' unit test failing after migrations mess-up
body: <p>Finished tests in 0.074964s, 13.3398 tests/s, 0.0000 assertions/s.</p>
  
  <pre><code>  1) Error:
  test_the_truth(UserTest):
  ActiveRecord::StatementInvalid: Mysql2::Error: Unknown column 'user_id' in 'field list': INSERT INTO `tickets` (`status`, `assignee`, `created_at`, `updated_at`, `id`, `project_id`, `user_id`) VALUES ('MyString', 1, '2013-02-22 12:40:19', '2013-02-22 12:40:19', 980190962, 64810937, 64810937)
      /usr/local/rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query'
      /usr/local/rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
  </code></pre>
  
  <p>I generated/scaffolded models and everything. 
  The peculiar part is that I don't remember having a user_id column in the table.
  Furthermore, schema.db and all migrations do not have anything like this as well.
  I do not have such string (user_id) in my <strong>workspace</strong>
  How does rails my column should be named like that?</p>
  
  <p>Apparently there had been such thing as a column in the database but it got fixed in some weird messy way. </p>
  
  <p>P.S. If I disable the fixtures related to this table, it's all good.</p>
  
  <p>What is going on, from where does rails read this column name from, cause apparently it is not from my workspace and neither my db or the test db.So it probably stores it somewhere? Is there a way can I fix this mess?</p>