Guys,
Sorry for the rush mail but here ir goes:
send_data (File.new("public/images/royal_palace.JPG").read,
:filename => ''test.jpg'',
:type => "image/jpeg",
:disposition => "inline" )
The above piece of code doesn''t work... really can''t tell why.
It just shows
me my action name in the page:
http://localhost:3004/image/show_image
Any ideas?
Thanks very much,
Leo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---