Fixed ActiveRecord bad practices. Resolves #5242
Fixed ActiveRecord bad practices.
Resolves #5242

forgeservicelab/forge-redmine-plugins.redmine_statistics,forgeservicelab/forge-redmine-plugins.redmine_statistics