ThinkingSphinx Advanced Queries

ThinkingSphinx Advanced Queries

ThinkingSphinx gives Ruby-on-Rails developers the power of a full-text search engine, with only one downside; it’s a full-text search engine. Recently I had to develop an Advanced Search facility for a site which required me to locate content within certain...
Unhelpful Helpers

Unhelpful Helpers

What is a Helper? A helper is a piece of code which can be used in several places within your Ruby project, which helps you to keep your code DRY (Don’t Repeat Yourself). By moving code into helpers you can reduce repetition, improve readability and increase...