# Top

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

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

---

## [Deploying exploded JRuby wars on tomcat?](https://www.ruby-forum.com/t/deploying-exploded-jruby-wars-on-tomcat/217801)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 13, 2012, 11:59pm UTC](https://www.ruby-forum.com/t/deploying-exploded-jruby-wars-on-tomcat/217801 "2012-03-13T23:59:30Z")

</div>

Anybody had success with this approach? TL;DR: I want to push out an ‘exploded’ JRuby-enabled webapp/context to a Tomcat (6), and am just wondering what the performance etc. tradeoffs are vs. a plain WAR based deploy…

---

## [Net::Telnet doesnt work but command line telnet does](https://www.ruby-forum.com/t/net-telnet-doesnt-work-but-command-line-telnet-does/212012)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 20, 2011, 1:59am UTC](https://www.ruby-forum.com/t/net-telnet-doesnt-work-but-command-line-telnet-does/212012 "2011-09-20T01:59:04Z")

</div>

I am making a simple remote control to vlc and running into troubles on ubuntu. This all works in windows however but not in ubuntu. I have no idea what could be different. When I use net/telnet I get a connection ref…

---

## [Marshaling URI between 1.8 and 1.9](https://www.ruby-forum.com/t/marshaling-uri-between-1-8-and-1-9/167265)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [May 27, 2009, 10:13am UTC](https://www.ruby-forum.com/t/marshaling-uri-between-1-8-and-1-9/167265 "2009-05-27T10:13:38Z")

</div>

e$B5$$,$D$$$?$s$G$9$,!"e(BURI e$B%\*%V%8%'%/%H$re(B marshal e$B$Ge(B 1.9 e$B$+$ie(B 1.8 e$B$K0$=$&$H$9$k$H\<:GT$7$^$9!#e(B % ruby -v ruby 1.9.2dev (2009-05-02 trunk 23326) \[i686-linux\] % ruby-1.8 -v ruby 1.8.8dev (20…

---

## [Installing Ruby and Ruby Gems in a USB Flash Stick](https://www.ruby-forum.com/t/installing-ruby-and-ruby-gems-in-a-usb-flash-stick/163363)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/installing-ruby-and-ruby-gems-in-a-usb-flash-stick/163363 "2009-03-20T16:26:11Z")

</div>

Hello team, Had anyone installed Ruby in a USB Flash Stick? I installed 1.9.1 using the vxRuby installer, which installs ruby and wxruby, in my 64GB USB memory stick. This created the following issues: When I run i…

---

## [Generating Microsoft word document using ruby or rails](https://www.ruby-forum.com/t/generating-microsoft-word-document-using-ruby-or-rails/160839)

<div class="topic-metadata">

