May 2010
1 post
6 tags
Testing Rails for the masses!
With recent posts about doing your share to help the Rails community, this post will be interesting for the folks that have yet to set up their Rails testing environment. Why is this a big deal you might ask? Well, if you run through the Rails guide for contributing you will notice that there are quite some steps involved to have a test environment set up. You need to set up postgres, mysql and in...
April 2010
2 posts
3 tags
only index when you need to
a.k.a. tricks to be aware of when indexing a user model
black-cat cookie
Thinking Sphinx has been a god send for us, it brings the power of full text searching with such a beautiful dsl. Its powerful, configurable, flexible and every other kind of ful or ble you can think of.
I could go on for paragraphs on my love for Thinking Sphinx, and to some degree Sphinx, but lets get to the point,...
3 tags
some handy rack-rewrite rules
Every decision you make for a client should be based on sound reasoned advice. But what if you can’t give that advice because your facts are not accurate?
This was a recent problem we ran into when looking into some page stats on google analytics, we found that a page was appearing twice in the stats, one without a trailing slash and one with. I also saw in Google Webmaster Tools that...