search for: show_com

Displaying 3 results from an estimated 3 matches for "show_com".

Did you mean: show_col
2008 Apr 14
2
Problems with nil object
...ey''re referred to, and text (there are many other fields, but they''re not importat here). I have a home_controller, this is the code: class HomeController < ApplicationController def index @posts = Post.find(:all, :order => "data DESC") end def show_comment @posts = Post.find(:all, :order => "data DESC") @comments = Comment.find(:all, :conditions => [''post_id= ?'', params[:id] ]) end def add_comment @posts = Post.find(:all, :order => "data DESC") @comments = Comment.fin...
2006 Jun 05
2
multiple divs in a loop
...oblem i can''t get my brain around :) How do i pass the arguement "story<%=story.id%>" inside the visual_effect method? <% for story in @stories.reverse %> <p><%=link_to_remote ("Show Comments", :update => story.id, :url => {:action => :show_comments, :id => story}, :complete => visual_effect(:grow, __________, :duration => 1.0)) %> <div id="story<%=story.id%>" class="comments_class"> <div id="<%=story.id%>"> </div> </div> <% end %> Any help would be awe...
2009 Aug 21
1
CentOS 5.3 Anaconda nic device ordering
I have a bunch of HP BL465c G5 blades, with additional dual-port network adapters. The onboard interfaces use the bnx2 driver, while the expansion card uses tg3. All 4 interfaces are detected by both Anaconda and the installed system, but Anaconda is reversing the ordering: Anaconda: eth0 Card 2, Port 1 eth1 Card 2, Port 2 eth2 Card 1, Port 1 eth3 Card 1, Port 2 BIOS and Installed Kernel: