trailblazer / trailblazer-operation

Trailblazer's Operation implementation.
https://trailblazer.to/2.1/docs/operation.html
87 stars 24 forks source link

`Rescue` macro #19

Closed petrosp closed 6 years ago

petrosp commented 7 years ago

The documentation states that a Rescue macro is available, but when trying to call it, it returns NoMethodError: undefined method 'Rescue' for ModifyPerson:Class

Checking this gem's source, I can not really find any reference to it.

I am using Rails 4.2.9 and I have bundled only the trailblazer-operation gem not the whole suite.

What is the catch?

thanks...

apotonick commented 7 years ago

All macros come with the trailblazer gem.

petrosp commented 6 years ago

Yes indeed! Thanks, I am closing this if you don't mind...