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

Tuesday, May 25 2010
4686 rails_xss plugin not found on install was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 8:28 AM

    This is an issue with rails 2.3.5 too. Try without --verbose, it should work.

4687 Update .gitignore for rails 2-3-stable branch was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 7:52 AM
  • Anil Wadghule
    Anil Wadghule created the ticket at 7:42 AM

    When you switch branch from master to 2-3-stable. You find following folders not added in git

    activesupport/test/fixtures/
    railties/log/
    railties/tmp/

    Patch wil...

Monday, May 24 2010
4631 Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 8:44 PM

    +1 tests pass (1.8.7)

    One thing, is it right to replace then Date.today.to_s(:db) with then Date.today.to_s?

    If I recall correctly, Date object also supported ....

Thursday, May 20 2010
4657 Remove unnecessary meta programming from polymorphic_routes.rb was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 6:52 AM

    I think comments for the meta programming code are just fine. Those clearly show what code is doing.

Wednesday, May 19 2010
3808 Error creating Rails 3.0.pre Application was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 6:43 PM

    dominic, can you share pastie of above code snippet? It's not readable.

4650 should serialize yaml fails in ActiveModel was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 11:58 AM

    Attached is a patch to resolve this issue

  • Anil Wadghule
    Anil Wadghule commented at 11:52 AM

    I think we can use any other ruby object of other class e.g. Struct. OpenStruct behaves differently on different rubies. See here http://pastie.org/967363. I am...

Tuesday, May 18 2010
3913 protect_from_forgery :except override in individual controllers isn't working... was updated in Ruby on Rails
  • Anil Wadghule
    Anil Wadghule commented at 12:21 PM

    Rohit, your test patch looks good. But you can write it in filters_test.rb instead of callbacks_test.rb.

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 2:06 PM

    I've attached a patch which fixes the broken numericality tests for ruby-1.9.2-head. Tests pass on ruby-1.8.7-p249 too.