Module: AssayDepot::SearchModel::ClassMethods
- Defined in:
- lib/assaydepot/model.rb
Instance Method Summary collapse
-
#find(query) ⇒ Object
find and where to modify params.
- #where(conditions = {}) ⇒ Object
Instance Method Details
#find(query) ⇒ Object
find and where to modify params
34 35 36 |
# File 'lib/assaydepot/model.rb', line 34 def find(query) self.new.find(query) end |
#where(conditions = {}) ⇒ Object
38 39 40 |
# File 'lib/assaydepot/model.rb', line 38 def where(conditions={}) self.new.where(conditions) end |