Michael Schoen
2006-Jul-06 05:12 UTC
Rails AR/Oracle Unit Test: [4482] failed (but getting better)
"bitsweat" has given AR/Oracle some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/4482 ------------------------------------------------------------------------ r4482 | bitsweat | 2006-06-21 13:40:14 -0700 (Wed, 21 Jun 2006) | 1 line alias_method_chain preserves method punctuation so foo, foo?, and foo! may be chained with the same feature. ------------------------------------------------------------------------ U activesupport/lib/active_support/core_ext/module/aliasing.rb U activesupport/CHANGELOG U activerecord/lib/active_record/validations.rb Updated to revision 4482. /usr/pkg/ruby184/bin/ruby -Ilib:test:test/connections/native_oracle "/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/associations_extensions_test.rb" "test/deprecated_associations_test.rb" "test/mixin_test.rb" "test/associations_join_model_test.rb" "test/ar_schema_test.rb" "test/locking_test.rb" "test/reflection_test.rb" "test/column_alias_test.rb" "test/aaa_create_tables_test.rb" "test/associations_test.rb" "test/unconnected_test.rb" "test/base_test.rb" "test/associations_cascaded_eager_loading_test.rb" "test/defaults_test.rb" "test/fixtures_test.rb" "test/callbacks_test.rb" "test/inheritance_test.rb" "test/binary_test.rb" "test/schema_dumper_test.rb" "test/adapter_test.rb" "test/class_inheritable_attributes_test.rb" "test/calculations_test.rb" "test/threaded_connections_test.rb" "test/pk_test.rb" "test/deprecated_finder_test.rb" "test/associations _go_eager_test.rb" "test/migration_test.rb" "test/lifecycle_test.rb" "test/multiple_db_te! st.rb" "test/mixin_nested_set_test.rb" "test/method_scoping_test.rb" "test/finder_test.rb" "test/modules_test.rb" "test/transactions_test.rb" "test/aggregations_test.rb" "test/readonly_test.rb" "test/association_callbacks_test.rb" "test/validations_test.rb" "test/empty_date_time_test.rb" "test/synonym_test_oracle.rb" (in /home/mschoen/rails-svn/autopilot/activerecord) ./test/../lib/../../activesupport/lib/active_support/core_ext/module/aliasing.rb:28:in `alias_method'': undefined method `valid_with_callbacks?'' for class `ActiveRecord::Base'' (NameError) from ./test/../lib/../../activesupport/lib/active_support/core_ext/module/aliasing.rb:28:in `alias_method_chain'' from ./test/../lib/active_record/callbacks.rb:182:in `included'' from ./test/../lib/active_record/callbacks.rb:181:in `included'' from ./test/../lib/active_record/callbacks.rb:175:in `included'' from ./test/../lib/active_record.rb:60 from ./test/../lib/active_record.rb:56 from ./test/abstract_unit.rb:5 from ./test/associations_extensions_test.rb:1 from /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 from /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 rake aborted! Command failed with status (1): [/usr/pkg/ruby184/bin/ruby -Ilib:test:test/...] (See full trace by running task with --trace)