Skip to content

Unable to autoload constant Base #472

@sergiogomez

Description

@sergiogomez

This issue was originally reported at activeadmin/activeadmin#2908

Current workarounds (from the engine) are:

  • Rename Base classes
  • Add an empty Base class
class Base
end

module MyCustomEngine
  class Engine < ::Rails::Engine

I guess it could be fixed rescuing NameError, LoadError at method initialize_resources_class_accessors! from inherited_resources/lib/inherited_resources/class_methods.rb (as done at #416)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions