280930-282761

280779-282747 subjects 281224-292125

^ failry simple(?) active record question.
280930 [kyleaschmitt] I'm plodding my way through active record right now, and running into
+ 280939 [yermej gmail] What error do you get? That would help in diagnosing the problem.
+ 280958 [ryand-ruby z] AR questions should go to the rails list... that's the group that
| 280996 [kyleaschmitt] OK.  I'll repost it there.  As I really wanna just use AR and not
+ 281128 [raulparolari] Kyle,

^ ruby-libtommath 0.41.0 Released
280932 [jeremy hineg] ruby-libtommath version 0.41.0 has been released.

^ Executing ruby script on a Dreamhost account?
280943 [pood.forums ] So far, from what I've read, I should use eRuby if I want to execute my
+ 280944 [pood.forums ] Also forgot to ask, would executing ruby code online be easier with
| 280959 [peter rubyra] Isn't that scRUBYt! by any chance? :-) Well, it doesn't matter whether
| 281018 [pood.forums ] yup, it's Scrubyt;)
+ 281032 [alex dunae.c] I use eRuby to power a Ruby script on Dreamhost and it works

^ Ruby tool survey results
280948 [Tim.Bray Sun] Thanks for participating!  http://www.tbray.org/ongoing/When/200x/

^ [ANN] sciruby mailing list
280953 [ara.t.howard] just a quick note to say that cameron mcbride has graciously set up a

^ So, here's a challenge!  (was: Re: "Why I Program In Ruby (And Maybe Why You Shouldn't)")
280956 [jari.william] I agree with lots of what you said, and I think much of it can be
281080 [jeremymcanal] There is such a tool that I spent all summer writing, but very few
281239 [trollenlord ] Nice. However it does not lower the power required to participate.
281243 [jeremymcanal] Indeed.  I've started work on a really nice utility to make working on

^ activerecord and composite keys
280960 [n.couturier ] I'm using Dr Nic's composite keys gems.
+ 280987 [jftran rubyf] Maybe you should call your class DossierPersonne instead of
+ 281290 [hawat.thufir] I didn't know rails could do composite keys -- thanks for the info :)

^ Ruby FORUM 2008 IN TOKYO
280974 [okazaki ele-] Ruby FORUM 2008 in TOKYO 2008/1/16

^ (none)
280975 [dustin.codem] # unsubscribe

^ how to change all values for object
280978 [sebastian.bo] I need change all values of Active Record Object
+ 280981 [aff28 delete] Because you are calling the literal method "m=", which doesn't exist.
+ 280993 [MonkeeSage g] From the docs...
  281033 [sebastian.bo] Thank you

^ Problems with OpenSSL => RSA
280979 [studlee2 gma] confidentiality by encrypting some information.  I also wanted to
281006 [caleb aei-te] The last paragraph is what you're looking for.

