grape-rabl
grape-rabl copied to clipboard
Use rabl with grape
I would like to be able to ``` ruby Grape::Rabl.configure do |config| config.tilt_root = -> { "#{env['api.version']}/..." } end ``` See https://github.com/LTe/grape-rabl/pull/24.
I'm [planning on deprecating Tilt::Cache](https://github.com/jeremyevans/tilt/commit/2a021538630138569532f1eb0fe62aec8edd0416) in the next release of tilt (2.2.0), as it isn't used internally, isn't thread safe, and doesn't add any real value (faster to use a...
`grape-rabl` 0.5.0 uses `Grape::Formatter.formatter_for` with one argument. https://github.com/ruby-grape/grape-rabl/blob/b201ebdb0dc44906e5b42619f060fa3ac4e5bdfd/lib/grape-rabl/formatter.rb#L40-L41 But `grape` 2.2.0 changed its arity. https://github.com/ruby-grape/grape/compare/v2.1.3...v2.2.0#diff-2332fb7b55e286e39346d06d8427673ae0dade2d41786327b23375cc30ef2ffaR17 So `wrong number of arguments (given 1, expected 2)` raised. In our application, following monkey...