Add locations and prices to posts

Enable users to specify a sales price for their item
Enable users to specify their location
Add locations and prices to posts

Users can now choose a location from a select list, and enter a dollar
amount for the price of the item being posted.

New post form only appears if user is signed in.
Add locations and prices to posts

- Users can now choose a location from a select list, and enter a dollar
amount for the price of the item being posted.

- New post form only appears if user is signed in.
Cleaned up some spacing
Fix spacing for in posts controller

Added a trello card for refactoring post creation to remove merge.
Refactor user id merge in posts controller
Validate on location instead of location_id

Didn't change the collection_select, because adding the"form." causes
the server to attempt a merge that then fails.
Add "form." to collection_select for locations

Had to remove :post from the variable list to make it work without merge
error.
Merge branch 'lea-add-locations-prices-to-posts'

* lea-add-locations-prices-to-posts:
  Add "form." to collection_select for locations
  Validate on location instead of location_id
  Refactor user id merge in posts controller
  Fix spacing for in posts controller
  Cleaned up some spacing
  Add locations and prices to posts
  Add locations and prices to posts
  Add locations and prices to posts
  change location.location to location.name
  add location show page
Add categories route with new, create, index
Create form for a new post category
*Modify create action in categories controller

*Create category params
*Create category index
*Make location params in location controller private
Create categories

*Create categories table
*Create model and controller
*create partial and render all categories
Create unique constraint on category name

*New migration to add constraint on existing column
Create table to uniquely identify category/locations
Add post/category relationship to models

*Add link to create new category to posts view
Create option to add category to post
Redirect to posts after creating new category
Redirect to posts page after create new category

*Remove category index page
Only display create categories link if admin