Generated the apartments model, added validations, associations and ran the needed migratins.
Generated the apartments model with the needed associations and migrations. Set up nested forms for creating multiple apartments for a given property.
Set up property_params to accept nested attributes for apartments, created link to add apartment units to a property, and a table to display those units, on the property show page.
Added grid layouts to views.
Added another grid for the property show page links.
Adjusted grids on property show page.
Added the cocoon gem and began setting up the _apartment_fields partial.
Fixed simple_form and simple_fields_for in /apartments/new.html.erb to render the _apartment_fields partial used by cocoon to render additional forms.
Corrected cocoon form syntax, records now update when the form is submitted.
Added the appropriate html classes and ids for cocoon.
Removed turbolinks gem, added id to the apartment_attributes parameter (included in property_params) to allow apartments to be updated instead of added when on the property edit page.
Modified property_params apartments_attributes to include _destroy and :id, allowing users to delete and update apartments.
Generated migration adding utility attributes to apartments. Updated forms and property_params accordingly.
Updated formatting and text on new apartment form.
Modified test expectations to correspond to new text format on show page.
Wrote test for adding apartments (had not implemented cocoon before, did not write tests beforehand).
Added test for a member adding multiple unit types.
Corrected indentation on second scenario block for member_creates_apartments_spec.
Generated amenity_set model, set up association with property, ran migration.
Corrected routes for amenity_sets to be plural.