app/models/tramway/event/partaking.rb in tramway-event-1.12.9.1 vs app/models/tramway/event/partaking.rb in tramway-event-2.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class Tramway::Event::Partaking < ::Tramway::Core::ApplicationRecord
+class Tramway::Event::Partaking < ::Tramway::ApplicationRecord
belongs_to :part, polymorphic: true
enumerize :part_type, in: ['Tramway::Event::Event', 'Tramway::Event::Section']
belongs_to :person, class_name: 'Tramway::Event::Person'