I’d like to organise my active records into modules but can’t get the
associations to work. The doc says that associations within the same
module should work. I’ve tried using the class_name option too but still
Can anyone help?
class Animal < ActiveRecord::Base
has_many :dogs, :class_name => “Mod1::Dog”
class Dog < ActiveRecord::Base
belongs_to :animal, :class_name => “Mod1::Animal”