So I have a create_table like this for Courses at a School:
create_table :courses do |t| t.string :name t.references :course t.timestamps end
I don't think references accepts the :as option, but you can create your columns manually...
references
:as
create_table :courses do |t| t.string :name t.integer :course1_id t.integer :course2_id t.timestamps end