Addressed issues with atachments and added the rain gem.
Merge branch 'attachment'