similar to: Newbie question-----Downloading a file and sending it to DB

Displaying 20 results from an estimated 1100 matches similar to: "Newbie question-----Downloading a file and sending it to DB"

2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
Hi everybody, Ruby on Rails is my first programming lenguage...it looks to me like i''m missing the big picture. I''m trying to upload a file into a database. In my app. my user needs to select a file and upload it...however I only want him to upload certain information from that file. I have written code to parse only string tables from that file. For example, the table
2006 Jul 25
1
newbie--how do i load a parsed file?
Hello there, I''m new with ruby on rails and i don''t know how to load up a parsed file into my database. I have my ruby script that parses it but don''t know where to put my code, or how to combine it with view/model/controller. this is what i have: class Description < ActiveRecord::Base def import_strings(a_file) table = { }
2006 Jul 24
2
Newbie error message!
hello you all, I''m new with Ruby on Rails. I''m developing an application. I got the follwoign erro, can anybody give a hand? ArgumentError in AdminController#import_strings wrong number of arguments (0 for 1) RAILS_ROOT: ./script/../config/.. Request Parameters: {"commit"=>"Import",
2010 Nov 11
4
[PATCH]: An implementation of HyperV KVP functionality
I am enclosing a patch that implements the KVP (Key Value Pair) functionality for Linux guests on HyperV. This functionality allows Microsoft Management stack to query information from the guest. This functionality is implemented in two parts: (a) A kernel component that communicates with the host and (b) A user level daemon that implements data gathering. The attached patch (kvp.patch) implements
2010 Nov 11
4
[PATCH]: An implementation of HyperV KVP functionality
I am enclosing a patch that implements the KVP (Key Value Pair) functionality for Linux guests on HyperV. This functionality allows Microsoft Management stack to query information from the guest. This functionality is implemented in two parts: (a) A kernel component that communicates with the host and (b) A user level daemon that implements data gathering. The attached patch (kvp.patch) implements
2010 Nov 22
1
[PATCH 3/3]: An implementation of HyperV KVP functionality
An implementation of key/value pair feature (KVP) for Linux on HyperV. In this version of the patch I have addressed all the comments I have received to date. I have also included the code for the user-level daemon here for your reference. Signed-off-by: K. Y. Srinivasan <ksrinivasan at novell.com> -------------- next part -------------- An embedded and charset-unspecified text was
2010 Nov 22
1
[PATCH 3/3]: An implementation of HyperV KVP functionality
An implementation of key/value pair feature (KVP) for Linux on HyperV. In this version of the patch I have addressed all the comments I have received to date. I have also included the code for the user-level daemon here for your reference. Signed-off-by: K. Y. Srinivasan <ksrinivasan at novell.com> -------------- next part -------------- An embedded and charset-unspecified text was
2006 Jul 17
6
taking input
Hi everybody, I''m pretty new with Ruby on Rails and I was hoping someone could help me out. I''m trying to take in data from a file and add it to my existing database. what I''m thinking is that I have to create a class that reads the data and copies it. I''m not sure how I will input the data into my database. I''m not sure if this approach is the
2010 Dec 08
1
[PATCH 1/4] Add a connector Index to support HyperV KVP functionality
[This email is either empty or too large to be displayed at this time]
2010 Dec 08
1
[PATCH 1/4] Add a connector Index to support HyperV KVP functionality
[This email is either empty or too large to be displayed at this time]
2006 Jul 21
2
is there a debugger for Ruby?
Hi there, I''m trying out Ruby on Rails for the first time. I want to know if there is a good debugger for it. Does anybody know of one? Thanks -- Posted via http://www.ruby-forum.com/.
2010 Nov 22
2
[PATCH 1/3]: An implementation of HyperV KVP functionality
From: K. Y. Srinivasan <ksrinivasan at novell.com> Subject: Reserve a connector index for implementing HyperV Key Value Pair (KVP) functionality. Signed-off-by: K. Y. Srinivasan <ksrinivasan at novell.com> Index: linux.trees.git/include/linux/connector.h =================================================================== --- linux.trees.git.orig/include/linux/connector.h 2010-11-15
2010 Nov 22
2
[PATCH 1/3]: An implementation of HyperV KVP functionality
From: K. Y. Srinivasan <ksrinivasan at novell.com> Subject: Reserve a connector index for implementing HyperV Key Value Pair (KVP) functionality. Signed-off-by: K. Y. Srinivasan <ksrinivasan at novell.com> Index: linux.trees.git/include/linux/connector.h =================================================================== --- linux.trees.git.orig/include/linux/connector.h 2010-11-15
2007 Nov 08
5
mdb ::memstat including zfs buffer details?
Hey all - Just a quick one... Is there any plan to update the mdb ::memstat dcmd to present ZFS buffers as part of the summary? At present, we get something like: > ::memstat Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 28859 112 13% Anon 34230
2017 Sep 28
1
rename multiple files by file.rename or other functions
Hi John, Thanks to Jim for pointing out the file.rename() function. You can try this: # define the filename templates strIn <- "XYZW--Genesis_ABC.mp3" strOut <- "01Gen--.mp3" # create the strings "01", "02", ..., "50" v <- sapply(1:50, function(i) sprintf("%02d",i) ) # perform all the file renames for ( s in v ) {
2010 Dec 08
1
[PATCH 3/4] An Implementation of KVP functionality
[This email is either empty or too large to be displayed at this time]
2010 Dec 08
1
[PATCH 3/4] An Implementation of KVP functionality
[This email is either empty or too large to be displayed at this time]
2010 Dec 08
1
[PATCH 4/4] A daemon to gather guest specific information for KVP
[This email is either empty or too large to be displayed at this time]
2010 Dec 08
1
[PATCH 4/4] A daemon to gather guest specific information for KVP
[This email is either empty or too large to be displayed at this time]
2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so: class Parser table = { } IO.foreach(''Localizable.strings'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 end } end I want to store the key-values in different colums on my database so that when I enter a key, it gives me the corresponding value...how