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.

This project is archived and is in readonly mode.

1.day should respond_to kind_of too

#4656

currently this works

d = 1.day
assert d.is_a?(ActiveSupport::Duration)

But following fails

d = 1.day
assert d.kind_of?(ActiveSupport::Duration) #=> fails

Reported by Neeraj Singh · May 20th, 2010 @ 04:39 AM

State: resolved
Milestone: none
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Neeraj Singh
    Neeraj Singh
    • Tag changed from activesupport, rails3 to activesupport, patch, rails3
    • Assigned user set to José Valim

    Attached is a patch against rails edge.

    May 20th, 2010 @ 04:45 AM

  2. Rizwan Reza
    Rizwan Reza
    • No changes were found…

    May 21st, 2010 @ 12:43 AM

  3. Repository