^ Rake Tasks... undefined method `get_alerts'
280980 [indiehead gm] active users, and using RAKE Tasks to do this.
281014 [boss airblad] You're more likely to get a good range of answers on the Rails list
281042 [indiehead gm] Excellent!

^ A simple chat in Ruby
280988 [skyst3f hotm] Firstly, excuse for my english, i'm a french student.

^ Re: Strange code or Zerotons instead of Singletons
280997 [transfire gm] Why are you using a class as if it were an instance?
+ 281000 [MonkeeSage g] ^ That was my thought too, but since he mentioned singleton, I thought
| 281016 [MonkeeSage g] I mainly stick to simple stuff. I'm not a metaprogramming genius like
| 281023 [ara.t.howard] note that prototypes can be dup'd or clone'd
+ 281029 [transfire gm] Yes.
  281061 [MonkeeSage g] I'm still thinking that class Whatever with a anonymous mixin (in the

^ unsubscribe
281004 [nicoantoniad] unsubscribe

^ Match every word except a substring
281007 [t5in9tao gma] I try to write a regexp which match all possible chars, except a
281020 [yermej gmail] Using {0} doesn't make sense to me...it seems that you're looking for
281028 [t5in9tao gma] Sugoi ;)

^ Re: So, here's a challenge!
281008 [znmeb cesmai] Well ... there are a finite number of developers but a potentially
281027 [eeklund gmai] True.

^ Accessing a file server with ruby
281012 [improvcornar] This seems like it should be a simple solution, but I don't know
+ 281024 [mailing.mr g] Well you need to choose protocol - proably should take a look at ruby
| 281026 [improvcornar] I don't want FTP. I just want the program to look into the directory
| + 281038 [mailing.mr g] Well you don't seem to understand that you're using samba protocol
| + 281039 [aredridel nb] That sounds like using SMB to access a windows file server. That's no
| | 281048 [improvcornar] I am using Dir to access a different computer on the same local
| | + 281053 [aredridel nb] There were some changes in Ruby 1.8.6, and even more so in the
| | + 281056 [mailing.mr g] You are using SMB share transparently, that confirms it.
| |   281069 [improvcornar] Sometimes I would rather be a Non-windows-user, but the work
| |   281091 [shevegen lin] Only chiming in to wish you good luck on it :)
| |   281093 [improvcornar] You're right, it'll take invested time. I just want to do it as
| |   281132 [tmprx79g bel] Just to be the bastard computer nerd from heck,
| + 281096 [gthiesfeld g] Dir['//servername/share/directory/*']
+ 281145 [botpena gmai] this is just a simple example,
  281201 [improvcornar] Gordon, Dir['//servername/share/directory/*'] is what I had been using

^ regex problem
281015 [mcse palstek] I would like to scan a string of html-tags. I need it to take out all
+ 281017 [flazzarino g] the first kleene star might need to be non greedy? in other words stop
+ 281025 [cvonkleist g] Franco is right.  You could fix it by doing "a.*?href".  However, I
  281599 [flazzarino g] On Nov 27, 12:00 pm, Christian von Kleist <cvonkle...@gmail.com>
  281699 [mcse palstek] Regardless which order has the attributes, because you can have any

^ [ANN] Sup 0.3 released
281047 [wmorgan-ruby] Sup version 0.3 has been released!
281144 [d454d web.de] This is just great! :)
281184 [phil pricom.] [phil@prix attach]$ sup
281218 [wmorgan-ruby] This is a Ferret error. Did you run out of disk space during index
281230 [phil pricom.] William,

^ flv tool
281065 [gabe project] charset=iso-8859-1

^ How to use Builder?
281066 [dmcheng yaho] named Contact that has attributes first_name, last_name, address1, etc.

^ How to redirect a "system" standard output to a variable
281067 [venkatesh.ma] I need to redirect any standard output thrown when using a system call into
+ 281097 [dusty.doris ] I use open4 for things like that.  Try this it will show you how it
+ 281143 [m_goldberg a] sys_msg = `rm /Users/Desktop/foo.txt 2>&1`

^ How to redirect a "system" standard output and standard error to a variable (Linux)
281072 [venkatesh.ma] To clarify further I want to capture any standard output or standard error.
+ 281082 [phrogz mac.c] Google "ruby popen3" and "ruby popen4"
+ 282283 [kbloom gmail] You need to use popen3, because the message is printed on standard error,

^ Re: How to redirect a "system" standard output and standard
281077 [coder68 yaho] irb(main):001:0> r = `rm somefile 2>&1`
281084 [shevegen lin] I think the shortest and cleanest is
281101 [weathercoach] I was dealing with this myself today.  Here is the solution came

^ Very beautiful girls and complete stock information,please check it  out
281092 [bartolotta52] Very beautiful girls and complete stock information,please check it

^ looking for a rubyforge mirror
281094 [ruby thomasz] Due to security restructions in my environment, I am currently unable

^ Trouble advancing date in iterator
281099 [petertmarks ] I am trying to assemble an array of month names called
281247 [petertmarks ] Thanks for your suggestions Robert. Looks like this is all I needed to

^ Turning Dwemthy's Array into a mixin
281107 [rbysamppi gm] As a beginner, I'm having trouble converting the metaprogramming in
+ 281213 [JAMES.T.MCLA] charset="us-ascii"
+ 281220 [why ruby-lan] Hey, so, yes, this is what Dwemthy has been talking about all along,

^ Books on Ruby...
281110 [barcaroller ] Ruby for beginners
+ 281111 [fedzor gmail] -> Why's Poignant Guide
| 281129 [gene.tani gm] There's new books coming out every week, it seems, check the leading
+ 281138 [kevin.cline ] For experienced programmers wanting to work in Ruby, I found
+ 281141 [longxuxiao h] ruby cook book
+ 281160 [markonlinux ] Learn to Program

^ IO.expect: where can I find documentation??
281112 [dan.caughert] Hey all --
+ 281136 [lloyd 2live4] I do not know about that.  Could you mean REXML.expected?  That is the
+ 281140 [longxuxiao h] Ǵ
+ 281171 [dangerwillro] Dan,
  281176 [MonkeeSage g] On Nov 28, 6:14 am, John Joyce <dangerwillrobinsondan...@gmail.com>
  281298 [dan.caughert] Thanks, Jordan!
  + 281419 [renard nc.rr] Have a floatnum regex for 'pattern'  /\d+.\d+/ ?
  + 281552 [drbrain segm] You can pass a Float to #select.

^ chat in network
281114 [bad_good_lio] i am new to networking

^ (none)
281115 [psfriedman g] chaddr psfriedman@gmail.com paulsanfordfriedman@yahoo.com

^ Binary Logic, Bug or Feature?
281117 [maxpenguin g] I have been pulling my hair out for the last 20 minutes trying to find
+ 281118 [matz ruby-la] Precedence.
| 281126 [maxpenguin g] Of course, that makes perfect sense - I guess I am still getting used to
+ 281119 [chippersbox ] It should work if you use && instead of and. Not sure why that is, but
  281133 [yermej gmail] This also happens in Perl and maybe other similar languages. The

^ Re: (no subject)
281120 [bad_good_lio] Posted via http://www.ruby-forum.com/.

^ Proxy server library?
281127 [pood.forums ] Is there a library that'll allow me to use different internet proxies
281150 [alex blackke] There's a reason for that.  You might want to slow your queries down.
281190 [gethemant gm] Let them talk of their oriental summer climes of everlasting

^ Loose Equality (was equal? versus eql? versus == versus === verus <=> )
281131 [gwtmp01 mac.] This isn't really true.  I just spent some time looking at the 1.8

^ Re: Books on Ruby for beginners
281147 [dough machel] For absolute beginners to programming (even kids), "Learn to Program" by
281151 [waleed.harbi] Yours,

^ define_method and instance variable maddness
281148 [phillipsds y] This problem has been driving me nuts, so I've finally given in and
+ 281168 [transfire gm] I make two possible suggestions. Create yourself something shorter
+ 281206 [gwtmp01 mac.] It looks like you are maintaining multiple lists but I don't
+ 281212 [ara.t.howard] eval strings, it's faster to debug by light years since you can dump
  281404 [phillipsds y] Funnily enough, that's how I'd done this originally, including calling

^ Run ruby from MFC
281149 [surezsu yaho] I would like to run Ruby from my MFC application! IF it is
+ 281153 [longxuxiao h] i dont tink you can really run ruby using vs2005 man~
| + 281156 [surezsu yaho] ok fine which one is best for me like Iron ruby or other than this..
| + 281158 [jari.william] I get the impression you can use VS if you run IronRuby. Don't know
+ 281164 [jan.svitok g] Depends on what do you want with ruby.

^ Ruby 1.9 might just be faster than Python
281152 [acangiano gm] I ran a micro-benchmark with Ruby 1.8.6, Ruby 1.9 and Python 2.5.1,
+ 281154 [longxuxiao h] what about python3.0? 5month is not a long time.
| 281166 [acangiano gm] Python 3.0 might be faster, but it could just as well be slower. I've
| 281169 [shevegen lin] I think what could be more important would be speedups on somewhat
+ 281163 [gethemant gm] As pointed numerous times on this list, this is perhaps because of
| 281170 [ihatespam ho] Indeed, as Python moves towards iterators over actual lists, it will
+ 281191 [MonkeeSage g] I'm also pleased to see how well 1.9 is advancing. :) But it is still

^ Purpose of "text.hash"
281155 [dough machel] I am reading "Beginning Ruby" by Peter Cooper.
+ 281159 [subscription] A very simple form of encryption perhaps? There are many situations where
+ 281162 [jgabrielygal] It's most usual application is in using the object as a key in a Hash.
+ 281272 [ruurd tiscal] Generating a hash from a string serves the purpose of converting this string

^ Equivalent for unix "read" command in rake tasks?
281157 [roblucas luc] Perhaps I'm missing something, but I can't find information anywhere
+ 281165 [jan.svitok g] File.read ? Kernel#gets ? Readline ?
| 281199 [roblucas luc] Great. Thanks for the help- I now have something working. Part of what
+ 281291 [hawat.thufir] I'm new to rails and have only touched rake a bit.  Would expand on what
  281336 [roblucas luc] I'm new to Rake as well, so I don't know if I can tell you anything much
  281337 [jan.svitok g] You may find subversion (instead of zipping the old sources) and
  + 281340 [roblucas luc] Yes. These are useful ideas. In particular, it looks like Capistrano
  + 281688 [hawat.thufir] I don't understand how subversion works in conjunction with rails.
    281689 [jan.svitok g] From what I understand, you don't upload, you do a svn export/checkout
    282761 [hawat.thufir] I'm reading about svn, subversion, but am using google code and it seems

^ EuRuKo 2008, 2nd round
281167 [peter rubyra] After some discussions with Matz, Charlie O. Nutter, David A. Black and
281330 [a2800276 gma] Hasn't Euruko always been in the Fall up till now? Why change that to
281338 [karel.minari] b) much less interference with other Ruby/Rails/Java/etc related
281343 [peter rubyra] Most of the people, whether participants of the current EuRuKo or

^ ruby-spidermonkey
281172 [devi.webmast] Hey, does anyone know anything about ruby-spidermonkey?
281219 [MonkeeSage g] On Nov 28, 6:14 am, Daniel Brumbaugh Keeney <devi.webmas...@gmail.com>
281408 [MonkeeSage g] ^ err...skipped a step there...might help to actually call 'make' ;)

^ REXML inheritance confusion (simple q?)
281173 [pikEISPAMMMs] #begin example
281234 [pgonzalez na] require 'rexml/document'

^ Ruby needs continuations...
281174 [ihatespam ho] mistakes in terminology, please try to correct me...
+ 281178 [dodecaphonic] On Nov 28, 2007 10:30 AM, Just Another Victim of the Ambient Morality <
| 281181 [halostatue g] Actually, Ruby 1.9 is losing continuations (hard to do with native
| + 281185 [ihatespam ho] Thank you, both, for pointing this out!
| + 281186 [james graypr] That's not entirely true.  In Ruby 1.9, continuations have been moved
| + 281204 [ara.t.howard] static VALUE
|   281250 [flori nixe.p] zip doesn't force you to do this, you can also pass a block to zip. In
+ 281180 [m.fellinger ] [1,2,3].zip([4,5,6]).each{|a,b| p a => b}
| 281187 [ihatespam ho] Correct me if I'm wrong but aren't continuations being dropped for Ruby
+ 281183 [richard.conr] On Nov 28, 2007 12:30 PM, Just Another Victim of the Ambient Morality
| 281192 [ihatespam ho] Indeed, I wasn't trying to be fair, I was just expressing a personal
+ 281197 [MonkeeSage g] On Nov 28, 6:29 am, "Just Another Victim of the Ambient Morality"
| + 281202 [MonkeeSage g] Ps. The SyncEnumerator class from generator does the same thing as
| | 281217 [ihatespam ho] Thank you, MonkeeSage, this is exactly what I'm looking for!
| | + 281223 [MonkeeSage g] On Nov 28, 10:53 am, "Just Another Victim of the Ambient Morality"
| | | 281225 [ihatespam ho] Ah, that's good to hear!  I was confused there.  It looks like, as long
| | + 281824 [MonkeeSage g] On Nov 28, 10:53 am, "Just Another Victim of the Ambient Morality"
| + 281203 [charles.nutt] Ruby 1.9 also moves continuations out of core, but provides a form of
|   281226 [MonkeeSage g] On Nov 28, 9:41 am, Charles Oliver Nutter <charles.nut...@sun.com>
|   281265 [charles.nutt] Could be a bug in generator; could you try it on a more recent release
|   281274 [MonkeeSage g] On Nov 28, 3:22 pm, Charles Oliver Nutter <charles.nut...@sun.com>
|   281311 [MonkeeSage g] Bug #1635 [ http://jira.codehaus.org/browse/JRUBY-1635 ]
|   281316 [charles.nutt] Cool, thanks. Now if you're really ambitious, maybe you can fix it :)
|   281441 [MonkeeSage g] On Nov 29, 1:05 am, Charles Oliver Nutter <charles.nut...@sun.com>
+ 281233 [rubytraining] On Nov 28, 7:29 am, "Just Another Victim of the Ambient Morality"
  281242 [MonkeeSage g] Cool! I just tried that, and they're already in there (1.9.0

^ the great
281175 [shoaibrupom ] ruby is best for forum using

^ Deleting Text From a File
281194 [wood_yee12 h] could I have done this via programming? I googled this but didn't
+ 281195 [alex blackke] Sounds like a job for regular expressions.  Have you got a short before
| 281215 [wood_yee12 h] Sure. See below. Basically, the entire document was like this. To me,
| 281216 [alex blackke] irb(main):001:0> file = "89.00~~~~
+ 281221 [MonkeeSage g] How about...
+ 281240 [yermej gmail] This will remove all decimals and tildes and create a backup of the
  281268 [wood_yee12 h] WOW! It worked and it was so cool!! Thanks! One thing I did - I
  281270 [yermej gmail] Typically, when you characters in [], it means to match any character

^ shoes and cairo (was Re: "Why I Program In Ruby ...")
281207 [why ruby-lan] So, hello and might I just add that what we have in Shoes are three
+ 281257 [mental rydia] I think (given the confusion in the thread so far) it's also important
| + 281258 [mental rydia] (Which is essentially the NodeBox drawing API...)
| + 281299 [MonkeeSage g] Sorry if I contributed to the confusion. My comment about Cairo was
+ 281287 [rick.denatal] You keep saying that.

^ Must be one heck of a good Perl book
281208 [promos burch] I've been thinking that some of these programming books were getting a
+ 281210 [richard.conr] Only 1 left in stock! Must be limited edition!
+ 281214 [perrin apoth] It's one of the best programming books out there (assuming it's the same

^ Round
281222 [sebastian.bo] In my application form db I become double,
281235 [pgonzalez na] puts "%02.02f" % 10
threads.html
top