bus lines many to many in rails