Example of how to use `has_many through` associations in forms in Rails 4