Is it possible to pass options other than the object into a rabl partial?
For example, the parent template passes an option called "show_field1" to the base template:
extends "base", :show_field1 => true
Then in base.rabl the option could be used like this:
attribute :field1 if @show_field1
The only way I've been able to get at the option is through this terrible approach of looking under the covers:
attribute :field1 if @_options[:show_field1]