Hello,
I have seen examples for attachment using action mailer in rails.
They all say that you need to mention the content type of the file type
attached and in the exmaple they give the content type explicitly(i.e
static in code).
What i need is how can i find the content/type of the file dynamically.
This is because i wont come to know which file the user will be
attaching..
The other problem is that if you clicked on the attachment browse button
and have attached a file by mistake there is no way to deattach the
file. SO the install.log has now been attached throgh my post by mistake
but i cannot remove it.
Please help
Thank you.
Attachments:
http://www.ruby-forum.com/attachment/2122/install.log
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---