class Legacy<%= model_name.classify %> < LegacyBase set_table_name "<%= model_name.pluralize %>" def map { :field_one => self.old_field_one.squish, :field_two => self.old_field_two.squish } end end