Tutorials


Routes in Ruby on Rails Using Resources and Records to Define Urls
Ruby on Rails has a set of pre-built helper methods to create routes for web pages in your application. While they can be simple to get started, they can be configured to generate a range of customisable routes and pages for your web.

A Beginner's Guide to Service Objects for Ruby on Rails
Rails follows a Model-View-Controller pattern. This raises questions around where programming logic should go once a Ruby on Rails application reaches a certain size. Generally, the principles are:Forget fat Models (don’t allow them to become bloa...


Finding Ruby Performance Hotspots via Allocation Stats
RubyParser is a library written by Ryan Davis for parsing Ruby code and producing an abstract syntax tree. It is used by Brakeman and several other static analysis gems.Recently I was poking around to see if there was any low-hanging fruit for per...



