Very bizarre behavior has cropped up in a few spots.
the action for viewing a blog post
@post = BlogPost.find_by_slug(params[:id], :include => :commentary)
a breakpoint here shows @post and @post.commentary with appropriate
redirect_to :action => ‘archive’ unless @post
<%= @post.inspect %> => nil
<%= render :partial => ‘post’, :object => @post %> => renders with
<%= @post.comments %> => NoMethodError
<%= render_tree_of( @post.comments, … ) %> => generates no errors,
but within the partial reports @post.comments as nil
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 debugging efforts. Any clues?
Seth Thomas R.