282890-286910 subjects 283351-336654

^ [ANN] turn 0.3.0
283130 [tim.pease gm] the output of Test::Unit into something a little more verbose than
283141 [rsanheim gma] Do you have a change log?
283227 [tim.pease gm] Ummm .... YES!!
283267 [rsanheim gma] We have some hacks to put in links to the failing lines of code (using
283375 [tim.pease gm] Send the patch to my gmail account, and I'll incorporate it into the

^ [ANN] Gosu 0.7.8, also: Ludum Dare timed gamedev compo this weekend!
283131 [julianraschk] first, I want to announce the newest version of Gosu, the free 2D game

^ Getting started with Emacs and Ruby (and RoR)?
283144 [lists source] Guys,
283146 [grabber gmai] ...
283153 [lists source] Great, thanks! I have it installed and am looking through.
283189 [lists source] And if it is possible, where might one go to learn how?

^ Re: How much would variable declarations in Ruby make you wi
283155 [rogerpack200] I agree with number 1.  I like duck typing and respect it, but I have
283164 [eeklund gmai] Try out http://people.freebsd.org/~eivind/ruby/types/

^ Inject SQL Statement in Rails
283156 [lonexenophob] I have a simple SQL statement which I would like to inject in my web
283157 [yudi.xue gma] ...
283278 [lonexenophob] okay so i put this statement in the model right?
283283 [yudi.xue gma] ...
283287 [lonexenophob] thanks everyone for all the help!

^ using if block_given? method.
283159 [martin angle] I have created a simple parser. i have used @tag method to store tag
+ 283167 [shortcutter ] I am not really sure what you are asking here but in case you are
+ 283201 [phrogz mac.c] I suggest you stop using ruby-forum until it is fixed, and instead use
  283296 [martin angle] sorry Gavin, please if you are not intrested in topic please dont reply.
  283319 [shortcutter ] Did you actually *read* and *understand* Gavin's message?  His was an
  283320 [martin angle] sorry robert and gavin........
  283324 [shortcutter ] Then you should show some code you have issues with.  With the bits

^ 1053 Error about win32-service
283160 [anthruby gma] I have installed the gem of win32-service-0.6.0-x86-mswin32-60.gem.But
+ 283179 [jan.svitok g] I suggest you google for "1053 ERROR win32-service ruby".
+ 283182 [jan.svitok g] Just make TWO scripts: one for registering the service and the other
| 283183 [jan.svitok g] see mongrel_service how they do it.
| 283202 [anthruby gma] Thanks for Jano Svitok.I have rescued the problem with your help.
+ 283214 [djberg96 gma] One thing you'll want to be aware of is that there was an interface
  283301 [anthruby gma] Thanks for your help and your win32-service gem :)

^ Re: Gerbil 0.0.0 - a document generator
283161 [renard nc.rr] Please do not use version 0.0.0 since gem searches for a gem version
283502 [ snk gna.org] I tried creating a gem with version '0.0.1' and the same problem[1]

^ statically generated call graph
283165 [martindemell] Is there anything out there that will statically analyse a ruby
283168 [shortcutter ] I don't think there are any.  The issue is, how do you want to do that?
283172 [martindemell] Oh - good point :) Didn't think it through enough - I was thinking

^ Re: Gosu 0.7.8, also: Ludum Dare timed gamedev compo this weekend!
283169 [energinen gm] On 12 joulu, 02:24, Julian Raschke <julianrasc...@googlemail.com>
+ 283175 [energinen gm] No problem, I forgot to run the command in admin mode, always forget
+ 283176 [julianraschk] On OS X, you need to call it as 'sudo gem install gosu'.

^ How to start a service with the win32-service gem
283177 [anthruby gma] I have install the win32-service 0.6.0 and made some test code just like

^ library for backup restore mysql
283184 [junkone1 gma] Is there any libraries to backup and restore mysql databses.
283210 [boss airblad] $ mysqldump -u username -ppassword -x --databases db1 db2 db3 > dump.sql
283251 [junkone1 gma] how do i restore the databse to a new name. for eg
283409 [boss airblad] mysql -u username -ppassword -D dbanother < dump.sql

^ Fwd: Please Forward: Ruby Quiz Submission
283187 [james graypr] ...

^ Re: [ANN] Utility Belt: nifty gem mostly for IRB
283188 [ news jay.fm] Wow.. what a great looking gem.  Nice work!!
283192 [hutch recurs] Very nice!
283215 [hutch recurs] There's a little nonsense going on in the fix I provided... I posted
283231 [hutch recurs] I'll join up.

