merit-gem / merit

Reputation engine for Rails apps
Other
1.52k stars 197 forks source link

Fix: warning: previous definition messages #363

Closed natanio closed 2 years ago

natanio commented 2 years ago

Issue: https://github.com/merit-gem/merit/issues/173

When app reload is triggered, following warnings were spamming the console, especially running DelayedJob which reloads app every 5 seconds when running:

Fix: If the constants are already defined, remove them first before setting again

tute commented 2 years ago

Thank you!!