Clean your configuration with configuration_manager

If you’re spreading constants around your environments files to configure your Rails apps based on the environment it is running on, stop immediately! Let’s say it’s not very wise… ;) There’s no point in having lots of different constants all around your code that basically all do the same thing: configure your app.

Instead, you should do [...]

See you at Rails to Italy

Tomorrow, we’re heading towards Pisa, where, on Friday and Saturday, Rails to Italy will be held.

A lot of smart people are talking and I’m sure it’ll be a great conference. We’re organizing a Web development panel on the second day, so make sure you stop by if you can.

If anyone is coming, we’ll be very happy [...]

Speeding up email delivery on Rails

There’s one thing that has always bugged me: when using Sendmail to deliver email from Action Mailer in Ruby on Rails, it always takes a few seconds for the email to be sent, thus slowing down whatever task the user is trying to accomplish. When, for example, a user signs up for your service, you might [...]

Our first plugin: acts_as_fulltextable

Update (05/10/2007): we’ve moved the plugin to Google Code.

We’ve never been really happy with what was available to perform full-text searches in Rails. We tried a whole bunch of different plugins — most notably actsasferret and actsassphinx –, but none seemed to work as expected.

Ferret is great, but we couldn’t determine why it was throwing all [...]