Module: DHS::Record::First::ClassMethods
- Defined in:
- lib/dhs/concerns/record/first.rb
Instance Method Summary collapse
Instance Method Details
#first(options = nil) ⇒ Object
11 12 13 |
# File 'lib/dhs/concerns/record/first.rb', line 11 def first( = nil) find_by({}, trace!()) end |
#first!(options = nil) ⇒ Object
15 16 17 |
# File 'lib/dhs/concerns/record/first.rb', line 15 def first!( = nil) find_by!({}, trace!()) end |