module HasDynamicColumns class DynamicColumnStringDatum < ::ActiveRecord::Base belongs_to :dynamic_column_datum, :class_name => "HasDynamicColumns::DynamicColumnDatum" end end