app for test states in assigns using has_many:  with through options