This Week In Refactoring: Active Record

Ever wonder why this doesn't work with ActiveRecord models?

  class Topic < ActiveRecord::Base
    alias_method :body, :content
  end

In the latest installment of This Week In Refactoring, we explore this issue, and refactor ActiveRecord to improve the situation.

Get In Touch