377646-379916

377443-400275 subjects 377847-408179

Transfer hash (within a class) to another class
377646 [niezam54@ho ] class Environmental
377647 [niezam54@ho ] Problem has been solved.cheers!

IDE?
377650 [johan.tempel] I am using Netbeans as IDE.
+ 377654 [koulikoff@gm] ommunity/news/show/1507.html
+ 377655 [stu@ru yp og] Look at eclipse.
| 377656 [jeffersonjpa] Aptana RadRails.
+ 377660 [cmdjackryan@] Mostly, anyway.
+ 377663 [jstewart@fu ] I was using MacVim but switched to Emacs with vimpulse (vim
+ 377674 [uwe@ku os h.] I have used emacs, Eclipse with RDT, and RadRails and Aptana Studio.
| + 377675 [richard.conr] I have used redcar myself a lot last year. It has had massive development
| + 377676 [hassan.schro] me so far. =A0Be warned, it is commercial, but so far this has been a posi=
|   377704 [eric.promisl] ActiveState's Komodo is still supporting Rails, as well as plain Ruby.
+ 377712 [echristopher] That's too bad. I see they seem to be equating Ruby with Rails, on top
| 377899 [darkintent@g] Oh that is a shame.  My next best choice for web development with Ruby would
+ 377988 [cfb@jn at .d] There may still be Ruby support in Netbeans in the future. Read this

Web App :: Add/edit ruby files without restart
377652 [sit1way@ho m] Changed subject to indicate more clearly what I am missing with Groovy

Group elements by category
377653 [sergi.villan] I don't know how to do this avoiding loops,etc..
377665 [anurag08priy] Anurag Priyam
377669 [mentionuse@g] I think Rails provides this method for pre-1.8.7, but for 1.8.7 and higher
377906 [svillanueva@] 4, 4, 4]}

Re: Ruby & Groovy :: Pros & Cons
377664 [pinit@in er ] I have move from Perl around 2 years ago. My team working hard with
377683 [sit1way@ho m] OK, interesting, this is another reason testing is strongly encouraged
377684 [steve@st ve ] If you're looking for simpler web frameworks, check out Sinatra or camping.
377688 [sit1way@ho m] Yes, when looking at Rails, and how (from outsider's perspective)
+ 377689 [steve@st ve ] Yep, it sounds like you'd be happy with Sinatra. It'd give you MVC, you can
+ 377698 [matt@ha ps a] Depending on what you want in terms of form building, you might take a
| 377711 [sit1way@ho m] @MKW, nice, if it makes you happy, then Ruby must be wonderful. PHP does
+ 377767 [shortcutter@] I used to use Perl in domains where I now exclusively use Ruby.  These
+ 377770 [fxn@ha hr f.] Ruby is a language I love, but I have no preferred language. I have a
  377806 [sit1way@ho m] Right, this is what I am coming to realize now, having more tools in the toolbox makes not only for a broader skillset, but for a more enjoyable programming experience.

Alias method in module
377666 [dagnan@gm il] I'm trying to alias a method in a module and then overwriting this method (still having access to the old method).
+ 377713 [botpena@gm i] try
| 377718 [b.candler@po] Looks like when you include module Foo, the definition of foo in the
+ 377783 [zhangsu@li e] As of Ruby 1.9, when you include a module M in a class C, an anonymous
| 377784 [b.candler@po] It's the same in 1.8.7.
| 377837 [mentionuse@g] John Mair (banisterfiend) has written some code to manipulate ancestor
+ 377843 [dagnan@gm il] Thank you all for your answers.

Each Array Method Skipping first Array position
377668 [chris.gogree] Could someone tell me why in the following code, when it iterates on the
+ 377670 [shortcutter@] Does it?
| 377672 [mentionuse@g] This was something else I was going to point out. You don't have to
+ 377671 [mentionuse@g] The answer is that your code doesn't take into account the situation where

Simple way to detect 32bit vs 64bit?
377690 [transfire@gm] ...
+ 377695 [steve@st ve ] ruby-1.9.2-p0 > RUBY_PLATFORM
+ 377700 [justincollin] 1.size => 4 on 32 bit, 8 on 64 bit.
  377702 [djberg96@gm ] checking if the running arch is 32bit or
  377717 [transfire@gm] ...

Packaging a Ruby file into a stand alone application
377691 [ajay.ravindr] It has been only a day since I have heard of Ruby (Very very New). My
+ 377696 [dejstone@gm ] Ajay,
+ 377697 [audaciousaja] Please find attached the Ruby file that I am using to generate a report
+ 377699 [justincollin] Ocra is usually recommended for this: http://ocra.rubyforge.org/

instantiating a class
377692 [bellcolt@ho ] How do i instantiate a class whose name is contained in a variable ?
+ 377693 [anurag08priy] klass =3D Kernel.const_get(myVariable)
+ 377694 [josh.cheek@g] class MyClass

best ruby blogs?
377701 [nicholas4@gm] What are the major ruby blogs that a newbie should read read/follow?
+ 377725 [josh.cheek@g] I like Ruby Inside a lot, you can also get mailed about its articles by
+ 377730 [erik.eide@gm] You can find a fair few at http://www.rubycorner.com &

Zlib::GzipReader and multiple compressed blobs in a single stream
377703 [jos@ca no k.] I'm trying to inflate a set of concatenated gzipped blobs stored in a single
+ 377748 [jeremy@bo p.] I'm not sure what's going on, but I was hoping you could solve your
| 377979 [jos@ca no k.] Thanks for your reply.
| 377983 [jeremy@bo p.] While I don't think you'll be able to make it as fast as zcat, given
+ 378010 [drbrain@se m] single
  + 378019 [jeremy@bo p.] Once your fix is in place and GZipReader#unused works correctly, is
  | 378062 [jos@ca no k.] Fwiw, with the changes just committed to trunk the following code works for me
  | 378063 [jeremy@bo p.] That's great!  How does the performance compare to zcat with your data?
  | 378068 [jos@ca no k.] % time zcat gz > /dev/null
  | 378070 [jeremy@bo p.] Excellent.
  + 378059 [jos@ca no k.] Thanks, Eric!

Re: Hi,Please find attached the Ruby file that I am using to generate a reportout
377705 [garethlatwor] OCRA will work.

Eric, an IDE for Ruby and Python
377706 [gmkoller@gm ] This may have sneaked up on a few people?  But now seems to future

Pyjamas - Why is this concept of Desktop + ClientSide App not more exciting?
377707 [gmkoller@gm ] As a long time apps guy without web experience I am finding working
377709 [steve@st ve ] Because generally they end up looking badly. Desktop apps and web apps are

Array Slicing 1.9.2
377715 [lucky.develo] I'm using ruby 1.9.2 Today i was playing around array and here is the
377726 [mentionuse@g] It's not actually specific to 1.9, if you're wondering.

Ruby Beginer
377720 [soldier96@ro] I am new in ruby and i want to know where i can begin to learn Ruby and
377724 [uwe@ku os h.] You will find that most platforms are supported, so what platform you choose for Ruby development should be the one you are most comfortable with.  Be sure to have a good editor :)  And test a lot :)

