Raising exception in call back

Is it possible to catch exceptions raised in callbacks like after_create
in the controller?

Of course. Those callbacks are synchronous, so the controller will catch
those exceptions.

Dheeraj K.

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