I’m trying to get my “in place editor” controls working again after
moving up to Rails 2.1. I got the authenticity token working and
everything is fine except the render. Maybe I never did it right in the
first place.
I do:
resond_to do |format|
format.html { render :text => new_text }
end
This is what the “Rails Book” (Dave T. and DHH) says to reply with
but it might be out of date by now.
I am now getting the whole layout sent back.
I don’t really want to do “render :update” because this piece of code
works with lots of controls and I’d have to figure out which control to
update or replace.
Any ideas?
Thanks,