Trailblazer in Rails.
Ruby HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml
.rubocop.yml
.ruby-version
.travis.yml
CHANGES.md
Gemfile
LICENSE.txt
README.md
Rakefile
trailblazer-rails.gemspec

README.md

Trailblazer::Rails

Trailblazer in your Rails controllers.

Gitter Chat TRB Newsletter Build Status Gem Version

Overview

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.

Installation

Add this line to your application's Gemfile:

gem 'trailblazer-rails'

Note that the 2.x version only runs with TRB >= 2.1.0.

Setting flags

  • config.trailblazer.use_loader = false to disable Trailblazer loader (default TRUE)
  • config.trailblazer.enable_tracing = true to enable tracing when using run (default FALSE)

License

The gem is available as open source under the terms of the MIT License.