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::Convenience#entries
Returns either * the rendered entries, if you have used #populate_with _with_ a block OR * the model instances, if you have used #populate_with _without_ a block Or, if you haven't called #populate_with yet, you will get an empty array.
Edit
git clone [email protected]:floere/picky.git
cd picky
open client/lib/picky-client/convenience.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Convenience-entries-for-pr
# Commit to gitgit add client/lib/picky-client/convenience.rbgit commit -m "better docs for Picky::Convenience#entries"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Convenience-entries-for-pr
hub pull-request
# Celebrate!