picky

https://github.com/floere/picky

HTML

Picky is an easy to use and fast Ruby semantic search engine that helps your users find what they are looking for.

Picky::Model::Searching::Proxy#search

Usage:
 * Person.search("Bond, James")              # Convenience version.
 * Person.search.ids(30).with("Bond, James") # Version with options.
 * Person.search("Bond, James") do           # With block.
     ids 30
     offset 10
   end

Source | Google | Stack overflow

Edit

git clone [email protected]:floere/picky.git

cd picky

open activemodel/lib/picky-activemodel/model/searching.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Picky--Model--Searching--Proxy-search-for-pr


# Commit to git

git add activemodel/lib/picky-activemodel/model/searching.rbgit commit -m "better docs for Picky::Model::Searching::Proxy#search"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Picky--Model--Searching--Proxy-search-for-pr

hub pull-request


# Celebrate!