# Top

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

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

---

## [How to delete from a HABTM table?](https://www.ruby-forum.com/t/how-to-delete-from-a-habtm-table/105578)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 1\
**Last updated:** [June 2, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/how-to-delete-from-a-habtm-table/105578 "2007-06-02T19:43:49Z")

</div>

Thanks to the wonderful advice of everybody here, I finally understand how to add records to a HABTM table. You treat it like an array, and just use the “\<\<” concatenator to stick the new record on at the end. But how…

---

## [Info Svizzera](https://www.ruby-forum.com/t/info-svizzera/244992)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 28, 2016, 2:48pm UTC](https://www.ruby-forum.com/t/info-svizzera/244992 "2016-07-28T14:48:53Z")

</div>

Ciao, Scusate per la domanda un pò offtopic. So che ci sono, nel forum, dei Rubysti che lavorano in Svizzera. Mi ha contattato una ditta si St. Gallen, vicino a Zurigo. Sapete gli stipendi la? Il lavoro non e\` propri…

---

## [Tweak fastcgi\_buffer](https://www.ruby-forum.com/t/tweak-fastcgi-buffer/242751)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 29, 2015, 11:59pm UTC](https://www.ruby-forum.com/t/tweak-fastcgi-buffer/242751 "2015-07-29T23:59:14Z")

</div>

Hello, I need to tweak fastcgi\_buffer to 1m on a website that has heavy requests to avoid buffer. If I use a distro with 4096 pagesize, is it better to do 256x 4k or 4x 256k? \[root@web ~\]# getconf PAGESIZE 4096 \[…

---

## [POST with Net::HTTP](https://www.ruby-forum.com/t/post-with-net-http/230343)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 12, 2014, 5:21am UTC](https://www.ruby-forum.com/t/post-with-net-http/230343 "2014-06-12T05:21:32Z")

</div>

Hi! I’m trying to authenticate to an internal application, and I’m trying to do it using POST. (I’m also trying to do more stuff than that, but logging in is kind of a pre-requisite.) I’m using Net::HTTP – while in …

---

## [Gemma axlsx](https://www.ruby-forum.com/t/gemma-axlsx/240468)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 16, 2014, 11:56am UTC](https://www.ruby-forum.com/t/gemma-axlsx/240468 "2014-04-16T11:56:01Z")

</div>

Ciao. Cosa usate per scrivere file excel? Qualcuno ha esperienza con axlsx e axlsx-rails? Altre soluzioni? Grazie.

---

## [No Route Matches](https://www.ruby-forum.com/t/no-route-matches/238264)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 30, 2013, 4:06pm UTC](https://www.ruby-forum.com/t/no-route-matches/238264 "2013-12-30T16:06:05Z")

</div>

I’m programming a web system for a rental of movies and put the resource for rent a movie, but the routes don’t maches and the rails gives me that message of error. My code and the error gived by rails are in pictures…

---

## [Stage développeur Ruby On Rails / Frontend - Paris](https://www.ruby-forum.com/t/stage-developpeur-ruby-on-rails-frontend-paris/245550)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 13, 2013, 6:10pm UTC](https://www.ruby-forum.com/t/stage-developpeur-ruby-on-rails-frontend-paris/245550 "2013-06-13T18:10:47Z")

</div>

Bonjour, Nous recherchons actuellement un stagiaire pour participer au développement de notre plateforme CoursAvenue.com. Vous trouverez le détaille de l’offre ci-dessous. Nima La société Vous avez une sensibilité …

---

## [Redefining constants for a given instance only](https://www.ruby-forum.com/t/redefining-constants-for-a-given-instance-only/221930)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [August 7, 2012, 3:42pm UTC](https://www.ruby-forum.com/t/redefining-constants-for-a-given-instance-only/221930 "2012-08-07T15:42:20Z")

</div>

Hello, let's say we have two empty classes: class ClassA end class ClassB end then we have a third one, which has a method that references the first class: class Evaluator def evaluate return ClassA end end W…

---

## [Nginx doesn't response any request](https://www.ruby-forum.com/t/nginx-doesnt-response-any-request/219487)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 8, 2012, 3:14pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-response-any-request/219487 "2012-05-08T15:14:28Z")

</div>

hi, I have installed nginx on linux and started it successful with default config file. but I can’t open my website. the error message in the IE is the connection has been interrupt. and there is nothing in the acce…

---

## [Is it possible to manage four models in a form?](https://www.ruby-forum.com/t/is-it-possible-to-manage-four-models-in-a-form/215178)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [December 27, 2011, 10:04am UTC](https://www.ruby-forum.com/t/is-it-possible-to-manage-four-models-in-a-form/215178 "2011-12-27T10:04:58Z")

</div>

The models are: Company has\_many :categorizations has\_many :categories, :through =\> :categorizations Category has\_many :categorizations has\_many :companies, :through =\> :categorizations Classification has\_many :c…

---

## [To\_lang: my first gem, looking for feedback](https://www.ruby-forum.com/t/to-lang-my-first-gem-looking-for-feedback/201001)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [December 28, 2010, 9:43pm UTC](https://www.ruby-forum.com/t/to-lang-my-first-gem-looking-for-feedback/201001 "2010-12-28T21:43:15Z")

</div>

Greetings, I’ve been working on a library that adds language translation methods to strings using the Google Translate API. It’s my first time writing a gem, using RSpec, and documenting with YARD. I’ve gotten it to a…

---

## [Scriptaculous -- How do I access from Rails?](https://www.ruby-forum.com/t/scriptaculous-how-do-i-access-from-rails/171036)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 8\
**Last updated:** [June 27, 2009, 1:17pm UTC](https://www.ruby-forum.com/t/scriptaculous-how-do-i-access-from-rails/171036 "2009-06-27T13:17:31Z")

</div>

If I look at a page with a Scriptaculous example like: http://www.gregphoto.net/sortable/advanced/ And I can view the html/js source of the page – my question becomes, how do I implement this, or wire this into, my ra…

---

## [How do you do this in Rails?](https://www.ruby-forum.com/t/how-do-you-do-this-in-rails/170972)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 8\
**Last updated:** [June 24, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/how-do-you-do-this-in-rails/170972 "2009-06-24T20:00:02Z")

</div>

I have a model (“Ups”) and a corresponding controller (“UpsController”). The Ups model has a link to my “channels” toble through channel\_id Everything I am going to do in the given views for Ups have to do with usin…

---

## [Timestamps, data rates](https://www.ruby-forum.com/t/timestamps-data-rates/165525)

<div class="topic-metadata">

**Author:** [@dgalindo](https://www.ruby-forum.com/u/dgalindo)\
**Replies:** 8\
**Last updated:** [April 16, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/timestamps-data-rates/165525 "2009-04-16T23:52:08Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I’m running some experiments with my two USRP2’s - as I want to get synchronized samples out of them. I have the clock’s locked to my external 10Mhz, and they sync\_to\_pps…

---

## [Help! Window user needs help installing ruby 1.9 on mac](https://www.ruby-forum.com/t/help-window-user-needs-help-installing-ruby-1-9-on-mac/164697)

<div class="topic-metadata">

**Author:** [@devrubygem](https://www.ruby-forum.com/u/devrubygem)\
**Replies:** 8\
**Last updated:** [April 4, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/help-window-user-needs-help-installing-ruby-1-9-on-mac/164697 "2009-04-04T19:36:44Z")

</div>

I just purchased a new macbook pro and would like to install ruby 1.9, but I’m having trouble installing, can someone please provide the easiest steps to install ruby 1.9 please? Thanks

---

## [Circular require in openssl](https://www.ruby-forum.com/t/circular-require-in-openssl/160358)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 8\
**Last updated:** [February 18, 2009, 5:03am UTC](https://www.ruby-forum.com/t/circular-require-in-openssl/160358 "2009-02-18T05:03:19Z")

</div>

e$B0J2\<$N$h$&$K!“e(Bopenssl e$B$K$O4D\>u$Ne(B require e$B$,$”$j!"7Y9p$,=P$^$9!#e(B % ./ruby -v -ropenssl -e ‘’ ruby 1.9.2dev (2009-02-15 trunk 22317) \[i686-linux\] /home/ruby/ancdata/lib/ruby/1.9.1/i686-linux/openssl.s…

---

## [Form\_tag - howto call with self.send?](https://www.ruby-forum.com/t/form-tag-howto-call-with-self-send/155933)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 11:20am UTC](https://www.ruby-forum.com/t/form-tag-howto-call-with-self-send/155933 "2008-12-19T11:20:40Z")

</div>

I have the following code in a form helper Module: def form\_tag\_helper(options = {}) url = url\_for(:action =\> “#{@controller.action\_name}”) “#{self.send(:form\_tag, url, options)}” end which I call from several views…

---

## [Gps gems](https://www.ruby-forum.com/t/gps-gems/138515)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 3\
**Last updated:** [May 24, 2008, 7:29am UTC](https://www.ruby-forum.com/t/gps-gems/138515 "2008-05-24T07:29:11Z")

</div>

what’s the deal with the gps gems? gem install gps installs gps-0.0.1 by Nolan D… If you download the gem from http://rubyforge.org/projects/gps then you get gps-0.0.1.5 by Sascha Teske. The licenses are different, s…

---

## [Trying to get ActionMailer set up for the first time](https://www.ruby-forum.com/t/trying-to-get-actionmailer-set-up-for-the-first-time/128784)

<div class="topic-metadata">

**Author:** [@gorgeoussoul](https://www.ruby-forum.com/u/gorgeoussoul)\
**Replies:** 8\
**Last updated:** [March 6, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/trying-to-get-actionmailer-set-up-for-the-first-time/128784 "2008-03-06T14:13:02Z")

</div>

I’ve got “config.action\_mailer.delivery\_method = :smtp” in my environment.rb file AND it’s beneath the Rails:: Initializer.run do |config| line. At the bottom of the environment.rb file I have: ActionMailer::Base.del…

---

## [Ruby equivalent to source command](https://www.ruby-forum.com/t/ruby-equivalent-to-source-command/128909)

<div class="topic-metadata">

**Author:** [@vor\_lord](https://www.ruby-forum.com/u/vor_lord)\
**Replies:** 8\
**Last updated:** [February 12, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/ruby-equivalent-to-source-command/128909 "2008-02-12T23:37:57Z")

</div>

Hello all, I am trying to make a “source” command for Ruby (a la sh or tcl), but I think lexical scoping is tripping me up. I’ve done a lot of reading about bindings, and it seems I just can’t do what I’m trying to d…

---

## [Sort lines alpahetically](https://www.ruby-forum.com/t/sort-lines-alpahetically/126176)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/sort-lines-alpahetically/126176 "2008-01-16T20:03:23Z")

</div>

What is the fastest way to sort all the lines of a file alphabetically.

---

## [Gsub mass substitution](https://www.ruby-forum.com/t/gsub-mass-substitution/125435)

<div class="topic-metadata">

**Author:** [@ckvok](https://www.ruby-forum.com/u/ckvok)\
**Replies:** 8\
**Last updated:** [January 9, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/gsub-mass-substitution/125435 "2008-01-09T17:53:52Z")

</div>

Hello. I’m a ruby newbie. I’d like to make a “mass substitution” version of gsub, like in the sed example: $echo “Ã¡sturÃ£kolsÃ©” | sed -e ‘y/Ã¡Ã£Ã©/aae/’ asturakolse Alike, I’d do something like “Ã£olÃ©lÃ¼”.gsubm(“…

---

## [Database-like Algorithmic Problem](https://www.ruby-forum.com/t/database-like-algorithmic-problem/123547)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 8\
**Last updated:** [December 20, 2007, 12:01am UTC](https://www.ruby-forum.com/t/database-like-algorithmic-problem/123547 "2007-12-20T00:01:30Z")

</div>

hi all, ok here’s the scoop. i have a collection of hashes all with an arbitrary number of symbolic keys pointing to arbitrary objects. i have a template hash also containing symbol keys pointing to ‘matching objects’…

---

## [Ruby load problem on AIX](https://www.ruby-forum.com/t/ruby-load-problem-on-aix/90805)

<div class="topic-metadata">

**Author:** [@MDMDMD](https://www.ruby-forum.com/u/MDMDMD)\
**Replies:** 8\
**Last updated:** [August 16, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/ruby-load-problem-on-aix/90805 "2007-08-16T19:10:45Z")

</div>

Hi, I have built Ruby 1.8.5 on an AIX 5.2 64 bit machine. I am using xlc with OBJECT\_MODE=64. When I try to run the following: $ gem install rails --include-dependencies /fasthome/fast3/manas/ruby185/lib/ruby/1.8/pow…

---

## [Prototype-2.0.0](https://www.ruby-forum.com/t/prototype-2-0-0/105975)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 8\
**Last updated:** [June 5, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/prototype-2-0-0/105975 "2007-06-05T23:56:22Z")

</div>

NAME prototype.rb INSTALL gem install prototype URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/ SYNOPSIS prototype.rb facilitates a prototype based coding style http://en.wi…

---

## [No BPSK modulator?](https://www.ruby-forum.com/t/no-bpsk-modulator/87014)

<div class="topic-metadata">

**Author:** [@Trond\_D](https://www.ruby-forum.com/u/Trond_D)\
**Replies:** 8\
**Last updated:** [February 28, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/no-bpsk-modulator/87014 "2007-02-28T14:17:22Z")

</div>

Hi, Is there a reason why there is no “ordinary” n-PSK modulator and demodulator available, only the differential one? If not, I’ll modify the existing one and submit a patch. – Trond D.

---

## [Subversion + Radrails = Chaos?](https://www.ruby-forum.com/t/subversion-radrails-chaos/81048)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 8\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/subversion-radrails-chaos/81048 "2007-01-19T16:31:07Z")

</div>

Ragazzi, sono l’unico che ha problemi nell’usare subversion integrato in radrails o anche a voi capita che si sminchi tutto e poi dovete piallare, riscaricare, re-integrare? – Chiaroscuro

---

## [Why is this regex invalid?](https://www.ruby-forum.com/t/why-is-this-regex-invalid/78571)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 8\
**Last updated:** [December 7, 2006, 2:31am UTC](https://www.ruby-forum.com/t/why-is-this-regex-invalid/78571 "2006-12-07T02:31:07Z")

</div>

irb(main):002:0\> regex = /(\[0-9\])(\[^± \]+)(.)/ SyntaxError: compile error (irb):2: invalid regular expression: /(\[0-9\])(\[^± \]+)(.)/ from (irb):2 irb(main):003:0\> regex = /(\[0-9\])(\[^+ -\]+)(.)/ =\> /(\[0-9\])(\[^+ -\]+)(.)/ …

---

## [Oracle connection problem](https://www.ruby-forum.com/t/oracle-connection-problem/68021)

<div class="topic-metadata">

**Author:** [@e6395](https://www.ruby-forum.com/u/e6395)\
**Replies:** 3\
**Last updated:** [September 9, 2006, 8:35am UTC](https://www.ruby-forum.com/t/oracle-connection-problem/68021 "2006-09-09T08:35:56Z")

</div>

I try to connect to a oracle database but I receive a error message. The database connection file (database.yml) is : development: adapter: oci database: //WASDEV1:1521/D1WAS username: WBIOTP\_E8956 password: WBIOTP…

---

## [{} as record separators?](https://www.ruby-forum.com/t/as-record-separators/65614)

<div class="topic-metadata">

**Author:** [@punkrockgeekboy](https://www.ruby-forum.com/u/punkrockgeekboy)\
**Replies:** 8\
**Last updated:** [August 23, 2006, 4:30am UTC](https://www.ruby-forum.com/t/as-record-separators/65614 "2006-08-23T04:30:26Z")

</div>

I’m working on a ruby script to read Nagios’s status.dat and output it’s data. The data format looks like this: service { host\_name=www.bob.com service\_description=bob-website modified\_attributes=0 check\_command=c…

---

## [Embedded Ruby Question](https://www.ruby-forum.com/t/embedded-ruby-question/100944)

<div class="topic-metadata">

**Author:** [@Brian\_Campbell](https://www.ruby-forum.com/u/Brian_Campbell)\
**Replies:** 8\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/embedded-ruby-question/100944 "2006-08-03T14:23:26Z")

</div>

Hi all, I want to embed Ruby in my C++ application. I’d like to read one or more Ruby scripts stored in my RDBMS, pass the Ruby script as a string (not a file name) to the interpreter, and have it execute the code. …

---

## [Newbie question about scope, variables, declarations of vari](https://www.ruby-forum.com/t/newbie-question-about-scope-variables-declarations-of-vari/78328)

<div class="topic-metadata">

**Author:** [@Talha\_O](https://www.ruby-forum.com/u/Talha_O)\
**Replies:** 8\
**Last updated:** [March 8, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/newbie-question-about-scope-variables-declarations-of-vari/78328 "2006-03-08T17:12:01Z")

</div>

Hello, I am trying to understand the syntax error I receive in a code similar to this. 1 require ‘logger’ 2 3 log = logger.new #some other logger settings are ignored. 4 def func 5 log.debug “a statement” # er…

---

## [Ecommerce](https://www.ruby-forum.com/t/ecommerce/238895)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [February 4, 2014, 2:37pm UTC](https://www.ruby-forum.com/t/ecommerce/238895 "2014-02-04T14:37:01Z")

</div>

Hi Guys, I’m looking for a gem or extension that could allow me to build an ecommerce store in which the following are possible: When a user sets up an account, they should be able to add their own products to the …

---

## [Ruby under a microscope](https://www.ruby-forum.com/t/ruby-under-a-microscope/237931)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 10, 2013, 5:30pm UTC](https://www.ruby-forum.com/t/ruby-under-a-microscope/237931 "2013-12-10T17:30:39Z")

</div>

Ho visto che stato pubblicato questo che mi sembra un simpatico libro da leggere nelle vacanze: http://www.amazon.it/Ruby-Under-Microscope-Illustrated-Internals/dp/1593275277/ref=sr\_1\_8?s=english-books&ie=UTF8&qid=138…

---

## [Spredsheet\_on\_rails support only 2003 xls not 2007 & 2010 xlsx ERROR-"OLE2 signature is invalid"](https://www.ruby-forum.com/t/spredsheet-on-rails-support-only-2003-xls-not-2007-2010-xlsx-error-ole2-signature-is-invalid/223275)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 29, 2012, 7:33am UTC](https://www.ruby-forum.com/t/spredsheet-on-rails-support-only-2003-xls-not-2007-2010-xlsx-error-ole2-signature-is-invalid/223275 "2012-09-29T07:33:40Z")

</div>

hi all i wish to upload a spreadsheet file and all the content of that file should be save in my mysql database. my code working best with xls 2003 but when i upload xlsx 2007 & 2010 i get error “OLE2 signature is …

---

## [Read symbols from external file](https://www.ruby-forum.com/t/read-symbols-from-external-file/207528)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 28, 2011, 8:24am UTC](https://www.ruby-forum.com/t/read-symbols-from-external-file/207528 "2011-05-28T08:24:21Z")

</div>

=begin Hello, I parse an array of symbols to output some program code. In reality I map ALT, CTRL and SHIFT declarations to VK\_KEYS in Java. But the principle is the same. It is not a hash, a :symbol\_\* can appear mor…

---

## [Rubyhaze - playing with Hazelcast from JRuby](https://www.ruby-forum.com/t/rubyhaze-playing-with-hazelcast-from-jruby/192805)

<div class="topic-metadata">

**Author:** [@cvcomp](https://www.ruby-forum.com/u/cvcomp)\
**Replies:** 4\
**Last updated:** [August 10, 2010, 4:40am UTC](https://www.ruby-forum.com/t/rubyhaze-playing-with-hazelcast-from-jruby/192805 "2010-08-10T04:40:36Z")

</div>

Just launched my first JRuby gem into Github: == rubyhaze JRuby convenience library to connect withÂ Hazelcast. According to the website: Hazelcast is an open source clustering and highly scalable data distribution …

---

## [Pooling objects in jruby](https://www.ruby-forum.com/t/pooling-objects-in-jruby/192114)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 4\
**Last updated:** [July 26, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/pooling-objects-in-jruby/192114 "2010-07-26T16:52:43Z")

</div>

I would like to pool some email connections within a jruby process to allow for concurrent access to an email account. Can anyone recommend an object pool implementation? thx. -karl To unsubscribe from this list, …

---

## [Best way to match several attributes of an object?](https://www.ruby-forum.com/t/best-way-to-match-several-attributes-of-an-object/186032)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 4\
**Last updated:** [April 8, 2010, 9:11am UTC](https://www.ruby-forum.com/t/best-way-to-match-several-attributes-of-an-object/186032 "2010-04-08T09:11:00Z")

</div>

When you need to check several properties of an object, what is the best way to match them all? I’m using the ‘satisfy’ matcher at the moment but perhaps there’s a better way than this: flight.should satisfy { |f| f…

---

## [Acts\_as\_commentable](https://www.ruby-forum.com/t/acts-as-commentable/166396)

<div class="topic-metadata">

**Author:** [@jaesgar](https://www.ruby-forum.com/u/jaesgar)\
**Replies:** 4\
**Last updated:** [April 24, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/acts-as-commentable/166396 "2009-04-24T23:46:33Z")

</div>

Hola, Me gustarÃ­a aÃ±adir comentarios a ciertos elementos de mi aplicaciÃ³n. Quisiera saber si el plugin acts\_as\_commentable funciona bajo rails 2.3. Gracias de antemano

---

## [Typo web services](https://www.ruby-forum.com/t/typo-web-services/134761)

<div class="topic-metadata">

**Author:** [@joy\_ride](https://www.ruby-forum.com/u/joy_ride)\
**Replies:** 4\
**Last updated:** [April 15, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/typo-web-services/134761 "2008-04-15T19:22:38Z")

</div>

Dear all, How do I use Typo’s web services? I would like to display a list of the latest posts from within a separate rails application, but couldn’t find any documentation on Typo’s web services… Cheers, Sazima

---

## [RoR Problems with special Character in the model](https://www.ruby-forum.com/t/ror-problems-with-special-character-in-the-model/106362)

<div class="topic-metadata">

**Author:** [@Joachim\_Reichel](https://www.ruby-forum.com/u/Joachim_Reichel)\
**Replies:** 4\
**Last updated:** [June 9, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/ror-problems-with-special-character-in-the-model/106362 "2007-06-09T13:32:48Z")

</div>

Hi all, after two hours of googling I’ll ask you :wink: I have an ActiveRecord class which I extended with a method that returns an array of strings as categories. One string has a special character in it. When the …

---

## [Mantener el estado de Select](https://www.ruby-forum.com/t/mantener-el-estado-de-select/88766)

<div class="topic-metadata">

**Author:** [@Joselo](https://www.ruby-forum.com/u/Joselo)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/mantener-el-estado-de-select/88766 "2007-03-14T18:14:37Z")

</div>

Hola a todos, una pregunta puntual como puedo concervar el estado de un combobox una vez que se ha hecho submit al servidor Estaba pensando en guardar el Id seleccionado y luego cargarlo con html =\> { … } en el combo…

---

## [Cache sweepers en los callbacks de las asociaciones](https://www.ruby-forum.com/t/cache-sweepers-en-los-callbacks-de-las-asociaciones/88615)

<div class="topic-metadata">

**Author:** [@Daniel\_RSTroitiSSS](https://www.ruby-forum.com/u/Daniel_RSTroitiSSS)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/cache-sweepers-en-los-callbacks-de-las-asociaciones/88615 "2007-03-14T17:15:25Z")

</div>

Hola. Estaba intentando utilizar la cache de páginas de Rails en un proyecto y me he encontrado un problema. La idea es la siguiente: tengo dos modelos (Grupo y Proyecto) relacionados mediante una asociación habtm. E…

---

## [HABTM vs. using has\_many :through](https://www.ruby-forum.com/t/habtm-vs-using-has-many-through/97744)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [July 11, 2006, 10:05am UTC](https://www.ruby-forum.com/t/habtm-vs-using-has-many-through/97744 "2006-07-11T10:05:43Z")

</div>

All, I’ve heard recently about has\_many :through as a necessary alternative to HABTM (when the join table has it’s own id column, say, in a legacy schema). However, is the prevailing Rails wisdom now that one should …

---

## [What is a purpose of Rails.root/tmp/sessions?](https://www.ruby-forum.com/t/what-is-a-purpose-of-rails-root-tmp-sessions/232993)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 9, 2014, 5:11pm UTC](https://www.ruby-forum.com/t/what-is-a-purpose-of-rails-root-tmp-sessions/232993 "2014-11-09T17:11:25Z")

</div>

When I read rails guide http://guides.rubyonrails.org/command\_line.html#tmp , I meet this sentence rake tmp:sessions:clear clears tmp/sessions.. In Rails maybe there are any options to store sessions data to File (d…

---

## [Compression with Caching](https://www.ruby-forum.com/t/compression-with-caching/231737)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [September 2, 2014, 9:12am UTC](https://www.ruby-forum.com/t/compression-with-caching/231737 "2014-09-02T09:12:57Z")

</div>

How can use these two together. Suppose I got an uncompressed response from the backend/webserver. I want Nginx to compress the response before storing in the cache. Looks like Nginx is first storing the response in …

---

## [Specs failing when run outside Spork with TypeError: superclass mismatch for class Attribute](https://www.ruby-forum.com/t/specs-failing-when-run-outside-spork-with-typeerror-superclass-mismatch-for-class-attribute/213361)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 31, 2011, 3:42pm UTC](https://www.ruby-forum.com/t/specs-failing-when-run-outside-spork-with-typeerror-superclass-mismatch-for-class-attribute/213361 "2011-10-31T15:42:34Z")

</div>

When I run my specs inside spork, they all just pass without any problems, but once I try to run them without spork, I end up with Failure/Error: Unable to find matching line from backtrace TypeError: superclass m…

---

## [Possible to add columns to a database table from a controller? (not from a migration)](https://www.ruby-forum.com/t/possible-to-add-columns-to-a-database-table-from-a-controller-not-from-a-migration/144551)

<div class="topic-metadata">

**Author:** [@mikebind](https://www.ruby-forum.com/u/mikebind)\
**Replies:** 7\
**Last updated:** [July 31, 2008, 9:58am UTC](https://www.ruby-forum.com/t/possible-to-add-columns-to-a-database-table-from-a-controller-not-from-a-migration/144551 "2008-07-31T09:58:23Z")

</div>

I am trying to figure out how to add columns to a database table from within a controller. I have a client who wants to be able to add their own attributes to a model from within the running application, so I don’t t…

---

## [More Nested Resources Questions](https://www.ruby-forum.com/t/more-nested-resources-questions/135660)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 7\
**Last updated:** [April 24, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/more-nested-resources-questions/135660 "2008-04-24T19:04:22Z")

</div>

Ok… quick example… client has\_many :locations vendor has\_many :locations so my resources is something like… map.resources :clients, :has\_many =\> :locations map.resources :vendors, :has\_many =\> :locations map.resou…

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

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