Displaying 6 results from an estimated 6 matches for "transactions_test".
2006 Nov 24
7
Anyone know whats going on with PostgreSQL async_exec errors?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anyone know what''s going on with ActiveRecord Edge and 1.2RC1 unit
tests. I get 13 failures from the "async_exec" method call. ie:
test_callback_rollback_in_save(ConcurrentTransactionTest):
ActiveRecord::StatementInvalid: NoMethodError: undefined method
`async_exec'' for #<PGconn:0xb75a8754>: SET
2005 Nov 26
4
activerecord rake test_mysql
...;'
./test/../lib/active_record/fixtures.rb:244:in `create_fixtures''
./test/../lib/active_record/fixtures.rb:539:in `load_fixtures''
./test/../lib/active_record/fixtures.rb:487:in `setup''
327) Failure:
test_callback_rollback_in_save(TransactionTest)
[./test/transactions_test.rb:119]:
<false> is not true.
328) Failure:
test_failing_on_exception(TransactionTest) [./test/transactions_test.rb:87]:
First shouldn''t have been approved.
<false> is not true.
329) Failure:
test_successful_with_return(TransactionTest) [./test/transactions_test.rb:49]:
<f...
2010 Dec 08
2
Bug in nested transactions in rails 2.3.x
...do
User.create(:username => ''Kotori'')
User.transaction(:requires_new => true) do
User.create(:username => ''Nemu'')
raise ''something'' # ActiveRecord::Rollback
end
end
everything seems to be okay.
Also, in cases/transactions_test.rb there is no test for raising
AR::Rollback, only for generic raise.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send em...
2005 Mar 07
6
Automatic timestamping in join tables [596]
Hi,
A few days ago I submitted the following ticket
http://dev.rubyonrails.com/ticket/596
asking that ActiveRecord::Timestamp also apply for the join tables of
habtm.
The answer was that it was left for milestone 1.x, and since I think
that without this functionality rails 1.0 would be incomplete, I''m
raising the issue here to discuss it.
My use case is very simple, I
2007 Jun 23
0
[CruiseControl] RubyOnRails build 7089.1 fixed
The build has been fixed.
CHANGES
-------
Revision 7089 committed by bitsweat on 2007-06-23 01:58:41
Mock the beginning of the transaction also. References #8642.
M /trunk/activerecord/test/transactions_test.rb
M /trunk/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/7089.1 for details.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the G...
2010 Jun 11
5
Issues creating tables in mysql tests
...b"
"test/cases/reserved_word_test_mysql.rb" "test/cases/sanitize_test.rb"
"test/cases/schema_dumper_test.rb" "test/cases/serialization_test.rb"
"test/cases/timestamp_test.rb" "test/cases/transaction_callbacks_test.rb"
"test/cases/transactions_test.rb" "test/cases/unconnected_test.rb"
"test/cases/validations/association_validation_test.rb"
"test/cases/validations/i18n_generate_message_validation_test.rb"
"test/cases/validations/i18n_validation_test.rb"
"test/cases/validations/uniqueness_valida...