Last night I ran into a vexing problem. I had an API endpoint in a Rails app I developed for a customer that accepts request parameters in both the classic application/x-www-form-urlencoded content type as well as application/json. JSON is a more compact format and is easier to scan when reading client logs, so it is now my preferred format for request POST data.
Making the rounds recently is a patch for MRI Ruby 1.9.3 from funny-falcon. It backports some changes coming in Ruby 2.0 that improve start-up time and method lookup. A second version of his patch also backports some changes to the garbage collector to make it more friendly to copy-on-write.
I’m pleased to announce that our biggest project to date is now available on the App Store and Google Play.
Table37 is a full-featured restaurant management system. When Table37 came to us with the idea of modernizing everything about how a restaurant manages its contact with customers, we thought it was a terrific use of technology.
Yesterday, Laurent Sansonetti announced RubyMotion, the first product from his new company, HipByte. Laurent is the creator of MacRuby and worked on it part-time while an employee at Apple.
RubyMotion is interesting, but I don’t have any plans to use it myself, especially for client work. There are two reasons.
In two posts from last year, Pat Shaughnessy discusses why Bundler 1.1 will be much faster and how to use some of the new features. Ordinarily, I avoid prerelease gems because I don’t want to risk the stability of an application. My release schedule won’t often align with a gem’s, assuming there is one.
Just because your configuration file’s contents are written in a DSL does not mean you should pretend it’s not Ruby anymore.
I spend most of my development time split between Rails and iOS. Each offers a rich API that makes building projects much more productive and enjoyable. There is one place, however, that Ruby clobbers Objective-C: testing.
Pow is a new zero-configuration server for Rack web applications by 37Signals. It makes development, especially on multiple applications, painless: it adds a new .dev domain, with individual apps symlinked from ~/.pow. Pow manages application instances automatically and integrates seamlessly with RVM.