Generated the attachment scaffolding.
Added accepts_nested_attributes_for attachment to device

See RailsCasts #403 to continue work.
Added javascript for adding a new file upload field.
Added the product number field to the device edit form.
Added capistrano to the grmfile.
Ran cap install
Worked on the capistrano deploy.rb
Woring towards multiple file uploads at once
Nested Form for documet upload, link_to_add_document is not working
Multiple file upload from the new device form is functioning.
Merge branch 'document' into dev

Conflicts:
	Gemfile.lock
	app/models/device.rb
Added necessary (I think) items to the deploy.rb file for Capistrano.
Re ran the cap install command because it was missing lib/capistrano/tasks
 Added a task to verify the deploy user can write to the necessary directories in Capistrano.
Explicitly set RAILS_ENV
Setup the deploy/staging file
Added a capistrano task and added the capistrano-rails gem.
Retrying cap install
Removed some extraneous files and added server roles to deploy/production.rb for capistrano
Removed the capistrano/rails line from the capfile which was causing cap -T not to run.