search for: latest_comment

Displaying 2 results from an estimated 2 matches for "latest_comment".

2007 May 15
5
Problem with RJS and/or Prototype.js =>ResponseText is blank
...artcolor => "#ffffff" #, :endcolor => "#b1d0e9" The controller action looks like this def comment @comment = Comment.new(:text => params[:text]) @comment.user = User.find(:first) @comment.entry = Entry.find_by_identifier(params[:entry]) if (@comment.save) @latest_comment = @comment # render :partial => "/common/comments/comment", :object => @comment # This fails too else render :action => "show" end end The form looks like this <% form_remote_tag(:url => { :action => :comment }, :html => {:class => "m...
2007 Jan 07
3
slow tests on an established project...
Hi all Hope this isn''t too far off-topic on this list, as I think it would largely go ignored on the main rails list. I''m looking for the most pragmatic way to speed up our test suite. This is on an established project, and lets just say that we used way too many fixtures when we started =). For example: Finished in 128.870144 seconds. =============== 392 tests, 2106