apelade/mfg — pull request #5 by apelade (2014-07-14 01:02:48+00:00)
Title: Self join assembly

- did `rails generate scaffold assembly title:string parent:references`
- edited the app/models/assembly.rb to `belongs_to :parent, class_name: "Assembly"`
- did rake db:rollback and modified the migration to be: `t.references :parent, index: true, foreign_key: "parent_id"`