search for: to_csv

Displaying 10 results from an estimated 10 matches for "to_csv".

2007 Oct 16
11
how to arrange the field in excel by using to_csv
Hi all, i am exporting the file by using to_csv, but its coming as unordered rather than my expected output, if i check in the database, its working fine, but in the excel sheet it shows in the unordered,so please let me knoe, how to show orderly in the excel sheet by using to_csv. @report_data=EdiaUserContact.find_by_sql( "SELECT '&...
2007 Sep 10
0
to_csv svn is not working
Hi, I am trying to install the to_csv plugin by using this http://svn.integralserver.com/plugins/to_csv path. but this svn is not working, is there any other alternative svn is there, if its please let me know as soon as possible. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You rec...
2007 Oct 11
0
display problem with to_csv
...es c WHERE m.id=''#{session[:member_id]}'' and user_member_id in (select partner_id from edia_member_partners where company_id = ''#{session[:member_id]}'') and c.id=`address_country`") respond_to do |wants| wants.csv do render :text => @report_data.to_csv response.headers[''Content-Type''] = ''text/csv; charset=iso-8859-1; header=present'' response.headers[''Content-Disposition''] = "attachment; filename=contacts.csv" end end `````````````````````````````````````````````` expected...
2007 Jan 16
2
RESTful routes and Mime::Type
Hi all I''m using RESTful routes combined with the to_csv plugin and would like to know if there''s a nicer way of generating a link to fetch the CSV file than just making a hard link. This is what I use for the moment (and it works btw): <%= link_to("Export as CSV","/companies.csv") -%> I would expect the link he...
2006 Jul 31
3
Simply_RESTful and Bulk Import URLs
Hi, I have a people controller, and want to import bulk import multiple people from a CSV file. In my routes.rb file I have: map.resource :person Now, it''s a little unclear to me how to further configure the routes to allow me to add the following URLs: I need a URL to choose a file to upload, so I need an HTML ''frontend'' for it, so I figured the following URL
2008 Oct 07
6
Hpricot loop question to read table row values
Hi. I''ve got a file that contains a table that looks like this: <table> <tr><td>column title a</td><td>column title b</td></tr> <tr><td>row 1 a</td><td>row 1 b</td></tr> <tr><td>row 2 a</td><td>row 2 b</td></tr> <tr><td>row 3 a</td><td>row 3
2007 Apr 19
0
scRUBYt! 0.2.8
...== [NEW] download pattern: download the file pointed to by the parent pattern [NEW] checking checkboxes [NEW] basic authentication support [NEW] default values for missing elements (basic version) [NEW] possibility to resolve relative paths against a custom url [NEW] first simple version of to_csv and to_hash [NEW] complete rewrite of the exporting system (Credit: Neelance) [NEW] first version of smart regular expressions: they are constructed from examples, just as regular expressions (Credit: Neelance) [NEW] Possibility to click the n-th link [FIX] Clicking on links using scRUBYt...
2011 Jul 22
3
ANNOUNCE: Puppet Dashboard 1.2rc3 available
...monkeypatch. 0312ea2 (#7007) Stream node CSV download 87b3e91 (#7007) Add a link to the home page to download nodes in CSV 1af5e86 (#7007) Add support for CSV to nodes index 2829a8b (#7007) Add custom CSV output for nodes with resources 11aa643 (#7007) Use a custom property list for ResourceStatus.to_csv fc0fe85 (#7007) Add support for CSV output d2184e4 (#7537) Use #titleize for report tab names. 12b035d (#7537) Add reasonable defaults for report tab names. b230077 (#7560) Clean up the Dashboard index for 0 nodes. 6fe8513 (#6991) Add the Node Status summary graph. 8e70035 (#6991) Massage Node name...
2011 Aug 06
0
Announce: Dashboard 1.2rc6 available
...monkeypatch. 0312ea2 (#7007) Stream node CSV download 87b3e91 (#7007) Add a link to the home page to download nodes in CSV 1af5e86 (#7007) Add support for CSV to nodes index 2829a8b (#7007) Add custom CSV output for nodes with resources 11aa643 (#7007) Use a custom property list for ResourceStatus.to_csv fc0fe85 (#7007) Add support for CSV output d2184e4 (#7537) Use #titleize for report tab names. 12b035d (#7537) Add reasonable defaults for report tab names. b230077 (#7560) Clean up the Dashboard index for 0 nodes. 6fe8513 (#6991) Add the Node Status summary graph. 8e70035 (#6991) Massage Node name...
2007 Jan 04
5
Mashup Tutorial
Hi: I am looking for a good hands on web mashup tutorial? or books for that matter.. Google gives me bits and pieces of the info but not any step by step or hands on tutorial.. Thanks a bundle -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"