Re: RJS from .rjs stopped working, inline :update still works

skwp
Sun, 17 Jun 2007 23:56:02 -0000

By the way, the following works:

    rjs = render_to_string :action => ''my_action''
    render :update do |page|
      page<<rjs
    end

So basically rendering the .rjs file to a string and then manually
doing an inline rjs update works, but this fails:

render :action => ''my_action''

where my_action.rjs does stuff...


--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---