好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

rails lloop

rails lloop

rails loop

1 
 2 
 3 
 
 @posts .each_with_index  do  |post, index| 
   render  :partial  =>   "  post  "  ,  :object  => post,  :locals  => { :index  => index} 
  end 

查看更多关于rails lloop的详细内容...

  阅读:41次