Class: Iro::Stock
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Iro::Stock
- Defined in:
- app/models/iro/stock.rb
Overview
SQL
Constant Summary collapse
- STATUS_ACTIVE =
'active'- STATUS_INACTIVE =
'inactive'- STATUSES =
[ 'active', 'inactive' ]
Class Method Summary collapse
Class Method Details
.active ⇒ Object
14 15 16 |
# File 'app/models/iro/stock.rb', line 14 def self.active where( status: STATUS_ACTIVE ) end |