cruisecontrol.rb@gmail.com
2007-Jun-07 23:49 UTC
[CruiseControl] RubyOnRails build 6962 failed
The build failed. CHANGES ------- Revision 6962 committed by bitsweat on 2007-06-07 23:42:47 Register alternative template engines using ActionMailer::Base.register_template_extension(''haml''). Closes #7534. M /trunk/actionmailer/CHANGELOG M /trunk/actionmailer/lib/action_mailer/base.rb M /trunk/actionmailer/test/mail_service_test.rb TEST FAILURES AND ERRORS ----------------------- Name: test_belongs_to_polymorphic_with_counter_cache(AssociationsJoinModelTest) Type: Failure Message: <0> expected but was <nil>. ./test/associations/join_model_test.rb:279:in `test_belongs_to_polymorphic_with_counter_cache'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_create_associate_when_adding_to_has_many_through(AssociationsJoinModelTest) Type: Failure Message: Exception raised: Class: <ActiveRecord::StatementInvalid> Message: <"SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET \"taggings_count\" = \"taggings_count\" + 1 WHERE (\"id\" = 2) AND ( (posts.\"type\" = ''SpecialPost'' ) ) "> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1699:in `save_without_validation!'' ./test/../lib/active_record/validations.rb:858:in `save_without_transactions!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/validations.rb:823:in `create!'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `send'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `each'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `<<'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/associations/has_many_through_association.rb:55:in `<<'' ./test/associations/join_model_test.rb:408:in `test_create_associate_when_adding_to_has_many_through'' ./test/associations/join_model_test.rb:408:in `test_create_associate_when_adding_to_has_many_through'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/associations/join_model_test.rb:408:in `test_create_associate_when_adding_to_has_many_through'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_eager_belongs_to_and_has_one_not_singularized(AssociationsJoinModelTest) Type: Failure Message: Exception raised: Class: <ActiveRecord::StatementInvalid> Message: <"SQLite::Exceptions::SQLException: no such column: authors.author_address_id: SELECT authors.\"id\" AS t0_r0, authors.\"name\" AS t0_r1, author_addresses.\"id\" AS t1_r0, author_addresses.\"author_address_id\" AS t1_r1 FROM authors LEFT OUTER JOIN author_addresses ON author_addresses.id = authors.author_address_id "> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:152:in `select_all'' ./test/../lib/active_record/associations.rb:1286:in `select_all_rows'' ./test/../lib/active_record/associations.rb:1142:in `find_with_associations'' ./test/../lib/active_record/associations.rb:1140:in `catch'' ./test/../lib/active_record/associations.rb:1140:in `find_with_associations'' ./test/../lib/active_record/base.rb:996:in `find_every'' ./test/../lib/active_record/base.rb:991:in `find_initial'' ./test/../lib/active_record/base.rb:430:in `find'' ./test/associations/join_model_test.rb:378:in `test_eager_belongs_to_and_has_one_not_singularized'' ./test/associations/join_model_test.rb:377:in `test_eager_belongs_to_and_has_one_not_singularized'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/associations/join_model_test.rb:377:in `test_eager_belongs_to_and_has_one_not_singularized'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table_renaming_column(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:27:in `test_copy_table_renaming_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:27:in `test_copy_table_renaming_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table_with_index(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:36:in `test_copy_table_with_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:36:in `test_copy_table_with_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_column_not_null_with_default(MigrationTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:202:in `test_add_column_not_null_with_default'' ./test/migration_test.rb:202:in `test_add_column_not_null_with_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:202:in `test_add_column_not_null_with_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column_with_sql_reserved_word(MigrationTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:260:in `rename_column'' ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_should_disallow_duplicate_column_definition(MigrationTest) Type: Failure Message: <ActiveRecord::StatementInvalid> exception expected but was Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:812:in `test_should_disallow_duplicate_column_definition'' ./test/migration_test.rb:811:in `test_should_disallow_duplicate_column_definition'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:811:in `test_should_disallow_duplicate_column_definition'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table_renaming_column(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:27:in `test_copy_table_renaming_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:27:in `test_copy_table_renaming_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_copy_table_with_index(CopyTableTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/copy_table_test_sqlite.rb:47:in `copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:36:in `test_copy_table_with_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/copy_table_test_sqlite.rb:14:in `test_copy_table'' ./test/copy_table_test_sqlite.rb:36:in `test_copy_table_with_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column(MigrationTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `change_column'' ./test/migration_test.rb:461:in `test_change_column'' ./test/migration_test.rb:461:in `test_change_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:461:in `test_change_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_with_nil_default(MigrationTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `change_column'' ./test/migration_test.rb:481:in `test_change_column_with_nil_default'' ./test/migration_test.rb:481:in `test_change_column_with_nil_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:481:in `test_change_column_with_nil_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator(MigrationTest) Type: Failure Message: <false> is not true. ./test/migration_test.rb:591:in `test_migrator'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_up(MigrationTest) Type: Failure Message: <false> is not true. ./test/migration_test.rb:611:in `test_migrator_one_up'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column_with_sql_reserved_word(MigrationTest) Type: Failure Message: Exception raised: Class: <RuntimeError> Message: <"You already defined column ''id''."> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:260:in `rename_column'' ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- ./test/migration_test.rb:403:in `test_rename_column_with_sql_reserved_word'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_custom_templating_extension(ActionMailerTest) Type: Failure Message: <2> expected but was <0>. ./test/mail_service_test.rb:367:in `test_custom_templating_extension'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_load_schema(AAACreateTablesTest) Type: Error Message: RuntimeError: ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'': You already defined column ''id''. ./test/aaa_create_tables_test.rb:18:in `test_load_schema'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' (eval):31:in `test_load_schema'' ./test/../lib/active_record/schema.rb:43:in `instance_eval'' ./test/../lib/active_record/schema.rb:43:in `define'' (eval):1:in `test_load_schema'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `eval'' ./test/aaa_create_tables_test.rb:18:in `test_load_schema'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_adding_to_has_many_through_should_return_self(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 2) AND ( (posts."type" = ''SpecialPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1699:in `save_without_validation!'' ./test/../lib/active_record/validations.rb:858:in `save_without_transactions!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/validations.rb:823:in `create!'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `push'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `send'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `push'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `each'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `push'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/associations/has_many_through_association.rb:55:in `push'' ./test/associations/join_model_test.rb:442:in `test_adding_to_has_many_through_should_return_self'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_create_bang_polymorphic_with_has_many_scope(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1699:in `save_without_validation!'' ./test/../lib/active_record/validations.rb:858:in `save_without_transactions!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/validations.rb:823:in `create!'' ./test/../lib/active_record/associations/association_collection.rb:95:in `create!'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/association_collection.rb:95:in `send'' ./test/../lib/active_record/associations/association_collection.rb:95:in `create!'' ./test/associations/join_model_test.rb:145:in `test_create_bang_polymorphic_with_has_many_scope'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_create_polymorphic_has_many_with_scope(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1693:in `save_without_validation'' ./test/../lib/active_record/validations.rb:848:in `save_without_transactions'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/base.rb:463:in `create'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/association_collection.rb:88:in `send'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/associations/join_model_test.rb:138:in `test_create_polymorphic_has_many_with_scope'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_create_polymorphic_has_one_with_scope(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1693:in `save_without_validation'' ./test/../lib/active_record/validations.rb:848:in `save_without_transactions'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/base.rb:463:in `create'' ./test/../lib/active_record/associations/has_one_association.rb:10:in `create'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `new_record'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `send'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `new_record'' ./test/../lib/active_record/associations/has_one_association.rb:10:in `create'' ./test/associations/join_model_test.rb:152:in `test_create_polymorphic_has_one_with_scope'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_delete_associate_when_deleting_from_has_many_through(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 2) AND ( (posts."type" = ''SpecialPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1699:in `save_without_validation!'' ./test/../lib/active_record/validations.rb:858:in `save_without_transactions!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/validations.rb:823:in `create!'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `send'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `each'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `<<'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/associations/has_many_through_association.rb:55:in `<<'' ./test/associations/join_model_test.rb:450:in `test_delete_associate_when_deleting_from_has_many_through'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 2) AND ( (posts."type" = ''SpecialPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1699:in `save_without_validation!'' ./test/../lib/active_record/validations.rb:858:in `save_without_transactions!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:109:in `save!'' ./test/../lib/active_record/validations.rb:823:in `create!'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `send'' ./test/../lib/active_record/associations/has_many_through_association.rb:60:in `<<'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `each'' ./test/../lib/active_record/associations/has_many_through_association.rb:56:in `<<'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/associations/has_many_through_association.rb:55:in `<<'' ./test/associations/join_model_test.rb:466:in `test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_delete_polymorphic_has_many_with_destroy(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" - 1 WHERE ("id" = 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:602:in `decrement_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:324:in `destroy_without_transactions'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/associations/association_proxy.rb:128:in `each'' ./test/../lib/active_record/associations/association_proxy.rb:128:in `send'' ./test/../lib/active_record/associations/association_proxy.rb:128:in `method_missing'' ./test/../lib/active_record/associations/association_collection.rb:162:in `method_missing'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:324:in `destroy_without_transactions'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/associations/join_model_test.rb:174:in `test_delete_polymorphic_has_many_with_destroy'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_delete_polymorphic_has_one_with_destroy(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" - 1 WHERE ("id" = 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:602:in `decrement_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:324:in `destroy_without_transactions'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/associations/association_proxy.rb:128:in `send'' ./test/../lib/active_record/associations/association_proxy.rb:128:in `method_missing'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:324:in `destroy_without_transactions'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:101:in `destroy'' ./test/associations/join_model_test.rb:196:in `test_delete_polymorphic_has_one_with_destroy'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_polymorphic_has_many_create_model_with_inheritance(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 2) AND ( (posts."type" = ''SpecialPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1693:in `save_without_validation'' ./test/../lib/active_record/validations.rb:848:in `save_without_transactions'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/base.rb:463:in `create'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/association_collection.rb:88:in `send'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/associations/join_model_test.rb:115:in `test_polymorphic_has_many_create_model_with_inheritance'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_polymorphic_has_many_create_model_with_inheritance_and_custom_base_class(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 8) AND ( (posts."type" = ''SubStiPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1693:in `save_without_validation'' ./test/../lib/active_record/validations.rb:848:in `save_without_transactions'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/base.rb:463:in `create'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/association_collection.rb:88:in `send'' ./test/../lib/active_record/associations/association_collection.rb:88:in `create'' ./test/associations/join_model_test.rb:99:in `test_polymorphic_has_many_create_model_with_inheritance_and_custom_base_class'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_polymorphic_has_one_create_model_with_inheritance(AssociationsJoinModelTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite::Exceptions::SQLException: no such column: taggings_count: UPDATE posts SET "taggings_count" = "taggings_count" + 1 WHERE ("id" = 2) AND ( (posts."type" = ''SpecialPost'' ) ) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:136:in `update'' ./test/../lib/active_record/base.rb:515:in `update_all'' ./test/../lib/active_record/base.rb:566:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:139:in `update_counters'' ./test/../lib/active_record/base.rb:585:in `increment_counter'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:339:in `callback'' ./test/../lib/active_record/callbacks.rb:334:in `each'' ./test/../lib/active_record/callbacks.rb:334:in `callback'' ./test/../lib/active_record/callbacks.rb:257:in `create_without_timestamps'' ./test/../lib/active_record/timestamp.rb:29:in `create'' ./test/../lib/active_record/base.rb:1958:in `create_or_update_without_callbacks'' ./test/../lib/active_record/callbacks.rb:243:in `create_or_update'' ./test/../lib/active_record/base.rb:1693:in `save_without_validation'' ./test/../lib/active_record/validations.rb:848:in `save_without_transactions'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/transactions.rb:77:in `transaction'' ./test/../lib/active_record/transactions.rb:97:in `transaction'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/transactions.rb:117:in `rollback_active_record_state!'' ./test/../lib/active_record/transactions.rb:105:in `save'' ./test/../lib/active_record/base.rb:463:in `create'' ./test/../lib/active_record/associations/has_one_association.rb:10:in `create'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `new_record'' ./test/../lib/active_record/base.rb:1422:in `with_scope'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `send'' ./test/../lib/active_record/associations/has_one_association.rb:83:in `new_record'' ./test/../lib/active_record/associations/has_one_association.rb:10:in `create'' ./test/../lib/active_record/associations.rb:1132:in `send'' ./test/../lib/active_record/associations.rb:1132:in `create_tagging'' ./test/associations/join_model_test.rb:120:in `test_polymorphic_has_one_create_model_with_inheritance'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_column_not_null_with_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_drop_table_with_prefix_and_suffix(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_index(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:54:in `test_add_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_index(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_remove_single_field_using_string_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/migration_test.rb:334:in `test_add_remove_single_field_using_string_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_remove_single_field_using_string_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_remove_single_field_using_symbol_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/migration_test.rb:348:in `test_add_remove_single_field_using_symbol_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_remove_single_field_using_symbol_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_rename(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:363:in `test_add_rename'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_rename(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_table(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_table_with_decimals(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:457:in `test_change_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:243:in `change_column_default'' ./test/migration_test.rb:502:in `test_change_column_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_default_to_null(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:243:in `change_column_default'' ./test/migration_test.rb:508:in `test_change_column_default_to_null'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_default_to_null(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_with_new_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:490:in `test_change_column_with_new_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_with_new_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_with_nil_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:477:in `test_change_column_with_nil_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_with_nil_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_adds_id(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_binary_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_custom_sequence_name(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_defaults(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_limits(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_not_null_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:594:in `test_migrator'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_going_down_due_to_version_target(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:663:in `test_migrator_going_down_due_to_version_target'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_going_down_due_to_version_target(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_down(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:627:in `test_migrator_one_down'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_down(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_up(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:614:in `test_migrator_one_up'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_up(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_up_one_down(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:637:in `test_migrator_one_up_one_down'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_up_one_down(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_verbosity(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:645:in `test_migrator_verbosity'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_verbosity(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_verbosity_off(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:656:in `test_migrator_verbosity_off'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_verbosity_off(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_with_duplicates(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_with_missing_version_numbers(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations_with_missing_versions//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/../lib/active_record/migration.rb:291:in `migrate'' ./test/migration_test.rb:763:in `test_migrator_with_missing_version_numbers'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_with_missing_version_numbers(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_native_decimal_insert_manual_vs_automatic(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:218:in `test_native_decimal_insert_manual_vs_automatic'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_native_decimal_insert_manual_vs_automatic(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_native_types(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:259:in `test_native_types'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_native_types(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_proper_table_name(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/migration_test.rb:396:in `test_rename_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column_using_symbol_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/migration_test.rb:385:in `test_rename_column_using_symbol_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column_using_symbol_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column_with_sql_reserved_word(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_table(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:370:in `rename_table'' ./test/migration_test.rb:417:in `test_rename_table'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_table(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_table_with_an_index(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:370:in `rename_table'' ./test/migration_test.rb:440:in `test_rename_table_with_an_index'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_table_with_an_index(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_schema_info_table_name(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_should_disallow_duplicate_column_definition(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:374:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_decrement_counter_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:105:in `test_decrement_counter_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_decrement_counter_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:105:in `test_decrement_counter_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_increment_counter_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:99:in `test_increment_counter_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_increment_counter_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:99:in `test_increment_counter_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_update_counters_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:111:in `test_update_counters_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_update_counters_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:111:in `test_update_counters_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_column_not_null_with_default(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_drop_table_with_prefix_and_suffix(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_index(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_remove_single_field_using_string_arguments(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/migration_test.rb:334:in `test_add_remove_single_field_using_string_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_remove_single_field_using_string_arguments(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_remove_single_field_using_symbol_arguments(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/migration_test.rb:348:in `test_add_remove_single_field_using_symbol_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_remove_single_field_using_symbol_arguments(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_rename(MigrationTest) Type: Error Message: NoMethodError: undefined method `girlfriend='' for #<Person:0x30744ac> ./test/../lib/active_record/base.rb:2031:in `method_missing'' ./test/../lib/active_record/base.rb:1820:in `send'' ./test/../lib/active_record/base.rb:1820:in `attributes='' ./test/../lib/active_record/base.rb:1819:in `each'' ./test/../lib/active_record/base.rb:1819:in `attributes='' ./test/../lib/active_record/base.rb:1646:in `initialize_without_callbacks'' ./test/../lib/active_record/callbacks.rb:225:in `initialize'' ./test/../lib/active_record/base.rb:462:in `new'' ./test/../lib/active_record/base.rb:462:in `create'' ./test/migration_test.rb:364:in `test_add_rename'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_add_rename(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_table(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_add_table_with_decimals(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_default(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:243:in `change_column_default'' ./test/migration_test.rb:502:in `test_change_column_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_default(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_default_to_null(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:243:in `change_column_default'' ./test/migration_test.rb:508:in `test_change_column_default_to_null'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_default_to_null(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_with_new_default(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: administrator: ALTER TABLE people ADD "administrator" boolean DEFAULT ''t'' ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:490:in `test_change_column_with_new_default'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_change_column_with_new_default(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_change_column_with_nil_default(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_adds_id(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_binary_column(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_custom_sequence_name(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_defaults(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_limits(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_create_table_with_not_null_column(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_going_down_due_to_version_target(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:663:in `test_migrator_going_down_due_to_version_target'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_going_down_due_to_version_target(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_down(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:627:in `test_migrator_one_down'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_down(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_up(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_one_up_one_down(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:637:in `test_migrator_one_up_one_down'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_one_up_one_down(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_verbosity(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:645:in `test_migrator_verbosity'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_verbosity(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_verbosity_off(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/migration_test.rb:656:in `test_migrator_verbosity_off'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_verbosity_off(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_with_duplicates(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_migrator_with_missing_version_numbers(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/../lib/active_record/migration.rb:278:in `send'' ./test/../lib/active_record/migration.rb:278:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:274:in `method_missing'' ./test/fixtures/migrations_with_missing_versions//1_people_have_last_names.rb:3:in `up_without_benchmarks'' ./test/../lib/active_record/migration.rb:212:in `send'' ./test/../lib/active_record/migration.rb:212:in `migrate'' /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:212:in `migrate'' ./test/../lib/active_record/migration.rb:337:in `migrate'' ./test/../lib/active_record/migration.rb:332:in `each'' ./test/../lib/active_record/migration.rb:332:in `migrate'' ./test/../lib/active_record/migration.rb:300:in `up'' ./test/../lib/active_record/migration.rb:291:in `migrate'' ./test/migration_test.rb:763:in `test_migrator_with_missing_version_numbers'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_migrator_with_missing_version_numbers(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_native_decimal_insert_manual_vs_automatic(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_native_types(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: last_name: ALTER TABLE people ADD "last_name" varchar(255) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:259:in `test_native_types'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_native_types(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_proper_table_name(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/migration_test.rb:396:in `test_rename_column'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column_using_symbol_arguments(MigrationTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/migration_test.rb:385:in `test_rename_column_using_symbol_arguments'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_rename_column_using_symbol_arguments(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_column_with_sql_reserved_word(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_table(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_rename_table_with_an_index(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_schema_info_table_name(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_should_disallow_duplicate_column_definition(MigrationTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: first_name: ALTER TABLE people ADD "first_name" varchar(40) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:341:in `catch_schema_changes'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:124:in `add_column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:231:in `add_column'' ./test/migration_test.rb:48:in `teardown_without_fixtures'' ./test/../lib/active_record/fixtures.rb:602:in `teardown'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:29:in `run'' Name: test_decrement_counter_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:105:in `test_decrement_counter_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_decrement_counter_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:105:in `test_decrement_counter_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_increment_counter_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:99:in `test_increment_counter_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_increment_counter_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:99:in `test_increment_counter_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_update_counters_updates_custom_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:111:in `test_update_counters_updates_custom_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' Name: test_update_counters_updates_lock_version(OptimisticLockingTest) Type: Error Message: RuntimeError: You already defined column ''id''. ./test/../lib/active_record/connection_adapters/abstract/schema_definitions.rb:354:in `column'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:295:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `each'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:289:in `copy_table'' ./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:94:in `create_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:288:in `copy_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:283:in `move_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:276:in `alter_table'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:59:in `transaction'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:275:in `alter_table'' ./test/../lib/active_record/connection_adapters/sqlite_adapter.rb:237:in `remove_column'' ./test/locking_test.rb:125:in `remove_counter_column_from'' ./test/locking_test.rb:139:in `counter_test'' ./test/locking_test.rb:111:in `test_update_counters_updates_lock_version'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/6962 for details. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---