Reg: validation for has_many relation table

I am facing one problem in validation…I have two tables articles and
user both are has_many relation …so joint table has article_id
,user_id , read_at and rating

In front end there is two check box for read_at and rating

so at the time of saving article i want to validate either one of the
check box should be where should place the validation…

please help me

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