ccocchi / rabl-rails

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

Conditional attributes not working #76

Closed makkrnic closed 8 years ago

makkrnic commented 8 years ago

This attributes :email, if: ->{ false } outputs email when it shouldn't. Using version 0.4.1

ccocchi commented 8 years ago

Hello,

Condition with attributes has been introduced with 0.4.2.

Cheers,