Added has_many relationship fixed missing field