Skip to content

Fixnum#minutes conflicts with ActiveSupport's Fixnum#minutes #34

@ghost

Description

So if you require this gem after active support, it breaks active support. For example, the following would no longer work:

5.minutes.from_now

I suggest having this module detect what methods are already defined on Fixnum to avoid re-defining them. Or make the return value of this method compatible with active support.

Normally I wouldn't say you need to defer to another gem, but ActiveSupport was here first and it's ActiveSupport... so it's practically core lib.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions