[#332643] Shoes 'method_missing' error — Vince Vince <agnanov@...>
Hello all !
[#332650] how to do coding to check mail delivered or not — Anshali Dhande <anshali@...>
Hi All,
[#332653] Anything better than klass = eval("#{task_class}") — Paganoni <noway@...>
Hi, well subject is self explanatory...
On Wed, Apr 1, 2009 at 9:14 AM, Paganoni <noway@fakenullvoid.com> wrote:
On Apr 1, 2009, at 9:32 AM, Gregory Brown wrote:
On Wed, Apr 1, 2009 at 10:47 AM, Rob Biedenharn
[#332681] BInary Files — Gene Vincent <gene@...>
Hi I'm pretty new to Ruby and writing code in general. That being said
[#332689] Ruby script to rebuild a directory structure — Emmek On rails <emmek@...2.pl>
I have the following problem to solve.
[#332693] Incrementing field through a link — Taneal Bhandari <tanealbhandari@...>
I'm still new to Ruby, so am having issues even beginning to deal with
[#332705] official poll - unit testing — john maclean <jayeola@...>
Hello,
[#332719] Nilling for GC — Paganoni <noway@...>
Hi, I've read that
On 2 Apr 2009, at 08:19, Paganoni wrote:
le 02/04/2009 10:27, Eleanor McHugh nous a dit:
[#332738] String#capitalize more complex — Iñaki Baz Castillo <ibc@...>
Hi, I receive headers (the protocol syntax allows them being lowcase,
[#332747] Ritex 0.2 released: Latex -> MathML converter — William Morgan <wmorgan-ruby-talk@...>
It's been almost four years since the last release, but I dusted off
William Morgan wrote:
Reformatted excerpts from Joel VanderWerf's message of 2009-04-02:
William Morgan wrote:
[#332748] rb_thread_blocking_region documentation? — Praveen <praveendevarao@...>
Hi,
[#332751] RubyScript2Exe — Charlie Openshaw <charlieopenshaw@...>
Hi,
On Thu, Apr 2, 2009 at 4:49 PM, Charlie Openshaw
[#332755] An array problem — George George <george.githinji@...>
Hi
2009/4/2 George George <george.githinji@gmail.com>:
[#332779] hash with files — Derek Smith <derekbellnersmith@...>
Hello all,
[#332787] Class in a Class problem — denize.paul@...
My intent is to create a class that has access to call a method in an
[#332795] ri is suddenly empty — Fernando Perez <pedrolito@...>
Hi,
[#332808] rdoc question: C v Ruby — "Sven C. Koehler" <schween@...>
Hello,
[#332821] annoyance with gems and zlib — Vincent Ds <thespobo@...>
Hi ... i've been trying to get rails up and running on my system. I run
[#332823] (Ruby 1.9.1) error: ‘struct RString’ has no member named ‘ptr’ — Iñaki Baz Castillo <ibc@...>
Hi, trying to compile a C extension I get this error in Ruby 1.9.1:
[#332827] Add a method as C extension to a class defined in Ruby — Iñaki Baz Castillo <ibc@...>
Hi, in case I want to add a method (using C) for a class I've created
[#332830] Can't find table with ActiveRecord in different thread. — Juan Zanos <juan_zanos@...>
Hi, I'm not sure if this is a ruby question or a rails question. If
On Friday 03 April 2009 11:05:21 Juan Zanos wrote:
[#332836] Problem with String encoding when modifying it in C method — Iñaki Baz Castillo <ibc@...>
Hi, I've added a method "multi_capitalize" to String class. This
On Sat, 2009-04-04 at 01:39 +0900, I単aki Baz Castillo wrote:
[#332845] how to substitute group of words in a line with another text — Muralidharan Regupathy <mregupathy@...>
I am trying to create a routine which will convert text to SMS lingo
[#332860] Array#insert with negative index — matt@... (matt neuburg)
p [1,2,3].insert(-1, "howdy")
[#332861] Verify, a very basic testing tool. — Robert Dober <robert.dober@...>
Hi List
On Fri, Apr 3, 2009 at 10:56 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
Robert Dober wrote:
On Sun, Apr 5, 2009 at 8:11 AM, Charles Oliver Nutter
Sean O'Halpin wrote:
Thanks to Ryan I have changed #verify_not to #refute.
oops I forgot something important
Robert Dober wrote:
On Sat, Apr 4, 2009 at 1:14 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:
[#332869] Loading classes in order — Elias Orozco <elioncho@...>
Hello guys,
El Viernes 03 Abril 2009, Elias Orozco escribi坦:
I単aki Baz Castillo wrote:
El Viernes 03 Abril 2009, Elias Orozco escribi坦:
Hey Inaki thanks,
[#332878] "ñáéíóúàèìòù".upcase => " ñáéíóúàèìòù" ¿? — Iñaki Baz Castillo <ibc@...>
"ñáéíóúàèìòù".upcase
[#332902] Kill a process by name and PID - needs refinement — sanjayayogi <sanjaya.yogi@...>
#!/usr/bin/ruby -w
[#332907] Help! Window user needs help installing ruby 1.9 on mac — Zayd Connor <devrubygem@...>
I just purchased a new macbook pro and would like to install ruby 1.9,
Install macports. Then:
Ben Lovell wrote:
Great. You'll find macports pretty handy for installing many things.
Ben Lovell wrote:
[#332922] how come i cant grab all rss items from a feed — Adam Akhtar <adamtemporary@...>
When i try and access the bbc feed it will only return the latest 40
I'd suggest you check which headers your browser is sending. Particularly
hi ben, thanks for the reply. Im a bit confused though.
[#332928] darkfish-rdoc (1.1.5) not working with rdoc (2.4.3) — Iñaki Baz Castillo <ibc@...>
Hi, I can use darkfish (1.1.5) with rdoc (2.4.2) but get an error if I try to
[#332947] Using require, cant pass parameter.. — Tomas Na <krazz17@...>
I am very new to ruby and am trying to create a form using fxRuby. There
[#332956] zlib Deflate to java.util.zip inflate problem — Dom <dominant_seventh@...>
Hello, I'm a total ruby newbie and am developing a simple app that
[#332977] Function as Parameter? — Tomas Na <krazz17@...>
I am new to Ruby so I don't know a great deal about the language, but
[#332983] Ruby 1.9.1 - invalid multibyte escape: /[\xC0-\xDF]/ (RegexpError) — Iñaki Baz Castillo <ibc@...>
Hi, using TreeTop parser I had a grammar defined working in Ruby1.8 but it
2009/4/6 Eric Hodel <drbrain@segment7.net>:
2009/4/6 I単aki Baz Castillo <ibc@aliax.net>:
I単aki Baz Castillo wrote:
On Apr 6, 2009, at 9:36 AM, Brian Candler wrote:
[#332984] How to get "irb1.8" using Ruby1.8 instead of Ruby1.9.1 ? — Iñaki Baz Castillo <ibc@...>
Hi, in Debian I've ruby1.8 (/usr/bin/ruby1.8) and irb1.8 installed as DEB
What you are saying is very likely incorrect. You or someone else must
El Domingo 05 Abril 2009, Igor Pirnovar escribi坦:
On Sat, 04 Apr 2009 14:47:27 -0500, I単aki Baz Castillo wrote:
El Domingo 05 Abril 2009, Ken Bloom escribi坦:
On Sun, Apr 5, 2009 at 8:29 AM, Iki Baz Castillo <ibc@aliax.net> wrote:
[#332998] retrieve ruby script file name — Yuguri Azuma <ash.route@...>
Hello Group,
Yuguri Azuma wrote:
Thanks, Hugh.
[#333000] parsing a file's contents — Ant 23 <ahack70596@...>
Hello all, I'm relatively new to ruby and this forum so I'm not sure I'm
[#333003] Loquacious 1.0.0 — Tim Pease <tim.pease@...>
Loquacious version 1.0.0
[#333024] reek 1.0.0 released — Kevin Rutherford <kevin@...>
Hi,
[#333040] how to beat minimal wiki features out of redcloth? — Phlip <phlip2005@...>
Rubies:
[#333051] Localmemcache-0.2.1: The beauty of memcached. For local data. Blazingly fast. — "Sven C. Koehler" <schween@...>
Hi,
El Domingo 05 Abril 2009, Sven C. Koehler escribi
On Sun, Apr 05, 2009 at 09:48:26PM +0200, Iki Baz Castillo wrote:
[#333063] how to dynamically create search term for array.find_all — Adam Akhtar <adamtemporary@...>
i want to be able to create a mehtod that will filter results in an
Adam Akhtar wrote:
Thanks for your advice.
ahh robert, sorry i missed your reply there, i was looking at
On 06.04.2009 12:28, Adam Akhtar wrote:
On Mon, Apr 6, 2009 at 10:09 AM, Robert Klemme
On 06.04.2009 17:13, Rick DeNatale wrote:
Ahh sorry Robert re: eval - categories are only half of the problem. Im
[#333065] what's wrong with these? — Humphrey Alba <hpalba@...>
Version: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
[#333088] File copy — Tushar Gandhi <gandhi.tush@...>
Hi,
[#333110] Ruby 1.9.1 + Tk problem — Diego Virasoro <Diego.Virasoro@...>
Hello,
[#333111] Ruby/Tk refresh problem — Diego Virasoro <Diego.Virasoro@...>
Hello,
[#333112] A few confusing Hpricot outputs. Anyone had similar experience? — Wang Jian <jwang376@...>
## I wanted to work on something like the following example string
[#333117] Running ruby1.9 bytecode — James Coglan <jcoglan@...>
Hi all,
On Mon, Apr 6, 2009 at 2:48 PM, James Coglan <jcoglan@googlemail.com> wrote:
On Mon, Apr 6, 2009 at 3:27 PM, Robert Dober <robert.dober@gmail.com> wrote:
[#333119] Code duplication — Arun Kumar <arunkumar@...>
Hi all,
On 6 Apr 2009, at 14:50, Arun Kumar wrote:
[#333122] String.split crashes my program — Tomas Na <krazz17@...>
I am trying to split a string by spaces and then loop through each
[#333147] getting the results of a simple regex — Raimon Fs <coder@...>
Hello,
[#333154] Method missing and arrays as arguments.. — Kyle Schmitt <kyleaschmitt@...>
How do you go about passing arrays as arguments to something like
On Mon, Apr 6, 2009 at 5:00 PM, Gary Wright <gwtmp01@mac.com> wrote:
[#333167] class C < B < A — Iñaki Baz Castillo <ibc@...>
Hi, I have this case:
I単aki Baz Castillo wrote:
[#333181] Advice: XML vs. mySQL — David Autry <davidautry@...>
Hello,
[#333200] Downloading a file using ruby — Idealone Ideally <shekarls@...>
Hi All,
[#333206] regex select multiple words in the middle of a sentence — Raimon Fs <coder@...>
hello,
On Apr 7, 2:23m, Raimon Fs <co...@montx.com> wrote:
[#333221] Array question - How dynamic is dynamic? — Ruby Student <ruby.student@...>
Hello all you happy people!
[#333222] extremely hard to install rubygems on hpux — Jun Young Kim <jykim@...>
hi, all.
[#333229] barenames and case statements — Eric Will <rakaur@...>
I've encountered this in the past and thought I was messing something
Because the === operator of the Class class (used in case statements)
[#333231] How to remote connect to the SQL server 2005 when there is a ‘\’ in the SQL server name, such as 192.168.0.11\active? — Wesley Chen <cjq.999@...>
Hi, Guys,
(Disclaimer: It's a while since I did anything with SQL Server)
Hi, Sean,
On Wed, Apr 8, 2009 at 3:50 AM, Wesley Chen <cjq.999@gmail.com> wrote:
Hi, Sean,
On Wed, Apr 8, 2009 at 8:57 AM, Wesley Chen <cjq.999@gmail.com> wrote:
Hi, Sean,
Hi, Sean,
[#333253] Emit YAML without leading hyphens? — bwv549 <jtprince@...>
How to emit yaml without the leading hyphens?
> Can't speak for bwv549, but when I've wanted to do this in the past it's
[#333260] Beginner 'How-to' Question on getting Array info — Nouman Saleem <nouman6@...>
Hi,
Nouman Saleem wrote:
[#333266] to run window service using ruby — Newb Newb <revathy.p@...>
Hi...
Newb Newb wrote:
Phlip wrote:
[#333271] JRuby on Rails on Google App Engine — Ola Bini <ola.bini@...>
Hi friends,
[#333273] Ruby 1.9 still cannot list all files on Vista or XP? — SpringFlowers AutumnMoon <summercoolness@...>
I just tried using Ruby 1.9 and it seemed that it still cannot list all
Bill Kelly wrote:
On Apr 8, 7:59m, SpringFlowers AutumnMoon <summercooln...@gmail.com>
Bosko Ivanisevic wrote:
[#333291] How to find Operating system — Newb Newb <revathy.p@...>
Hi....
On Apr 8, 4:27m, Eleanor McHugh <elea...@games-with-brains.com>
On 8 Apr 2009, at 13:30, Mark S Bilk wrote:
Hi,
> Could anyone suggest an elegant way of doing something like:
I see I still have some way to go with ruby :) Nice! Can't believe how quick you knocked that up...
[#333298] what is happening here — George George <george.githinji@...>
i have some perl code
[#333319] Ruby editor for linux — Juan Zanos <juan_zanos@...>
Does anyone have any suggestions for a Ruby editor on Linux? I
Juan Zanos wrote:
On Apr 8, 8:17m, Michael Satterwhite <mich...@weblore.com> wrote:
I use bluefish since 4 years and although there are many features I
On Wed, Apr 8, 2009 at 4:01 PM, Juan Zanos <juan_zanos@talkhouse.com> wrote:
[#333322] ruby compactor/consolidator? — Kyle Schmitt <kyleaschmitt@...>
Is there a built-in or common way to consolidate a ruby project into one file?
[#333328] Calendar — Sushrut Sathe <sushruts.consistent@...>
what is sedu gem?
[#333363] bluecloth-2.0.0 released — Michael Granger <ged@...>
I tried to post this announcement twice yesterday, but both seem to
[#333368] Goodbye Ruby - Hello Earth — Christophe Mckeon <chromatophore@...>
Hello Fellow Humans,
Christophe Mckeon wrote:
On 8 Apr 2009, at 23:42, SpringFlowers AutumnMoon wrote:
On Thu, Apr 9, 2009 at 5:02 AM, Eleanor McHugh
Christophe Mckeon wrote:
Christophe Mckeon wrote:
Christophe Mckeon wrote:
The Higgs bozo wrote:
>> Am I the only one who, upon reading the subject line, thought that
Hi guys,
This is one of the funniest e-mails I've read on this list.
On Thu, Apr 9, 2009 at 5:15 PM, Christophe Mckeon
Christophe Mckeon wrote:
> Christophe Mckeon wrote:
On Sat, Apr 11, 2009 at 02:22:09AM +0900, Eleanor McHugh wrote:
On 11 Apr 2009, at 02:12, Chad Perrin wrote:
On Sat, Apr 11, 2009 at 10:44 AM, Eleanor McHugh
Robert, from where I'm sat the green movement desires to lock our
On Sun, Apr 12, 2009 at 12:53:07AM +0900, Robert Dober wrote:
On 12 Apr 2009, at 06:36, Chad Perrin wrote:
Eleanor McHugh wrote:
On Fri, Apr 17, 2009 at 05:58:21AM +0900, Tom Cloyd wrote:
On Thu, Apr 16, 2009 at 6:23 PM, Chad Perrin <perrin@apotheon.com> wrote:
Free market wants cheap transaction cost, which is partly information cost.
I honestly do not care about the market model. It is irrelevant(1),
No need to save the Planet. It should function well in the next 30-100
On 16 Apr 2009, at 21:58, Tom Cloyd wrote:
On 22 Apr 2009, at 17:34, Christophe Mckeon wrote:
You are not alone ;-)
hello again,
Christophe Mckeon wrote:
> .but lets suppose we start all over again, lets suppose we have all the
> And besides, who are we kidding thinking that the planet needs us?
People,
On 18 Apr 2009, at 06:10, Phlip wrote:
On Wed, Apr 22, 2009 at 3:03 PM, Eleanor McHugh
On 22 Apr 2009, at 15:06, Robert Dober wrote:
On Wed, Apr 22, 2009 at 6:59 PM, Eleanor McHugh
On 22 Apr 2009, at 18:31, Robert Dober wrote:
> Now, do I believe the earth's climate is changing? Absolutely. It has
Phlip wrote:
On 18 Apr 2009, at 23:58, Michael Satterwhite wrote:
"Eleanor McHugh" wrote:
> ok, lets look at history. history is positively strewn with the
[#333379] filelocking — Derek Smith <derekbellnersmith@...>
Hi All,
[#333390] Exit loop after checking for some time — Claire Hill <cartajo@...>
hi all, i'm really new to ruby and i need to do a script that will check
[#333392] A hopefully simple question — Chuft Captain <chuft@...>
Hello,
[#333408] Hash key : string or symbol!? — "Abir B." <abboura84@...>
Hello,
[#333414] Ruby & Watir — John John gouda <dominator_legand@...>
Hey guys,
You can define a test_helper.rb to have methods to do what you
Nigel Hennan wrote:
[#333438] Gnuplot zooming and grids — Rob Redmon <rob.webinator@...>
[#333451] Hash questions — Hunt Jon <jona.hunt777@...>
When I run:
Hunt Jon wrote:
[#333453] HTML equivalent to my link_to_remote statement — Taneal Bhandari <tanealbhandari@...>
I have the following link_to_remote statement that I need to convert
[#333479] Calling a Function Before It's Defined — Mark Bilk <mark@...>
I would like to be able to call a function (or a class,
[#333507] regex woes with breaklines — Aa Wilson <aawilso1@...>
Hello, all. I've been banging my head against this for a little bit,
[#333521] how do you manage your gems' gemspecs? — ghorner <gabriel.horner@...>
Hi,
[#333526] strange result from to_a — Paul Denize <paul.denize@...>
I had unexpected results and could not figure out why
[#333546] Python on LLVM — Daniel Berger <djberg96@...>
Python on LLVM. Thought it might be interesting to some folks here:
Daniel Berger wrote:
On Fri, Apr 10, 2009 at 12:28 PM, Roger Pack <rogerpack2005@gmail.com>wrote:
Tony Arcieri wrote:
Roger Pack wrote:
> Very true...we're happy to be posting 10-20% faster Rails numbers over
Hi
[#333547] Join strings — Fresh Mix <gigatavu@...>
What is the simples way to join strings?
[#333558] Float.finite ? — Aldric Giacomoni <"aldric[removeme]"@...>
How does one use .finite? effectively? I tried with (1.0/3).finite? => true...
[#333576] load testing tool - Please advise? — Mmcolli00 Mom <mmc_collins@...>
Will you point me in the right direction to which program will be good
I'd go straight for JMeter.
[#333607] a few thoughts for ruby... — Roger Pack <rogerpack2005@...>
Thought I'd pass these thoughts by the readers here before sending them
Roger Pack wrote:
On 11.04.2009 06:52, Roger Pack wrote:
>> 1) add an Object#in? method to complement the existing Array#include?
[#333619] Falcon - powering innovation — Kless <jonas.esp@...>
If anybody is interesed in new technologies, you'll love this new
[#333624] Can Ruby stay ahead ? — Suresh Kk <sureshkkgvr@...>
Will Ruby find it difficult to stay in the first 10 languages list
On Apr 12, 3:07m, David Masover <ni...@slaphack.com> wrote:
Suresh Kk wrote:
To be honest, I think the most important thing Rubyists could do to help
On Sat, Apr 11, 2009 at 13:14, Charles Oliver Nutter
On Saturday 11 April 2009 14:30:06 Marcelo wrote:
[#333641] Bad file descriptor error — Mwenge Mulenga <diskava@...>
Hello everyone,
[#333663] more efficient date range comparison — Dave Woodworth <user296@...>
Hello all
Dave Woodworth wrote:
[#333684] forum for C language — Li Chen <chen_li3@...>
Hi all,
[#333694] Ruby 1.9 and the Queue class — Aldric Giacomoni <"aldric[removeme]"@...>
Using Gentoo - just unmasked Ruby 1.9 and emerged it (aka compile/install).
[#333704] Potential bug in Net::HTTP, and tentative patch — Yves-Eric Martin <yem_ruby-talk@...>
Hi all,
[#333706] Regexp and using the matched value returned/found. — Jean Nibee <jbateman0769@...>
Hi
[#333707] newbie confusion and dejection — Reg <reg@...>
Over the years I have taught myself to program in C, C++, and VB to
On Sun, 12 Apr 2009 23:17:25 -0500, Bill Kelly <billk@cts.com> wrote:
[#333709] get files by its extension — Idealone Ideally <shekarls@...>
Hi Guys,
[#333727] URI.parse and whitespace characters — Marcelo Barbudas <nostef@...>
Hi,
[#333728] single to multi dimension array conversion — Ashikali Ashikali <ashikali.m@...>
Can any one tell me converting single to multi dimension array
[#333736] Ruby vs. Groovy: your perspective — Diego Virasoro <Diego.Virasoro@...>
Hello,
> Use whatever language makes you happy (i do).
On 13 Apr 2009, at 12:35, Diego Virasoro wrote:
Eleanor McHugh wrote:
Charles Oliver Nutter wrote:
On Tue, 14 Apr 2009 16:34:45 +0900
On 14 Apr 2009, at 08:34, James Britt wrote:
On 13 Apr 2009, at 22:14, Charles Oliver Nutter wrote:
Eleanor McHugh wrote:
On Tue, 14 Apr 2009 17:11:58 +0900
On Tue, Apr 14, 2009 at 10:23 AM, Michael Neumann <mneumann@ntecs.de> wrote:
[#333742] connecting to Oracle using OCI8 and DBI — Peter Bailey <pbailey@...>
Hi,
On Mon, Apr 13, 2009 at 9:35 PM, Peter Bailey <pbailey@bna.com> wrote:
Takehiro Kubo wrote:
Hi,
DBI is version 0.1.1.
On Wed, Apr 15, 2009 at 10:34 PM, Peter Bailey <pbailey@bna.com> wrote:
Takehiro Kubo wrote:
[#333766] Ruby community - Sooo great! — Ruby Student <ruby.student@...>
Team,
[#333770] Using ruby for generic language parsing (or any language-specific parsing libraries out there?) — "Andrew S. Townley" <ast@...>
Hi,
[#333782] Dfect 0.0.0 — Suraj Kurapati <snk@...>
Dfect 0.0.0
[#333814] how to know if completely donwloaded — Dy Dymy <dymyker@...>
i have tried combining all what i research...
[#333840] FTP - Multiple file downloads — Idealone Ideally <shekarls@...>
I have written ftp code which will download a single file from the
[#333843] What is the equivalent of <lang>'s <feature> in ruby? — Daniel DeLorme <dan-ml@...42.com>
Is there a website that documents which method in ruby is equivalent to
[#333854] Ruby for WATIR — Sindhu Up <sullattuparambil@...>
Hi,
[#333867] The "Ruby Best Practices" Collaborative Blog — Gregory Brown <gregory.t.brown@...>
Hi folks,
On Apr 14, 2009, at 8:14 AM, Gregory Brown wrote:
On Tue, Apr 14, 2009 at 12:24 PM, James Gray <james@grayproductions.net> wrote:
On Tue, Apr 14, 2009 at 1:44 PM, Chuck Remes <cremes.devlist@mac.com> wrote:
On Tue, Apr 14, 2009 at 6:53 PM, Gregory Brown <gregory.t.brown@gmail.com>wrote:
On Tue, Apr 14, 2009 at 12:07 PM, Ben Lovell <benjamin.lovell@gmail.com>wrote:
On Tue, Apr 14, 2009 at 2:32 PM, Tony Arcieri <tony@medioh.com> wrote:
On Wed, 15 Apr 2009 04:48:42 +0900
On Wed, Apr 15, 2009 at 11:16 AM, Michael Fellinger
On 15.04.2009 17:46, Gregory Brown wrote:
On Wed, Apr 15, 2009 at 12:35 PM, Robert Klemme
On Thu, Apr 16, 2009 at 8:31 AM, Gregory Brown
On 16 Apr 2009, at 09:14, Robert Dober wrote:
On Thu, Apr 16, 2009 at 2:19 PM, Eleanor McHugh
[#333873] perl2ruby or inline::perl? — Paul Archer <paul@...>
I would like to use the exiftool library for exif/iptc/xmp image metadata
[#333878] Proc.call with custom bindings — Adam Strzelecki <ono@...>
If it possible to call Proc instance with custom bindings. I am aware
[#333880] Argument types — Florian Kaufmann <sensorflo@...>
The documentation of the standard classes/methods never mention of
[#333907] Pulling values from strings — Michael Furmaniuk <mfurmaniuk@...>
I have a string of data that I am trying to pull values from and have
[#333920] Parsing Fixed Width File — Nick da G <nick.gorbikoff@...>
Hello, all.
[#333926] Date.parse 1.8 vs 1.9 — Michael Guterl <mguterl@...>
In attempting to make a small library of mine 1.9 compatible I have
[#333934] small bounties for fixing this text editor (written in ruby) — Roger Pack <rogerpack2005@...>
They're not much, but since I'm rather lazy, I've offered a few bounties
[#333935] Problems using ruby and opengl — Ciph3rzer0 <ciph3rzer0@...>
So I just recently started using ruby and I love it. I am also taking
[#333937] Save image in local machine — Raveendran Perumalsamy <jazzezravi@...>
Hi All,
[#333938] iterating over directories — Dafydd Fontenot <fontenot.1031@...>
I got this oneliner that isn't producing the output I was expecting (it
[#333939] ActiveRecord without Rails: necessary to close connection? — Mischa Berger <mischa78@...4all.nl>
Hello everyone,
[#333949] how to sort my hash — Sukhwinder Tambar <princetambar@...>
[#<WorkOrder id: 8, initiator_id: 39, is_marked: false,
[#333954] Copying files and renaming dupes — Stuart Clarke <stuart.clarke1986@...>
Hi all,
Stuart Clarke <stuart.clarke1986@gmail.com> wrote:
Ok I must of misunderstood the docs for it, in reflection I am thinking
On 17.04.2009 09:16, Stuart Clarke wrote:
[#333964] using popen — Jun Young Kim <jykim@...>
Hi, all.
[#333972] OptionParser and Exceptions — Srijayanth Sridhar <srijayanth@...>
Hello,
[#333981] Install a Windows server made with Ruby — Alexandre Stehlin <alexandre.stehlin@...>
Hello everybody !
Roger Pack wrote:
Alexandre Stehlin wrote:
Roger Pack wrote:
On Mon, Apr 20, 2009 at 7:49 AM, Roger Pack <rogerpack2005@gmail.com> wrote:
Glen Holcomb wrote:
Ok, here's what I got :
Alexandre Stehlin wrote:
> C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:408:in 'load xml':
I made some tests with the FileHandler, without using it as a service.
Ok thanks !
Alexandre Stehlin wrote:
[#333993] reformatting a text file that has some binary in it — Adam Akhtar <adamtemporary@...>
I have never worked with binary before and after trying to solve this
On Apr 15, 2009, at 8:19 AM, Adam Akhtar wrote:
Ahh i didnt know you could use scan like that with blocks and
Oh and your blog post looks good too, just started reading it.
On Apr 15, 2009, at 5:30 PM, Adam Akhtar wrote:
Im back again and pretty confused as to why my regexp still is
On Apr 23, 5:05m, Adam Akhtar <adamtempor...@gmail.com> wrote:
ahh should have thought about that. here is a souce file
On Apr 23, 2009, at 15:51, Adam Akhtar wrote:
well ive found some stuff out re: binary format.
> I think regexp is the wrong way to do this. Since this is a binary
[#333995] querying using HTTP — Peter Bailey <pbailey@...>
I'm querying a graphics database using http. On my server and on my PC,
Peter Bailey wrote:
On Apr 16, 2009, at 2:31 AM, Brian Candler wrote:
James Gray wrote:
On Apr 16, 2009, at 11:30 AM, Brian Candler wrote:
James Gray wrote:
On Apr 16, 2009, at 2:44 PM, Brian Candler wrote:
[#334004] Need help on How to apply a fix to Ramaze! — Ruby Student <ruby.student@...>
Hello team,
[#334017] TexTile to Word Document — Mohit Sindhwani <mo_mail@...>
Hi!
On Wednesday 15 April 2009 11:16:48 Mohit Sindhwani wrote:
David Masover wrote:
David Masover wrote:
[#334018] Background image defined in stylesheet doesn't display — Rob Blimploid <robfiona@...>
application.html.erb is correctly finding the stylesheet for my project
[#334023] Tokenizing a large file — Don Wood <dwood@...>
I have a large file that I need to tokenize. The method I am using now
[#334024] lambda/proc/metaprogramming with Ruby — Aldric Giacomoni <"aldric[removeme]"@...>
Hi all,
[#334027] ? true : false returns nil? — Russ Cordner <russ.cordner@...>
I have the following code fragment:
[#334042] SecurityError requiring gems and other files with $SAFE=1 in Ruby 1.9.1 — Philip Ross <phil.ross@...>
I'm using my own compiled version of Ruby 1.9.1p0 on Debian etch. With
[#334054] RubyGems 1.3.2 — Eric Hodel <drbrain@...7.net>
= Announce: RubyGems Release 1.3.2
Eric Hodel wrote:
On Apr 16, 2009, at 07:24, David Mullet wrote:
On Thu, Apr 16, 2009 at 8:14 PM, Eric Hodel <drbrain@segment7.net> wrote:
[#334059] $GEM_HOM — Derek Smith <derekbellnersmith@...>
I am running cygwin with ruby version ruby 1.8.7 (2008-08-11 patchlevel
[#334063] http://rubypan.org/ — Aaron Patterson <aaron@...>
http://rubypan.org/ version 1.0.0 has been released!
On Apr 15, 2009, at 21:50, Roger Pack wrote:
On Thu, Apr 16, 2009 at 03:01:59PM +0900, Eric Hodel wrote:
[#334071] What does this do? — Petr Janda <elekktretterr@...>
Im trying to fix two libraries to be compatible with Ruby 1.9 - gruff
[#334080] Help to create a Ruby extension in C — Newb Newb <revathy.p@...>
hi..
[#334128] enlightenment libs + ruby — Siemen Baader <siemenbaader@...>
Hi List,
[#334129] Ruby sqlite/gem error: Could not load sqlite adapter — jhs408@...
The sample "c:\tmp'Test_sqlite.rb" generates the error: Could not
[#334147] Best way to install Ruby 1.9 — Juan Zanos <juan_zanos@...>
I'd like to start using Ruby 1.9 more often. Often I could use the
[#334156] Passing hashes as command-line parameters — Jeff Leeman <jeffreyleeman@...>
Is it not possible to pass hashes as command-line arguments to a Ruby
Jeff Leeman wrote:
Well, what I'm looking for is to be able run something like:
[#334189] Weird performance issue — court3nay <court3nay@...>
Hey, I'm debugging a weird performance issue. I have two VMs on the
[#334194] Localmemcache-0.3.0: A persistent key-value database based on mmap()'ed shared memory — "Sven C. Koehler" <schween@...>
Hi, Localmemcache-0.3.0 is ready! Persistence is officially supported
On Sat, Apr 18, 2009 at 12:07:23AM +0900, Roger Pack wrote:
On Fri, Apr 17, 2009 at 2:52 AM, Sven C. Koehler <schween@snafu.de> wrote:
[#334198] Multi Threading — Sriram Varahan <sriram.varahan@...>
Hello,
[#334216] simple module method call question — Tom Cloyd <tomcloyd@...>
I'm making no progress on this, and so clearly have missed something basic.
[#334218] Mocha: does_not_expect — Fernando Perez <pedrolito@...>
Hi,
[#334230] simple (?) question regarding the "&&" and "and" operators — Philip Müller <me@...>
Hi,
[#334233] Flood Fill Visualization (#201) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#334239] get the Windows OS Login name using Ruby? — Mmcolli00 Mom <mmc_collins@...>
Do you know if there is a way to get the Windows OS Login name using
[#334245] How to run a single test with Test::Unit? — Fernando Perez <pedrolito@...>
Hi,
[#334269] Windows platform, test if a file is fully flushed to disk. — Brian Wallace <draygen80@...>
Hi all,
[#334272] Junctions for Ruby1.9 (Lab419::functional-0.1.2) — Robert Dober <robert.dober@...>
Hi list
Hello,
On Apr 17, 2009, at 11:17 PM, Robert Dober wrote:
On Sat, Apr 18, 2009 at 11:38 PM, Denis Defreyne
[#334283] logging (version 1.0.0) — Tim Pease <tim.pease@...>
Logging version 1.0.0
[#334289] Ruby 1.9.1 and Mingw (on Windows) — Alexey Borzenkov <snaury@...>
Hi,
[#334300] Goodbye "Goodbye Ruby" — Robert Schaaf <ruby-bucket@...>
Will someone please kill off this puerile, off-topic thread?
[#334316] Ruby on Windows beyong 1.8.6 how to install? — SpringFlowers AutumnMoon <summercoolness@...>
on page
[#334320] Reffering back to caller's binding — Owein Herrmann <oherrmann@...>
Hello Rubyists,
On Sat, Apr 18, 2009 at 6:16 PM, Owein Herrmann <oherrmann@gmail.com> wrote:
> peval { ["var.inspect"] }
[#334348] String replacing help — Jeremy Woertink <jeremywoertink@...>
I'm working with Mechanize doing some screen scraping. Because of the
[#334365] rubytest.vim 0.9.0 — Jan <jan.h.xie@...>
Hi list,
[#334370] ruby1.9 and the retry keyword — Yoann Guillot <john-rubytalk@...>
Hi
On Apr 19, 2009, at 9:20 AM, Yoann Guillot wrote:
On Sun, Apr 19, 2009 at 9:50 AM, James Gray <james@grayproductions.net> wrote:
On Apr 19, 2009, at 12:01 PM, Christopher Dicely wrote:
On Mon, Apr 20, 2009 at 02:10:33AM +0900, James Gray wrote:
[#334381] hpricot parsing — Marc Farber <mrcfab3@...>
Ruby newbie here
[#334403] Which ruby is running me? — John Carter <john.carter@...>
So I have despaired of getting mutexes, threads and forks to coexist
[#334411] what's the differences between IO.popen ( or IO.pipe) and PTY.spawn?? — Jun Young Kim <jykim@...>
Hi, all.
On Apr 19, 2009, at 9:17 PM, Jun Young Kim wrote:
[#334413] 1.8 and 1.9 on arch linux — Martin DeMello <martindemello@...>
Anyone on arch linux? I'm trying to get ruby 1.8 and 1.9 playing
yes - me!
[#334420] Windows CMD and international chars (奪辰旦) — Andre Arvidsson <swerascal@...>
Hi all,
[#334422] Hash merge question — Random Qu <aselaaj@...>
Hi All,
[#334435] Get Source Code of a http://... site? — Joshua Muheim <forum@...>
Hi all
2009/4/20 Joshua Muheim <forum@josh.ch>:
Robert Klemme wrote:
[#334452] Hashed matrix — Yoann Moreau <yoni612@...>
Hello, I'd like to use a specific matrix with string as key for lines
[#334453] Help on Ruby Segmentation Problem — Newb Newb <revathy.p@...>
hi all..
[#334468] Question about displaying the content of a file with Ramaze — Ruby Student <ruby.student@...>
Hi all,
[#334476] debugging in ruby — Anil Gollaa <nlkmr36@...>
Hi,
[#334479] Polymorphism — Michael Satterwhite <michael@...>
As much as I like Ruby, I do miss the polymorphic behavior of routines
Michael Satterwhite wrote:
Phlip wrote:
2009/4/23 Mike Stephens <rubfor@recitel.net>:
Robert Klemme wrote:
2009/4/24 Mike Stephens <rubfor@recitel.net>:
[#334488] create a text file with data custom positioned? — Mmcolli00 Mom <mmc_collins@...>
Do you know how to create a text file with data custom positioned?
Your example doesn't match either the number of args (5) or their order.
[#334495] Accessing ruby objects across VMs — Piyush Ranjan <piyush.pr@...>
I have 1 ruby instance running for a website. I do heavy polling using in
[#334502] questions about embedding ruby 1.9 — Rolando Abarca <funkaster@...>
I'm facing some problems about exception handling using the ruby 1.9.1-
Hi,
[#334510] directory watcher, trying to match filename to directory name. — Brian Wallace <draygen80@...>
Hi All,
> dw = DirectoryWatcher.new "#{@dirwatch}", :interval => 5, :glob => "*/*", :pre_load => true
Thanks David,
On Tue, Apr 21, 2009 at 6:51 AM, Brian Wallace <draygen80@gmail.com> wrote:
Hi Tim,
On Tue, Apr 21, 2009 at 11:11 AM, Brian Wallace <draygen80@gmail.com> wrote:
I do realize this :) , but if I could at least assume that "STRING" without
On Tue, Apr 21, 2009 at 12:28 PM, Brian Wallace <draygen80@gmail.com> wrote:
[#334529] Ruby or JRuby — Martin L'ecuyer <martin@...>
Hi i'm new here and new with Ruby. I just start to learn Ruby and Ruby
Hi Martin.
On Tue, Apr 21, 2009 at 4:39 PM, James Herdman <james.herdman@gmail.com> wrote:
On Tuesday 21 April 2009 09:48:47 Robert Dober wrote:
On Wed, Apr 22, 2009 at 10:43 PM, David Masover <ninja@slaphack.com> wrote:
On Wed, Apr 22, 2009 at 3:19 PM, Robert Dober <robert.dober@gmail.com> wrote:
On Thu, Apr 23, 2009 at 12:31 AM, Hassan Schroeder
On Wed, Apr 22, 2009 at 3:37 PM, Robert Dober <robert.dober@gmail.com> wrote:
On Thu, Apr 23, 2009 at 12:56 AM, Hassan Schroeder
[#334551] Is there a better way to do this? — Paul Mckibbin <pmckibbin@...>
I recently had code which needed to work with the same structure twice,
On 21.04.2009 21:01, Paul Mckibbin wrote:
[#334556] special characters screwing up string operations — Aryk Grosz <tennisbum2002@...>
Im doing some manipulation of strings, and there are some characters
[#334562] gtk container add/remove malfunction — Kevin Redon <kevredon@...>
i'm trying to remove and add a widget to a container when an event
[#334571] My book, "The Well-Grounded Rubyist" (PDF) — "David A. Black" <dblack@...>
Hi all --
[#334575] Spreadsheet development — Ahmed Abdelsalam <ahmed@...>
Hi,...
[#334577] Can't install hpricot gem — Boris Barroso <boriscyber@...>
I can't install hpricot gem on CentOS 5, you can check the error message
On Apr 21, 2009, at 15:40, Boris Barroso wrote:
Boris Barroso wrote:
On Wed, Apr 22, 2009 at 9:32 AM, Boris Barroso <boriscyber@gmail.com> wrote:
[#334584] undefined method `close' for OpenSSL::SSL::SSLSocket — Brad Whitaker <brad@...>
I'm having a problem with 1.8.6 and soap4r that I don't understand. I'm
[#334590] Any url with documents, articles about how to study Rhtml? — Wesley Chen <cjq.999@...>
I am new to Rails and I would like to study the Rhtml grammar and practice
> I am new to Rails and I would like to study the Rhtml grammar and practice
[#334596] how to test for existence of a method — Tom Cloyd <tomcloyd@...>
I'm a little stumped on this one. I looked at several ideas, and none
Object#respond_to? doesn't do it for you?
Thanks. Does just fine - now that I know about it. Handy!
[#334606] ruby plugin for eclipse — salai <sayakyi@...>
Dear all Rubyist,
[#334608] convert 7 in 07 — "Paul A." <cyril.staff@...>
Hi,
[#334618] Needed only the Domain name from an url — Srikanth Jeeva <sri.jjhero@...>
hi,
[#334622] problem with Nokogiri::HTML::Element#line — malikb <malikbakt@...>
Hello,
[#334641] best/better way of md5suming of really large file in ruby? — Kyle Schmitt <kyleaschmitt@...>
I've got a script that is going through data, and in some cases,
Kyle Schmitt wrote:
On Wed, 2009-04-22 at 23:18 +0900, Yun Huang Yong wrote:
[#334656] JRuby problem — Ahmed Abdelsalam <ahmed@...>
Hi,...
[#334658] Error when reading file from command prompt — Mmcolli00 Mom <mmc_collins@...>
Hi. I have a program that is supposed to get a filename at the command
[#334665] How to distinguish blocks of certain arity in 1.8 — bp50fathoms@...
Hi all,
[#334668] rb_raise problem in C extension — bdezonia@...
I am using Ruby 1.8.6-26 from the One Click Installer on Windows. I
[#334711] Diamondback Ruby - Static Typing for Ruby — Mike Furr <furr@...>
> I am pleased to announce that the first public release of the
[#334716] hygienic startup file — Thomas Hafner <thomas@...>
Hello,
[#334732] Unicode Question — Daly <aeldaly@...>
Hello all,
[#334738] Lone Star Twitter Conference 2009 — <jimfreeze@...>
On Apr 22, 2009, at 9:25 PM, <jimfreeze@gmail.com> wrote:
On Wed, Apr 22, 2009 at 10:34 PM, James Gray <james@grayproductions.net> wrote:
[#334748] kernal::binding problem — Tom Cloyd <tomcloyd@...>
Trying this for the first time, and, as usual, not quite getting it.
Tom Cloyd wrote:
[#334758] Parsing String#dump data? — "Andrew S. Townley" <ast@...>
Hi,
[#334777] Class variable confusion — Keith Salisbury <keithsalisbury@...>
Hi,
Or more simply, i would like this to update the variable @greeting, when
[#334802] Ruby Version History — Bruno Sousa <brgsousa@...>
Where can I find Ruby Version History? I need to check differences
2009/4/23 Bruno Sousa <brgsousa@gmail.com>:
I am for something like main differences/improvements between stable
On Apr 24, 2009, at 06:43, Bruno Sousa wrote:
[#334824] PDFWriter and Page Breaks — Michael Satterwhite <michael@...>
I'm sure this is something that someone here has done. More probably,
[#334826] Is there a better way of doing this — Damjan Rems <d_rems@...>
I have three classes.
Damjan Rems wrote:
Damjan Rems wrote:
On Fri, Apr 24, 2009 at 12:51 AM, Tim Hunter <TimHunter@nc.rr.com> wrote:
On 24.04.2009 05:01, Andrew Timberlake wrote:
[#334827] Extending ruby classes - Against new methods? — Marc Heiler <shevegen@...>
Hi,
[#334848] Array.find with index — Rob Redmon <rob.webinator@...>
How do I find matching expressions and return the match and the index of
[#334871] Get title from URL? — Cisco Ri <cisco.riordan@...>
Anybody have a code snippet that extracts the title from the <title> tag
[#334899] problem with rubygems and rake creating a new gem — Mario Ruiz <mario@...>
H脱,
[#334905] Wow: jruby vs. MRE performance... — "Andrew S. Townley" <ast@...>
Hi Folks,
[#334907] proper way to daemonize — Tim Pease <tim.pease@...>
module Process
On Apr 24, 2009, at 11:01 AM, Gary Wright wrote:
[#334920] Q: Architecting large Web service download app in Ruby — "s.ross" <cwdinfo@...>
Architecting large Web service downloads in Ruby.
[#334922] net/ftp — Joe Gutierrez <jgutierrez@...21.com>
There's a method in Ruby's net/ftp library called list/ls. Does anyone
[#334942] Odd Ruby/Rubygems/gem path problem — Pito Salas <rps@...>
I've spent too much time trying to solve this little problem. I wonder
On Apr 24, 2009, at 13:49, Pito Salas wrote:
[#334944] Digits of Pi (#202) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel Moore wrote:
Joel VanderWerf wrote:
Jeff Schwab wrote:
2009/4/25 Joel VanderWerf <vjoel@path.berkeley.edu>:
Robert Dober wrote:
>
> ## Digits of Pi (#202)
On Thu, Apr 30, 2009 at 5:02 AM, Jay Anderson <horndude77@gmail.com> wrote:
[#334959] ARGV, STDIN and gets — Joe Williams <joe@...>
I am running into an issue where I have a script that takes two command
[#334986] Methods and blocks - not that clear when blocks passed into — Steven Taylor <staylor@...>
Coming from other programming languages, notably Basic based, a little
Steven Taylor wrote:
Phlip wrote:
On 25.04.2009 13:24, Steven Taylor wrote:
[#334996] Rack 1.0, a modular Ruby webserver interface — Christian Neukirchen <chneukirchen@...>
Hello,
[#334999] Running JRuby behind an Apache server — Charles Oliver Nutter <charles.nutter@...>
In case anyone's interested, I've started a simple HOWTO blog post for
[#335020] Concurrent GEM for Ruby ? — jamesl <ladd.james@...>
Hi,
[#335028] passing password to mysql — Stephan Wehner <stephanwehner@...>
I would like to use Ruby to open a mysql prompt for the user. The
[#335047] Using method missing to create getters and setters — Tim Conner <crofty_james@...>
Hi,
On 26.04.2009 19:40, Tim Conner wrote:
[#335054] Newbie help, please — Mike West <bigfootm@...>
Hello all,
[#335060] How to parse a "line"? — Martin Sharon <huangshuo.9@...>
Hi there:
On Apr 26, 2009, at 3:48 PM, Martin Sharon wrote:
On Sun, Apr 26, 2009 at 10:56 PM, James Gray <james@grayproductions.net> wrote:
On Sun, Apr 26, 2009 at 4:11 PM, Robert Dober <robert.dober@gmail.com> wrote:
On Sun, Apr 26, 2009 at 5:55 PM, Todd Benson <caduceass@gmail.com> wrote:
Thank you Todd, but the number of the keywords are dynamic.
On Sun, Apr 26, 2009 at 7:25 PM, Martin Sharon <huangshuo.9@gmail.com> wrote:
On Sun, Apr 26, 2009 at 9:11 PM, Todd Benson <caduceass@gmail.com> wrote:
Todd Benson wrote:
On Sun, Apr 26, 2009 at 10:59 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
On Sun, Apr 26, 2009 at 11:03 PM, Todd Benson <caduceass@gmail.com> wrote:
Todd Benson wrote:
[#335063] Iconv (& sqlite) problems on Leopard: Ruby 1.9.1/Rails 2.3.2 — Jacob Bandes-storch <jtbandes@...>
I have both a PPC Mac and an Intel Mac, and I recently installed Ruby
[#335065] JRuby constructor issue or just me? — "Andrew S. Townley" <ast@...>
Hi,
Andrew S. Townley wrote:
[#335068] Block Style — James Gray <james@...>
I hate to be the guy to start another { } vs. do end thread, but I
On Sun, Apr 26, 2009 at 11:48 PM, James Gray <james@grayproductions.net> wrote:
Sean O'Halpin wrote:
I have adapted a very simple rule for a long time now, if I use the
[#335073] Deleting numbers in array — Clayton Lane <ds_unsane@...>
I'm new to Ruby and unsure how to delete numbers in an array. I have an
Hi --
David A. Black wrote:
Clayton Lane wrote:
[#335094] Creating directory and its files — Martin Sharon <huangshuo.9@...>
Hi there:
[#335103] append .cvs behind an array value — Martin Sharon <huangshuo.9@...>
I want to add ".cvs" at the end of a name,and use the following
[#335105] Helo on optparse — Newb Newb <revathy.p@...>
hi i m using optparse.
On 27.04.2009 06:28, Newb Newb wrote:
[#335151] Gui library suggestion based on my needs? — Pito Salas <rps@...>
Any recommendation on which 'gui' package I should use to build a ruby
On Mon, Apr 27, 2009 at 6:58 PM, Pito Salas <rps@salas.com> wrote:
Thanks for the ideas so far.
[#335156] rice-1.1.0 with Ruby 1.9.0 compatibility! — Jason Roelofs <jameskilton@...>
Rice: Ruby Interface for C++ Extensions
[#335159] KaraokeSong#to_s example in book — Clifford Leung <momonariex@...>
Hi,
[#335165] execuate command problem — Martin Sharon <huangshuo.9@...>
I want to execute a shell command in ruby, like this:
[#335166] Gem install puzzlet — Pito Salas <rps@...>
$ gem list qtruby4 -r
[#335168] Legacy encryption function... — Alexandre Alex <alexandre.folgueras@...>
Hello everyone, I have an old Java authentication web service that I
[#335176] Ruby Interface of Erlang — KDr2 <kdr2@...>
Hello, erveyone,I just start a new project called erlix,the ruby interface
On Monday 27 April 2009 10:49:48 KDr2 wrote:
1.Erlectricity interact with Erlang through the ports system. If you are an
I release erlix-v0.3 today:
KDr2 wrote:
Thank you for your advise :) They are very useful for me.
BTW, I haven't been able to get it to build yet - it's stuck looking for
[#335194] Group several lines into one line — Dirk Dre <dad@...>
After sitting at this problem for hours without much progress, now is
[#335210] Trouble with OSA and Excel — Robert Schaaf <ruby-bucket@...>
Hello all,
[#335217] Why does attr_accessor in module require 'self.'? — Brian Hartin <brian.hartin@...>
Hi there,
Hi,
John Barnette wrote:
Ryan Davis wrote:
7stud -- wrote:
7stud -- wrote:
7stud -- wrote:
[#335218] Internal server error while trying to load active_record — Venkat Alla <spinhoo2000@...>
Hi
[#335228] How Check File Busy? — Greg Willits <lists@...>
I want to use Ruby to periodically move files out of an FTP upload
[#335259] Is there anything like Array#Index that takes a block? — Lee Griffiths <poddster@...>
I would like to avoid doing :
Lee Griffiths schrieb:
[#335265] composite gif files with RMagick — Wu Junchen <wujunchen@...>
I have two gif files,and I want to composite them,there is my ruby code:
[#335269] Accessing SVN repository through Ruby — Andrey R-andrey <andreylnx@...>
Hi people!
Andrey R-andrey wrote:
[#335284] Hi, i'm new — "rabarama" <proftoglimipeloso@...>
Hi, i just started to get wet with ruby on rails...
[#335289] Opposite of initialize — peter.meier998@...
Hi,
On 28 Apr 2009, at 17:45, peter.meier998@gmail.com wrote:
[#335301] Detecting -0.0 — "Thomas B." <tpreal@...>
Hello.
Thomas B. wrote:
Thomas B. wrote:
[#335308] Random Access using IO#pos in code blocks — Arun Kumar <arun.einstein@...>
Hello everyone,
Arun Kumar wrote:
2009/4/29 Brian Candler <b.candler@pobox.com>:
[#335331] New to Ruby, making a program from a disabled friend — Hank Quinlan <tjmaser@...>
Hi. I am only learning Ruby to help my friend out, and am completely new
On Wed, Apr 29, 2009 at 10:14 AM, Hank Quinlan <tjmaser@gmail.com> wrote:
You might want to look into http://processing.org, which is about as easy
[#335333] Can this code be more succinct — RichardOnRails <RichardDummyMailbox58407@...>
Hi All,
[#335334] Issue with regexp pattern matcher withing String#gsub — Craig Jolicoeur <cpjolicoeur@...>
I'm having a strange issue I can't wrap my head around. I've posted the
I'm just changed up how I'm doing the matching and am going with this
[#335345] FCSV importing file to Excel — Phil Swazey <philswazey@...>
I have a csv file that I am inputting into an excel spreadsheet. One of
[#335347] I want to automate this text field. — Asha Latha <ashacta@...>
Hi
[#335353] Download progress — Daniel Vartanov <daniel.vartanov@...>
Let's consider we're getting a long file through HTTP:
[#335360] If error occurs should not copy again from the beginning — Newb Newb <revathy.p@...>
Hi..
[#335384] (mandriva,eclipse) ruby debug gem installation fails — Olivier Lolveley <lolveley@...>
hello,
[#335420] Finding Matches in Array of Classes — Rob Redmon <rob.webinator@...>
[#335433] gem install - will not work outside of bin folder — Mmcolli00 Mom <mmc_collins@...>
Hi
[#335435] RubyGems question: install vs. update — Jeff <cohen.jeff@...>
This must be obvious, but what's the difference between "gem install"
On Apr 29, 2009, at 14:16, Jeff wrote:
On Apr 29, 5:16m, Eric Hodel <drbr...@segment7.net> wrote:
On Wed, Apr 29, 2009 at 9:01 PM, Jeff <cohen.jeff@gmail.com> wrote:
[#335449] object scope and cleanup — ball <chezball@...>
I am having trouble understanding Ruby object cleanup wrt scope. In
[#335466] Read and re-write file with one open? — Adam Bender <abender@...>
I would like to write a Ruby script that opens a text file, performs a gsub
Adam Bender wrote:
On Apr 29, 9:27m, Adam Bender <aben...@gmail.com> wrote:
timr wrote:
[#335487] Defining a default proc for Hash — Srijayanth Sridhar <srijayanth@...>
Hello,
[#335494] Emulating a web browser — Adam Bender <abender@...>
I am looking for a library to help me emulate a web browser, at least at the
[#335513] find if an array has any element present in another array — Charanya Nagarajan <charanya.nagarajan@...>
Hi,
[#335532] setting up cygwin on windows or linux it? — Adam Akhtar <adamtemporary@...>
Due to some gems not working for windows im considering either
On Thu, Apr 30, 2009 at 5:28 AM, Adam Akhtar <adamtemporary@gmail.com> wrote:
Usually virtualization (VMWare, etc.) is too slow to use. I would
On Thu, Apr 30, 2009 at 11:40 AM, Aleksandr Levchuk <alevchuk@gmail.com> wrote:
an other approach is to run a linux kernel inside windows,
> an other approach is to run a linux kernel inside windows,http://www.andlinux.org/
[#335536] Merb — Mike Mickey <pada51@...>
Hi I'm writing a class in /lib,
[#335555] SOAP how to make a request — Mario Ruiz <mario@...>
Hi, I'm newbie sorry
ANN: Sequel 2.12.0 Released
Sequel is a lightweight database access toolkit for Ruby.
* Sequel provides thread safety, connection pooling and a concise DSL
for constructing database queries and table schemas.
* Sequel also includes a lightweight but comprehensive ORM layer for
mapping records to Ruby objects and handling associated records.
* Sequel supports advanced database features such as prepared
statements, bound variables, stored procedures, master/slave
configurations, and database sharding.
* Sequel makes it easy to deal with multiple records without having
to break your teeth on SQL.
* Sequel currently has adapters for ADO, DataObjects, DB2, DBI,
Firebird, Informix, JDBC, MySQL, ODBC, OpenBase, Oracle, PostgreSQL
and SQLite3.
Sequel 2.12.0 has been released and should be available on the gem
mirrors. The 2.12.0 release adds numerous improvements:
Overview
--------
Sequel 2.12 is really just a stepping stone to Sequel 3.0, which will
be released next month. All major changes currently planned for 3.0
have been made in 2.12, but 2.12 contains many features that have
been deprecated and will be removed or moved into extensions or
plugins in 3.0.
Deprecation Logging
-------------------
If you use a deprecated method or feature, Sequel will by default
print a deprecation message and 10 lines of backtrace to standard
error to easily allow you to figure out which code needs to be
updated. You can change where the deprecation messages go and how
many lines of backtrace are given using the following:
# Log deprecation information to a file
Sequel::Deprecation.output = File.open('deprecated.txt', 'wb')
# Use 5 lines of backtrace when logging deprecation messages
Sequel::Deprecation.backtraces = 5
# Use all backtrace lines when logging deprecation messages
Sequel::Deprecation.backtraces = true
# Don't include backtraces in the deprecation logging
Sequel.Deprecation.backtraces = false
# Turn off all deprecation logging
Sequel::Deprecation.output = nil
Deprecated Features Moving to Extensions
----------------------------------------
* Migrations are being moved into sequel/extensions/migration. There
isn't any reason that they should be loaded in normal use since
they are used so rarely. The sequel command line tool uses this
extension to run the migrations.
* Adding the blank? method to all objects has been moved into
sequel/extensions/blank.
* Dataset#print and Sequel::PrettyTable have been moved into
sequel/extensions/pretty_table.
* Dataset#query and related methods have been moved into
sequel/extensions/query.
* Dataset#paginate and related methods have been moved into
sequel/extensions/pagination.
* String inflection methods (e.g. "people".singularize) have been
moved into sequel/extensions/inflector.
* String date/time conversion methods (e.g. '2000-01-01'.to_date)
have been moved into sequel/extensions/string_date_time.
Deprecated Model Features Moving to Plugins
-------------------------------------------
* Model validation class methods have been moved to a plugin. Sequel
users are encouraged to write their own validate instance method
instead. A new validation_helpers plugin has been added to make
this easier, it's explained in the New Features section. If you
want to continue using the validation class methods:
Sequel::Model.plugin :validation_class_methods
* Model hook class methods have been moved to a plugin. Sequel users
are encouraged to write their own hook instance methods, and call
super to get hooks specified in superclasses or plugins. If you
want to continue using the hook class methods:
Sequel::Model.plugin :hook_class_methods
* Model schema methods (e.g. Model.set_schema, Model.create_table,
Model.drop_table) have been moved to a plugin. The use of these
methods has been discouraged for a long time. If you want to use
them:
Sequel::Model.plugin :schema
* Model.set_sti_key has been moved to a plugin. So you should
change:
MyModel.set_sti_key :key_column
to:
MyModel.plugin :single_table_inheritance, :key_column
* Model.set_cache has been moved to a plugin. So you should change:
MyModel.set_cache cache_store, opts
to:
MyModel.plugin :caching, cache_store, opts
* Model.serialize has been moved to a plugin. So you should change:
MyModel.serialize :column, :format=>:yaml
to:
MyModel.plugin :serialization, :yaml, :column
Because the previous serialization support depended on dataset
transforms, the new serialization support is implemented
differently, and behavior may not be identical in all cases.
However, this should be a drop in replacement for most users.
Deprecated Features To Be Removed in Sequel 3.0
-----------------------------------------------
* Dataset#transform is deprecated without any replacement planned.
It was announced on the Sequel mailing list that transforms would
be removed unless someone said they needed them, and nobody said
that they did.
* Dataset#multi_insert and Dataset#import are no longer aliases
of each other. Dataset#multi_insert now takes an array of hashes,
and Dataset#import now takes an array of columns and an array
of arrays of values. Using multi_insert with import's API or
vice-versa is deprecated.
* Calling Dataset#[] with no arguments or an integer argument is
deprecated.
* Calling Dataset#map with both an argument and a block is
deprecated.
* Database#multi_threaded? and Database#logger are both deprecated.
* Calling Database#transaction with a symbol to specify which server
to use is deprecated. You should now call it with an option hash
with a :server key.
* Array#extract_options! and Object#is_one_of? are both deprecated.
* The metaprogramming methods taken from metaid are deprecated and
have been moved into Sequel::Metaprogramming. If you want them
available to specific objects/classes, just include or extend with
Sequel::Metaprogramming. If you want all objects to have access to
the metaprogramming methods, install metaid. Note that the
class_def method from metaid doesn't exist in
Sequel::Metaprogramming, since it really isn't different from
define_method (except it is public instead of private).
* Module#class_attr_overridable, #class_attr_reader, and
#metaalias are deprecated.
* Using Model#set or #update when the columns for the model are not
set and you provide a hash with symbol keys is deprecated.
Basically, you must have setter methods now for any columns used in
#set or #update.
* Model#set_with_params and #update_with_params are deprecated, use
#set and #update instead.
* Model#save! is deprecated, use #save(:validate=>false).
* Model.is and Model.is_a are deprecated, use Model.plugin.
* Model.str_columns, Model#str_columns, #set_values, and
#update_values are deprecated. You should use #set and
#update instead of #set_values and #update_values, though they
operate differently.
* Model.delete_all, Model.destroy_all, Model.size, and Model.uniq
are deprecated, use .delete, .destroy, .count, and .distinct.
* Model.belongs_to, Model.has_many, and Model.has_and_belongs_to_many
are deprecated, use .many_to_one, .one_to_many, and .many_to_many.
* Model#dataset is deprecated, use Model.dataset.
* SQL::CastMethods#cast_as is deprecated, use #cast.
* Calling Database#schema without a table argument is deprecated.
* Dataset#uniq is deprecated, use Dataset#distinct.
* Dataset#symbol_to_column_ref is deprecated, use #literal.
* Dataset#quote_column_ref is deprecated, use #quote_identifier.
* Dataset#size is deprecated, use #count.
* Passing options to Dataset#each, #all, #single_record,
#single_value, #sql, #select_sql, #update, #update_sql, #delete,
#delete_sql, and #exists is deprecated. Modify the options first
using clone or a related method, then call one of the above
methods.
* Dataset#create_view and #create_or_replace_view are deprecated,
use the database methods instead.
* Dataset.dataset_classes, #model_classes, #polymorphic_key, and
#set_model are deprecated.
* Database#>> is deprecated.
* String#to_blob and SQL::Blob#to_blob are deprecated, use
#to_sequel_blob.
* The use of Symbol#| to create array subscripts is deprecated,
use Symbol#sql_subscript.
* Symbol#to_column_ref is deprecated, use Dataset#literal.
* String#expr is deprecated, use String#lit.
* Array#to_sql, String#to_sql, and String#split_sql are deprecated.
* Passing an array to Database#<< is deprecated.
* Range#interval is deprecated.
* Enumerable#send_each is deprecated.
* When using ruby 1.8, Hash#key is deprecated.
* Sequel.open is deprecated, use Sequel.connect.
* Sequel.use_parse_tree and Sequel.use_parse_tree= are deprecated.
* All upcase_identifier methods and the :upcase_identifiers database
option are deprecated, use identifier_input_method = :upcase
instead.
* Using a virtual row block without an argument is deprecated, see
Sequel.virtual_row_instance_eval= under New Features.
* When using the JDBC adapter, Java::JavaSQL::Timestamp#usec is
deprecated. Sequel has returned Java::JavaSQL::Timestamp as
DateTime or Time for a few versions, so this shouldn't affect most
people.
* Sequel will no longer require bigdecimal/util, enumerator, or yaml
in 3.0. If you need them in your code, make sure you require
them yourself. Using features added by requiring these standard
libaries will not bring up a deprecation warning, for obvious
reasons.
* Sequel::Error::InvalidTransform, Sequel::Error::NoExistingFilter,
and Sequel::Error::InvalidStatement exceptions will be removed in
Sequel 3.0. You will not get a deprecation message if you reference
them in 2.12.
* Sequel::Model::Validation::Errors is deprecated, use
Sequel::Model::Errors instead. Referencing the old name will not
bring up a deprecation message.
New Features
------------
* Sequel.virtual_row_instance_eval= was added, which lets you give
Sequel 2.12 the behavior that will be the standard in 3.0.
It changes blocks passed to Dataset#filter, #select, or #order that
don't accept arguments (or accept any number of arguments) to
instance eval the block in the context of a new VirtualRow
instance instead of passing a new VirtualRow instance to the block.
It allows you to change code that looks like this:
dataset.filter{|o| (o.number > 10) & (o.name > 'M')}
to:
dataset.filter{(number > 10) & (name > 'M')}
When instance_eval is used, only local variables are available
to the block. Any calls to instance methods will be interpreted
as calling VirtualRow#method_missing, which generates identifiers
or functions. When virtual_row_instance_eval is enabled, the
following type of code will break:
# amount is a instance method
dataset.filter{:number + amount > 0}
Just like this example, the only type of code that should break is
when a virtual row block was used when it wasn't necessary (since
it doesn't use the VirtualRow argument).
When Sequel.virtual_row_instance_eval = false, using a virtual row
block that doesn't accept an argument will cause a deprecation
message.
Here's a regular expression that should catch most places where you
are using a virtual row block without an argument.
egrep -nr
'[^A-Za-z0-9_](filter|select|select_more|order|order_more|get|where|having|from|first|and|or|exclude|find|subset|constraint|check)(
*(\([^)]*\) *)?){*[^|]' *
An RDoc page explaining virtual row blocks was added as well.
* A validation_helpers model plugin was added that allows you to do
validations similar to the old class level validations inside
the Model#validate instance method. The API has changed, but it's
capable of most of the same validations. It doesn't handle
acceptance_of or confirmation_of validations, as those shouldn't be
handled in the model.
# Old class level validations
validates_format_of :col, :with=>/.../
validates_length_of :col, :maximum=>5
validates_length_of :col, :minimum=>3
validates_length_of :col, :is=>4
validates_length_of :col, :within=>3..5
validates_not_string :col
validates_numericality_of :col
validates_numericality_of :col, :only_integer=>true
validates_presence_of :col
validates_inclusion_of :col, :in=>[3, 4, 5]
validates_uniqueness_of :col, :col2
validates_uniqueness_of([:col, :col2])
# New instance level validations
def validate
validates_format /.../, :col
validates_max_length 5, :col
validates_min_length 3, :col
validates_exact_length 4, :col
validates_length_range 3..5, :col
validates_not_string :col
validates_numeric :col
validates_integer :col
validates_presence :col
validates_includes([3,4,5], :col)
validates_unique :col, :col2
validates_unique([:col, :col2])
end
Another change made is to specify the same type of validation on
multiple attributes, you must use an array:
# Old
validates_length_of :name, :password, :within=>3..5
# New
def validate
validates_length_range 3..5, [:name, :password]
end
The :message, :allow_blank, :allow_missing, and :allow_nil options
are still respected. The :tag option is not needed as instance level
validations work with code reloading without workarounds. The :if
option is also not needed for instance level validations:
# Old
validates_presence_of :name, :if=>:new?
validates_presence_of :pass, :if=>{flag > 3}
# New
def validate
validates_presence(:name) if new?
validates_presence(:pass) if flag > 3
end
The validates_each also doesn't have an equivalent instance method,
since it is much easier to just write your own validation:
# Old
validates_each(:date) do |o,a,v|
o.errors.add(a, '...') unless v > Date.today
end
# New
def validate
errors.add(:date, '...') unless date > Date.today
end
* MySQL adapter datasets now have on_duplicate_key_update and
insert_ignore methods which modify the SQL used to support
ON DUPLICATE KEY UPDATE and INSERT INGORE syntax in multi_insert
and import.
* If you use the MySQL native adapter, you can set:
Sequel::MySQL.convert_invalid_date_time = nil
to return dates like "0000-00-00" and times like "25:00:00" as
nil values instead of raising an error. You can also set it
to :string to return the values as strings.
* You can now use Sequel without modifying any core classes, by
defining a SEQUEL_NO_CORE_EXTENSIONS constant or environment
variable. In 2.12, this may still add some deprecated methods to
the core classes, but in 3.0 no methods will be added to the core
classes if you use this.
* You can now use Sequel::Model without the associations
implementation by defining a SEQUEL_NO_ASSOCIATIONS constant or
environment variable.
Other Improvements
------------------
* Model column accessors have been made faster and the overhead of
creating them has been reduced significantly.
* ~{:bool_col=>true} now generates an bool_col IS NOT TRUE filter
instead of bool_col != TRUE. This makes it return records with
NULL values. If you only want to have false records, you should
use {:bool_col=>false}. This works better with SQL's 3 valued
boolean logic.
It is slightly inconsistent with ~{:col=>1}, since that won't
return values where col is NULL, but it gives the user the ability
to create an IS [NOT] (TRUE|FALSE) filter, which Sequel previously
did not support.
If you really want the old behavior, you can change it to
~{true=>:bool_col}.
* Model.use_transactions was added for setting whether model objects
should use transactions when destroying or saving records. Like
most Sequel options, it's settable on a global, per model, and
per object basis:
Sequel::Model.use_transactions = false
MyModel.use_transactions = true
my_model.use_transactions = false
You can also turn it on or off for specific save calls:
my_model.save(:transaction=>true)
* The Oracle adapter now supports schema parsing.
* When using Model.db=, all current dataset options are copied to
a new dataset created with the new db.
* Model::Errors#count was refactored to improve performance.
* Most exception classes that were located under Sequel::Error are
now located directly under Sequel. The old names are not
deprecated (unless mentioned above), but their use is now
discouraged. The exceptions have the same name except that
Sequel::Error::PoolTimeoutError changed to Sequel::PoolTimeout.
* Dataset#where now always affects the WHERE clause. Before, it
was just an alias of filter, so it modified the HAVING clause
if the dataset already had a HAVING clause.
* The optimization of Model.[] introduced in 2.11.0 broke on
databases that didn't support LIMIT. The optimization now works
on those databases.
* All of the the RDoc documentation was reviewed and many updates
were made, resulting in significantly improved documentation
quality.
* Model.def_dataset_method now works when the model doesn't have an
associated dataset, as it will add the method to a dataset
given to set_dataset in the future.
* Database#get and #select now take a block that is passed to
the dataset they create.
* You can disable the use of INSERT RETURNING in the shared
PostgreSQL adapter using disable_insert_returning. This is mostly
useful if you are inserting a large number of records.
* A bug relating to aliasing columns in the JDBC adapter has been
fixed.
* Sequel can now create and drop schema-qualified views.
* Performance of Dataset#destroy for model datasets was improved.
* The specs now run on Rspec 1.2.
* Internal dependence on the methods that Sequel adds to core
classes has been eliminated, any internal use of methods that
Sequel adds to the core classes is now considered a bug.
* A possible bug where Database#rename_table would not remove a
cached schema entry has been fixed.
* The Oracle and MySQL adapters now raise an error as soon as you
call distinct on a dataset, instead of waiting until the SQL is
generated.
Backwards Compatibilty
----------------------
* Saving a newly inserted record in an after_create or after_save
hook is no longer broken. It broke in 2.10 as a side effect of
allowing the hook to check whether or not the record was a new
record. The code has been changed so that a @was_new instance
variable will be defined to true if the record was just created.
Similarly, instead of not modifying changed_columns until after
the after hooks run, a @columns_updated instance variable will
be available in the after hooks that is a hash of exactly what
attribute keys and values were used in the update.
These changes break compatibility with 2.11.0 and 2.10.0, but
restore compatibility with 2.9.0 and previous versions.
* PostgreSQL no longer uses savepoints for nested transactions by
default. If you want to use a savepoint, you have to pass the
:savepoint option to the transaction method. Using savepoints
by default broke expectations when a method raised Rollback to
rollback the transaction, and it only rolled back to the last
savepoint.
* The anonymous model classes created by Sequel::Model() are now
stored in Model::ANONYMOUS_MODEL_CLASSES instead of the @models
class instance variable of the main module.
* The mappings of adapter schemes to classes are now stored in
Sequel::ADAPTER_MAP instead of the Database @@adapters class
variable.
* Model instances no longer contain a reference to their class's
@db_schema.
* Database schema sql methods (e.g. alter_table_sql) are now private.
* Database#[] no longer accepts a block. It's not possible to call
it with a block in general usage, anyway.
* The Sequel::Schema::SQL module no longer exists, the methods it
included were placed directly in the Sequel::Database class.
* The Sequel::SQL::SpecificExpression class has been removed,
subclasses now inherit from Sequel::SQL::Expression.
* Sequel now requires its own files with an absolute path.
* The file hierarchy of the sequel library changed significantly.
Thanks,
Jeremy
* {Website}[http://sequel.rubyforge.org]
* {Source code}[http://github.com/jeremyevans/sequel]
* {Bug tracking}[http://code.google.com/p/ruby-sequel/issues/list]
* {Google group}[http://groups.google.com/group/sequel-talk]
* {RDoc}[http://sequel.rubyforge.org/rdoc]
--
Posted via http://www.ruby-forum.com/.