Continuing with my exploration of Ruby as a .NET guy, here’s another example of Ruby’s expressive syntax in action. 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. Naming conventions can be a good [...]
Yearly Archives: 2010
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 [...]
Ruby Beauty – Optional Parentheses on Method Calls
Continuing with my exploration of Ruby as a .NET guy, here’s another example of Ruby’s expressive syntax in action. 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. Optional parentheses on method calls are [...]

Ruby Beauty – Rails and Time Zones
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 others, see my other Ruby posts. Time zone handling [...]