# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=579

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 580

---

## [SQLite placeholder problem](https://www.ruby-forum.com/t/sqlite-placeholder-problem/190579)

<div class="topic-metadata">

**Author:** [@yuriy](https://www.ruby-forum.com/u/yuriy)\
**Replies:** 4\
**Last updated:** [June 24, 2010, 3:11am UTC](https://www.ruby-forum.com/t/sqlite-placeholder-problem/190579 "2010-06-24T03:11:58Z")

</div>

Hi, I’m just learning Ruby with SQLite3 and I ran into this problem with the tutorial. After creating a database using this: $db = SQLite3::Database.new(“dbfile”) $db.results\_as\_hash = true def create\_table puts “…

---

## [\[Bug #3463\]\[Closed\] 1.9.2-preview3 $B$G(B \[BUG\] gc\_sweep(): unknown data type 0x0](https://www.ruby-forum.com/t/bug-3463-closed-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190619)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/bug-3463-closed-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190619 "2010-06-23T22:48:00Z")

</div>

e$B%A%1%C%He(B #3463 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B This issue was solved with changeset r28413. Tomoyuki, thank y…

---

## [Parsing the gutenberg index](https://www.ruby-forum.com/t/parsing-the-gutenberg-index/190616)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/parsing-the-gutenberg-index/190616 "2010-06-23T21:20:11Z")

</div>

Project Gutenberg offers an index in RDF/XML format: http://www.gutenberg.org/wiki/Gutenberg:Feeds Has anyone written any ruby code to work with this? I’m mostly wondering which of the many xml and rdf libraries out t…

---

## [MD5 Checksum of a String](https://www.ruby-forum.com/t/md5-checksum-of-a-string/190612)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 2\
**Last updated:** [June 23, 2010, 9:14pm UTC](https://www.ruby-forum.com/t/md5-checksum-of-a-string/190612 "2010-06-23T21:14:11Z")

</div>

The script shown in Exhibit A submits a test string to 3 different methods for generating a hex MD5 checksum. The resulting output obtained from running the script is shown in Exhibit B. The two Ruby-based methods p…

---

## [QED v2.2.0 released](https://www.ruby-forum.com/t/qed-v2-2-0-released/190431)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 7:23pm UTC](https://www.ruby-forum.com/t/qed-v2-2-0-released/190431 "2010-06-23T19:23:39Z")

</div>

QED 2.2.0 has been released. QED (Quality Ensured Demonstrations) is a TDD/BDD framework utilizing Literate Programming techniques. home: http://proutils.github.com/qed work: http://github.com/protuils/qed This re…

---

## [Ruby 1.8.7 patchlevel 299 released](https://www.ruby-forum.com/t/ruby-1-8-7-patchlevel-299-released/190602)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 1\
**Last updated:** [June 23, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-patchlevel-299-released/190602 "2010-06-23T18:19:15Z")

</div>

Hello all. It’s time for a new release of 1.8.7. This time we fixed various bugs, including the unicode inspection bug that annoyed you a lot. For a complete list of what has been fixed, please take a look at the Ch…

---

## [Jruby can't load rails ! Help please](https://www.ruby-forum.com/t/jruby-cant-load-rails-help-please/190554)

<div class="topic-metadata">

**Author:** [@cyberjom](https://www.ruby-forum.com/u/cyberjom)\
**Replies:** 9\
**Last updated:** [June 23, 2010, 5:39pm UTC](https://www.ruby-forum.com/t/jruby-cant-load-rails-help-please/190554 "2010-06-23T17:39:20Z")

</div>

I’m using Mac OSX 10.6.3 with jruby 1.5.0 (ruby 1.8.7 patchlevel 249) jirb work, jgem work When jruby -S gem install rails Successfully installed rails-2.3.8 1 gem installed Installing ri documentation for rails-2…

---

## [\[Bug #3469\]\[Closed\] StringIO#read\_nonblock, StringIO#write\_nonblock $B$,(B NEWS $B$K:\\$C$F$$$J$$](https://www.ruby-forum.com/t/bug-3469-closed-stringio-read-nonblock-stringio-write-nonblock-b-b-news-b-k-c-f-j/190601)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 4:57pm UTC](https://www.ruby-forum.com/t/bug-3469-closed-stringio-read-nonblock-stringio-write-nonblock-b-b-news-b-k-c-f-j/190601 "2010-06-23T16:57:50Z")

</div>

e$B%A%1%C%He(B #3469 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B This issue was solved with changeset r28409. okkez, thank you for…

---

## [Recommended library for parsing RSS and Atom feeds](https://www.ruby-forum.com/t/recommended-library-for-parsing-rss-and-atom-feeds/190571)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/recommended-library-for-parsing-rss-and-atom-feeds/190571 "2010-06-23T16:50:13Z")

</div>

Hi, I am looking to sort through the various options for processing RSS/Atom feeds in Ruby. I did some basic research, and FeedTools looks like the incumbent option, though many (old) blog posts warned that it is …

---

## [\[Bug #3467\]\[Closed\] PTY.check $B$,(B NEWS $B$K:\\$C$F$$$J$$(B](https://www.ruby-forum.com/t/bug-3467-closed-pty-check-b-b-news-b-k-c-f-j-b/190603)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 4:42pm UTC](https://www.ruby-forum.com/t/bug-3467-closed-pty-check-b-b-news-b-k-c-f-j-b/190603 "2010-06-23T16:42:01Z")

</div>

e$B%A%1%C%He(B #3467 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B r28399 e$B$G$J$+$@$5$s$,BP1~$7$F$/$@$5$$$^$7$?$N$Ge(B close e$B$7$^$9!#e(B – Yusuke E. removed\_email\_ad…

---

## [\[Bug #3464\]\[Closed\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-closed-win32ole-failure-load-typelib-on-mswin64-vista/190599)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/bug-3464-closed-win32ole-failure-load-typelib-on-mswin64-vista/190599 "2010-06-23T16:41:26Z")

</div>

e$B%A%1%C%He(B #3464 e$B$,99?7$5$l$^$7$?!#e(B (by Masaki S.) e$B%9%F!\<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B e$B3NG’$"$j$,$H$&$4$6$$$^$7$?!#e(B e$B$3$N%A%1%C%H$r0lC6%/%m!\<%:$7$^$9!#e(B e$BKh2se(Bwin64e$B$r8+$K9…

---

## [Print gem VERSION from ruby program](https://www.ruby-forum.com/t/print-gem-version-from-ruby-program/190555)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 10\
**Last updated:** [June 23, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/print-gem-version-from-ruby-program/190555 "2010-06-23T16:39:05Z")

</div>

jeweler maintains a file VERSION in the base directory. My program in bin has an option, prog --version. Currently. I have a constant VERSION in prog.rb. This is never in synch with the VERSION file, it should be. …

---

## [\[ANN\] ruby bounties update](https://www.ruby-forum.com/t/ann-ruby-bounties-update/190528)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [June 23, 2010, 4:09pm UTC](https://www.ruby-forum.com/t/ann-ruby-bounties-update/190528 "2010-06-23T16:09:55Z")

</div>

I am pleased to announce that the Nokogiri pure-Java version for JRuby bounty was completed recently. Congrats to those that worked on it and hope to see its continued maintenance. Recently completed: patch rubygem…

---

## [\[Bug #3464\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190598)

<div class="topic-metadata">

**Author:** [@sakiyama\_shin](https://www.ruby-forum.com/u/sakiyama_shin)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190598 "2010-06-23T15:51:39Z")

</div>

e$B%A%1%C%He(B #3464 e$B$,99?7$5$l$^$7$?!#e(B (by sakiyama shin) e$BBP1~M-$jFq$&$4$6$$$^$9!#e(B Vista 64bite$B4D6-$G!"e(BTESTS=win32olee$B$Ge(BTypelibe$B%(%i!\<$,=P$J$$$N$r3NG’$7$^$7$?!#e(B #win32e$B4D6-$G$bKh2se(Bwi…

---

## [\[Bug #3463\] 1.9.2-preview3 $B$G(B \[BUG\] gc\_sweep(): unknown data type 0x0](https://www.ruby-forum.com/t/bug-3463-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190600)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 3:49pm UTC](https://www.ruby-forum.com/t/bug-3463-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190600 "2010-06-23T15:49:53Z")

</div>

e$B%A%1%C%He(B #3463 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$BC4Ev\<Te(B Nobuyoshi N.e$B$K%;%C%He(B e$B1sF#$G$9!#e(B redmine e$B$,$J$+$@$5$s$N%a!\<%k$r=&$$Mn$H$7$F$$$k$N$G!“5-O?$N$?$a$Ke(B e$B%Q%C%A$N$”$k$H$3$@$1E=$C…

---

## [\[Bug #3445\]\[Closed\] 1.9.2-preview3 $B$G(B Object#extend $B$9$k$H(B public\_methods(false) $B$+$](https://www.ruby-forum.com/t/bug-3445-closed-1-9-2-preview3-b-g-b-object-extend-b-9-k-h-b-public-methods-false-b/190596)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/bug-3445-closed-1-9-2-preview3-b-g-b-object-extend-b-9-k-h-b-public-methods-false-b/190596 "2010-06-23T15:29:58Z")

</div>

e$B%A%1%C%He(B #3445 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B1sF#$G$9!#e(B r28357 e$B$G%3%\_%C%H$7$^$7$?$N$G!"$3$N%A%1%C%H$Oe(B close e$B$7$^$9!#e(B – Yusuke E. r…

---

## [\[Bug #3464\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190593)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 2:53pm UTC](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190593 "2010-06-23T14:53:03Z")

</div>

e$B%A%1%C%He(B #3464 e$B$,99?7$5$l$^$7$?!#e(B (by Masaki S.) win64e$B$rM%@h$9$k$h$&$K$7$F!"=$@5$7$?$N$G!"e(Br28403 e$B$r;n$7$F$\_$F$$$?$@$1$^$9$+!)e(B http://redmine.ruby-lang.org/issues/show/3464

---

## [\[Bug #3464\]\[Closed\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-closed-win32ole-failure-load-typelib-on-mswin64-vista/190592)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/bug-3464-closed-win32ole-failure-load-typelib-on-mswin64-vista/190592 "2010-06-23T14:47:47Z")

</div>

e$B%A%1%C%He(B #3464 e$B$,99?7$5$l$^$7$?!#e(B (by Masaki S.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B This issue was solved with changeset r28403. shintaro, thank you …

---

## [\[Bug #3464\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190541)

<div class="topic-metadata">

**Author:** [@sakiyama\_shin](https://www.ruby-forum.com/u/sakiyama_shin)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190541 "2010-06-23T14:41:20Z")

</div>

Bug #3464: win32ole failure load TYPELIB on mswin64 vista http://redmine.ruby-lang.org/issues/show/3464 e$B5/I\<\<Te(B: sakiyama shin e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: 1.…

---

## [Iterate over specific keys in a hash](https://www.ruby-forum.com/t/iterate-over-specific-keys-in-a-hash/190587)

<div class="topic-metadata">

**Author:** [@razta](https://www.ruby-forum.com/u/razta)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 12:12pm UTC](https://www.ruby-forum.com/t/iterate-over-specific-keys-in-a-hash/190587 "2010-06-23T12:12:46Z")

</div>

Hi, I have a hash; cars{ “car0” =\> “bmw”, “car1” =\> “seat”, “car3” =\> “mercedes”, “car4” =\> “renault”} What I want is to extract just the values of car0 and car3. Is there a way instead of doing cars.each\_value of d…

---

## [\[Bug #3463\] 1.9.2-preview3 $B$G(B \[BUG\] gc\_sweep(): unknown data type 0x0](https://www.ruby-forum.com/t/bug-3463-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190542)

<div class="topic-metadata">

**Author:** [@Tomoyuki\_C](https://www.ruby-forum.com/u/Tomoyuki_C)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 11:21am UTC](https://www.ruby-forum.com/t/bug-3463-1-9-2-preview3-b-g-b-bug-gc-sweep-unknown-data-type-0x0/190542 "2010-06-23T11:21:06Z")

</div>

e$B%A%1%C%He(B #3463 e$B$,99?7$5$l$^$7$?!#e(B (by Tomoyuki C.) e$B%U%!%$%ke(B marshal.patch e$BDI2Ce(B e$B$9$\_$^$;$s!“@hDxE:IU$7$?%Q%C%A$OLdBj$,$”$j$^$7$?!#e(B struct dump\_arg::str e$B$,;X$9%9%m%C%H$,0lC62s\<}$5$l$FB\>$…

---

## [\[Bug #3469\] StringIO#read\_nonblock, StringIO#write\_nonblock $B$,(B NEWS $B$K:\\$C$F$$$J$$(B](https://www.ruby-forum.com/t/bug-3469-stringio-read-nonblock-stringio-write-nonblock-b-b-news-b-k-c-f-j-b/190584)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 11:13am UTC](https://www.ruby-forum.com/t/bug-3469-stringio-read-nonblock-stringio-write-nonblock-b-b-news-b-k-c-f-j-b/190584 "2010-06-23T11:13:29Z")

</div>

Bug #3469: StringIO#read\_nonblock, StringIO#write\_nonblock e$B$,e(B NEWS e$B$K:$C$F$$$J$$e(B http://redmine.ruby-lang.org/issues/show/3469 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4…

---

## [Get methods params type soap4r](https://www.ruby-forum.com/t/get-methods-params-type-soap4r/189147)

<div class="topic-metadata">

**Author:** [@marcos](https://www.ruby-forum.com/u/marcos)\
**Replies:** 6\
**Last updated:** [June 23, 2010, 10:30am UTC](https://www.ruby-forum.com/t/get-methods-params-type-soap4r/189147 "2010-06-23T10:30:00Z")

</div>

Hello everybody, I’m using the following to get a driver to call to some functions on a remote soap described by wsdl: require ‘soap/wsdlDriver’ wsdl = “mywsdluri” client = SOAP::WSDLDriverFactory.new(wsdl).create\_rp…

---

## [\[Bug #3468\] .cvsignore](https://www.ruby-forum.com/t/bug-3468-cvsignore/190583)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 10:25am UTC](https://www.ruby-forum.com/t/bug-3468-cvsignore/190583 "2010-06-23T10:25:30Z")

</div>

Bug #3468: .cvsignore http://redmine.ruby-lang.org/issues/show/3468 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low ruby -v: r23934 .cvsignore e$B$O$b$&\>C$7$F$7$^$C$F$$$$$N$G$O$J$$$G$7$g$&$…

---

## [\[Bug #3467\] PTY.check $B$,(B NEWS $B$K:\\$C$F$$$J$$(B](https://www.ruby-forum.com/t/bug-3467-pty-check-b-b-news-b-k-c-f-j-b/190581)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [June 23, 2010, 10:20am UTC](https://www.ruby-forum.com/t/bug-3467-pty-check-b-b-news-b-k-c-f-j-b/190581 "2010-06-23T10:20:14Z")

</div>

Bug #3467: PTY.check e$B$,e(B NEWS e$B$K:$C$F$$$J$$e(B http://redmine.ruby-lang.org/issues/show/3467 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2…

---

## [Kramdown 0.9.0 released](https://www.ruby-forum.com/t/kramdown-0-9-0-released/190580)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 8:51am UTC](https://www.ruby-forum.com/t/kramdown-0-9-0-released/190580 "2010-06-23T08:51:51Z")

</div>

About kramdown kramdown (sic, not Kramdown or KramDown, just kramdown) is a free GPL-licensed Ruby library for parsing a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some m…

---

## [Watir - can't take control on a second opened browser (IE)](https://www.ruby-forum.com/t/watir-cant-take-control-on-a-second-opened-browser-ie/190578)

<div class="topic-metadata">

**Author:** [@menny](https://www.ruby-forum.com/u/menny)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 8:24am UTC](https://www.ruby-forum.com/t/watir-cant-take-control-on-a-second-opened-browser-ie/190578 "2010-06-23T08:24:09Z")

</div>

Hi All, I am activating watir and the IE browser was opened ,when I am clicking on a URL link inside the browser ,a new IE browser was opened ,how can I tsake control of the new opened browser? Thanks in advance, Me…

---

## [Mechanize login problem](https://www.ruby-forum.com/t/mechanize-login-problem/190433)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 2\
**Last updated:** [June 23, 2010, 5:18am UTC](https://www.ruby-forum.com/t/mechanize-login-problem/190433 "2010-06-23T05:18:27Z")

</div>

require ‘rubygems’ require ‘mechanize’ agent = WWW::Mechanize.new agent.user\_agent\_alias = ‘Windows IE 7’ page = agent.post(“http://sso.chinaunix.net/Login?”) form = page.forms\[0\] form\[‘login\_name’\] = ‘luofeiyu’ f…

---

## [Net-http-persistent 1.2.2 Released](https://www.ruby-forum.com/t/net-http-persistent-1-2-2-released/190572)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [June 23, 2010, 4:20am UTC](https://www.ruby-forum.com/t/net-http-persistent-1-2-2-released/190572 "2010-06-23T04:20:16Z")

</div>

net-http-persistent version 1.2.2 has been released! http://seattlerb.rubyforge.org/net-http-persistent Persistent connections using Net::HTTP plus a speed fix for 1.8. It’s thread-safe too! Changes: 1.2.2 / 2010…

---

## [Got to be a better way to code class variables](https://www.ruby-forum.com/t/got-to-be-a-better-way-to-code-class-variables/190521)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 4\
**Last updated:** [June 22, 2010, 8:32pm UTC](https://www.ruby-forum.com/t/got-to-be-a-better-way-to-code-class-variables/190521 "2010-06-22T20:32:30Z")

</div>

I’m trying to set up an object with overridable defaults, so it will act like this: s1 = Smee.new =\> #\<Smee:0x102007618 @middle=nil, @front=nil, @back=nil\> s1.middle = ‘hi’ =\> “hi” s1 =\> #\<Smee:0x10200…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=578)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=580)
