Module: Changeling::Probeling
- Defined in:
- lib/changeling/probeling.rb
Instance Method Summary collapse
- #loglings(records = 10) ⇒ Object (also: #history)
- #loglings_for_field(field_name, records = 10) ⇒ Object (also: #history_for_field)
Instance Method Details
#loglings(records = 10) ⇒ Object Also known as: history
3 4 5 |
# File 'lib/changeling/probeling.rb', line 3 def loglings(records = 10) Changeling::Models::Logling.records_for(self, records.to_i) end |
#loglings_for_field(field_name, records = 10) ⇒ Object Also known as: history_for_field
8 9 10 |
# File 'lib/changeling/probeling.rb', line 8 def loglings_for_field(field_name, records = 10) Changeling::Models::Logling.records_for(self, records.to_i, field_name.to_s) end |