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.

Paweł Kondzior's latest activity

Sunday, November 16 2008
1381 default_scope patch was updated in Ruby on Rails
  • Paweł Kondzior
    • Tag set to activerecord, patch, scope
    by Paweł Kondzior at 12:21 PM

    I've added more tests for scopes

Saturday, November 15 2008
1381 default_scope patch was updated in Ruby on Rails
726 ActiveSupport OptionMerger to merge lambdas was updated in Ruby on Rails
Tuesday, November 11 2008
1354 HABTM, :finder_sql and preload of associations bug was created in Ruby on Rails
  • Paweł Kondzior
    Paweł Kondzior created the ticket at 4:16 AM

    Let's say we have this model: class Client < ActiveRecord::Base has_and_belongs_to_many :pools, :class_name => 'Pool', :foreign_key => 'client_id',

               ...
Wednesday, August 06 2008
680 NamedScope#any? was updated in Ruby on Rails
  • Paweł Kondzior
    Paweł Kondzior commented at 8:55 PM

    Method any? is not the same as !empty?

    [nil].any? will return false [nil].empty? will return false

    But maybe here there is no case when AR can return [nil,nil...

Monday, August 04 2008
726 ActiveSupport OptionMerger to merge lambdas was updated in Ruby on Rails
  • Paweł Kondzior
    Paweł Kondzior commented at 9:48 AM

    maybe first example doesn't show what benefits we have from this patch.

    class Article
      belongs_to :author
      has_many :comments
    
      with_options(:include =...
  • Paweł Kondzior
    • Assigned user cleared.
    by Paweł Kondzior at 8:53 AM
740 ActionMailer Does not Set Body Charset When there are Attachments was updated in Ruby on Rails
750 Patch: ActiveRecord#required_attributes was updated in Ruby on Rails