app/models/tramway/event/person.rb in tramway-event-1.12.9.1 vs app/models/tramway/event/person.rb in tramway-event-2.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true -class Tramway::Event::Person < ::Tramway::Core::ApplicationRecord +class Tramway::Event::Person < ::Tramway::ApplicationRecord has_many :partakings, class_name: 'Tramway::Event::Partaking' mount_uploader :photo, PhotoUploader search_by :first_name, :last_name