^ CSS Filtration
283193 [transfire gm] Is there anything already out there for sanitizing/optimizing CSS?
283729 [aaron tender] Aaron Patterson

^ Modern Ruby RPMS for Old Distros?
283195 [kyleaschmitt] Does anyone know of a site that has rpms of a reasonable (at least
+ 283217 [bulliver bad] -d
| 283222 [kyleaschmitt] Not really :) I found that before.
+ 283423 [konrad tyler] ...
  283427 [kyleaschmitt] I've been thinking of that, but that'll mean doing that for three
  283437 [konrad tyler] ...

283198 [phrogz mac.c] Ruby-Forum.com is acting as a one-way gateway to the ruby-talk mailing
283204 [rmagick gmai] The ruby-forum owner doesn't read all the posts, but he does list his
283205 [phrogz mac.c] Then I'll give him another shot. I've sent (polite) email to that
283226 [lionel-subsc] I'm tempted to do so for quite some time.

^ Windows Ruby application with Visual C++ 2008
283206 [jari.william] I'm trying to create a standalone Windows program to run some Ruby

^ Ruby 1-click installer for updates
283220 [alex.decaria] I am currently using Ruby 1.8.21 on a Windows machine.  I want to
283236 [luislavena g] On Dec 12, 1:26 pm, Alex DeCaria <alex.deca...@millersville.edu>

^ Logging irb stdin & stdout to file but still remain showing
283228 [sgwong513 ho] I search the ruby-talk and find a few discussion on redirecting the

^ multibyte characters in curses
283230 [hramrach cen] ...

^ Ruby/Gnome app hangs when http'ing from inside a thread (linux only)
283233 [andre.nho gm] I'm writing a Ruby/Gnome application that auto-updates itself from the
+ 283376 [andre.nho gm] Anyone?
+ 283425 [thgfrj gmail] I think your problem may be caused by a blocking name lookup, and
  + 283518 [andre.nho gm] Thank you SO MUCH! That's exactly what I needed to know. I'll try to
  + 283521 [andre.nho gm] I made a mistake: the same problem happens both in Linux and Windows.
    283599 [thgfrj gmail] I have no idea why it doesn't work under Windows - looking at the

^ Re: Utility Belt: nifty gem mostly for IRB
283237 [timocratic g] Awesome work Giles.  I kept meaning to get around to some of those
+ 283238 [timocratic g] My crappy fcgi'ed Typo install is slow sometimes.  If it dies let me
+ 283310 [timocratic g] This is what happens when you twiddle the comments_enabled? bit every
  283408 [timocratic g] ...

^ Re: Logging irb stdin & stdout to file but still remain show
283239 [sgwong513 ho] No answer? well, I just found an ugly hack on myself....

^ .capitalize! not being recognized in home made sort method
283240 [nigamax gmai] def sort some_array
283242 [sepp2k googl] You're defining Object#sort(some_array), but you're calling Enumerable#sort().

^ Connecting to Outlook 'Saved Items' folder using win32ole
283243 [alex.decaria] Can anyone tell me how to connect to the 'Saved Items' folder in Outlook

^ Re: Connecting to Outlook 'Saved Items' folder using win32ol
283244 [wpdavenport ] I'm curious.  Are you connecting to Outlook through an Exchange Server
283245 [alex.decaria] Bill,
283250 [wpdavenport ] Alex,
283256 [alex.decaria] Bill,
283258 [wpdavenport ] I misread. Is 'Saved Items' a folder you created.  Look at the structure
283260 [alex.decaria] Bill,
283265 [wpdavenport ] I created a 'Saved Items' and was able to access it using WebDAV.
283266 [wpdavenport ] Posted via http://www.ruby-forum.com/.
283269 [alex.decaria] Bill,
283362 [alex.decaria] Bill,

