Method: Sohm::Model.fetch
- Defined in:
- lib/sohm.rb
.fetch(ids) ⇒ Object
Retrieve a set of models given an array of IDs.
Example:
User.fetch([1, 2, 3])
632 633 634 |
# File 'lib/sohm.rb', line 632 def self.fetch(ids) all.fetch(ids) end |