similar to: Problem concerning CSV Mime Type

Displaying 20 results from an estimated 2000 matches similar to: "Problem concerning CSV Mime Type"

2006 Apr 03
1
attribute select problem
Hi, I''m searching a metod to do a selection suck as: Select attribute1,attribute2 from table where conditions I know that the "find()" and "find_by_sql" methods takes all the attribute...But i want only attribute1 and attribute2...Can someone tell me if there''s a method that give me this opportunity? Thanks,Ivan. -- Posted via
2011 Oct 11
1
plots of correlation matrices
Hi, I want to do a visualisation of a matrix plot made up of several plots of correlation matrices (using corrplot()). My data is in csv format. Here's an example: id,category,attribute1,attribute2,attribute3,attribute4 661,SCHS,43.2,0,56.5,1 12202,SCHS,161.7,5.7,155,16 1182,SCHS,21.4,0,29,0 1356,SSS, 8.8182,0.1818,10.6667,0.6667 1864,SCHS,443.7273,9.9091,537,46 12360,SOA,6.6364,0,10,0
2012 Apr 23
1
Add attributes to igraph vector by name, not index
Hi, So I've been figuring out how to use igraph in R and like it for it's speed and simplicity. Now I have a graph built from an edgelist where vectors have a $name attribute. I have another dataframe with attributes tied to a vector ID, which is the same as the $name attribute of vectors represented in the graph. How can I iterate over the graph by V(g)$name and do
2007 Oct 18
2
Remember me functionality
Hi all, I am trying to implement the functionality of Remember Me. The requirement is that once the user closes the browser after checking the remember me check box, it should return to the login page with username and password fields to be filled into the text boxes and the checkbox button checked, so that there is no need to fill all the fields. I am not able to fill the text boxes with user
2009 Jan 14
1
setting header in views?
currently iam using FasterCSV to render csv pages format.csv do csv_string = FasterCSV.generate do |csv| # header row csv << @query_result[0].keys @query_result.each do |x| csv << x.values end end #send it to the browser send_data csv_string, :type => ''text/csv;
2007 Jan 28
2
Views just returns #
hi im new to ruby on rails, and I have a stupid little problem, when i do <%= Class1.find(:first) %> in a view file, it just shows "#" on the website :( how do make it the value in the mySQL table? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users select associated objects. In the form I''m working on, the object "belongs_to" another type of object which is selected from a popup menu. The id of the chosen object(s) for association is passed back in the parameter hash, but when rails creates a new object from this parameter hash, I get a
2009 Mar 05
1
Chunk of text won't show up when compiling Rd file
Greetings - I am trying to document the "value" section of a function. The function returns a list, but the list itself also has attributes. I would like to itemize the list entries, and itemize the attributes, but in between I would like to have a sentence or two about the attributes in general. However, for some reason this intermediate sentence won't show up in the compiled
2009 May 07
1
Paperclip: strange mime type on windows
When i upload a pdf, validations doesn''t work, only images validation works. Avoiding check, file was loaded but with this content type: file_content_type: "binary/octet-stream" How can i solve? I''d like to have "application/pdf" -- Posted via http://www.ruby-forum.com/.
2010 Jun 30
0
FYI: a short guide to libvirt & network filtering iptables/ebtables use
I just wrote this to assist some Red Hat folks understanding what libvirt does with iptables, and thought it is useful info for the whole libvirt community. When I have time I'll adjust this content so that it can fit into the website in relevant pages/places. Firewall / network filtering in libvirt ======================================= There are three pieces of libvirt
2008 Feb 11
0
send_data problem
Hi! Following call for sending data does not sets the HTTP Content-Type header under Rails 2.02: send_data(csv_string,:filename => @entity.name+".csv", :type => ''text/ csv; charset=UTF-8'') Can anyone help why its happening? Regards, Mohsin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 Jun 08
0
custom mime types for respond_to
Is there a way to add a mime type of my own to respond_to ? There''s html, xml, js, ical etc ... But I want to be able to respond_to Excel. Excel has the following content-type header: application/vnd.ms-excel I want to use the new ?format=xml querystring parameters that respond_to can respond to. So I want to pass in ?format=xsl or ?format=ms-excel so that I can return my results
2007 Sep 01
0
Problem with custom Mime::Type.register.
Hello all, I''m running into a slight problem with Rails and the respond_to function in controllers. I''ve registered a custom Mime::Type of application/x-amf :amf (Mime::Type.register "application/x-amf", :amf). The problem I''m having is that the respond_to function never responds to the application/x-amf content-type. I think I''ve narrowed it down to
2009 Dec 16
1
php and mime type
Hi list, I'm hoping to find a way via php, preferably without using exec() or system(), to reliably identify an ogg vorbis file via php. Using $fi = new finfo(FILEINFO_MIME); $mime_type = $fi->buffer(file_get_contents($upload)); results in 'application/ogg' My site accepts vouchers for herpetology records, but only image and audio. I do not wish to support video vouchers, but
2008 May 21
1
Callback method for field
Is there callback method for field level? Generally, after_create and after_save will fire at object level. I need to fire some code when the value for the field is changed. I need to call the call back method from observer -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
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
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
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,
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
2015 Apr 23
0
semi-OT: t-bird mime type on .pdf attachment is wrong
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, and > I've been googling, and not