Completed DaycarePokemon form
- Controller: Added flash notices before redirecting back to index
- View: Added checked and unchecked values to IV boxes. Organized the gender simple form code
- Model: Because IVs are boolean values now, there was no need for presence validation on them. Removed it.
Changed Autocomplete text box to an Autocomplete Combobox (Select)
- Reason: The textboxes allowed the user to essentially enter whatever they wanted. The Combobox with underlying Select forces them to select an option in the list, but offers the same convenience of an autocomplete field.
- daycareCombobox.js: This supercedes the old daycare_autocomplete.js (deleted) file.
- Migration and Schema: In order for this change to work, I had to alter the schema slightly. move1, move2, etc became move1_id, move2_id.
- Controller: Altered strong params to allow for new column names
- Model: Created relations between move1, move2, etc to the Move model
- View: Changed from using Autocompleted text boxes to using Combobox Select statements.