MonoForge

kch / search_object

search_object

Public

Rails plugin for searching with MySQL full-text

8 filesupdated Jun 18, 2026

README

SearchObject

MySQL only.

Example

class SomeModel < ActiveRecord::Base searchable_by :title, :body end

@recs = SomeModel.search("foobar")

Nice Things

Search all content_columns

searchable_by :*

Search all associations (that have a search_object):

searchable_by :**

Copyright (c) 2008 Caio Chassot, released under the MIT license