Archive for the ‘ rails ’ Category
Wow, purdee colors in my Capistrano output! [ READ MORE ]
Google has just announced Java support for their App Engine. So what? Ruby on Rails on teh Google is what! Yes, sir, you too can deploy your Rails application absolutely free on Google’s infrastructure. See this post for more details. Nice. Wanna bet that Google will natively support Ruby in the future? (thanks DaniĆ«l) [ READ MORE ]
This Scaling Rails episode led me to the Rack Contrib project on GitHub. This project contains some pretty neat middleware that can be a huge time-saver in developing Rails apps. I am going to use some of these for sure. [ READ MORE ]
I wrote a small Ruby on Rails plugin that transmits the production database. It works either way: from the server to your local computer or from your computer to the server. The latter, of course, should only be used with caution. Read more. [ READ MORE ]
Quite a few weeks ago I completed an application to submit your birthday boy or girl for Z@ppelin. It features birthday cake recipes, on-the-fly PDF generation, party downloads, and features all jarigen for any given day. It’s pretty cool. The best part of it: every day three people are selected to appear on national TV! [ READ MORE ]
I have just seriously spent four hours debugging the most inane bug, this year, so far. In an ActiveRecord before_create method, I was setting a boolean value based on a bunch of fields in the object. My specs kept returning ActiveRecord::RecordNotFound all of a sudden, but the errors hash was empty. The database was fine, [ READ MORE ]
If you’re like me, you maintain a mix of both old and new Rails apps. If you’re even more like me, you have no Rails apps that store Latin1 data any more (having converted them all some time around 2007). Yet your tables are still defined DEFAULT CHARACTER SET latin1. Time to fix that. [ READ MORE ]
Being part of the Rails community is great. It’s filled with admirable people like Katz, Koz, en Fuchs. All are active Rails core members. So I decided to go to RailsWayCon 2010 and meet them in Berlin! [ READ MORE ]
For many years now a pattern has emerged in my Rails websites. Most models will have Title, Description, Online at, Offline at, Is visible, Url and Image_file_name fields. It screams to be solved using an underlying common model using the “is_a” pattern. There is no clean way to solve this in Rails. I discovered this [ READ MORE ]
Seems like the crisis in our parliament has become global news. Guess “our boys” did some fine things in Uruzgan. Too bad the majority of the country wants to end the war. Anyway. I recently built the election special for www.radio1.nl. I just love how fast I can whip up specials like this in Ruby [ READ MORE ]