search for: adapter_test

Displaying 4 results from an estimated 4 matches for "adapter_test".

2011 Sep 25
2
Noob Rails patcher - problems running the sqlite3 tests...
...alse:FalseClass (NoMethodError) from ./test/support/config.rb:9:in `config'' from ./test/support/connection.rb:10:in `connection_config'' from ./test/support/connection.rb:16:in `connect'' from ./test/cases/helper.rb:15 from /home/rails/dev/rails/activerecord/test/cases/adapter_test.rb: 1:in `require'' from /home/rails/dev/rails/activerecord/test/cases/adapter_test.rb:1 from /home/rails/.rvm/gems/ruby-1.8.7-p352@p-rails-v3.0.10/gems/ rake-0.9.2/lib/rake/rake_test_loader.rb:11:in `require'' from /home/rails/.rvm/gems/ruby-1.8.7-p352@p-rails-v3.0.10/gems/ rake...
2006 Mar 05
6
Which postgresql adapter to use for rails core? How about production?
I wanted to fix some things up in the trunk, so I set up the databases and ran the unit tests. A bunch fail for postgres, and even more error out. I know of two postgresql adapters: postgres-pr and ruby-postgres. Strangely, they each fail different tests. So if I want to fix things up, which one should I be using? For that matter, which adapter should I be using for production? Finding out
2013 Jun 14
0
Support for deferrable constraints in PostgreSQLAdapter#disable_referential_integrity
...here is no current transaction, the statement has no effect. Second, the constraints must have been created with the DEFERRABLE parameter. There is one major advantage to this approach, and that is that the constraints are verified when the transaction ends. Unlike the Oracle behavior documented in adapter_test.rb, PostgreSQL does not appear to verify the referential integrity triggers when they are re-enabled via ALTER TABLE table ENABLE TRIGGER ALL. Here are the various scenario options that need to be considered when deciding what behavior PostgreSQLAdapter#disable_referential_integrity should impleme...
2010 Jun 11
5
Issues creating tables in mysql tests
...* Execute test_mysql /Users/pupeno/.rvm/rubies/ruby-1.8.7-p174/bin/ruby -w -I"lib:test:test/connections/native_mysql" "/Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/active_schema_test_mysql.rb" "test/cases/adapter_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cases/associations/belongs_to_associations_test.rb" "test/cases/associations/callbacks_test.rb" "test/cases/associations/cascaded_eager_loading_test.rb" "test/cases...