-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi!
We're trying to install this module in an installation together with the https://github.com/mainio/decidim-module-term_customizer module and it's giving us errors.
We've tracked the problems to the calendar module, because it's defining a participatory space but the module_class_name
is not an ActiveRecord class but a bare module name:
participatory_space.model_class_name = "Decidim::Calendar" |
In the specific case of the term customizer, it expects the model_class_name
to be an ActiveRecord class defining a participatory space and it calls some ActiveRecord method (.where
, .all
...). This would be expected by any other developer.
Note that the problem only seems to appear in production, I suppoose due to the preloading of classes Rails does in production (and not in development mode).
Why is the Calendar module being registered as a participatory space when it's clearly not one? Can you change that so that it works?