added action mailer to production.rb
added action mailer to production.rb
Merge branch 'staging' of https://github.com/ksavietta/Grab-The-List into staging

Conflicts:
	config/environments/production.rb
Merge branch 'staging' of https://github.com/ksavietta/Grab-The-List into staging

Conflicts:
	config/environments/production.rb
Merge branch 'staging' of https://github.com/ksavietta/Grab-The-List into staging
Merge branch 'staging' of https://github.com/ksavietta/Grab-The-List into staging
Merge branch 'staging' of https://github.com/ksavietta/Grab-The-List into staging
added purchase model spec and nested resources in groups for create action. all tests for purchase model are failing.
added purchases table migration, all model level association tests are still failing for purchases
added integration test for purchasing one of two items on the group list. after purchase only one should still be on the group list.
added all associations to group, user, purchase, and items to allow for functionality for purchase model.

groups have many items
purchases have many items
users have many purchases
groups have many purchases, but not items through purchases, only a direct relationship between group and unpurchased items.
users have many groups through membership
groups have users through membership

all tests passing except for the integration test for a user making a purchase of one item out of their group list and having that item disappear from current list.
Create a new purchase is working! Correctly attaches items to purchases by passing item_ids from new purchase form into purchase model to update item purchase_id simultaneously on purchase save.
fixed back links for making a new purchase within a group. scoped the items selection in make a new purchase based off of the group they were in. added integration test that checks if you made a purchase and takees items purchased out of current group list
added another integration test that checks that you can see a recent purchase on the group's home page after purchase.
added content_for and yield blocks for the sidebar, can now push specific content to certain areas of the layout. :)
got integration test to pass for only displaying items that are "unpurchased". the purchase sidebar for a particular group is showing all recent purchases.
added left side bar
tried to put everything into the groups index page, but im getting an error because the main content doesnt know which @group to load. halp! the project is not happy.
cleaned up look so that content_for funnales information to the right section of the app layout. have the purchase functionality working but still do not have the ability to add members to groups.