nesquena/rabl — Issue #131: v.0.5.0 changes break working template in v0.3.0
Author: alphatester
Created: 2011-10-22 19:44:38+00:00
State: open

Hi,
this rabl template was working like charm in v0.3.0 and now breaks with v0.5.0

object @person
attributes :id, :name
child :cars do
attributes :id, :category
child :message do
attributes :id, :subject
end
end

Here is the error I get when I use v0.5.0

ActionView::Template::Error (undefined method `message' for #):

Relation are set properly, each "car" entity have one "message", and only one.
Is there any change in the syntax? for now I will stick to v0.3.0