As pulled from: 
http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/
I've used respond_to previously...but it slipped my mind..so i figured I'd repost it here. 
Here is the snippit that replaced a separate (and now useless method) for each major entry view page. 
 respond_to do |format|
      format.html
      format.js { render :partial => 'list.html.erb' }
    end
Sunday, October 24, 2010
Subscribe to:
Comments (Atom)
 
