June 2007 Archives
Ferret, the Lucene port to ruby now comes with a DRB server that allows concurrent access. For sites that are running more than one mongrel, it is a lifesaver. If you want to sort the results, it doesn't work. I'll show you how to fix it inside. Update: The easier thing is just to use :sort=>"field desc" which is built in!
Continue Reading…
Posted by Mike Mangino on Jun 26, 2007
Using domain names to separate accounts is becoming more and more popular. 37Signals does it, Blinksale does it and one of our clients does it. In fact, our client goes one step further and allows you to use a custom domain. I would love it if blinksale would let me use invoices.elevatedrails.com. While it sounds really easy, there are some tricky problems.
Continue Reading…
Posted by Mike Mangino on Jun 21, 2007
Last night's facebook update is incompatible with the way the rails handles form parameters. See inside for our fix.
Continue Reading…
Posted by Michael Niessner on Jun 13, 2007
Have you ever had a test that passed at some times of the day, but not others? What about a test that passed on certain days of the week? How do you run tests to make sure your application works right on leap years? Testing code involving dates can be trickly. Luckily, it's easy to freeze time, at least in ruby.
Continue Reading…
Posted by Mike Mangino on Jun 06, 2007
With changeset 6951, every employee of Elevated Rails is now a core contributor. I'll talk a little about what that change means and how the integration of simply helpful into rails core makes life a little easier.
Continue Reading…
Posted by Mike Mangino on Jun 05, 2007