Method: AASM::Persistence::ActiveRecordPersistence::ClassMethods#count_in_state

Defined in:
lib/persistence/active_record_persistence.rb

#count_in_state(state, *args) ⇒ Object



98
99
100
101
102
# File 'lib/persistence/active_record_persistence.rb', line 98

def count_in_state(state, *args)
  with_state_scope state do
    count(*args)
  end
end