Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 5844: Seeder other duties (#5903)
* Add create_other_duties for volunteers only * Remove casa_org param to apply other duties to all volunteers regardless of casa org * other_duties_counter initialized to 0 * Call on new private method create_other_duties * create_other_duties maps through Volunteer to create OtherDuty 2x. Increments to the other_duties_counter each time and prints statement of how many other duties were created * Modifies enumerable to find_each + returns other_duties_counter after OtherDuty.create * Add OtherDuty to main seeds file and remove counter and puts statement from seeder
- Loading branch information