Sha256: 4aa18fa3c85dd116778ab0d2aad4fbbbc8ab1539b34f01db932e3c36a5553fe4
Contents?: true
Size: 474 Bytes
Versions: 31
Compression:
Stored size: 474 Bytes
Contents
module Searchlogic class Search # Responsible for adding a "search" method into your models. module Implementation # Additional method, gets aliased as "search" if that method # is available. A lot of other libraries like to use "search" # as well, so if you have a conflict like this, you can use # this method directly. def searchlogic(conditions = {}) Search.new(self, scope(:find), conditions) end end end end
Version data entries
31 entries across 31 versions & 4 rubygems