Hi,

I have a controller action that just has to replace a div with
nothing:

# Controller -
  def contract
    render :text => ""
  end
# -------

I would think that this action would operate at the same speed
regardless of what was in the div. I find, however, when there is a
lot of text/material in the div the action takes longer to complete.

Is there a 'proper' way to do this that is more efficient?

I'm running Ruby version 1.9.1, Rails version 2.3.2 on a i386-
darwin9.6.0 platform (mac os X)

best
-Kaushik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to