Update task.rb

Change association to use join table