^ composition/inheritance/subclassing standard lib classes
283246 [bobterwillin] An old ruby quiz (#24) deals with a game of poker, and there's a
283297 [Joerg.Mittag] The way I see it, there's two reasons: a more metaphysical design
283338 [paul.nulty g] ries
288607 [Joerg.Mittag] Sorry for the late reply.

^ Turning symbols into class names
283249 [rubygeekgirl] Long time no see!
+ 283252 [gthiesfeld g] I believe you're looking for Module#const_get.
| 283255 [ljjarvis gma] Damnit, you were too quick :-P
+ 283253 [sepp2k googl] need ruby to "recognize" the symbols as something they're not.
| 283259 [rubygeekgirl] On Dec 12, 4:26 pm, Sebastian Hungerecker <sep...@googlemail.com>
| 283262 [jcribbs netp] ...
| 283263 [jcribbs netp] ...
+ 283254 [ljjarvis gma] const_get?

^ Inheritance and meta-classes
283270 [adam.q.salte] OK. I'm trying to work out where a method is defined in Rails.
283303 [adam.q.salte] Any suggestions?
283327 [shortcutter ] Where exactly do you see cycles?  I am not aware of any.
283350 [rick.denatal] irb(main):001:0> def meta
283782 [shortcutter ] Ah, now I see!  Should've put on my glasses. ;-)
283896 [rick.denatal] Yes I copied the classname' notation from the diagrams Dave Thomas
283899 [shortcutter ] But note that any class is also an instance.
283903 [rick.denatal] But that doesn't seem to be relevant to the 'slightly restated assertion that.

^ system(), syscall(), and Shells
283271 [fedzor gmail] I have a rather quick question.
+ 283273 [transfire gm] How does one join/observe the unix ruby team?
| + 283275 [fedzor gmail] subscribe to the mailing list!
| + 283431 [devi.webmast] I recommend joining the mailing list at
+ 283359 [kbloom gmail] Syscall in ruby works exactly like it does in C.

^ [ADV] New Ruby Pragmatic Studio
283272 [mike clarkwa] Just a quick reminder before the end of the year...

^ comma separated lists syntax error
283274 [ry tinycloud] I'm very disappointed that I cannot format my hashes like this
+ 283279 [phrogz mac.c] For the same obvious reasons as you desire that, does it sufficiently
| 283285 [ry tinycloud] No, the benefit is that the separators are at the beginning of the
| + 283300 [nobu ruby-la] But you don't have a comma before the first element.
| + 283398 [phrogz mac.c] Ah; I thought the 'obvious' benefit you were referring to was that you
|   283591 [MonkeeSage g] In haskell (mainly because of "layout") and to a lesser extent, ocaml,
+ 283284 [andrei andre] Just out of curiosity, what are those obvious benefits? It's the first
  283288 [TimHunter nc] I do this with C code. The idea is that you should make a continuation

^ warning: variable $KCODE is no longer effective
283276 [drbrain segm] This warning comes from accessing $KCODE.  What should be used instead?

^ Christmas Shopping Made Easier
283277 [sisterofchar] This site really was a surprise. Also check out http://www.christmasplayland.com

^ Re: Abstract -- what's the Ruby way?
283281 [ryan.baldwin] Here is one way. Its not very satisfying, as you have no way to access
+ 283289 [timocratic g] Is it possible to pull of maybe using some clever passing back and
+ 283295 [marick visib] I missed the beginning, so hope this response is to the point. See the
+ 283307 [charles.nutt] You could privatize new and define a new new for inheriting classes that
  283783 [shortcutter ] This downside can be easily avoided: simply change #inherited to make

^ [ANN] bj-0.0.2
283282 [ara.t.howard] (note: i just pushed 0.0.2 up and the gem mirrors typically take ~ 30
283383 [ara.t.howard] well, backgrounddrb was originally written by ezra on top of my slave
+ 283394 [gethemant gm] I am maintaining backgruondrb in these younger days. And things have
| + 283397 [gerardo.sant] A comparison between them would be enlightening. I knew about
| + 283422 [ara.t.howard] hey hemant - didn't know you'd taken that over.  so it seems everyone
+ 283395 [alex blackke] My word.  I think you've just saved me a ton of work.  Yet again.
  283429 [ara.t.howard] 1) i'd forget about having specialized nodes unless you have a very
  283433 [alex blackke] I should have been a little clearer - I'm not thinking of one node per
  283439 [ara.t.howard] maybe just use rq then?
  283454 [alex blackke] Maybe.  It's another option to check out :-)

^ Korundum and threads
283286 [matthieu.rio] ...
+ 283292 [fedzor gmail] How certain are you that it's your OS thats stopping the thread, and
+ 283299 [john.carter ] Personally I wish
| 283312 [vjoel path.b] #Thread.abort_on_exception=true
+ 283308 [alex deletem] I don't use Korundum, but generally GUI toolkits don't work well out of

^ read in file
283291 [chrisd27 hot] I've created a simple program which will read in a file.
+ 283293 [enjo20 gmail] File.open("path/your/file") do |sFile|
| 283294 [chrisd27 hot] cheers for that, but how can i take that data and move it into a new
| 283313 [enjo20 gmail] if you dont want to modify the existing file, you dont need to open
| 283314 [ljjarvis gma] Or if you do want to read and modify it..
+ 283353 [sepp2k googl] That can be written as
  283356 [mike.s.mckin] ...
  283361 [sepp2k googl] That leaves test.txt open which is not good. Don't use File.open in chains=
  + 283401 [phrogz mac.c] On Dec 13, 8:27 am, Sebastian Hungerecker <sep...@googlemail.com>
  | 283400 [phrogz mac.c] Nevermind; my reading comprehension seems to be turned off this
  + 283407 [mike.s.mckin] ...

^ Re: Gerbil 0.0.0 - a document generator
283298 [ snk gna.org] That visual design (whitespace is key!) is actually the result of two
283305 [alexg kuicr.] Any eta for the LaTeX format specification? This looks really cool and
283387 [ snk gna.org] My current priority is to iron out the bugs & nuances in the HTML

^ localhost issues
283302 [harpoon45 ho] => nil
283381 [harpoon45 ho] ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
283390 [homebeautypi] Have you checked your config/database.yml ?? try to restart your console

^ Getting method parameters in specified order
283306 [chintanaw gm] If I declare a function that expects 3 arguments,
+ 283341 [bermonruf gm] ...
| 283366 [chintanaw gm] Thanks Bernardo.
| 283487 [botp delmont] # Sent: Thursday, December 13, 2007 11:40 PM
| 283504 [chintanaw gm] Thanks Botp and Phrogz, I'll look into it.
+ 283402 [phrogz mac.c] There is not; as Bernardo said, Ruby only allows you to check the
+ 283524 [lloyd 2live4] Forgive the naive thoughts of a ruby ruby, but what if you accepted an
  + 283525 [lloyd 2live4] ruby nuby, I meant.  heh
  + 283634 [ezmobius gma] You can accomplish this with the Ruby2Ruby gem. Here is a pastie of

^ Simple method and block. foo.times
283316 [info jayeola] Why does the output stop at eight. Shouldn't the class of nine be
+ 283322 [stefano.croc] int.times {|i| block }     =3D> int
| 283475 [botp delmont] # If you want to include both 0 and 9, you can use upto instead=20
| 283481 [bermonruf gm] ...
| 283488 [botp delmont] # class Integer
+ 283529 [lloyd 2live4] 1.upto(9) {|x| print x , " ", x.class, "\n" }

^ method accesible only from another class
283328 [mario betwar] I need that a method can be accesible only from other class but only
+ 283330 [stefano.croc] I don't think you can do exactly that. A method can only be public (everyone
+ 283331 [mario betwar] Maybe a solution can be if I write the classes inside a module and I can
  283334 [stefano.croc] No. There are private module methods, but they're another thing enterely. A
  283343 [mario betwar] I like very much the send option, and it works really well.
  283344 [mario betwar] About the solution with the module... could I use in this method a

^ Paid tuition?
283329 [dans-money h] Iam relatively new to programming, and just began to learn Ruby and was
283333 [richard.conr] Derek, your best bet is to find a local Ruby users group, or even any

^ suprised by destructive map (not map!)
283332 [boris.sch.mi] Occasionally I run into bits of ruby that are surprising to me (although
+ 283339 [alex blackke] It's not map that's destructive here, it's the #<< method.  Map iterates
| 283340 [bermonruf gm] ...
| 283342 [alex blackke] array.map{|a| a = a + [3] }
| + 283355 [bermonruf gm] ...
| | 283410 [boris.sch.mi] Thanks for clarifying that. I'll compile a list of destructive methods
| | 283505 [shortcutter ] You should also remember that all parameters are passed by reference*.
| + 283520 [erikveen gma] array.map{|a| a + [3]}
+ 283509 [micathom gma] Well, Array#<< means: __append__ an element to an array and return

^ [ANN] Swat - A todo app for Gnome
283335 [gethemant gm] Swat is a todo list manager for Gnome & Emacs.
283336 [gethemant gm] It needs a "snippets" directory in your home directory,where all your

^ [SUMMARY] Word Loop (#149)
283345 [james graypr] There were two kinds of solvers this week:  hardcore programmers who love a good

^ Modifying parent shell's attributes?
283347 [lists source] I asked this on the rails list, but received no traction. Since it's
283349 [halostatue g] Check out the Process class; specifically getrlimit and setrlimit. It
+ 283374 [shevegen lin] These are the little diamond things in ruby - bits of useful knowledge
| 283434 [lists source] Yep...thanks very much austin!
+ 285605 [lists source] Following up a bit late on this, but this doesn't solve my problem.
  285606 [gwtmp01 mac.] It looks like you are trying to increase the max stack size
  285609 [lists source] Process.setrlimit Process::RLIMIT_STACK, 18446744073709551615,
  285612 [gwtmp01 mac.] I'd avoid huge numbers like that--you may be causing other problems