# File lib/reactive_resource/base.rb, line 223 def self.inherited(child) super(child) child.associations = [] associations.each do |association| begin child.associations << association.class.new(child, association.attribute, association.options) rescue NameError # assume that they'll fix the association later by manually specifying :class_name in the belongs_to end end end