acts_as_sphinx plugin

Posted on March 23, 2007

We can't imagine a web site without at least a rudimentary search functionality. What a frustration when we shop for a particular product or looking for an answer on a community web site and can't find exactly what we are looking for. The search is the paramount for any online business. If a customer can't find a product she's looking for, she would go somewhere else and you lose a sale.

Unfortunately, most of the databases don't provide full-text search capabilities or provide a minimal support which is not enough in most of the cases.

Entering fixtures with TextMate

Posted on March 15, 2007

Probably the most boring task when writing Rails test cases is entering new fixtures. With a little help from TextMate this process can be made more pleasant.

  • Open Bundle Editor and create a new command.
  • Name it, for example, 'rails: new fixture'
  • Use this script as the command body: