search for: render_tree_of

Displaying 1 result from an estimated 1 matches for "render_tree_of".

2006 Mar 22
2
Controller instance variables falling in and out of scope
...e data redirect_to :action => ''archive'' unless @post end # posts.rhtml <%= @post.inspect %> => nil <%= render :partial => ''post'', :object => @post %> => renders with correct data <%= @post.comments %> => NoMethodError <%= render_tree_of( @post.comments, ... ) %> => generates no errors, but within the partial reports @post.comments as nil WinXP Ruby 1.8.2 Edge Rails (behavior has existed over several iterations now) I''ve not run into anybody else with this problem, and have not had much luck with IRC and my own deb...