ccocchi / rabl-rails

Rails 4.2+ templating system with JSON, XML and Plist support.
MIT License
209 stars 51 forks source link

Rails 4.2 #72

Closed dustineichler closed 8 years ago

dustineichler commented 9 years ago

If you can't get this to work in Rails 4.2. Adding require: false to your Gemfile resolves this issue. Your object appears nil the template otherwise.

BenMorganIO commented 9 years ago

:+1:

lephyrius commented 9 years ago

:+1: I'm just wondering if it is possible to use this without the responders gem? Shouldn't it be an dependency for rabl-rails?

acaron commented 9 years ago

+1 Can't make the respond_with work with rails 4.2.1 even with the require: false. Also, you need to add require 'rabl-rails' before the configuration!

ccocchi commented 8 years ago

Fixed in 0.4.3. Custom responder will be removed starting version 0.5.0 of this gem.