Sha256: cdfaf238e1d8ed4bbbad534dcb7534426c4b7dbe2f2019a78479d63ad09b545d

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

class Tramway::Event::Person < ::Tramway::Core::ApplicationRecord
  has_many :partakings, class_name: 'Tramway::Event::Partaking'

  mount_uploader :photo, PhotoUploader

  search_by :first_name, :last_name
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tramway-event-1.12.9.1 app/models/tramway/event/person.rb
tramway-event-1.12.9 app/models/tramway/event/person.rb