BobBuck
2012-Sep-18 01:07 UTC
v3.2.8 missing require for arel relation in predicate builder?
When I run tests against ActiveRecord with our driver I get this issue with the AR code WRT Arel. On master this code no longer exists. Is there a known defect in this file? Bob 7 tests, 7 assertions, 0 failures, 0 errors, 0 skips Roberts-MacBook-Pro-3:activerecord rbuck$ rake nuodb:rebuild_databases Roberts-MacBook-Pro-3:activerecord rbuck$ ARCONN=nuodb ruby -Itest test/cases/base_test.rb Using nuodb with Identity Map off /Users/rbuck/dev/sandboxes/github.com/drivers/drivers/rails/ activerecord/lib/active_record/relation/predicate_builder.rb:42:in `block in build_from_hash'': uninitialized constant Arel::Relation (NameError) -- 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.
BobBuck
2012-Sep-18 01:25 UTC
Re: v3.2.8 missing require for arel relation in predicate builder?
Forget it. I tried using the AREL environment variable pointing to a locally installed adel 3.0.2 directory, which caused this. Pointing to [default] Github resolved this for unknown reasons. On Sep 17, 9:07 pm, BobBuck <rb...@nuodb.com> wrote:> When I run tests against ActiveRecord with our driver I get this issue > with the AR code WRT Arel. On master this code no longer exists. > > Is there a known defect in this file? > > Bob > > 7 tests, 7 assertions, 0 failures, 0 errors, 0 skips > Roberts-MacBook-Pro-3:activerecord rbuck$ rake nuodb:rebuild_databases > Roberts-MacBook-Pro-3:activerecord rbuck$ ARCONN=nuodb ruby -Itest > test/cases/base_test.rb > Using nuodb with Identity Map off > /Users/rbuck/dev/sandboxes/github.com/drivers/drivers/rails/ > activerecord/lib/active_record/relation/predicate_builder.rb:42:in > `block in build_from_hash'': uninitialized constant Arel::Relation > (NameError)-- 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.