On Mar 21, 2008, at 11:24 AM, fredistic wrote:>
> In other words, is there some way to get Ajax to push an image?
>
> Is there some reason this just can''t work? Or does it work
already
> and my eyes skipped over it?
>
> It would be nice, sometimes, to have RMagick or whatever generate an
> image on the fly and then write it to a part of the page. Think
> graphs based on database info. And so on.
>
> Hmmm. I just thought of rendering a partial with a generated image
> tag. I guess an image could be given a temporary URL. I''d prefer
to
> write it directly from memory, though.
>
> F
Perhaps send_file or send_data will satisfy you.
-Rob
Rob Biedenharn http://agileconsultingllc.com
Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---