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.

Anil Wadghule's latest activity

Monday, May 17 2010
4622 Valid number pretending to be a invalid number in ActiveModel tests was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 10:10 AM

    Looks like 1.9.2 is converting hex number to float but 1.8.7 don't

    ruby-1.8.7-p249 > Kernel.Float("0xdeadbeef")
    ArgumentError: invalid value for Float(): "0xde...
  • Anil Wadghule
    Anil Wadghule commented at 9:59 AM

    +1

    Verified patch on ruby-1.8.7-p249 and ruby-1.9.2-head.

    Still a question I have is, why 1.9.2 considers 0xdeadbeef as valid number but 1.8.7 does not.

    When in...

Sunday, May 16 2010
4367 [PATCH] Using Sinatra as middleware fails was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 5:50 PM

    Okay I will add patch with necessary tests.

  • Anil Wadghule
    Anil Wadghule commented at 5:33 PM

    Attached is a patch which backports a test from Rails 3 middleware stack to Rails 2-3

    Also I don't see any code which I should remove from the 'backport_middlew...

  • Anil Wadghule
    Anil Wadghule commented at 4:54 PM

    Attached is a patch to backport middleware stack from Rails 3 to Rails 2-3. All the tests pass fine.

  • Anil Wadghule
    Anil Wadghule commented at 2:55 PM

    I am able to do this

    λ cat config.ru

    require "config/environment"
    require 'sinatra'
    
    use Rack::Reloader
    use Sinatra::Application
    use Rails::Rack::LogTailer
    use...
3502 Reloading a new record results in an inconsistent state was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 4:04 PM

    -1

    Without the fix, test doesn't fail on Rails master and Rails 2-3 stable.

4610 Added missing require, we are using here the bind method defined on active_su... was updated in Ruby on Rails
  • Anil Wadghule
    • Tag changed from actionmailer, bugmash, patch, tests to actionmailer, patch, tests
    by Anil Wadghule at 3:26 PM
4154 expires_now broken was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 3:20 PM

    +1 Applies cleanly. Test looks good.

4617 [PATCH] Added nokogiri dependency to Gemfile was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 2:30 PM

    Doesn't adding nokogiri in Gemfile create problem with JRuby tests. Thoughts?