Alternate method for deprecated “validates associated” method in ruby in rails

As you can see at

This method has been deprecated.

I want to know the correct method that can be used in its place to
validate associated models.

Thanks Neelesh

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