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.

Miles Egan's latest activity

Monday, August 30 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Miles Egan
    Miles Egan commented at 2:52 AM

    Did we decide to leave this as is for the 3.0 release?

Tuesday, August 24 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Miles Egan
    Miles Egan commented at 5:55 AM

    Thanks for your work on this Aaron. I got the same impression from the profiling I did earlier. There's not a single bottleneck in Arel, there's overhead spread...

Thursday, August 05 2010
5094 ActiveRelation doesn't quote columns that are SQL keywords was updated in Ruby on Rails
  • Miles Egan
    Miles Egan commented at 8:53 PM

    I'm inclined to agree with Neeraj here. For the sake of simplicity and maintainability it's better to ask people to avoid used reserved SQL words as field names...

  • Miles Egan
    Miles Egan commented at 4:45 AM

    The thing that makes it difficult is that the order by parameter can be any sql expression, so you'd have to try to parse it, not just throw quotes around it.

Tuesday, August 03 2010
3030 Rails does not handle TypeError from Rack on malformed query strings was updated in Ruby on Rails
  • Miles Egan
    Miles Egan commented at 8:46 PM

    Any further thoughts on this? Is the patch ok or should we take a different approach?

Monday, July 19 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Miles Egan
    Miles Egan commented at 9:50 PM

    Daniel I think it's worthwhile to run each of your benchmark tests at least 10 times and take some averages. When I do this on my machine I get a fairly wide sp...

  • Miles Egan
    Miles Egan commented at 9:09 PM

    I did basically the same thing Daniel. It seemed to shave a little overhead off but not much.

    As far as I can tell there's not a single big bottleneck in the Ar...

  • Miles Egan
    Miles Egan commented at 8:58 PM

    Ok I'll see if I can put together a good patch for that.

  • Miles Egan
    Miles Egan commented at 8:21 PM

    I was able to shave a little of the overhead off the arel code by explicitly defining all the methods that are called via method_missing in arel/lib/arel/engine...

5149 Inserting integer saves different value was updated in Ruby on Rails