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.

Szymon Nowak's latest activity

Tuesday, February 23 2010
4036 [PATCH] #controller_path returns empty string in Ruby 1.8.7 was updated in Ruby on Rails
  • Szymon Nowak
    • Title changed from #controller_path returns empty string in Ruby 1.8.7 to [PATCH] #controller_path returns empty string in Ruby 1.8.7
    by Szymon Nowak at 9:06 AM
  • Szymon Nowak
    • Tag changed from ruby 1.8.7, 3.0, action_controller to ruby 1.8.7, 3.0, action_controller, patch
    by Szymon Nowak at 9:05 AM

    For some strange reason in Ruby 1.8.7 at some point class.name is just an empty string, so @controller_path in AbstractController::Base is also set to an empty ...

Monday, February 22 2010
4036 #controller_path returns empty string in Ruby 1.8.7 was created in Ruby on Rails
  • Szymon Nowak
    Szymon Nowak created the ticket at 5:34 PM

    Actually it returns an empty string in this particular code:

    require 'rubygems'
    require 'bundler'
    Bundler.setup
    Bundler.require
    require 'action_controller'
    
    na...
Saturday, August 15 2009
2990 [PATCH] Non standard ID column on has_many :through was updated in Ruby on Rails
  • Szymon Nowak
    • Assigned user set to Jeremy Kemper
    • Title changed from None standard ID column on has_many :through to [PATCH] Non standard ID column on has_many :through
    by Szymon Nowak at 4:43 PM
Thursday, August 13 2009
2990 None standard ID column on has_many :through was updated in Ruby on Rails
  • Szymon Nowak
    Szymon Nowak commented at 8:20 PM

    Here are patches for 2-3-stable and master branches, based on dira's last patch. They also fix methods like collection.build/create/delete/clear/<< etc.

Wednesday, July 15 2009
765 PATCH: primary_key option for belongs_to was updated in Ruby on Rails
  • Szymon Nowak
    • Tag changed from activerecord, belongs_to, patch, tests to activerecord, belongs_to, patch, primary_key, tests
    • Title changed from primary_key option for belongs_to to PATCH: primary_key option for belongs_to
    by Szymon Nowak at 9:53 PM

    Here's hopefully complete patch. I tested assignments, counter cache (which resulted in new ticket #2907) and polymorphic associations.
    There are actually 2 pat...

Tuesday, July 14 2009
2907 Custom counter_cache is not used when using collection.size method was created in Ruby on Rails
  • Szymon Nowak
    Szymon Nowak created the ticket at 12:02 AM

    While writing a patch for belongs_to association, I've encountered the following issue:

    class Author < AR::Base
      has_many :posts
    end
    class Post < AR::Base
      b...
Thursday, April 02 2009
2289 _method=put ignored for xhr and xml requests was updated in Ruby on Rails
  • Szymon Nowak
    Szymon Nowak commented at 8:38 PM

    Do you still have this problem?

    Recently after upgrading to Rails 2.3.2 suddenly in place editing plugin that we use stopped working giving "only get, put and d...

Wednesday, July 09 2008
583 SQL queries with WHERE IN are incorrectly generated for named scopes was created in Ruby on Rails
  • Szymon Nowak
    Szymon Nowak created the ticket at 11:17 AM
    class Post < ActiveRecord::Base
      named_scope :recent, :conditions => [...]
    end
    
    class Author < ActiveRecord::Base
      belongs_to :post
    end
    
    posts = Post....
Friday, June 27 2008
500 validates_associated fails when associated id is incorrect was created in Ruby on Rails