module Searchable
Public Instance Methods
where(params)
click to toggle source
# File lib/app/models/searchable.rb, line 2 def where(params) relation_obj ||= LazyRelation.new(self, self.table_name, {}) relation_obj.where(params) relation_obj end