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.

Pratik's latest activity

Sunday, February 06 2011
6378 PostgreSQL support for bulk alter table was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Pratik
    • Importance changed from to Low
    by Pratik at 8:49 PM
Wednesday, September 01 2010
5519 order is reversed was updated in Ruby on Rails
  • Pratik
    Pratik commented at 1:32 PM

    Yeah, looks like a bug. Patch please!

Wednesday, August 25 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Pratik
    Pratik commented at 11:56 AM

    Super awesome work Aaron! Can't wait to see this work in action :)

Monday, July 19 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Pratik
    Pratik commented at 8:47 PM

    Miles, I think that'd still be a good patch. Could just use class_eval or delegate to declare those methods.

Friday, July 16 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • Pratik
    Pratik commented at 12:22 AM

    @drjoke : Removing the old API won't have any affect on the performance. Under the hood, old API is using the new finder methods already ( Check Relation#apply_...

Thursday, July 01 2010
1210 table_name_prefix with db:schema:load causes double prefixes was updated in Ruby on Rails
  • Pratik
    • Assigned user cleared.
    • State changed from duplicate to open
    by Pratik at 11:08 PM
Tuesday, June 29 2010
3838 with_exclusive_scope does not override the default_scope when each provides I... was updated in Ruby on Rails
  • Pratik
    • State changed from resolved to open
    by Pratik at 12:46 AM

    How is the issue originally raised by foca is related to the new finder syntax and the commit above ?

    The below would have the same issue.

    class Page < ActiveR...
Wednesday, June 16 2010
4368 Patch: Access to more Arel predicate types from where condition hash was updated in Ruby on Rails
  • Pratik
    • State changed from new to wontfix
    by Pratik at 2:36 PM
Saturday, June 12 2010
4833 [Patch] Lingering use of ActiveRecord::NamedScope::Scope was updated in Ruby on Rails
Wednesday, June 09 2010
4756 query engine: chaining 'includes' method with 'to_sql' method was updated in Ruby on Rails
  • Pratik
    • State changed from new to invalid
    by Pratik at 5:27 PM

    That's because the first one uses joins deterministically and it'd preload users in the case above. So the returned query is correct.