How to get Nokogiri to resolve XPath references when parsing XML?
377722 [mstumpp@go g] A lot has been written about Nokogiri in terms of reading XML using
377765 [shortcutter@] I don't think you can get Nokogiri (or any other XPath processor) to

[ANN] rdoc 3.5 Released
377729 [drbrain@se m] rdoc version 3.5 has been released!

gsub! on a txt file
377732 [leo.mmcm@gm ] I'm a complete newbie in Ruby's world!
+ 377739 [anurag08priy] text = File.read('/R/testo.txt')
+ 377746 [leo.mmcm@gm ] Ohhhh I didn't know this method!
+ 377751 [b.candler@po] Processing one line at a time is a good idea because it lets you handle

going onto a new line
377733 [danissoepicl] ok i am quite new to ruby and i am only 14 so.... any way i am
+ 377734 [botpena@gm i] print "**uh.....**\n"
+ 377735 [marco-oweber] print "ath
+ 377736 [danissoepicl] thanks botp :) works fine,

i need help with if statements
377737 [danissoepicl] i am having trouble with if statements.
+ 377738 [josh.cheek@g] if answer == 'yes'
+ 377740 [danissoepicl] thanks :)
  377764 [shortcutter@] case answer

Failed requires?
377741 [cmhoward@fr ] I'm running ruby 1.8.7. If I 'require' a file, and it fails, the program
+ 377744 [sutniuq@gm .] begin
+ 377745 ["none <@ru y] $ irb
+ 377752 [b.candler@po] A bare "rescue" without specifying a class will rescue StandardError

[ANN] Ruby-GNOME2 0.90.6
377742 [kou@co mi ng] The Ruby-GNOME2 project released Ruby-GNOME2 0.90.6.

Calculating simulated motion blurring
377743 [cmhoward@fr ] I writing a small game with rubygame. Use fixed framerate (30 f/s) with

(none)
377750 [bjones1@ch t] unsubscribe

RAutomation 0.5.1 Released
377754 [jarmo.p@gm i] New version of RAutomation just got released!

How deliver emails with sender's name
377758 [m.mastrodona] Sometimes i need to specify a name to show it when email is received.
377759 [b.candler@po] mailfrom is for the SMTP envelope. You should only ever pass it a bare

[ANN] mahoro 0.2 - Ruby 1.9 compatibility!
377760 [normalperson] Mahoro is a Public Domain Ruby interface to libmagic.  It is in use by

New to programming AND new to Ruby
377761 [cassandra.k@] programming, or experience... only interest.
+ 377768 [nupal84@gm i] Would a study group of others working through the same book help.
| 378054 [badlands_200] ...
| 378057 [soman.abhiji] Hey James,
+ 377769 [cassandra.k@] A study group sounds kind of cool.  I'd be interested in that.  I think
| 377774 [nupal84@gm i] Lets have a think about the best way to do this and what we want from it
+ 377772 [josh.cheek@g] For questions about how Ruby methods work, keep the docs handy
+ 377776 [james@gr ys ] Good on you for learning new things.  We all need to do more of that.  =
+ 377779 [chris.hulan@] You should check out the Railsbridge community (http://
+ 377780 [martindemell] Check out http://rubylearning.org/class/
+ 377793 [badlands_200] ...
+ 378108 [danissoepicl] posting simple questions on here shouldn't embarrass you, i do it all
  378109 [ccrumley@ca ] be quiet noob (lol)

Re:
377762 [shortcutter@] nope

RubyGems: versioning devel releases
377771 [chastell@ch ] =46rom what I understand by reading rubygems.org and checking
377792 [ryand-ruby@z] No. It is entirely off of the matching of /[a-zA-Z]/

New Gem upload - rules
377773 [dharsininitt] What are all the steps/rules to be followed while uploading a new gem to
377775 [jeremy@bo p.] IIRC, rubyforge isn't used as a gem repository by default in newer

[ANN] Regex Searching on Arbitrary Sequences
377781 [adgar@ca bo ] ...
377809 [Ruby@Go gl M] This is pretty cool. I never understood why pretty much every language
377813 [adgar@ca bo ] In talking it over with the co-writer of the Regex-Searching writeup, we =

2011: Which Ruby books have you read? And which would you recommend?
377785 [azzzz@gm .n ] I know there are a lot of threads about books, but some of them are as
+ 377786 [azzzz@gm .n ] I haven't read many myself yet, but I have read The Well Grounded
+ 377789 [headius@he d] I'd recommend "Using JRuby" from PragProg, which just recently went to press :)
+ 377790 [anurag08priy] Makes sense :).
| 377801 [badlands_200] ...
| 377803 [serialhex@gm] +1 http://rubybestpractices.com/ i'm really enjoying reading this book, the
| 377820 [h3rald@h3 al] I read and reviewed many Addison-Wesley books on Ruby lately, and my
| 377832 [flebber.crue] ?isbn=3D0321603508
+ 377857 [azzzz@gm .n ] /Thanks for the replies everyone - keep them coming!/
+ 378270 [peter_booth@] There are five Ruby books that I enjoy dipping into and also refer to
+ 379127 [azzzz@gm .n ] I finished Design Patterns in Ruby by Russ Olsen - what a great book,
+ 379844 [azzzz@gm .n ] Finished Eloquent Ruby the other day - another great book from Russ
| 379854 [klauer@gm il] I'm currently on chapter 5 of that book.  So far I really like it.
+ 379913 [bbxx789_05ss] a)The Pickaxe (i.e. Programming Ruby by Dave Thomas, et al, the latest
  379916 [josh.cheek@g] "Dynamic programming" is already defined, though, it's an approach to

Fwd: [ANN] Regex Searching on Arbitrary Sequences
377794 [john.carter@] Very Nice!

class and inheritance. Inherit data
377797 [niezam54@ho ] I have a problem inheriting data from the parent class to its
+ 377819 [ruby@ur ew l] You declare 'convert_yaml' as a local variable here. It 'disappears' as
+ 377827 [niezam54@ho ] Thanks for your post. Actually, i dont want every subclasses to has its
  377831 [ruby@ur ew l] Sorry, I meant a class variable (@@var).

I want to pass the name of a calling web page in a form in Ruby
377798 [asargent73@g] I have a landing page controller and index page that has a button on
377848 [b.candler@po] Well I don't see anything Ruby related in that question, but you could

Recursive regular expressions in Ruby?
377799 [jarmo.p@gm i] I was just wondering if there is possible to write recursive regular
+ 377812 [josh.cheek@g] regex = /^(?<bracketed>\[(\g<bracketed>|\d)\])$/
| 377825 [jarmo.p@gm i] Thanks!
| 377826 [josh.cheek@g] You're right, that was the January edition. Here is the one I meant to link
+ 377823 [shortcutter@] Strictly speaking these are no more regular expressions any more

How to know the exit status within at_exit() block?
377800 [ibc@al ax ne] such return code into at_exit() block, but I don't know how to do
+ 377810 [josh.cheek@g] How about stick your own exit method before Kernel in the lookup chain
| 377912 [ibc@al ax ne] That could work. Then I need to store status in an Object attribute or
+ 377815 [drbrain@se m] ruby -e 'at_exit { p $!.status }; exit 1'=
| 377913 [ibc@al ax ne] #<Proc:0x000000019f99c0@(irb):1>
| + 377930 [josh.cheek@g] It probably doesn't work in IRB, because IRB wraps calls to exit
| | 377931 [ibc@al ax ne] You are right, however I've realized that in case of exiting without
| | 378005 [drbrain@se m] Yes,
| | 378043 [ibc@al ax ne] Thanks. I wonder if $! can be anything else apart from SystemExit and Interrupt.
| | 378111 [drbrain@se m] Interrupt.
| | 378113 [ibc@al ax ne] Great :)
| + 378004 [drbrain@se m] catch
+ 377829 [shortcutter@] You are aware that you can simplify that to
  377915 [ibc@al ax ne] Yes, but I want to inspect the exit status code into the block
  377918 [shortcutter@] This is completely unrelated to how you _call_ exit.  I pointed out
  377919 [ibc@al ax ne] Ok, perhaps I should clarify that SOMETHING is not the existing status
  377921 [shortcutter@] I know.

