HABTM Validation

I have a many-to-many relationship between users and groups
set up in my application, using a join table (users_groups).
i have wrote validation in both a table,

at the time of showing error message
its add one extra validation message
as “Groups is invalid”

how to avoid this message

with regards

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs