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

Saturday, July 12 2008
501 Merge :joins instead of clobbering them was updated in Ruby on Rails
  • Pratik
    Pratik commented at 3:06 AM

    I agree with Andrew that DISTINCT would make sense in a lot of cases. However, using DISTINCT can easily become a performance problem if the query has LIMIT, O...

499 Update ActionMailer uses_mocha declaration was updated in Ruby on Rails
  • Pratik
    • Assigned user set to josh
    by Pratik at 2:56 AM
336 missing SomeModel#id after reset_subclasses was updated in Ruby on Rails
  • Pratik
    • State changed from new to wontfix
    • Assigned user set to Pratik
    • Tag set to 2.0-stable, activerecord, bug, edge, patch
    by Pratik at 1:38 AM

    Why are you calling reset_subclasses ? Can you not just call ActiveSupport::Dependencies.clear ?

    Anyone has thoughts on how to test this ?

    Thanks.

Friday, July 11 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Pratik
    • State changed from new to wontfix
    • Tag set to activesupport, alias_method_chain, patch
    by Pratik at 10:57 PM

    alias_method_chain is just supposed to be a shortcut for two alias_method statements. Usecase like yours, deserves a solution of it's own.

    Thanks.

602 Quoting issues in AR's association preload was updated in Ruby on Rails
  • Pratik
    • State changed from new to incomplete
    • Assigned user set to Pratik
    by Pratik at 10:45 PM

    Hey Tiago,

    Could you add a failing test case in AR test suite please ? The test should fail before applying and pass after.

    Thanks.

592 Avoid excessive AST traversal for Routing was updated in Ruby on Rails
  • Pratik
    • State changed from new to invalid
    by Pratik at 5:57 PM

    -1 on this. If you insists, please do disuss in rails core mailing list.

    Thanks.

Thursday, July 10 2008
323 has_many :through => belongs_to_association bug was updated in Ruby on Rails
  • Pratik
    • State changed from incomplete to open
    by Pratik at 8:40 PM
579 Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping was updated in Ruby on Rails
  • Pratik
    • State changed from wontfix to open
    by Pratik at 3:13 AM
  • Pratik
    • State changed from new to wontfix
    by Pratik at 1:13 AM

    I feel it's bit too complex. And extensions like this are a better fit for Rails.root/lib rather than in core.

    But if you disagree, please continue the discus...

581 button_to_remote aliases submit_to_remote was updated in Ruby on Rails