When's the next time your birthday is going to be on a Friday or Saturday, so you can go out and have fun? That's what my little weekend project will tell you.
Link: railspikes.com
Last weekend, I participated in my first Rails Rumble. Rails Rumble is a 48-hour app building contest. We started from scratch Friday evening – you can have concepts and notes on paper, but no code or digital UI assets – and stopped Sunday evening, after 48 hours. You can use open-sou...
Talk about a hard problem to diagnose! I canceled the installation of Rack 1.0 half way through because I realized I was running the wrong command (I didn’t use sudo like I wanted to). After that, I couldn’t load rack at all, even though I could see it in my gems directory and I could...
Tarantula : A fuzzing plugin that spiders your application looking for problems. Via Stuart Halloway’s post on Revelance’s blog: “It crawls your rails app, fuzzing inputs and analyzing what comes back. We have pointed Tarantula at about 20 Rails applications, both commercial and open ...
So how do you know when to use map or reduce on a collection? Simple. When iterating through an array, if you don’t want a return value from the operations, use each ; and if you’re looking for a return value, use the iterator method that delivers the type of value you want returned. ...
I usually allow new methods to live in application_helper until there are 2-3 related methods that could be extracted into a separate helper. Using a ton of helper modules with 1 method each is counterproductive since i always have to remember if the xx method was in abc_helper or bcd...
I signed up with RightScale (and burned up 45 minutes of machine time, sorry guys!), but couldn’t do anything with the machine unfortunately. The “open SSH client” link advertised in the introductory video is actually not available, and reading the FAQ it turns out it’s only available...