First  |  Prev |  Next  |  Last
Pages: 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
[ANN] mms2r 3.0.0 Released
mms2r version 3.0.0 has been released! * <http://mms2r.rubyforge.org/> * <by Mike Mondragon> * <http://github.com/monde/mms2r> * <http://github.com/monde/mms2r/issues> * <http://peepcode.com/products/mms2r-pdf> ## DESCRIPTION MMS2R is a library that decodes the parts of an MMS message to disk while stripp... 26 Feb 2010 14:11
Problem building ruby from source on FreeBSD 8.0
Haldo! I am having a problem building ruby 1.9 on my FreeBSD box. make keeps telling me "executable host ruby is required, use --with-baseruby option" I haven't put ruby on this system yet, so I don't get why it doesn't know that ruby isn't there. Thanks! gb hoyt ... 28 Feb 2010 23:21
Execute a stub written in plsql
Hello All, how can I use ruby to execute a block of plsql code? The sql that I'm trying to execute is inside a .sql file here is what I've tried so far and it does not work. What is the right way to get this working so that I can capture the dbms output to a variable? require "rubygems" require "ruby-plsql" ... 26 Feb 2010 11:53
Installing Pg gem for PostGreSQL 8.4
Hi All, I want to save data from a ruby script into a table in a PostGreSQL 8.4 database. After looking into PostGreSQL connectivity in Ruby, I have come accross the 'pg' gem. I attempted to install the gem with the command: 'sudo gem install pg' but got the following error: sudo gem install pg Building n... 5 Mar 2010 05:02
Counting a string
Hi I want to „count“ a string. I don't know, how to express it better, because of that I'll try to explain it. I have a string, say 'a'. Now I want to increase it, so it would be 'b'. I increase it again, it would be 'c' and so on. Is there a method for this task? -- Gruß, Benedikt ... 26 Feb 2010 10:44
Class Function call vs Normal Function call
I am creating zip file using ruby zip there are two versions of creating the zip file 1st version part of class and in 2nd version running it alone. The kmz file created with 1st version doesn't contain complete text of LOC_0.kml Whereas the 2nd version does contain the complete file contents.. I.e. if LOC_0.kml ... 27 Feb 2010 02:21
class ExistingName
> You could place it inside a module: Thanks that helped. -- Posted via http://www.ruby-forum.com/. ... 25 Feb 2010 19:22
Making a VALUE visible to multiple source files
Hi, I'm having some trouble pre-declaring some VALUE's. I've got a VALUE cFoo I want to be visible to multiple source files. Say the layout is something like this: foo/ext/stuff/extconf.rb foo/ext/stuff/foo.c foo/ext/stuff/bar.c foo/ext/stuff/baz.h foo/ext/stuff/stuff.c I want to define all the class VAL... 25 Feb 2010 17:05
Array index question
Question about an array. Say I have the following array... textlist = ["Apple", "Orange", "Lemon", "Grape", "Orange", "Melon", "Orange", "Banana"] if I did textlist.index("Orage"), I would get "1" returned. Can anyone tell me how I could retrieve the index number of the 2nd instance of "Orange"? Thanks in... 28 Feb 2010 02:23
Error on iterating through a set of nested tables in a form
I am trying to run the code below on a nested table that is embedded in a form, but I keep getting the error: Undefined method: table for NIL class when I try to iterate through this table. is there anything that I am missing here. Should I have accessed the tables in the context of the forms? ... 25 Feb 2010 11:23
First  |  Prev |  Next  |  Last
Pages: 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165