I’m definitely a newbie on rails here. My very first attempt has gone
well up until this point, but for some reason, when I try to do a render
partial, I’m getting a full screen refresh.
I did a render partial just fine from an rhtml file. This problem is
specifically when calling render :partial => “my_partial” from the
controller’s .rb code. It’s just really one line that is not doing what
it’s supposed to…
render :partial => "my_partial_file"
It is indeed finding the file (_my_partial_file.rhtml) and rendering it,
but it is not doing it as a partial. It is refreshing the screen and
rendering this partial file without any of the original page goodies.
A friend of mine is trying to get me to use the scriptaculous
visual_effect stuff to do this, and I probably will, but first I would
like to understand what’s going on with a simple render :partial.