Skip to content

Instantly share code, notes, and snippets.

@ncri
Created October 28, 2011 10:28
Show Gist options
  • Save ncri/1322038 to your computer and use it in GitHub Desktop.
Save ncri/1322038 to your computer and use it in GitHub Desktop.
globalize3 test errors
1) Error:
test_a_translated_attribute_reader_returns_the_correct_translation_for_a_saved_record_after_locale_switching(AttributesTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'Titel' WHERE "posts"."id" = 2
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:163:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/attributes_test.rb:50:in `block in <class:AttributesTest>'
2) Error:
test_before_type_cast_reader_works_for_translated_attributes(AttributesTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'Titel' WHERE "posts"."id" = 8
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:163:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/attributes_test.rb:101:in `block in <class:AttributesTest>'
3) Error:
test_set_translations_does_not_touch_existing_translations_for_other_attributes(AttributesTest):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3/set_translations_test.rb:32:in `block in <class:AttributesTest>'
4) Error:
test_set_translations_does_not_touch_existing_translations_for_other_locales(AttributesTest):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3/set_translations_test.rb:21:in `block in <class:AttributesTest>'
5) Error:
test_set_translations_raises_an_UnknownAttributeError_on_unknown_attributes(AttributesTest):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3/set_translations_test.rb:46:in `block in <class:AttributesTest>'
6) Error:
test_set_translations_sets_multiple_translations_at_once(AttributesTest):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3/set_translations_test.rb:7:in `block in <class:AttributesTest>'
7) Error:
test_stores_translations_from_clonned_created_record(CloneTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "posts" SET "content" = 'another content', "title" = 'title' WHERE "posts"."id" = 11
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:53:in `check_stored_translations'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:13:in `block in <class:CloneTest>'
8) Error:
test_stores_translations_from_clonned_found_record(CloneTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "posts" SET "content" = 'another content', "title" = 'title' WHERE "posts"."id" = 12
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:53:in `check_stored_translations'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:17:in `block in <class:CloneTest>'
9) Error:
test_stores_translations_from_clonned_reloaded_after_creation_record(CloneTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "posts" SET "content" = 'another content', "title" = 'title' WHERE "posts"."id" = 14
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:53:in `check_stored_translations'
/Users/nico/Rails/forks/globalize3/test/globalize3/clone_test.rb:21:in `block in <class:CloneTest>'
10) Error:
test_dirty_tracking_works_per_a_locale(DirtyTrackingTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'changed title' WHERE "posts"."id" = 17
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/Rails/forks/globalize3/test/globalize3/dirty_tracking_test.rb:22:in `block in <class:DirtyTrackingTest>'
11) Error:
test_records_returned_by_dynamic_finders_have_writable_attributes(DynamicFindersTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'modified' WHERE "posts"."id" = 18
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/Rails/forks/globalize3/test/globalize3/dynamic_finders_test.rb:76:in `block (2 levels) in <class:DynamicFindersTest>'
12) Error:
test_simple_dynamic_finders_retruns_results_from_current_locale_and_fallbacks(DynamicFindersTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'titel' WHERE "posts"."id" = 21
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:174:in `block in update_attributes!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:172:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `block in update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:163:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/test/globalize3/dynamic_finders_test.rb:36:in `block in <class:DynamicFindersTest>'
13) Error:
test_attributes=_uses_the_given_locale(Globalize3Test):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'title' WHERE "posts"."id" = 24
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:33:in `block in <class:Globalize3Test>'
14) Error:
test_can_translate_boolean_values(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:20:in `block in <class:Globalize3Test>'
15) Error:
test_can_translate_datetime_values(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:26:in `block in <class:Globalize3Test>'
16) Error:
test_create_on_associations_works(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/reflection.rb:190:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/reflection.rb:190:in `build_association'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/association.rb:236:in `build_record'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_association.rb:423:in `block in create_record'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_association.rb:147:in `block in transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_association.rb:146:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_association.rb:422:in `create_record'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_association.rb:111:in `create'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/associations/collection_proxy.rb:54:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:44:in `block in <class:Globalize3Test>'
17) Error:
test_create_uses_the_given_locale(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:15:in `block in <class:Globalize3Test>'
18) Error:
test_destroy_destroys_dependent_translations(Globalize3Test):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'Titel' WHERE "posts"."id" = 26
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:163:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:91:in `block in <class:Globalize3Test>'
19) Error:
test_modifiying_translated_attributes_on_a_subclass_of_an_untranslated_model_works(Globalize3Test):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "comments" SET "content" = 'Inhalt' WHERE "comments"."id" = 2
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:408:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:163:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:155:in `block in <class:Globalize3Test>'
20) Error:
test_saves_a_translations_record_for_each_locale_using_a_given_locale(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:508:in `create'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:59:in `block in <class:Globalize3Test>'
21) Error:
test_saves_a_translations_record_for_each_locale_using_the_current_I18n_locale(Globalize3Test):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'title' WHERE "posts"."id" = 31
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:69:in `block (2 levels) in <class:Globalize3Test>'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/test/test_helper.rb:39:in `with_locale'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:69:in `block in <class:Globalize3Test>'
22) Error:
test_translated_locales_returns_locales_that_have_translations(Globalize3Test):
ActiveRecord::UnknownAttributeError: unknown attribute: locale
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1753:in `block in assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `each'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1747:in `assign_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/base.rb:1567:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:39:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:39:in `create!'
/Users/nico/Rails/forks/globalize3/test/globalize3_test.rb:111:in `block in <class:Globalize3Test>'
23) Error:
test_attribute_loading_goes_by_content_locale_and_not_global_locale(LocaleTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'Titel' WHERE "posts"."id" = 35
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/locale_test.rb:76:in `block in <class:LocaleTest>'
24) Error:
test_fallbacks_with_empty_translations_2(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = '' WHERE "posts"."id" = 37
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:133:in `update_attribute'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:140:in `block in <class:TranslatedTest>'
25) Error:
test_fallbacks_with_lots_of_locale_switching(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'bar' WHERE "posts"."id" = 38
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:86:in `block in <class:TranslatedTest>'
26) Error:
test_fallbacks_with_lots_of_locale_switching_2(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "parents" SET "content" = 'bar' WHERE "parents"."id" = 6
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:100:in `block in <class:TranslatedTest>'
27) Error:
test_fallbacks_with_nil_translations(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'foo' WHERE "posts"."id" = 39
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:133:in `update_attribute'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:113:in `block in <class:TranslatedTest>'
28) Error:
test_modifying_non-required_field_in_a_new_locale(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: content: UPDATE "posts" SET "content" = 'bar' WHERE "posts"."id" = 41
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:34:in `block in <class:TranslatedTest>'
29) Error:
test_resolves_a_simple_fallback(TranslatedTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'baz', "content" = 'bar' WHERE "posts"."id" = 42
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/Rails/forks/globalize3/test/globalize3/fallbacks_test.rb:44:in `block in <class:TranslatedTest>'
30) Failure:
test_can_create_a_translation_class_for_a_model_with_an_uppercase_table_name(TranslationClassTest) [/Users/nico/Rails/forks/globalize3/test/globalize3/translation_class_test.rb:41]:
Exception raised:
<#<ActiveRecord::UnknownAttributeError: unknown attribute: uppercase_table_name_id>>.
31) Error:
test_update_attribute_succeeds_with_valid_values(ValidationsTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'baz' WHERE "posts"."id" = 51
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:37:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:50:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:241:in `block in save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:240:in `save'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:163:in `block in update_attributes'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:161:in `update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `block in update_attributes'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
/Users/nico/Rails/forks/globalize3/test/globalize3/validations_test.rb:17:in `block in <class:ValidationsTest>'
32) Error:
test_reverting_happens_per_locale(VersioningTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'title v2' WHERE "posts"."id" = 53
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:174:in `block in update_attributes!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:172:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `block in update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/test/globalize3/versioning_test.rb:41:in `block (2 levels) in <class:VersioningTest>'
/Users/nico/Rails/forks/globalize3/lib/globalize.rb:21:in `with_locale'
/Users/nico/Rails/forks/globalize3/test/test_helper.rb:39:in `with_locale'
/Users/nico/Rails/forks/globalize3/test/globalize3/versioning_test.rb:40:in `block in <class:VersioningTest>'
33) Error:
test_reverting_to_an_earlier_version_only_reverts_changes_to_the_current_locale(VersioningTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'title v2' WHERE "posts"."id" = 54
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:174:in `block in update_attributes!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:172:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `block in update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/test/globalize3/versioning_test.rb:25:in `block in <class:VersioningTest>'
34) Error:
test_versions_are_scoped_to_the_current_Globalize_locale(VersioningTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: title: UPDATE "posts" SET "title" = 'title v2' WHERE "posts"."id" = 55
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `initialize'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `new'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/sqlite3-1.3.4/lib/sqlite3/database.rb:91:in `prepare'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:227:in `block in exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite_adapter.rb:249:in `exec_delete'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:96:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:305:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/locking/optimistic.rb:84:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:74:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/timestamp.rb:64:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `block in update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:272:in `update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:294:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:57:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/validations.rb:56:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `block in save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:246:in `save!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:174:in `block in update_attributes!'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:208:in `transaction'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/nico/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1/lib/active_record/persistence.rb:172:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `block in update_attributes!'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:165:in `with_given_locale'
/Users/nico/Rails/forks/globalize3/lib/globalize/active_record/instance_methods.rb:19:in `update_attributes!'
/Users/nico/Rails/forks/globalize3/test/globalize3/versioning_test.rb:6:in `block in <class:VersioningTest>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment