Displaying 2 results from an estimated 2 matches for "comment_foot".
Did you mean:
comment_form
2006 May 28
0
expanding details examples?
...@order_items
page.replace_html "item_footer" + params[:id].to_s, :partial =>
''order_item_form''
page.replace_html "comments" + params[:id], :partial =>
''order_detail'', :collection => @order_details
page.replace_html "comment_footer" + params[:id].to_s, :partial =>
''order_comment_form''
page.visual_effect :toggle_appear, ''item_container'' + params
[:id].to_s, ''duration'' => 0.5
All of the RJS tutorials / examples I''ve been able to find are quite...
2009 Mar 11
12
Eager loading comments associated with user submissions.
Hey everyone,
I am working on an application that allows users to submit articles,
and also comment on those articles. Pretty much exactly like Digg.
Everything works fine except that when there are a lot of comments
there are a lot of database queries to both fetch the comments and the
users who posted those comments. I have used eager loading in other
parts of my application to reduce the