The 10 Most Underused ActiveRecord::Relation Methods - Mitch Crowe
5 weeks ago by jpcody
Knee-deep in ActiveRecord::Relation code yesterday, I was reminded of some interesting nuggets that I’ve seen used far too rarely. Here, I’ve gathered my top ten most underused relation methods from that list for your reading delight.
rails
ruby
tips
5 weeks ago by jpcody
The Right Way to Code DCI in Ruby :: Mike Pack Development
january 2012 by jpcody
Many articles found in the Ruby community largely oversimplify the use of DCI. These articles, including my own, highlight how DCI injects Roles into objects at runtime, the essence of the DCI architecture. Many posts regard DCI in the following way:
ruby
rails
dci
january 2012 by jpcody
CloudEdit: A Backbone.js Tutorial with Rails (Part 1)
february 2011 by jpcody
In this tutorial, I'll go over the code for CloudEdit, an example Backbone.js app backed with Rails that outlines some basic patterns that I've used successfully in my Rails Backbone projects. I'll start by describing the spec for the app, and then detail how the models, controllers, and views hook up. This tutorial assumes you already have some basic knowledge about Rails — I'll be focusing mainly on the Backbone.js concepts.
rails
backbone
javascript
february 2011 by jpcody