Skip to content
Trailblazer in Rails.
Branch: master
Clone or download
Latest commit 618c0e2 Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Releasing v2.1.7 Nov 20, 2018
test Run rubocop in travis only for ruby 2.5 Nov 20, 2018
.gitignore Remove Gemfile.lock from the test folders Jun 6, 2018
.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml Run rubocop in travis only for ruby 2.5 Nov 20, 2018
.rubocop.yml Run rubocop in travis only for ruby 2.5 Nov 20, 2018
.ruby-version Update Gemfile.lock for test apps Apr 16, 2018
.travis.yml Run rubocop in travis only for ruby 2.5 Nov 20, 2018
CHANGES.md Releasing v2.1.7 Nov 20, 2018
Gemfile
LICENSE.txt Update to trb2.1 Jan 2, 2018
README.md Releasing v2.1.6 (#100) Nov 4, 2018
Rakefile Run rubocop in travis only for ruby 2.5 Nov 20, 2018
trailblazer-rails.gemspec Run rubocop in travis only for ruby 2.5 Nov 20, 2018

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.enable_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.

You can’t perform that action at this time.