09.22.07 - 11:47pm
acts-as-tsearch is pretty cool, except for the fact that it uses Ruby (app layer) instead of PL/pgSQL (DB layer) to update the tsvectors that are indexed for full text search. That means that fixture data gets inserted without being full text indexed. D’oh!
Here’s some code that changes that.
Category: ruby, ruby on rails, postgresql, sql, Uncategorized | Tags: | Be the First to Comment »
08.04.07 - 04:21pm
I’ve written before about tips for offshoring. One specific thing I said to watch for is the bait-and-switch of talent: during the sales process you’re shown rockstars, but the real code you get is written by clueless newbies. When you set up a project such that you’ve minimized the cost per hour of development, but […]
Category: management, java, testing, offshoring, outsourcing, sql, labor, humor | Tags: | 7 Comments »
08.02.07 - 08:37pm
From what I’ve seen, Rails’ weakest features lie in the way it prepares the test database and test data, and Ruby’s Test::Unit isn’t much better than the awful but ubuiquitous JUnit that Java developers are accustomed to. I set out this week to impose my preferences on Rails in this area, and that took some […]
Category: ruby, java, testing, ruby on rails, postgresql, databases, sql, architecture | Tags: | 5 Comments »
08.02.07 - 08:16pm
For the last few days I’ve been struggling to bend Rails to my will regarding the proper way to assure data consistency. Today I made some progress. This builds upon some research I did a few months ago, and hopefully this is a more or less complete solution to the problem of making Rails work […]
Category: ruby on rails, ruby, postgresql, sql, databases, architecture | Tags: | 23 Comments »
07.15.07 - 08:48pm
Once upon a time, before Google pwn3d internet search, there were several competing definitions for full text search. Altavista more or less gave you results matching the exact strings you gave it, but in a crazy order that made it painful to use. Excite (my favorite back then) used a dictionary to achieve stemming and […]
Category: ruby on rails, XML, postgresql, sql, databases, architecture | Tags: | 1 Comment »