8000 'already initialized constant' warnings when models are in additional configured auto load roots · Issue #281 · ctran/annotate_models · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
'already initialized constant' warnings when models are in additional configured auto load roots #281
Closed
@bughit

Description

@bughit
to repro:
  1. git clone git@github.com:bughit/annotate_test.git
  2. rake db:migrate
how to configure additional auto load roots:

config.eager_load_paths.concat Dir["#{config.root}/app/models/additional_roots/**/"]

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0