Closed jgaskins closed 6 years ago
This will help grease the wheels when you're choosing a target.
This commit also refactors the TargetsController to use ActiveRecord associations more fluently:
Target.create(project_id: project.id) # vs project.targets.create
These are target names - AFAIK target types are one of
Terrestrial Ecosystem Freshwater Ecosystem Marine/Estuarine Ecosystem Animal Species or Assemblage Plant Species or Community Other
This will help grease the wheels when you're choosing a target.
This commit also refactors the TargetsController to use ActiveRecord associations more fluently: