class DogBiscuits::TableBasedAuthorityExtended
Public Instance Methods
search(q)
click to toggle source
# File lib/dog_biscuits/services/table_based_authority_extended.rb, line 5 def search(q) return [] if q.blank? output_set(base_relation.where('lower(label) like ?', "%#{q.downcase}%").limit(25)) end