[#493] Force loading the classes of activity provider
This will cause the class to run acts_as_journal which will create the Journal sub-classes and prevent uninitialized constants since the sub-classes are created on the fly.
This commit is contained in:
parent
6017e2712e
commit
2bb42e90a1
|
@ -1,3 +1,5 @@
|
|||
Redmine::Activity.providers.values.flatten.uniq.collect(&:underscore).each {|klass| require_dependency klass }
|
||||
|
||||
class UpdateJournalsForActsAsJournalized < ActiveRecord::Migration
|
||||
def self.up
|
||||
# This is provided here for migrating up after the JournalDetails has been removed
|
||||
|
|
Loading…
Reference in New Issue