[Erector-devel] Difference in 0.5.1
gshilin
gshilin at kbb1.com
Sat Dec 20 22:19:11 EST 2008
Hi,
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.
Any ideas?
Thanks,
Gregory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/erector-devel/attachments/20081221/69a7adbd/attachment-0001.html>
More information about the Erector-devel
mailing list