Trailblazer in your Rails controllers.
trailblazer-rails
helps you with the following.
- Running operations in your controller actions.
- Minimalistic integration tests ("smoke tests") to test controller/operation wiring.
- Rendering cells instead of an ActionView in a controller action.
Please refer to the full documentation for more.
Add this line to your application's Gemfile:
gem 'trailblazer-rails'
Note that the 1.x version only runs with TRB >= 2.0.0.
The gem is available as open source under the terms of the MIT License.