Skip to content

Stackoverflow on multiple patches #1

@brauliobo

Description

@brauliobo

Hello,

Nice code done. Thanks!

I found a problem if a make a double monkey patch. The DateOriginal (as in the example) won't work and its constructor will return a 'stack overflow'.

I remembered alias_method_chain from Rails, that allows multiple monkeys patches in a chain style. Could this be implemented? Or maybe a simple protection against double monkey patching?

cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions