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

Tuesday, April 27 2010
4489 Documentation issue in ActiveModel in rails edge was created in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh created the ticket at 8:11 PM
    def ErrorsPerson.human_attribute_name(attr, options = {})
    
    def ErrorsPerson.lookup_ancestors
    
Sunday, April 25 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Neeraj Singh
    • Tag changed from rails3 validations, patch to rails3 validations, 2.3.6, patch
    by Neeraj Singh at 5:49 PM

    Attached is a patch which is backport of the commit for 2-3-stable branch.

4468 Action caching (blocker): undefined local variable or method `cache' was updated in Ruby on Rails
  • Neeraj Singh
    • Tag changed from actioncontroller, caching, rails3 to actioncontroller, caching, patch, rails3
    by Neeraj Singh at 2:18 PM
  • Neeraj Singh
    Neeraj Singh commented at 2:17 PM

    Attached is a patch which contains code change and tests.

    ActionCachingTestController catches all the exceptions and returns head 500. However most of the tests...

458 record.to_xml(:methods => other_ids) yields incorrect representation was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 2:10 PM

    Thanks for the detailed feedback.

    I should have checked if array respond to to_xml or not. Well now I know. :-)

    As you suggested, I will take baby steps and wil...

4461 Site-wide HTTPS difficult to enforce programatically was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 12:15 PM

    Attached is code patch against rails3 edge.

    Could not add any test because introduction of app.config is causing problem and I don't really know how to inject a...

Saturday, April 24 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 10:25 PM

    Hi Rodrigo,

    Sorry. I did not checkout all the patches. You are right it's pretty close.

  • Neeraj Singh
    Neeraj Singh commented at 8:16 PM

    Attached is a patch.

    I have no additional if options[:only_integer] condition. One place where all the validations happen returns the error code.

4468 Action caching (blocker): undefined local variable or method `cache' was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 6:16 PM
    caches_action :index 
    

    Above code is working fine for me with rails3 edge.

Friday, April 23 2010
4432 datetime_select and select_datetime inconsistent for various options was updated in Ruby on Rails
  • Neeraj Singh
    Neeraj Singh commented at 9:13 PM

    Hi Santiago,

    My previous report on everything working fine in rails3 was wrong. Sorry I was in the wrong rvm path.

    Here are the cases where result is inconsiste...