removing deprecated has_many syntax