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, November 24 2010
6058 update_all ignores conditions, when :orders and :limit options are supplied was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 7:24 PM

    Attached is a failing test.

    Relation is being built right. Look like issue is with Arel. Studying the code. Patch might take a while :-)

  • Neeraj Singh
    • State changed from new to open
    • Assigned user set to Neeraj Singh
    • Importance changed from to Low
    by Neeraj Singh at 6:56 PM

    looking into it.

5988 belongs_to and includes() & joins() bug was updated in Ruby on Rails
  • Neeraj Singh
    • Importance changed from to Low
    by Neeraj Singh at 5:10 AM

    I think you need to do

    @tunes = Tune.includes(:user)
    
6022 Content negotiation fails for some */* headers (regression) was updated in Ruby on Rails
  • Neeraj Singh
    • State changed from resolved to open
    by Neeraj Singh at 1:28 AM

    I guess I put in wrong ticket # in the previous fix. Opening this ticket.

Tuesday, November 23 2010
6050 code cleanup was created in Ruby on Rails
5925 Find on nested models does not trigger callbacks was updated in Ruby on Rails
  • Neeraj Singh
    • State changed from new to resolved
    by Neeraj Singh at 9:27 PM
6036 Id is inproperly escaped on postgresql statements when primary key is a string was updated in Ruby on Rails
  • Neeraj Singh
    • Assigned user set to Aaron Patterson
    by Neeraj Singh at 8:02 PM

    Attached is patch with test.

  • Neeraj Singh
    • State changed from new to open
    • Milestone set to 3.x
    by Neeraj Singh at 4:57 PM

    You are right with just Brake and not Brake.id I am getting following sql in rails edge.

    SELECT "brakes".* FROM "brakes" WHERE "brakes"."id" = '''brake_01''' A...
6041 ActiveResource validations was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 2:30 PM

    I guess one reason I need the current behavior is to be able to do this.

    c = Car.new
    c.valid? #=> false 
    c.name = 'Honda'
    c.valid? #=> true
    

    If the errors are ...

  • Neeraj Singh
    • State changed from new to resolved
    • Importance changed from to Low
    by Neeraj Singh at 11:28 AM

    ActiveRecord and ActiveResource clears all the errors when .valid? is called. Right now I am not able to locate the code but I know that's what happens.