My inderstand is that when a partial is re-rendered, it is also re- executed. So, if I have a select in a partial, say,
select("channelnotes", "channelnotes", Channelnote.find(:all, :order => 'tstamp DESC', :limit =>3, :conditions => ["deleted=0"]).collect {| p> [ p.note, p.note]}, { :include_blank => true , :selected=>0, :value=>""}
That when this partial is re-rendered, the data that populates it will be pulled from the database anew.
But that is not happening, and I suspect it is a caching issue (either on the clilent, or maybe even on the server). Can anyone here confirm this? Does anyone know anything about caching in Rails, and, if possible, ways to turn it off so that things really DO get re- rendered? Thanks, Rvince