ccocchi / rabl-rails

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

`exclude_nil_values` not working #62

Closed ProGM closed 9 years ago

ProGM commented 9 years ago

I'm using Rails 3.2.17 on Mac OS, with RABL-rails v0.3.4.

When I set this configuration:

RablRails.configure do |config|
  config.exclude_nil_values = true
end

I receive: NoMethodError: undefined methodexclude_nil_values=' for RablRails:Module`

ccocchi commented 9 years ago

This option is only available on master right now. I will release the 0.4.0 version pretty soon.

ccocchi commented 9 years ago

@ProGM 0.4.0 is out ! You will finally be able to use exclude_nil_values :smile:

ProGM commented 9 years ago

Thank you! :)