cruisecontrol.rb@gmail.com
2007-Aug-14 08:57 UTC
[CruiseControl] RubyOnRails build 7316 failed
The build failed.
CHANGES
-------
Revision 7315 committed by nzkoz on 2007-08-14 08:53:02
Change the implementation of ActiveRecord''s attribute reader and writer
methods:
* Generate Reader and Writer methods which cache attribute values in hashes.
This is to avoid repeatedly parsing the same date or integer columns.
* Move the attribute related methods out to attribute_methods.rb to de-clutter
base.rb
* Change exception raised when users use find with :select then try to access a
skipped column. Plugins could override missing_attribute() to lazily load the
columns.
* Move method definition to the class, instead of the instance
* Always generate the readers, writers and predicate methods.
M /trunk/activerecord/lib/active_record/attribute_methods.rb
M /trunk/activerecord/test/finder_test.rb
M /trunk/activerecord/lib/active_record/transactions.rb
M /trunk/activerecord/test/base_test.rb
M /trunk/activerecord/lib/active_record/base.rb
M /trunk/activerecord/test/associations_test.rb
Revision 7316 committed by nzkoz on 2007-08-14 08:53:15
Add forgotten changelog entry
M /trunk/activerecord/CHANGELOG
TEST FAILURES AND ERRORS
-----------------------
Name: test_basics(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_model_attribute(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_reload_same_session(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_save_unloaded_session(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_tolerates_close_close(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_truth(ActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:53:in
`setup_without_fixtures''
./test/activerecord/../../../activerecord/lib/active_record/fixtures.rb:595:in
`setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_protection_from_data_larger_than_column(ColumnLimitTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for
#<Hash:0x26cba90>
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/active_record_store_test.rb:101:in
`test_protection_from_data_larger_than_column''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_basics(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_model_attribute(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_reload_same_session(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_save_unloaded_session(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_tolerates_close_close(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
Name: test_truth(DeprecatedActiveRecordStoreTest)
Type: Error
Message: NoMethodError: undefined method `unpack'' for {}:Hash
/opt/local/lib/ruby/1.8/base64.rb:59:in `decode64''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:84:in
`unmarshal''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:122:in
`data''
./test/activerecord/../../lib/action_controller/session/active_record_store.rb:302:in
`restore''
/opt/local/lib/ruby/1.8/cgi/session.rb:311:in `[]=''
./test/activerecord/active_record_store_test.rb:120:in `setup''
./test/activerecord/../active_record_unit.rb:100:in `run''
See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/7316 for details.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---