Recently I created a small Rails app as a sales/marketing site for the startup I am working at. The site is very basic with just a few models and controllers. We time came to deploy the site, Capistrano felt to big, but we didn’t want to have to manually ssh in every time we had [...]
Category Archives: Rails
Major Change to Hash.from_xml in Rails 2.3.4
October 6 09
Recently after upgrading a Rails app to Rails 2.3.4 I noticed my Soap service calls throwing errors. After a little investigation I found this commit: The problem is that since String#underscore lowercases the string, any Hashes created using Hash.from_xml with xml that contain any capital letters in the node names will break when updating to [...]
Installing a Ruby on Rails Plugin from a Github Branch
September 18 08
One of the coolest things about Git is how easy it makes working with branches. Rails has been playing catch up with Git’s distributed methodologies and recently took a nice step forward. Previously you could only useĀ ./script/plugin install to install from the master branch of a Github repository. Now you can specify the branch name [...]