Ray
Not a member
Ray's latest activity
Thursday, October 07 2010
5767
ActiveRecord/Arel(?) takes over 2 minutes to generate a pseudo-complex SQL qu...
was created
in Ruby on Rails
-
Ray created the ticket at 7:06 PMHere is an example query:
joins = [{:dim_locations=>[:dim_zip, {:dim_city=>{:dim_state=>:dim_country}}]}, :dim_ages, :dim_car_makes, :dim_educations, :dim_emplo...
Thursday, September 09 2010
5598
Arel needs to convert symbols passed to .order() into double quoted strings f...
was created
in Ruby on Rails
-
Ray created the ticket at 10:20 PMThis works:
Business.order('name')
This fails:
Business.order(:name)
The error is:
ActiveRecord::StatementInvalid: PGError: ERROR: non-integer constant in ORDER...