**Author:** [@jprabu](https://www.ruby-forum.com/u/jprabu)\
**Replies:** 2\
**Last updated:** [February 20, 2009, 11:52am UTC](https://www.ruby-forum.com/t/generating-microsoft-word-document-using-ruby-or-rails/160839 "2009-02-20T11:52:06Z")

</div>

I have some record formatted in table. For that, I need to convert the table data into Microsoft word document or Open office document. what method I have to use?, Is there any class or gems or library in ruby? kindl…

---

## [Menu](https://www.ruby-forum.com/t/menu/122079)

<div class="topic-metadata">

**Author:** [@ina](https://www.ruby-forum.com/u/ina)\
**Replies:** 2\
**Last updated:** [December 4, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/menu/122079 "2007-12-04T15:12:34Z")

</div>

Hola, soy nuevo en esto de RonR. He estado creando una aplicación buscando la información de como se programa en este lenguaje en libros, páginas, foros, etc. Ahora estoy dandole el diseño, he hecho un menu para acced…

---

## [Main-2.2.0](https://www.ruby-forum.com/t/main-2-2-0/118201)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 9:03am UTC](https://www.ruby-forum.com/t/main-2-2-0/118201 "2007-10-25T09:03:49Z")

</div>

NAME main.rb SYNOPSIS a class factory and dsl for generating command line programs real quick URI http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/ INSTALL gem install main HISTORY …

---

## [Assert\_select with respond\_to JS or xhr?](https://www.ruby-forum.com/t/assert-select-with-respond-to-js-or-xhr/92966)

<div class="topic-metadata">

**Author:** [@seb\_guard](https://www.ruby-forum.com/u/seb_guard)\
**Replies:** 2\
**Last updated:** [April 27, 2007, 2:17am UTC](https://www.ruby-forum.com/t/assert-select-with-respond-to-js-or-xhr/92966 "2007-04-27T02:17:28Z")

</div>

Hi everyone, I am a bit confused with xhr? and respond\_to. I have the folloing code in my view to update the ‘emails’ ID link\_to\_remote(image\_tag(“refresh”), :update =\> “emails”, :url =\> { :action =\> “list\_emails” }) …

---

## [RoR: 'Expected \[.\] to define Job](https://www.ruby-forum.com/t/ror-expected-to-define-job/245120)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 26, 2016, 8:56pm UTC](https://www.ruby-forum.com/t/ror-expected-to-define-job/245120 "2016-10-26T20:56:07Z")

</div>

Hi all, I have almost no experience with Ruby/RoR so please have some patience if I’m not seeing the ‘evident’ thing here; I’ve been scratching my head for hours for no avail. Recently the infrastructure on where thi…

---

## [Transmitter receiving its own packet](https://www.ruby-forum.com/t/transmitter-receiving-its-own-packet/228099)

<div class="topic-metadata">

**Author:** [@SahooS\_Anirudha](https://www.ruby-forum.com/u/SahooS_Anirudha)\
**Replies:** 7\
**Last updated:** [April 11, 2013, 2:05am UTC](https://www.ruby-forum.com/t/transmitter-receiving-its-own-packet/228099 "2013-04-11T02:05:36Z")

</div>

Hi, I have two USRP N210s. The sender’s “Tx/Rx” port is connected to the receiver’s “Rx2” port and vice-versa (via RF-cable). I have a python app running on the sender and receiver which sends a REQ packet to the rec…

---

## [Download image in rails with javascript/jquery](https://www.ruby-forum.com/t/download-image-in-rails-with-javascript-jquery/221692)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 26, 2012, 4:07pm UTC](https://www.ruby-forum.com/t/download-image-in-rails-with-javascript-jquery/221692 "2012-07-26T16:07:52Z")

</div>

in my rails app, i have got one URL \* (http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=code&chld=H|0)\*in Javascript view.html.erb \* \* \* \<%= link\_to "QR","#", :onclick =\> "showCode();"%\> I need to…

---

## [Ruby-gtk3 - "embedding" into the browser?](https://www.ruby-forum.com/t/ruby-gtk3-embedding-into-the-browser/216023)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 23, 2012, 11:34am UTC](https://www.ruby-forum.com/t/ruby-gtk3-embedding-into-the-browser/216023 "2012-01-23T11:34:28Z")

</div>

Hi guys, I wrote a little GTK wrapper around FTP. This ruby-gtk app allows me to connect to a remote host, then transfer files. It has a few bugs still, but it works ok, and my goal is to improve it further in the f…

---

## [Multiple add\_header directives in different contexts](https://www.ruby-forum.com/t/multiple-add-header-directives-in-different-contexts/212889)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 17, 2011, 9:01am UTC](https://www.ruby-forum.com/t/multiple-add-header-directives-in-different-contexts/212889 "2011-10-17T09:01:01Z")

</div>

so i have a configuration like this: … http { … add\_header X-Bleep bloop; server { … add\_header X-Foo bar; } server { … } } and only “X-Bleep: bloop” is showing up in responses. is this expected behavior? i…

---

## [Evt\_key\_down() { | event | }](https://www.ruby-forum.com/t/evt-key-down-event/203984)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 3, 2011, 1:29am UTC](https://www.ruby-forum.com/t/evt-key-down-event/203984 "2011-03-03T01:29:41Z")

</div>

Bonsoir Alex. J’ai un problème avec “evt\_key\_down() { | event | … }”. Je m’explique: Quand j’ouvre mon application, “evt\_key\_down() { | event | … }” fonctionne correctement, mais à partir du moment que je fait un cli…

---

## [Ordered active record attributes hash](https://www.ruby-forum.com/t/ordered-active-record-attributes-hash/192484)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 1\
**Last updated:** [July 31, 2010, 9:32pm UTC](https://www.ruby-forum.com/t/ordered-active-record-attributes-hash/192484 "2010-07-31T21:32:26Z")

</div>

Hi All: I’m trying to traverse the active record attributes hash in the order it was created. a = Table.find\_by\_sql(“select \* from sometable”) a.each { |row| puts row.to\_yaml prints the the attributes in the order co…

---

## [Running a rake task from cron on a shared webhost (joyent)](https://www.ruby-forum.com/t/running-a-rake-task-from-cron-on-a-shared-webhost-joyent/174690)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 7\
**Last updated:** [September 2, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/running-a-rake-task-from-cron-on-a-shared-webhost-joyent/174690 "2009-09-02T18:08:12Z")

</div>

I’ve created a cron task via my webhost’s (a joyent shared accelerator) cron control panel. The control panel has a “run now” button, when I hit this button the thing works, I get my nice backup file created in /db, a…

---

## [REST - Some doubts](https://www.ruby-forum.com/t/rest-some-doubts/158485)

<div class="topic-metadata">

**Author:** [@homunculus](https://www.ruby-forum.com/u/homunculus)\
**Replies:** 7\
**Last updated:** [January 23, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/rest-some-doubts/158485 "2009-01-23T21:45:00Z")

</div>

Hi, I recently started using rest for building some new rails apps. I find it great and clean, but when I started a big project some days ago some doubts come to my mind. First of all, after implementing the user man…

---

## [Glassfish gem and Mephisto problem](https://www.ruby-forum.com/t/glassfish-gem-and-mephisto-problem/157815)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 1\
**Last updated:** [January 15, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/glassfish-gem-and-mephisto-problem/157815 "2009-01-15T20:09:04Z")

</div>

Hi I am trying to set up Mephisto for my personal blog on a Ubuntu 8.10 server. I am using JRuby 1.1.6, the Glassfish gem version0.9.1, and Mephisto 0.8.1. I am using Postgresql as the database. I can get Mephisto …

---

## [Reimplementation address book program](https://www.ruby-forum.com/t/reimplementation-address-book-program/156784)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 7\
**Last updated:** [January 5, 2009, 11:15am UTC](https://www.ruby-forum.com/t/reimplementation-address-book-program/156784 "2009-01-05T11:15:40Z")

</div>

On one of my servers (linux) I have a nice address book over ldap. It is automatically integrated with thunderbird and other programs, but none of them is capable of modifying (or at least easily). Since I want it ver…

---

## [Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)](https://www.ruby-forum.com/t/mongrel-hangs-with-100-cpu-ebadf-bad-file-descriptor/147005)

<div class="topic-metadata">

**Author:** [@frontline](https://www.ruby-forum.com/u/frontline)\
**Replies:** 1\
**Last updated:** [September 27, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/mongrel-hangs-with-100-cpu-ebadf-bad-file-descriptor/147005 "2008-09-27T17:20:16Z")

</div>

We have a server with 10 running mongrel\_cluster instances with apache in front of them, and every now and then one or some of them hang. No activity is seen in the database (we’re using activerecord sessions). Mysql …

---

## [Forced to do CGI::unescape, an alternative?](https://www.ruby-forum.com/t/forced-to-do-cgi-unescape-an-alternative/148186)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 1\
**Last updated:** [September 10, 2008, 9:05am UTC](https://www.ruby-forum.com/t/forced-to-do-cgi-unescape-an-alternative/148186 "2008-09-10T09:05:30Z")

</div>

Hi, I have a server/client related question. I’m using a mobile client to update some records on the app using xml. Now, when using the browser interface we can use forms and the content is: Content-Type: application/…

---

## [New time object with custom value](https://www.ruby-forum.com/t/new-time-object-with-custom-value/142706)

<div class="topic-metadata">

**Author:** [@sadeesh\_kumar](https://www.ruby-forum.com/u/sadeesh_kumar)\
**Replies:** 7\
**Last updated:** [July 11, 2008, 10:55am UTC](https://www.ruby-forum.com/t/new-time-object-with-custom-value/142706 "2008-07-11T10:55:05Z")

</div>

hi, I need to construct anew time object with hour-\>7,min-55,sec-33. Then how could i do it?. As i search for it, I found no constructor to make time object like this. Anybody? Thanks, -Sadeesh kumar.

---

## [Building on Solaris and trouble with missing libcrypt\_d](https://www.ruby-forum.com/t/building-on-solaris-and-trouble-with-missing-libcrypt-d/138813)

<div class="topic-metadata">

**Author:** [@justinj](https://www.ruby-forum.com/u/justinj)\
**Replies:** 1\
**Last updated:** [May 28, 2008, 12:56am UTC](https://www.ruby-forum.com/t/building-on-solaris-and-trouble-with-missing-libcrypt-d/138813 "2008-05-28T00:56:39Z")

</div>

Hi, I have a Solaris zone that I use to build Ruby on and then I deploy it to a production box. I’m finding that there are some differences between these boxes, which are causing ruby to not run correctly when copie…

---

## [What does &&= do?](https://www.ruby-forum.com/t/what-does-do/132238)

<div class="topic-metadata">

**Author:** [@subbu](https://www.ruby-forum.com/u/subbu)\
**Replies:** 7\
**Last updated:** [March 22, 2008, 2:30pm UTC](https://www.ruby-forum.com/t/what-does-do/132238 "2008-03-22T14:30:43Z")

</div>

I came across &&= while reading some code. I know what ||= does but not this one. Can someone explain what it does? Thanks much -subbu

---

## [Ok, whose got RoR installed on a nokia n800?](https://www.ruby-forum.com/t/ok-whose-got-ror-installed-on-a-nokia-n800/103699)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 7\
**Last updated:** [May 21, 2007, 12:16am UTC](https://www.ruby-forum.com/t/ok-whose-got-ror-installed-on-a-nokia-n800/103699 "2007-05-21T00:16:29Z")

</div>

browsing through flickr for nokia n800(internet tablet pda device) photos, i came across one using RoR! seems pretty cool and would like to do the same. i guess the person is using sqlite and nginx.

---

## [Find\_by\_sql and date\_format](https://www.ruby-forum.com/t/find-by-sql-and-date-format/90112)

<div class="topic-metadata">

**Author:** [@felix\_sheng](https://www.ruby-forum.com/u/felix_sheng)\
**Replies:** 1\
**Last updated:** [March 26, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/find-by-sql-and-date-format/90112 "2007-03-26T19:51:11Z")

</div>

Hello, I’m beginning my first project in Ruby (and Rails) and running into an issue. I need to pull some data out of mysql using the date\_format command but ActiveRecord is not appreciating my sql. I’m doing somethin…

---

## [Problem with starting WEBrick](https://www.ruby-forum.com/t/problem-with-starting-webrick/102976)

<div class="topic-metadata">

**Author:** [@mikki](https://www.ruby-forum.com/u/mikki)\
**Replies:** 7\
**Last updated:** [July 11, 2006, 1:17am UTC](https://www.ruby-forum.com/t/problem-with-starting-webrick/102976 "2006-07-11T01:17:03Z")

</div>

Following is the error I get when I run ‘\\root\\ ruby script\\server’ The server does not starts. Any help !?! =\> Booting WEBrick… c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275: warning: alread…

---

## [Best Practices question regarding views & controllers](https://www.ruby-forum.com/t/best-practices-question-regarding-views-controllers/76192)

<div class="topic-metadata">

**Author:** [@rapha](https://www.ruby-forum.com/u/rapha)\
**Replies:** 7\
**Last updated:** [March 3, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/best-practices-question-regarding-views-controllers/76192 "2006-03-03T16:40:53Z")

</div>

Hi List! I’m reading the Agile book, as many online articles as I can, but there’s still some things that are just too hard to answer for yourself. In building my application, I often find myself putting code into my …

---

## [\[ANN\] 9cays - A Rails app for Group Email](https://www.ruby-forum.com/t/ann-9cays-a-rails-app-for-group-email/53726)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 7\
**Last updated:** [February 17, 2006, 12:02am UTC](https://www.ruby-forum.com/t/ann-9cays-a-rails-app-for-group-email/53726 "2006-02-17T00:02:26Z")

</div>

Even though it’s a little OT, I thought I’d announce the free public beta of a new Rails app that I’ve been working on for a while: http://9cays.com Think of it as mini-mailing list software. For a lot of smallish …

---

## [Local gem repo with just the latest versions](https://www.ruby-forum.com/t/local-gem-repo-with-just-the-latest-versions/238740)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 30, 2014, 12:37am UTC](https://www.ruby-forum.com/t/local-gem-repo-with-just-the-latest-versions/238740 "2014-01-30T00:37:25Z")

</div>

Rubygems totalled about 75GB last time I looked but that includes all the old versions of each gem. I would like to create a local gem repository but only download the latest version of each gem. Is it possible? gvim …

---

## [Python import error](https://www.ruby-forum.com/t/python-import-error/237370)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [November 8, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/python-import-error/237370 "2013-11-08T16:36:57Z")

</div>

Dear all, I have a very old problem. I hope someone can help me: system: Ubuntu 13.04 I installed : python 2.7.4 version by default and sudo apt-get install gnuradio I run this: $ python -c ‘from gnuradio import f…

---

## [OpenBSD: still trying](https://www.ruby-forum.com/t/openbsd-still-trying/228113)

<div class="topic-metadata">

**Author:** [@itsnotvalid](https://www.ruby-forum.com/u/itsnotvalid)\
**Replies:** 4\
**Last updated:** [April 15, 2013, 4:18pm UTC](https://www.ruby-forum.com/t/openbsd-still-trying/228113 "2013-04-15T16:18:47Z")

</div>

I picked up another laptop, installed OpenBSD 5.2 (the latest for another month or so), and set about installing Gnuradio 3.6.3. My disabled component list is down to: – \* gr-comedi – \* gr-uhd – \* gr-shd – …

---

## [Used USRP1 and USRP2 for sale](https://www.ruby-forum.com/t/used-usrp1-and-usrp2-for-sale/202573)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 23, 2012, 8:24pm UTC](https://www.ruby-forum.com/t/used-usrp1-and-usrp2-for-sale/202573 "2012-09-23T20:24:15Z")

</div>

We have 4 used USRP1s and 1 USRP2s systems for sale. We don’t have a need for them anymore. The USPR1s were modified for external clock (with some zero ohm changes it can be reverted back to its original 64MHz mode). …

---

## [Regarding installation of GNURADIO on Ubuntu 10.10](https://www.ruby-forum.com/t/regarding-installation-of-gnuradio-on-ubuntu-10-10/213592)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 7, 2011, 3:27am UTC](https://www.ruby-forum.com/t/regarding-installation-of-gnuradio-on-ubuntu-10-10/213592 "2011-11-07T03:27:28Z")

</div>

Hello I am using Ubuntu 10.10 and I am trying to install gnuradio for using it with USRP1. I am using the Build scrip available at following address http://www.sbrac.org/files/build-gnuradio But while building the U…

---

## [High server load](https://www.ruby-forum.com/t/high-server-load/208264)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 13, 2011, 9:31pm UTC](https://www.ruby-forum.com/t/high-server-load/208264 "2011-06-13T21:31:05Z")

</div>

Sometimes my website is down due to high server load. htop screenshot: http://img703.imageshack.us/img703/4042/highcpupad.png Sometimes there are php5-fpm processes that take 100% CPU. Why? It slowes down everything.…

---

## [Defining a class without opening an existent one](https://www.ruby-forum.com/t/defining-a-class-without-opening-an-existent-one/195492)

<div class="topic-metadata">

**Author:** [@hagbard](https://www.ruby-forum.com/u/hagbard)\
**Replies:** 4\
**Last updated:** [September 24, 2010, 12:42pm UTC](https://www.ruby-forum.com/t/defining-a-class-without-opening-an-existent-one/195492 "2010-09-24T12:42:36Z")

</div>

Hi there! I want to define a class which happens to have the same name as a builtin class. It shouldn’t be a problem because it’s in an extra namespace, but Ruby opens the existing class instead of defining a new one…

---

## [Rails app sloooooowing down](https://www.ruby-forum.com/t/rails-app-sloooooowing-down/194913)

<div class="topic-metadata">

**Author:** [@thewordnerd](https://www.ruby-forum.com/u/thewordnerd)\
**Replies:** 4\
**Last updated:** [September 14, 2010, 12:58am UTC](https://www.ruby-forum.com/t/rails-app-sloooooowing-down/194913 "2010-09-14T00:58:21Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, I’m a bit out of my league with this one and am hoping there’s a quick fix. I’m running Redmine on JRuby on two separate hosts. One is rock solid and I pretty much f…

---

## [Suggested shorthand for and\_return when stubbing](https://www.ruby-forum.com/t/suggested-shorthand-for-and-return-when-stubbing/183817)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 4\
**Last updated:** [February 21, 2010, 12:42am UTC](https://www.ruby-forum.com/t/suggested-shorthand-for-and-return-when-stubbing/183817 "2010-02-21T00:42:18Z")

</div>

I keep wanting to do this, and I don’t think it’s possible so I thought I’d suggest it. Similarly to the way I can specify stub values as hash key/value pairs when constructing a test double, I’d like to be able to th…

---

## [Enumerable#entries sometimes wants a parameter?](https://www.ruby-forum.com/t/enumerable-entries-sometimes-wants-a-parameter/176846)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 4\
**Last updated:** [October 8, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/enumerable-entries-sometimes-wants-a-parameter/176846 "2009-10-08T22:39:28Z")

</div>

We are switching a rails app to JRuby, and some of our tests fail intermittently because we call #entries on an Enumerable (Array or Rails association), and it throws an exception saying 1 parameter was expected (not …

---

## [Default SSL protocols](https://www.ruby-forum.com/t/default-ssl-protocols/176650)

<div class="topic-metadata">

**Author:** [@Matt\_Goodall](https://www.ruby-forum.com/u/Matt_Goodall)\
**Replies:** 4\
**Last updated:** [October 6, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/default-ssl-protocols/176650 "2009-10-06T21:39:59Z")

</div>

Hi, I just noticed that the SSL module enables SSLv2 by default, "ssl\_protocols SSLv2 SSLv3 TLSv1 " (see Module ngx\_http\_ssl\_module). Given that SSLv2 is generally considered “weak” these days (Transport Layer Secur…

---

## [If string = "mike" then print "Hi mike"](https://www.ruby-forum.com/t/if-string-mike-then-print-hi-mike/167260)

<div class="topic-metadata">

**Author:** [@i8igmac](https://www.ruby-forum.com/u/i8igmac)\
**Replies:** 4\
**Last updated:** [May 6, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/if-string-mike-then-print-hi-mike/167260 "2009-05-06T15:29:39Z")

</div>

server/client connection so, im only a few days into ruby, im working on some tcp and there is a problem with my client.rb… if str == ??? this if statement is always skipped and im not sure why? also, from the server…

---

## [403 Forbidden con la gema Roo](https://www.ruby-forum.com/t/403-forbidden-con-la-gema-roo/152925)

<div class="topic-metadata">

**Author:** [@Manuel\_GonzSSSSlez\_S](https://www.ruby-forum.com/u/Manuel_GonzSSSSlez_S)\
**Replies:** 4\
**Last updated:** [November 9, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/403-forbidden-con-la-gema-roo/152925 "2008-11-09T22:51:14Z")

</div>

Hola, a ver si a alguien se le ocurre la (seguramente obvia) explicaciÃ³n a la diferencia de resultado entre estos dos escenarios, intentando utilizar la gema Roo para recuperar una hoja de cÃ¡lculo de Google Docs. E…

---

## [Session :session\_key. Aplication.rb](https://www.ruby-forum.com/t/session-session-key-aplication-rb/143828)

<div class="topic-metadata">

**Author:** [@jarrouj](https://www.ruby-forum.com/u/jarrouj)\
**Replies:** 4\
**Last updated:** [July 24, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/session-session-key-aplication-rb/143828 "2008-07-24T17:52:00Z")

</div>

Que tal gente, estoy usando sesiones en mi aplicacion web y estoy teniendo el siguiente problema. en el Aplication.rb tengo la siguiente linea session :session\_key =\> ‘\_miAplicacion’ Entiendo que las sesiones en ruby…

---

## [Controller spec gives strange error](https://www.ruby-forum.com/t/controller-spec-gives-strange-error/142078)

<div class="topic-metadata">

**Author:** [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Replies:** 4\
**Last updated:** [July 4, 2008, 8:08am UTC](https://www.ruby-forum.com/t/controller-spec-gives-strange-error/142078 "2008-07-04T08:08:32Z")

</div>

Good day! I have a Rails app with a controller that sets an instance variable in a before\_filter, like this: class PostsController \< ApplicationController before\_filter :set\_site\_language def set\_site\_language @sit…

---

## [Newbie Problem : Scaffold does not generate html form input fields](https://www.ruby-forum.com/t/newbie-problem-scaffold-does-not-generate-html-form-input-fields/139872)

<div class="topic-metadata">

**Author:** [@anij](https://www.ruby-forum.com/u/anij)\
**Replies:** 4\
**Last updated:** [June 8, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/newbie-problem-scaffold-does-not-generate-html-form-input-fields/139872 "2008-06-08T20:46:21Z")

</div>

Hi Friends, I am newbie to Ruby on Rails and trying to follow through my first tutorial on RoR. I am following the “Getting Started with Rails” manual on RoR. When I type “$ ruby script\\generate scaffold Post blog” …

---

## [\[Q\] how do I test the behavior of a Builder pattern object?](https://www.ruby-forum.com/t/q-how-do-i-test-the-behavior-of-a-builder-pattern-object/132822)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 6:06am UTC](https://www.ruby-forum.com/t/q-how-do-i-test-the-behavior-of-a-builder-pattern-object/132822 "2008-03-25T06:06:35Z")

</div>

So I have a complex object that I need to construct. This complex object, at runtime, takes an object in its initializer. The initializer interrogates the object and creates several collaborative objects based upon va…

---

## [How to modfiy headers in and headers out](https://www.ruby-forum.com/t/how-to-modfiy-headers-in-and-headers-out/118814)

<div class="topic-metadata">

**Author:** [@Yingyuan\_C](https://www.ruby-forum.com/u/Yingyuan_C)\
**Replies:** 4\
**Last updated:** [November 1, 2007, 6:46am UTC](https://www.ruby-forum.com/t/how-to-modfiy-headers-in-and-headers-out/118814 "2007-11-01T06:46:56Z")

</div>

Hello all. I want to write a balancer module to balance requests based on cookie. In the phase of upstream\_init\_peer, I lookup special cookie from headers\_in.headers. If not found, I’ll generate a new one, insert it …

---

## [Newbie Question Passing variables to methods](https://www.ruby-forum.com/t/newbie-question-passing-variables-to-methods/107616)

<div class="topic-metadata">

**Author:** [@Starke](https://www.ruby-forum.com/u/Starke)\
**Replies:** 4\
**Last updated:** [June 24, 2007, 10:55am UTC](https://www.ruby-forum.com/t/newbie-question-passing-variables-to-methods/107616 "2007-06-24T10:55:36Z")

</div>

Im trying to set up a method and pass a varible to it then out put the new manipulated varible back out. Here is what I have var1 = ‘test’ def change var\_in puts var\_in var\_in = ‘test1’ puts var\_in end change …

---

## [Programmatically generate models/scaffolds?](https://www.ruby-forum.com/t/programmatically-generate-models-scaffolds/104030)

<div class="topic-metadata">

**Author:** [@lefnire](https://www.ruby-forum.com/u/lefnire)\
**Replies:** 4\
**Last updated:** [May 22, 2007, 11:26am UTC](https://www.ruby-forum.com/t/programmatically-generate-models-scaffolds/104030 "2007-05-22T11:26:22Z")

</div>

first, let me explain what I’m trying to do because I might be going about this all wrong. I want the user to be able to CRUD (create, read, update, destroy) table definitions as well as their rows. So the user shoul…

---

## [E Commerce as Behavior?](https://www.ruby-forum.com/t/e-commerce-as-behavior/82000)

<div class="topic-metadata">

**Author:** [@mattmcswain](https://www.ruby-forum.com/u/mattmcswain)\
**Replies:** 4\
**Last updated:** [January 16, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/e-commerce-as-behavior/82000 "2007-01-16T23:25:04Z")

</div>

Hi, I posted this earlier but think there may have been a problem. So I hope this didn’t get posted twice! I’m considering using Radiant for a site, but the site needs a basic e-commerce package also. Does it seem fe…

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

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