Sha256: 5e588c311351dc7db1639ee5decd6125182a28beda064c83d97549de76ff57dd

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

= Pollyanna - very simple search

== Make a model searchable

- Add a text column "search_text" to a model
- Have the model include Pollyanna::Searchable
- Overwrite #search_text to define which text is indexed upon saving
- Get a scope for your match with Model.search("query words here")
- There's some more goodness I don't care to document. Use the code, Luke!

== Credits

Henning Koch

{www.makandra.de}[http://www.makandra.de/]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pollyanna-1.0.2 README.rdoc
pollyanna-1.0.1 README.rdoc
pollyanna-1.0.0 README.rdoc