Hi.
with an RJS, if you have just a one liner, instead of making an rjs page
for it, you’d do render :update do |page|…
but what about rhtml pages? I just have a dinky <%= render :partial =>
%> in there…
Hi.
with an RJS, if you have just a one liner, instead of making an rjs page
for it, you’d do render :update do |page|…
but what about rhtml pages? I just have a dinky <%= render :partial =>
%> in there…
Just use something like …
render (:inline => %{
Bill S.
On Feb 14, 2:38 pm, Dominic S. [email protected]
Dominic S. wrote:
Hi.
with an RJS, if you have just a one liner, instead of making an rjs page
for it, you’d do render :update do |page|…but what about rhtml pages? I just have a dinky <%= render :partial =>
%> in there…
Have you tried using
render :partial => “somepartial”
in your action? I think that’ll do it.
-Bryan
Hey guys, you were both right. i just forgot the silly :layout=> true at
the end…
thanks
Bryan D. wrote:
Dominic S. wrote:
Hi.
with an RJS, if you have just a one liner, instead of making an rjs page
for it, you’d do render :update do |page|…but what about rhtml pages? I just have a dinky <%= render :partial =>
%> in there…Have you tried using
render :partial => “somepartial”
in your action? I think that’ll do it.
-Bryan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs