class TheMigrationClass < AR::Migration class Conference < ActiveRecord::Base has_many :attendances end class Attendance < ActiveRecord::Base end def change # normal migration code end # all that stuff that didn't work before end