generating for attributes

rails g resource attribute type_id:integer attr_name:string
attr_value:string attr_req:boolean AND rails g ember:route attributes
rake db:migrate
Error handling working!

makes sure metal type, name, and quantity exist when creating new or
editing record and also makes sure that metal type is unique when
creating new
Merge branch 'error-handling'