similar to: Paperclip: strange mime type on windows

Displaying 20 results from an estimated 10000 matches similar to: "Paperclip: strange mime type on windows"

2008 May 15
8
facebooker, respond_to and firefox 3 beta5/pre
Hi there, I have a controller that responds to fbml and html, with html at the top. In all browsers, this works as expected - When I''m hitting the controller from my normal app, I get html. When I hit it inside facebook, I get fbml. However, with Firefox 3 hitting the normal app, I''m getting fbml for some odd reason. Am I crazy? Sudara
2009 Jun 17
1
File UPLOAD and put it on a DB BLOB
@contact = Contact.new @contact.file_file_name=params[:contact][:file].original_filename @contact.file_content_type=params[:contact][:file].content_type.chomp @contact.file=params[:contact][:file].read @contact.save the first two elements work, @contact.file=params[:contact][:file].read results empty, can you say me where I am wrong. Sergio
2007 Sep 19
4
Ticket #190 (friendlier way to add / register a mime type)
Following up on #190 [1], I''ve just added a simple patch that allows the manipulation of the TYPES hash from within the Merb module. Use like: Merb.add_mime_type(:png,%w[image/png]) Merb.remove_mime_type(:png) It specifically disallows the removal of the :all MimeType, since content negotiation relies on it. I''m not super wonderful at API design, so comments and
2009 Aug 17
0
Paperclip: processor proc not firing
Hi It''s extremely rare that I have to post something on the Rails list, but this is one of those times that I''ve been completely stuck for countless hours. Environment: Rails 2.3.3 I''ve implemented a custom processor proc for video thumbnailing with Paperclip (latest trunk version as git submodule, and yes, it''s updated) using the instructions posted
2007 Feb 26
2
Problem concerning CSV Mime Type
Hello, I have an application that should be able to export a list of users as CSV. So I put Mime::Type.register "text/csv", :csv into my environment.rb, and added this code to my UserController''s index action: format.csv do require ''csv'' CSV::Writer.generate(csv_string = "", '','') do |csv| csv
2005 Nov 03
4
shared-mime-info (PR#8278)
Full_Name: Vaidotas Zemlys Version: 2.1.1 OS: Ubuntu 05.10 Submission from: (NULL) (213.197.173.50) Hi, This is really a feature request, not a bug. I wrote the mail to R-devel, but nobody answered it. I use Gnome on my computer and sometimes I use its default text editor gedit. It uses gtksourceview library for syntax highlighting. I decided that it would be nice if gedit supported R
2008 Sep 02
4
Attachment_fu, Paperclip, & S3
For various reasons, I made a git branch and installed Paperclip in place of attachment_fu. Paperclip works great except that images seem to have lost some quality; edges have gone a little too jaggy to be able to drop attachment_fu just yet. After a post on the Paperclip Google Group, someone suggested the :convert_options could be passed additional attributes, like ''quality'',
2009 Aug 31
1
Paperclip gives an strange error message
I installed my railsapp on my server and now i get a strange error when i tried to upload a photo. On my macbook it works well but on the server i got next error when i create a new post Photo /tmp/stream.22042.1 is not recognized by the ''identify'' command. Photo /tmp/stream.22042.1 is not recognized by the ''identify'' command. The message came as an error
2011 Feb 27
1
Carrierwave vs paperclip vs attachment_fu ??
I need to upload not only images but also other files(excel, pdf''s), I would like to setup custom validations for the specific file uploaded(size, format) and I am using rails 3 Any recommendations would be greatly appreciated. Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2007 Mar 04
23
Sound support for script.aculo.us
Hi all, I''ve added a new library called sound.js to script.aculo.us, which allows for playing (mp3-based) sound effects. It works without using Flash, by using IE''s internal sound playback mechanism (BGSOUND) and falling back on using whatever plugin is used for audio/mpeg on other browsers (in real world terms, this means QuickTime or a QuickTime- compatible plugin).
2005 Feb 20
1
Re: Ring/Off-hook in strange state 6 on channel...
Hello Eric, call progress detection is the problem. Asterisk mistakenly recognizes the call to be answered and then still "hears" the ringing that should not be there if the line was really up. To solve the problem you would have to either implement a progress detection matching your country's indication tones or at least adjust the existing one for US or Costa Rica in dsp.c. By
2008 Apr 25
1
attachment_fu and mime type issues
Hi All, I am having a problem with the attachment_fu plugin and flac audio files. In the dev environment, using mongrel, the form upload object does not seem to have any associated content_type. I get the following attachment_fu validation error: "Content type can''t be blank". I don''t understand why the file_data would not have any content_type. Doesn''t rails
2008 May 09
1
FLAC__metadata_get_picture()
Hi all! I have a problem to get _all_ images from flac file. I have flac file with 3 images inside ( FLAC__METADATA_TYPE_PICTURE ) How to get _all_ images with bool FLAC::Metadata::get_picture() func? This function is wrapper FLAC__bool FLAC__metadata_get_picture(). flac-1.2.1/src/libFLAC/metadata_iterators.c: ... 285 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename,
2015 Apr 22
2
semi-OT: t-bird mime type on .pdf attachment is wrong
I was sending my manager a copy of a form, and attached it (not inline), using -t-bird, and he complains it didn't want to open. Looking at the message source, t-bird had decided that the mime type was all/allfiles, though the name ended in .pdf. I've searched via the config editor, and I've been googling, and not finding anything. (I just *adore* the current google: I have
2008 Jun 09
10
Testing file attachment with Paperclip
Does someone have an example on faking a file upload for just ensuring it gets called, without actually uploading the file to s3. I thought that stubbing Model.has_attached_file would be enough, but it doesn''t seem so ... This is what I did: Video.stub!( :has_attached_file ).with( :name ).and_return( true ) has_attached_file is from paperclip, it gets mixed to the model. 1)
2009 Apr 03
7
RJS not rendering correctly when mime-type is 'iphone'
I have an iPhone version of my site, and for some reason none of the rjs works when viewing the iPhone version. This happens instead: ActionView::MissingTemplate (Missing template controller_name/ update.erb in view path app/views) The rjs works fine when viewing the site normally, and it worked when viewing the iPhone version prior to upgrading Rails to 2.3.2. Additional info: I have
2009 Jul 28
1
[PAPERCLIP] How to avoid image crop in paperclip styles
Hello All, I am using rails paperclip plugin for image upload. my image has different styles and the original image gets cropped while processing styled image. I dont want image to be cropped. Is there any way ???????? Thanks, Sandip R~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there: Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all, I had some specs that were using fixture_file_upload that were passing just fine. Then I froze edge rails to get some 2.0 functionality, then a I upgraded to trunk rspec to deal with uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper After a couple other of tribulations, I have now gotten down to just a couple of not passing specs, all using the fixture_file_upload.
2015 Apr 23
1
semi-OT: t-bird mime type on .pdf attachment is wrong
Tris Hoar wrote: > On 22/04/2015 19:25, m.roth at 5-cent.us wrote: >> I was sending my manager a copy of a form, and attached it (not inline), >> using -t-bird, and he complains it didn't want to open. Looking at the >> message source, t-bird had decided that the mime type was all/allfiles, >> though the name ended in .pdf. I've searched via the config editor,