# Top

**URL:** https://www.ruby-forum.com/top.md?page=828

[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:** 829

---

## [\[UHD 3.8.0\] Release Announcement](https://www.ruby-forum.com/t/uhd-3-8-0-release-announcement/232788)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 2, 2014, 4:19am UTC](https://www.ruby-forum.com/t/uhd-3-8-0-release-announcement/232788 "2014-11-02T04:19:28Z")

</div>

Hello lists, at this point, we are releasing our UHD version 3.8.0. There were some minor changes since the release candidate, but mainly regarding documentation, the Boost version and minor build fixes to make sure U…

---

## [\[ruby-trunk - Bug #5956\]\[Open\] rexml - パース時のnamespaceチェックでのエラーについて](https://www.ruby-forum.com/t/ruby-trunk-bug-5956-open-rexml-namespace/216308)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 3, 2012, 2:07am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5956-open-rexml-namespace/216308 "2012-02-03T02:07:11Z")

</div>

Issue #5956 has been reported by Miho Hiramatsu. Bug #5956: rexml - パース時のnamespaceチェックでのエラーについて Author: Miho Hiramatsu Status: Open Priority: Normal Assignee: Category: lib Target version: 1.9.3 ruby -v: ruby 1…

---

## [Re: books about GNU Radio](https://www.ruby-forum.com/t/re-books-about-gnu-radio/199740)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 13, 2011, 11:44am UTC](https://www.ruby-forum.com/t/re-books-about-gnu-radio/199740 "2011-11-13T11:44:23Z")

</div>

John: No one is trying to violate copyright here (at least I am not). I think people are just trying to obtain good resources. I don’t understand why McGraw Hill would announce but then never publish Cory Clark’s book…

---

## [Any way to know a Class's name in class method?](https://www.ruby-forum.com/t/any-way-to-know-a-classs-name-in-class-method/199852)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 30, 2010, 9:38am UTC](https://www.ruby-forum.com/t/any-way-to-know-a-classs-name-in-class-method/199852 "2010-11-30T09:38:40Z")

</div>

Hi: I’m writing a class where I need to know the class’s name inside a class method: class MyClass def instance\_method puts self.class.name # =\> “MyClass” end def self.class\_method self.class.name # =\> Undefined …

---

## [Rsvg2 gem](https://www.ruby-forum.com/t/rsvg2-gem/194509)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 3\
**Last updated:** [September 7, 2010, 4:12pm UTC](https://www.ruby-forum.com/t/rsvg2-gem/194509 "2010-09-07T16:12:39Z")

</div>

I discovered today that most sections of ruby-gnome2 are available as rubygems. Thanks, that will make managing the dependencies in my app much easier. There doesn’t seem to be a gem for rsvg2 - are there any plans to…

---

## [Libxml-ruby: How to handle XML::Parser::ParseError?](https://www.ruby-forum.com/t/libxml-ruby-how-to-handle-xml-parseerror/174953)

<div class="topic-metadata">

**Author:** [@adrianopol](https://www.ruby-forum.com/u/adrianopol)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 8:34pm UTC](https://www.ruby-forum.com/t/libxml-ruby-how-to-handle-xml-parseerror/174953 "2009-09-04T20:34:33Z")

</div>

Code: require “rubygems” require “xml” class TaskLoader class BadXML \< RuntimeError end def load\_tasks doc = XML::Parser.file( “qq.xml” ).parse # … work with document … rescue XML::Parser::ParseError, BadXML # t…

---

## [QtRuby Questions: Why does](https://www.ruby-forum.com/t/qtruby-questions-why-does/173210)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 3\
**Last updated:** [August 5, 2009, 2:42am UTC](https://www.ruby-forum.com/t/qtruby-questions-why-does/173210 "2009-08-05T02:42:18Z")

</div>

Guten Tag, everyone- I have finally found the time to sit down and attempt GUI programming with QtRuby. I am attempting to use QtRuby from within KDevelop to make a simple widget in Qt Designer, run the .ui file throu…

---

## [Jruby and SOAP](https://www.ruby-forum.com/t/jruby-and-soap/171122)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 8:54am UTC](https://www.ruby-forum.com/t/jruby-and-soap/171122 "2009-07-01T08:54:06Z")

</div>

Hello all, after trying one day to get jruby working with axis or actionwebservice, I asked myself if I am the only who is trying to work with this combination. Does anyone use SOAP web services with jruby (on Rails) …

---

## [Issue with multi threading](https://www.ruby-forum.com/t/issue-with-multi-threading/170577)

<div class="topic-metadata">

**Author:** [@Rajeswar\_reddy\_G](https://www.ruby-forum.com/u/Rajeswar_reddy_G)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 8:04am UTC](https://www.ruby-forum.com/t/issue-with-multi-threading/170577 "2009-06-22T08:04:31Z")

</div>

1 require ‘net/ssh’ 2 Net::SSH.start(‘10.10.2.3’, ‘test’, :password =\> “test123”) do |ssh| 3 productsList=\[‘test1’, ‘test2’, ‘test3’, ‘test4’, ‘test5’\] 4 puts Time.now 5 threads = \[\] 6 for product in pr…

---

## [JRuby and JDBC ResultSet in Sqlite3](https://www.ruby-forum.com/t/jruby-and-jdbc-resultset-in-sqlite3/161715)

<div class="topic-metadata">

**Author:** [@wladjmir](https://www.ruby-forum.com/u/wladjmir)\
**Replies:** 3\
**Last updated:** [May 6, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/jruby-and-jdbc-resultset-in-sqlite3/161715 "2009-05-06T16:15:30Z")

</div>

Someone know why resultset.next() is so slow in jruby? i mean i tried to make a simple query (4 rows) directly by a jdbc sql query, because ActiveRecord took 3,5secs to do, well the executequery is pretty fast (less t…

---

## [Trying to set timer\_resolution - but... 'unknown directive "timer\_resolution"'](https://www.ruby-forum.com/t/trying-to-set-timer-resolution-but-unknown-directive-timer-resolution/166644)

<div class="topic-metadata">

**Author:** [@jfl](https://www.ruby-forum.com/u/jfl)\
**Replies:** 3\
**Last updated:** [April 28, 2009, 7:25am UTC](https://www.ruby-forum.com/t/trying-to-set-timer-resolution-but-unknown-directive-timer-resolution/166644 "2009-04-28T07:25:21Z")

</div>

as per subject, I’m trying to set timer\_resolution in my nginx.conf file - but to no avail. When i do an “nginx -t”, I get the “unknown directive” error message - despite the fact that this should be a known directive…

---

## [ANNOUNCE: Hirb - A gem enhancing your script/console](https://www.ruby-forum.com/t/announce-hirb-a-gem-enhancing-your-script-console/164101)

<div class="topic-metadata">

**Author:** [@cldwalker](https://www.ruby-forum.com/u/cldwalker)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/announce-hirb-a-gem-enhancing-your-script-console/164101 "2009-04-03T22:27:48Z")

</div>

Hi, I’m announcing Hirb, a mini view framework which enables script/ console to provide custom views. Out of the box your activerecord objects come back as ascii tables. You can also configure your tree-based models …

---

## [Relations multiples entres tables](https://www.ruby-forum.com/t/relations-multiples-entres-tables/155122)

<div class="topic-metadata">

**Author:** [@vincenzo](https://www.ruby-forum.com/u/vincenzo)\
**Replies:** 3\
**Last updated:** [December 8, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/relations-multiples-entres-tables/155122 "2008-12-08T12:46:17Z")

</div>

Bonjour Ã tous, Je vais vous exposer un problÃ¨me relativement complexe, je suis bloquÃ© et si quelqu’un pouvait me donner un coup de pouce je ne le remercierais jamais assez ! Le concept : J’ai une sÃ©rie de tables…

---

## [Is equivalent to \[A-Za-z0-9\]?](https://www.ruby-forum.com/t/is-equivalent-to-a-za-z0-9/81607)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/is-equivalent-to-a-za-z0-9/81607 "2007-01-10T20:35:19Z")

</div>

Hi, I’m trying to creating a regex that will match a string that starts and ends with an alphanumeric character, and has alphanumeric characters or dashes in the middle. This regex gives the expected result: irb(mai…

---

## [DHTML Drop Menu Helpers with Rails?](https://www.ruby-forum.com/t/dhtml-drop-menu-helpers-with-rails/52673)

<div class="topic-metadata">

**Author:** [@allen](https://www.ruby-forum.com/u/allen)\
**Replies:** 3\
**Last updated:** [January 1, 2007, 12:12pm UTC](https://www.ruby-forum.com/t/dhtml-drop-menu-helpers-with-rails/52673 "2007-01-01T12:12:56Z")

</div>

Does RoR ship with, or have any add-in helpers used to construct a “drop menu” typically done with DHTML trickery and some libraries? I am referring to menus like the “File Edit View … Help” menus with cascading drop…

---

## [Undefined method \`\<=\>' for 🆔Symbol](https://www.ruby-forum.com/t/undefined-method-for-symbol/56536)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 9:02am UTC](https://www.ruby-forum.com/t/undefined-method-for-symbol/56536 "2006-04-01T09:02:48Z")

</div>

Upgrading to 0.9.0, I have the following error. Anybody? c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term.rb:35:in \<=\>': undefined method\<=\>’ for :id:Symbol (NoMethodError) from c:/ruby/lib/ruby/gem…

---

## [Extconf.rb (LoadError)](https://www.ruby-forum.com/t/extconf-rb-loaderror/235360)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 16, 2013, 8:36pm UTC](https://www.ruby-forum.com/t/extconf-rb-loaderror/235360 "2013-06-16T20:36:09Z")

</div>

Hello Geeks, I am running CentOS 5.9 32 bit. When I, try run the following command: \[… ruby-1.8.7-p352\]# ruby extconf.rb –with-zlib-include=/usr/include --with-zlib-lib=/usr/lib I get this following error: ruby: No …

---

## [When to use Hashed Parameters for method calls](https://www.ruby-forum.com/t/when-to-use-hashed-parameters-for-method-calls/226603)

<div class="topic-metadata">

**Author:** [@Ricky\_Ng](https://www.ruby-forum.com/u/Ricky_Ng)\
**Replies:** 7\
**Last updated:** [December 28, 2012, 12:21am UTC](https://www.ruby-forum.com/t/when-to-use-hashed-parameters-for-method-calls/226603 "2012-12-28T00:21:42Z")

</div>

I am currently having an internal debate on refactoring some code right now and whether I should convert the method to take in a hash instead of 8 arguments. What are conventions and rules that you guys use to make t…

---

## [MySQL & ActiveRecord Licenses](https://www.ruby-forum.com/t/mysql-activerecord-licenses/204787)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [March 21, 2011, 9:52pm UTC](https://www.ruby-forum.com/t/mysql-activerecord-licenses/204787 "2011-03-21T21:52:01Z")

</div>

MySQL’s license is GPL. ActiveRecord, which (I presume) uses MySQL’s client libraries, is under the MIT license. How does ActiveRecord avoid being GPL?

---

## [In\_place\_edit\_for - non clickable when value is blank](https://www.ruby-forum.com/t/in-place-edit-for-non-clickable-when-value-is-blank/157506)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 7\
**Last updated:** [October 2, 2009, 8:47pm UTC](https://www.ruby-forum.com/t/in-place-edit-for-non-clickable-when-value-is-blank/157506 "2009-10-02T20:47:06Z")

</div>

A pretty common problem but I haven’t found a solution that works. I’m using in\_place\_editor\_field in my view and all works well when there is data but when the field is blank, I am unable to edit as there is no click…

---

## [Is using script/runner to run a daemon a good idea?](https://www.ruby-forum.com/t/is-using-script-runner-to-run-a-daemon-a-good-idea/173266)

<div class="topic-metadata">

**Author:** [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Replies:** 1\
**Last updated:** [August 6, 2009, 5:18am UTC](https://www.ruby-forum.com/t/is-using-script-runner-to-run-a-daemon-a-good-idea/173266 "2009-08-06T05:18:02Z")

</div>

Suppose I have a daemon and I run it like this: ruby script/runner script/my\_daemon.rb This gives my daemon full access to the rails environment, and it may run for days, months, many months or longer. I realized this…

---

## ["Max pool size" - connection error](https://www.ruby-forum.com/t/max-pool-size-connection-error/160156)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 1\
**Last updated:** [February 13, 2009, 5:01pm UTC](https://www.ruby-forum.com/t/max-pool-size-connection-error/160156 "2009-02-13T17:01:08Z")

</div>

On our server, which is nginx with an 8-mongrel cluster, and a ferret\_server for searching, we get an intermittent error when doing ferret searches - always on the same index (for the User class). I don’t know why it…

---

## [NameError when passing a URL helper to a method](https://www.ruby-forum.com/t/nameerror-when-passing-a-url-helper-to-a-method/154892)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 7\
**Last updated:** [December 5, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/nameerror-when-passing-a-url-helper-to-a-method/154892 "2008-12-05T19:06:37Z")

</div>

Hi guys. I just wrote a small spec helper method to DRY up some of my specs, and found that passing a URL helper (Eg: #photos\_url) to a method results in a NameError error. I extracted the problem into its own short s…

---

## [How to send mail with multiple attachments](https://www.ruby-forum.com/t/how-to-send-mail-with-multiple-attachments/147004)

<div class="topic-metadata">

**Author:** [@sujith](https://www.ruby-forum.com/u/sujith)\
**Replies:** 1\
**Last updated:** [August 27, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/how-to-send-mail-with-multiple-attachments/147004 "2008-08-27T17:09:30Z")

</div>

i am sending mail with single attachment now i want to send mail with multiple attachments please help me on this.

---

## [Installation Problem](https://www.ruby-forum.com/t/installation-problem/54351)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 7\
**Last updated:** [March 22, 2008, 4:48am UTC](https://www.ruby-forum.com/t/installation-problem/54351 "2008-03-22T04:48:21Z")

</div>

I need to install rails on my system for a class project. I have ruby 1.8.2-14 installed and am entering at the command prompt \>gem install rails --remote According to Curt H. installation, I should get a series of q…

---

## [Translating Radiant: Looking for an Update](https://www.ruby-forum.com/t/translating-radiant-looking-for-an-update/78343)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/translating-radiant-looking-for-an-update/78343 "2007-09-25T22:38:25Z")

</div>

Checking the archives I see that Frederic B. asked about using Globalize in Radiant. http://lists.radiantcms.org/pipermail/radiant/2006-July/000908.html Did you make it anywhere with Globalize Frederic? Has anyone el…

---

## [Fetch string matching with email](https://www.ruby-forum.com/t/fetch-string-matching-with-email/112623)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 7\
**Last updated:** [August 22, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/fetch-string-matching-with-email/112623 "2007-08-22T17:05:40Z")

</div>

hello frnds I want to match and fetch the string from the db contents so is there a method for it. The contents can be removed\_email\_address@domain.invalid or also \<a href mailto:removed\_email\_address@domain.invalid …

---

## [ActiveRecord and Database Views](https://www.ruby-forum.com/t/activerecord-and-database-views/59325)

<div class="topic-metadata">

**Author:** [@martin-ga](https://www.ruby-forum.com/u/martin-ga)\
**Replies:** 7\
**Last updated:** [May 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/activerecord-and-database-views/59325 "2006-05-03T18:57:23Z")

</div>

Hiall, If I have say 10 tables that i would like to wrap up in 1 view to manipulate data inside these tables, do I then need 10 model.rb files for all 10 tables plus 1 for the view, or do I just need 1 model.rb file …

---

## [Incorporating gem documentation into ri](https://www.ruby-forum.com/t/incorporating-gem-documentation-into-ri/53189)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 7\
**Last updated:** [January 30, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/incorporating-gem-documentation-into-ri/53189 "2006-01-30T15:03:38Z")

</div>

Guys, I’d like to incorporation the various gem rdocs into ri, so that I am not forced to use gem\_server to view the documentation. I’ve found old posts on this subject but nothing conclusive. Surely there is a way to …

---

## [Question](https://www.ruby-forum.com/t/question/94575)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 7\
**Last updated:** [January 8, 2006, 6:42am UTC](https://www.ruby-forum.com/t/question/94575 "2006-01-08T06:42:08Z")

</div>

All, I am looking to write an ecommerce application and debating using rails or struts. Any advice as to which path to follow.

---

## [Ruby christmas](https://www.ruby-forum.com/t/ruby-christmas/75060)

<div class="topic-metadata">

**Author:** [@Franz\_Hartmann](https://www.ruby-forum.com/u/Franz_Hartmann)\
**Replies:** 7\
**Last updated:** [December 25, 2005, 4:14pm UTC](https://www.ruby-forum.com/t/ruby-christmas/75060 "2005-12-25T16:14:16Z")

</div>

Dear Ruby community, i want to thank you all for the help you gave me about ruby. really i study physic not any longer because it gave me a headache. i think i am going to be a freelancer. in ruby, perhaps. so we may…

---

## [Content-type method missing for Tempfile](https://www.ruby-forum.com/t/content-type-method-missing-for-tempfile/149789)

<div class="topic-metadata">

**Author:** [@Iain\_A](https://www.ruby-forum.com/u/Iain_A)\
**Replies:** 0\
**Last updated:** [September 29, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/content-type-method-missing-for-tempfile/149789 "2008-09-29T21:30:12Z")

</div>

Hello, I have created a group model that has a picture. On uploading the picture the variable uploaded\_file is set as the Tempfile uploaded. I then have an after\_save method that creates several thumbnails of this pi…

---

## [\[ruby-trunk - Feature #6767\]\[Assigned\] Utility method to get a duplicated string whose encoding is A](https://www.ruby-forum.com/t/ruby-trunk-feature-6767-assigned-utility-method-to-get-a-duplicated-string-whose-encoding-is-a/221598)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 5, 2012, 12:00pm UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-6767-assigned-utility-method-to-get-a-duplicated-string-whose-encoding-is-a/221598 "2012-09-05T12:00:18Z")

</div>

Issue #6767 has been reported by naruse (Yui NARUSE). Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: …

---

## [$https with SSL proxy](https://www.ruby-forum.com/t/https-with-ssl-proxy/218483)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 2, 2012, 10:40am UTC](https://www.ruby-forum.com/t/https-with-ssl-proxy/218483 "2012-04-02T10:40:43Z")

</div>

Dear all, starting with version 1.1.11 the $https variable is activated by default. This is good as many applications rely on them because apache is using this header. However, now i cannot set or map this variable (…

---

## [Can't locate gr-uhd component](https://www.ruby-forum.com/t/cant-locate-gr-uhd-component/191702)

<div class="topic-metadata">

**Author:** [@Elvis\_D](https://www.ruby-forum.com/u/Elvis_D)\
**Replies:** 5\
**Last updated:** [July 17, 2010, 8:57am UTC](https://www.ruby-forum.com/t/cant-locate-gr-uhd-component/191702 "2010-07-17T08:57:34Z")

</div>

Hi, I switch to the GNU Radio next branch, checkout the files, and find that the gr-uhd component is not present. Where is it located? Best regards, Elvis D.

---

## [All about Ruby on Rails](https://www.ruby-forum.com/t/all-about-ruby-on-rails/186981)

<div class="topic-metadata">

**Author:** [@Gaurav\_Kasera](https://www.ruby-forum.com/u/Gaurav_Kasera)\
**Replies:** 5\
**Last updated:** [April 15, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/all-about-ruby-on-rails/186981 "2010-04-15T16:01:01Z")

</div>

Hello all i am very very interested on Ruby on Rails technology presently i am working as SEO and Web analytic and now i want to learn all about Ruby on Rails so please help me for it

---

## [Compiler #2 is under way!](https://www.ruby-forum.com/t/compiler-2-is-under-way/185108)

<div class="topic-metadata">

**Author:** [@Ahmed\_Ragab\_Nabhan](https://www.ruby-forum.com/u/Ahmed_Ragab_Nabhan)\
**Replies:** 5\
**Last updated:** [March 15, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/compiler-2-is-under-way/185108 "2010-03-15T16:44:40Z")

</div>

Hi JRuby users, I am working on a software that makes use of Jruby, but I want to instantiate objects from JRuby classes inside a Java program. This requirement can be made through compiling JRuby class files into na…

---

## [Making Hash a first-class citizen](https://www.ruby-forum.com/t/making-hash-a-first-class-citizen/173461)

<div class="topic-metadata">

**Author:** [@Erik\_Michaels-Ober](https://www.ruby-forum.com/u/Erik_Michaels-Ober)\
**Replies:** 5\
**Last updated:** [August 10, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/making-hash-a-first-class-citizen/173461 "2009-08-10T20:01:12Z")

</div>

I’ve noticed a couple inconsistencies in the way Ruby hashes are treated (compared to, say, arrays). While I’ve been able to monkey-patch solutions, I thought I would bring these inconsistencies to the attention of t…

---

## [Pregunta de un recien llegado](https://www.ruby-forum.com/t/pregunta-de-un-recien-llegado/142223)

<div class="topic-metadata">

**Author:** [@el\_javierSSSS](https://www.ruby-forum.com/u/el_javierSSSS)\
**Replies:** 5\
**Last updated:** [July 4, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/pregunta-de-un-recien-llegado/142223 "2008-07-04T22:23:32Z")

</div>

Hola amigos, acabo de llegar a la lista porque tengo una duda y mire por todos lados y no le encuentro repuesta. Primero me presento mi nombre es Javier A. soy de Argentina y el problema que tengo es el siguiente: Ha…

---

## [Strange syntax sugar](https://www.ruby-forum.com/t/strange-syntax-sugar/92776)

<div class="topic-metadata">

**Author:** [@aalfred](https://www.ruby-forum.com/u/aalfred)\
**Replies:** 5\
**Last updated:** [April 26, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/strange-syntax-sugar/92776 "2007-04-26T17:24:55Z")

</div>

I’ve recently had to deal with lots of assignments, where most of them looked like those two lines: foo = bar if !bar.nil? # (case 1) or foo = bar if foo.nil? && !bar.nil? # (case 2) (I know it …

---

## [Higlighting problem](https://www.ruby-forum.com/t/higlighting-problem/88245)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 5\
**Last updated:** [March 29, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/higlighting-problem/88245 "2007-03-29T15:22:12Z")

</div>

Hi, I’ve been having a problem getting highlighting to work with aaf. I have a class defined as follows such: class Link \< ActiveRecord::Base acts\_as\_ferret :fields =\> { :description =\> { :store =\> :yes } } end I g…

---

## [\[ANN\] New Ruby Garden Wiki Trial Run](https://www.ruby-forum.com/t/ann-new-ruby-garden-wiki-trial-run/60096)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 5\
**Last updated:** [May 12, 2006, 8:06am UTC](https://www.ruby-forum.com/t/ann-new-ruby-garden-wiki-trial-run/60096 "2006-05-12T08:06:59Z")

</div>

== Spam by the Numbers Anyone who visits the “RubyGarden wiki”:http://www.rubygarden.org/ruby regularly has probably run into wiki spam. You know what I mean, defaced pages with hundreds of links to questionable web…

---

## [Localization: word wrap in tables?](https://www.ruby-forum.com/t/localization-word-wrap-in-tables/74017)

<div class="topic-metadata">

**Author:** [@yak](https://www.ruby-forum.com/u/yak)\
**Replies:** 5\
**Last updated:** [February 28, 2006, 2:32am UTC](https://www.ruby-forum.com/t/localization-word-wrap-in-tables/74017 "2006-02-28T02:32:31Z")

</div>

I am a Rails noob, working on bringing a legacy db system into the 21st century. I want to localize the UI for two languages (EN/JA). Since I am already using the salted user system, I have been playing around with …

---

## [Serve string as file](https://www.ruby-forum.com/t/serve-string-as-file/245086)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 7, 2016, 1:05pm UTC](https://www.ruby-forum.com/t/serve-string-as-file/245086 "2016-10-07T13:05:58Z")

</div>

Hi Everyone, I need to evaluate a string as a Ruby code to do some complex stuff. It is essential to keep the contents of the string in memory without writing it out to a file. Tried this: mycode = “puts ‘hello world…

---

## [Problem for play my custom pages error 401](https://www.ruby-forum.com/t/problem-for-play-my-custom-pages-error-401/244262)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [March 12, 2016, 8:45am UTC](https://www.ruby-forum.com/t/problem-for-play-my-custom-pages-error-401/244262 "2016-03-12T08:45:49Z")

</div>

I come to you because I am facing a problem with the customization of the 401 error page in fact I use Nginx and rutorrent, I proceeded as follows: I create a folder named “error\_pages” I placed in the /var/www/ the…

---

## [HTTP/2 Reverse Proxy](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 1, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173 "2016-03-01T23:40:13Z")

</div>

I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests fr…

---

## [Attaching a method to an object](https://www.ruby-forum.com/t/attaching-a-method-to-an-object/242888)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 12, 2015, 6:53am UTC](https://www.ruby-forum.com/t/attaching-a-method-to-an-object/242888 "2015-08-12T06:53:48Z")

</div>

Quoting from “Programming Ruby”, 4th edition, chapter III-22, “Method Definition”: "A definition using a method name of the form expr.methodname creates a method associated with the object that is the value of the ex…

---

## [\[Rails 3.2\] form\_tag w :remote =\> true doesn't fire up the js format](https://www.ruby-forum.com/t/rails-3-2-form-tag-w-remote-true-doesnt-fire-up-the-js-format/229222)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [November 29, 2012, 5:09pm UTC](https://www.ruby-forum.com/t/rails-3-2-form-tag-w-remote-true-doesnt-fire-up-the-js-format/229222 "2012-11-29T17:09:08Z")

</div>

I have a form\_tag written like this : = form\_tag search\_backoffice\_places\_path, {:remote =\>“true”, :id =\> :searchplaceForm } do … input fields = submit\_tag t(:search) generated html is correct : ... input fields…

---

## [Sdrsharp auto I/Q balance correction](https://www.ruby-forum.com/t/sdrsharp-auto-i-q-balance-correction/226273)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 2\
**Last updated:** [April 5, 2012, 11:26am UTC](https://www.ruby-forum.com/t/sdrsharp-auto-i-q-balance-correction/226273 "2012-04-05T11:26:28Z")

</div>

Has anyone look at the way sdrsharp does automatic I/Q balance correction? It seems to iterate over an FFT, looking to maximize the difference between bins and their images. But that badly fails when the incoming si…

---

## [IronRuby for Office AddIns](https://www.ruby-forum.com/t/ironruby-for-office-addins/199922)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 3, 2010, 8:11pm UTC](https://www.ruby-forum.com/t/ironruby-for-office-addins/199922 "2010-12-03T20:11:12Z")

</div>

Hi, I’d like to write an Outlook(2003 & 2010)-AddIn in Ruby (IronRuby), but I’m not pretty sure, whether this is possible. The AddIn should bring up a new icon in Outlooks’ CommandBar and should read contact items. I…

[Previous page](https://www.ruby-forum.com/top.md?page=827&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=829&per_page=50)
