Displaying 2 results from an estimated 2 matches for "picture_content_typ".
Did you mean:
picture_content_type
2011 Sep 25
0
paperclip content_type error
Hi all,
I am using rails 3.1 with paperclip. when I try to upload a picture of
type ''jpeg''. picture_content_type value not a image/jpeg. It is storing
some Xadsfdsfdasfc value. I dont get the problem. can you help me.
thanks,
Aashish
--
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 thi...
2008 Jan 03
1
Mongrel stops to loading the page in browser
...</tr>
</table></td>
</tr>
</table>
<br>
<% end %>
show_picture_of_partner:
def show_picture_of_partner
partner = Partner.find(params[:id])
send_data(partner.picture_data, :type =>
partner.picture_content_type, :filename => partner.picture_name,
:dispositon => ''inline'')
end
Can anybody tell me what the problem could be? Or what to do better to
get around this problem?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.