app/models/tramway/event/person.rb in tramway-event-1.12.7 vs app/models/tramway/event/person.rb in tramway-event-1.12.8
- old
+ new
@@ -1,5 +1,7 @@
# frozen_string_literal: true
class Tramway::Event::Person < ::Tramway::Core::ApplicationRecord
+ has_many :partakings, class_name: 'Tramway::Event::Partaking'
+
mount_uploader :photo, PhotoUploader
end