Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    Ray created the ticket at 7:06 PM

    Here 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
    Ray created the ticket at 10:20 PM

    This works:

    Business.order('name')

    This fails:

    Business.order(:name)

    The error is:

    ActiveRecord::StatementInvalid: PGError: ERROR: non-integer constant in ORDER...