[Erector-devel] Difference in 0.5.1
gshilin at kbb1.com
Sat Dec 20 22:19:11 EST 2008
I'm moving to Rails 2.2.2 and was quite happy to find out that Erector was
already ported to this version.
But then I've discovered that the following
render :widget => widget, :tree_node => tree_node, :view_mode =>
params[:view_mode], :options => options, :layout => false
just doesn't work anymore. Instead I should use
@tree_node = tree_node
@view_mode = params[:view_mode]
@options = options
@layout = false
render :widget => widget
This doesn't look as natural as it was before.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Erector-devel