Skip to content

kch/search_object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rails plugin for searching with MySQL full-text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages