Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: already initialized constant ENTITIES #834

Open
CloCkWeRX opened this issue Nov 1, 2019 · 0 comments
Open

warning: already initialized constant ENTITIES #834

CloCkWeRX opened this issue Nov 1, 2019 · 0 comments

Comments

@CloCkWeRX
Copy link
Member

From https://travis-ci.org/fatfreecrm/fat_free_crm/jobs/605790930 we can see the initializer for constants is loading more than once. We should probably put an if !defined check...

/home/travis/build/fatfreecrm/fat_free_crm/config/initializers/constants.rb:8: warning: already initialized constant ENTITIES
/home/travis/build/fatfreecrm/fat_free_crm/config/initializers/constants.rb:8: warning: previous definition of ENTITIES was here
@CloCkWeRX CloCkWeRX added this to To do in Improve codebase via automation May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant