Continuing with my exploration of Ruby on Rails as a .NET guy, here’s an awesome example of Convention over Configuration at work. I decided to add bite size snippets of some of the cool things I encountered in Ruby and Rails. If you are interested in more, see my other Ruby posts. Today’s post illustrates [...]
Category Archives: Ruby on Rails
ActiveSupport Singularize Problem
I just happened to encounter a problem with the ActiveSupport inflector in my Rails app. Here’s the problem: words that end in ess seem to be an issue. For example: ‘dress’.singularize # => ‘dres’ ‘business’.singularize # => ‘busines’ ‘address’.singularize # => ‘addres’ D’oh, where did that ending ‘s’ go? Turns out that “Rails has a [...]

Introducing a Ruby Wrapper for Google Books API
Books. Personally, I own a ton of them. Add in my wife’s collection, and phew. A few years ago, I decided to get my collection under control. I have bookcases upon bookcases all over the place and I would lose track of my books. I wanted to catalog my collection, so I built a site [...]