edited all relationships in models

changed belongs_to to has_many