app/models/tramway/event/participant.rb in tramway-event-2.0.0.1 vs app/models/tramway/event/participant.rb in tramway-event-2.0.1

- old
+ new

@@ -1,9 +1,13 @@ # frozen_string_literal: true class Tramway::Event::Participant < ::Tramway::ApplicationRecord belongs_to :event, class_name: 'Tramway::Event::Event' + def self.ransackable_attributes(auth_object = nil) + ["event_id"] + end + aasm :participation_state, column: :participation_state do state :requested, initial: true state :prev_approved state :waiting state :rejected