demonstration code for Rails has_many :through association