Skip to content

alias_method_chain dependency #24

@iamteem

Description

@iamteem

The panels hooks/extensions rely heavily on alias_method_chain. I'm using rack-bug in a Sinatra app and I created a Sinatra Templates panel (http://github.com/iamteem/rack-bug). The app works fine because I basically added alias_method_chain in the app. However, when running rake spec, my solution fails with a NoMethodError (alias_method_chain). What's the best way to go about this depedency? Should alias_method_chain be removed from rack-bug? Or make activesupport a dependency? Or should alias_method_chain be added to rack-bug's source?

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