[ANN] hoe 2.9.0 Released
377802 [ryand-ruby@z] hoe version 2.9.0 has been released!

Date.today.strftime("%A").
377804 [ramsees.79@g] Date.today.strftime("%A") returns "Monday", what can I do to get "Lunes"
377844 [list.push@gm] If nothing better comes along, you could try something like this.

[ANN] rubygems-update 1.5.0 Released
377805 [drbrain@se m] rubygems-update version 1.5.0 has been released!
+ 377807 [drbrain@se m] Oops!  I forgot to remove this section from the README before release.  =
| 377808 [Ruby@Go gl M] Thanks very much. This is great news!
| 377822 [lists@ji s. ] This update seems to break Bundler...
| 377830 [luc@ho k- on] Quote from =
| 377834 [lists@ji s. ] Thanks Luc!
+ 377886 [botpena@gm i] we see that you've remove gem mirror.

looping CSV.foreach??
377814 [niezam54@ho ] CSV.foreach('ActionPlan.csv') do |row|
377840 [james@gr ys ] You would collect them in an Array.  Put a line like this before the =

Decreasing range?
377816 [stefano.grio] I just noticed a behavior I don't really get related to Range and
+ 377817 [josh.cheek@g] 4.downto(1) { |i| p i }
| 377821 [shortcutter@] This is certainly the most efficient variant.  For the general case
+ 377824 [stefano.grio] Thank you both, I feel ashamed that I didn't think about "downto" ..
  + 377828 [stefano.croc] Range#each calls the #succ method of the starting element to get the new one
  + 377853 [ymendel@po o] Your use of <=3D> is perplexing, given that anything Comparable would
    + 377874 [stefano.croc] Yet, it's what Range uses. According to "The ruby programming language", for
    + 377891 [ymendel@po o] Wacky.

soap4r error when unmarshaling data from client
377818 [yermej@gm il] I posted a similar message in the soap4r group, but there hasn't been

mkmf-bug under mingw without msys
377833 [raoultranchi] I have a problem building an extension with mkmf under windows which
377839 [luislavena@g] You can build ruby without msys, but then you will have problems about
377846 [raoultranchi] I don't have such dependencies. If I manually change the path in the
377849 [gthiesfeld@g] You can require the devkit without rubygems.
378232 [raoultranchi] Adding the following to extconf.rb did the job for me. It implements a

Gem Seer Help
377835 [bianca.steph] It works fine, but i can't change the content of the tooltip that shows

Re: rubygems-update 1.5.0 Released
377836 [eblumenfeld@] It works with ironruby also!!!
377928 [luislavena@g] Luis Lavena
377939 [botpena@gm i] thanks, luis. author says it's unstable, and install doc says not yet.

Ruby Range issues
377838 [Ray@Bo et or] ...
+ 377842 [shortcutter@] art
+ 377858 [Ray@Bo et or] Thanks for the comments, Robert.
  377879 [b.candler@po] The logic is in ruby_float_step in float.c.
threads.html
top