How to identify which validates rule is violated in model


I have several validates_…_of rules in the model. Is there a way to
identify which rule is broken when I’d like to return more than error
messages to the view?


Hi Ianne,

Benjamin had a good post on the ROR blog that you might find useful:


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