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.

Neeraj Singh's latest activity

Wednesday, May 12 2010
4586 remove dead code from dependencies.rb was created in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh created the ticket at 10:30 PM

    Found some dead code in ActiveSupport/dependencies.rb . Patch will be attached in comment.

4584 cache_sweeper returns a blank page without log was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 5:32 PM

    This is a duplicate of 3914 .

    A patch is already attached to #3914. Can someone take a look at that ticket.

4516 Correct 'type' conditions aren't added when using multiple inheritances w/STI was updated in Ruby on Rails
4502 Using a where clause on a different table in a scope with a lambda overwrites... was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 5:02 AM

    I am not able to reproduce this error with rails edge.

    class Car < AR
     def self.lab
        c = Car.scoped
        c = c.id_or_name(:companies, '1') 
        c = c.id_or_n...
4329 has_many through association does not link models on association save was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 4:01 AM

    I looked into issue and this is what I found.

    Let's say that relationship is

    class Person < AR
     has_many :readers
     has_many :posts, :through =>  :readers
    end
    
    ...
4578 has_many association proxy delete method sometimes deletes too liberally was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 3:46 AM

    I am not able to reproduce this case with rails3 edge.

    class Car < ActiveRecord::Base
      has_many :brakes
    
      def self.lab
        Car.create(:name => 'John')
        ca...
Tuesday, May 11 2010
4562 .select and :select in AR does not work correctly with an array was updated in Ruby on Rails
  • Neeraj Singh
    • Tag changed from activerecord, arel, bugmash, rails3 to activerecord, arel, bugmash, patch, rails3
    by Neeraj Singh at 8:19 PM

    yes all the tests are passing. I have updated the tag to 'patched'.