Error_messages_for

I’ve got a controller A, that is calling an action on Controller B. In
controller B if the record that is getting added to the database
doesn’t validate, I would like to be able to display the
error_messages_for :model_B in Controller A.

I’m not exactly sure how to do this, any ideas?

Thanks,

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