这是indexloc提供的服务,不要输入任何密码
Skip to content

Autoloading might invoke infinite recursion #1

@raventid

Description

@raventid

This naive implementation of autoloading is dangerous and should be fixed.

def self.const_missing(c)
    require Dhh.to_underscore(c.to_s)
    Object.const_get(c)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions