Skip to content

Instantly share code, notes, and snippets.

@semanticart
Created April 5, 2009 21:31
Show Gist options
  • Select an option

  • Save semanticart/90542 to your computer and use it in GitHub Desktop.

Select an option

Save semanticart/90542 to your computer and use it in GitHub Desktop.
require 'rubygems'
gem 'activerecord', '=2.3.2'
require 'activerecord'
load 'active_record/associations.rb'
load 'active_record/associations/has_many_through_association.rb'
ActiveRecord::Associations::HasManyThroughAssociation
class SomeClass < ActiveRecord::Associations::HasManyThroughAssociation
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment