# Top

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

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

---

## [Flash for more than notices](https://www.ruby-forum.com/t/flash-for-more-than-notices/49669)

<div class="topic-metadata">

**Author:** [@atomgiant](https://www.ruby-forum.com/u/atomgiant)\
**Replies:** 5\
**Last updated:** [December 8, 2005, 2:52am UTC](https://www.ruby-forum.com/t/flash-for-more-than-notices/49669 "2005-12-08T02:52:20Z")

</div>

Hi, I am considering using the flash to store intermediate data between requests that is more than just a status type message. For instance, if a user searches for some items, I will render the items to them keyed wi…

---

## [Pybombs install problem](https://www.ruby-forum.com/t/pybombs-install-problem/242950)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 10, 2015, 2:55am UTC](https://www.ruby-forum.com/t/pybombs-install-problem/242950 "2015-08-10T02:55:07Z")

</div>

Greetings, I am trying to install the latest gnuradio using pybombs. I am running linux mint on an amd64 machine. Here is the terminal output, basically it just keeps repeating the same thing, and then finally kicks …

---

## [Try\_files and proxypass](https://www.ruby-forum.com/t/try-files-and-proxypass/242917)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 7, 2015, 9:49am UTC](https://www.ruby-forum.com/t/try-files-and-proxypass/242917 "2015-08-07T09:49:13Z")

</div>

Hi, I came across such configs and I am curios to know what @app\_$dc; matches in location configs? try\_files $uri @app\_$dc; location @app\_prod { proxy\_pass http://app\_prod;} location @app\_qadc { proxy\_pass http://a…

---

## [Tengine-2.0.2 is released](https://www.ruby-forum.com/t/tengine-2-0-2-is-released/240117)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 30, 2014, 6:09pm UTC](https://www.ruby-forum.com/t/tengine-2-0-2-is-released/240117 "2014-05-30T18:09:09Z")

</div>

Hi folks, Tengine-2.0.2 (development version) has been released. You can either checkout the source code from GitHub: GitHub - alibaba/tengine: A distribution of Nginx with some advanced features or download the tarb…

---

## [Jruby development in Eclipse/PDE, targetting as RCP plugin?](https://www.ruby-forum.com/t/jruby-development-in-eclipse-pde-targetting-as-rcp-plugin/238957)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [February 5, 2014, 6:13pm UTC](https://www.ruby-forum.com/t/jruby-development-in-eclipse-pde-targetting-as-rcp-plugin/238957 "2014-02-05T18:13:40Z")

</div>

Hi Community, Anyone able to build/debug Jruby as an Eclipse plugin these days? I’ve been wrapping jruby-complete.jar as an Eclipse plugin (basically an OSGI bundle with some extra hacks - I know that jar is a bundle …

---

## [Environment.SpecialFolder](https://www.ruby-forum.com/t/environment-specialfolder/167651)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 8:51am UTC](https://www.ruby-forum.com/t/environment-specialfolder/167651 "2009-05-11T08:51:58Z")

</div>

This looks like it should be really simple, but it’s broken… What am I doing wrong?’ require ‘mscorlib’ =\> true System::Environment::SpecialFolder :0:in \`const\_missing’: uninitialized constant System::Enviro…

---

## [\[Cucumber\] undefined method \`record' for #\<Class:0x2473e3c\> (NoMethodError)](https://www.ruby-forum.com/t/cucumber-undefined-method-record-for-class-0x2473e3c-nomethoderror/167183)

<div class="topic-metadata">

**Author:** [@jfrankov](https://www.ruby-forum.com/u/jfrankov)\
**Replies:** 1\
**Last updated:** [May 5, 2009, 7:47am UTC](https://www.ruby-forum.com/t/cucumber-undefined-method-record-for-class-0x2473e3c-nomethoderror/167183 "2009-05-05T07:47:36Z")

</div>

I have a step definition file where I’m saving a model object and want to use this syntax (it’s common, I see it in examples everywhere): Event.should have(1).record …but it gives this error: undefined method \`record…

---

## [How to distinguish between VERT900 and VERT2450?](https://www.ruby-forum.com/t/how-to-distinguish-between-vert900-and-vert2450/162151)

<div class="topic-metadata">

**Author:** [@jane](https://www.ruby-forum.com/u/jane)\
**Replies:** 1\
**Last updated:** [March 6, 2009, 7:28pm UTC](https://www.ruby-forum.com/t/how-to-distinguish-between-vert900-and-vert2450/162151 "2009-03-06T19:28:56Z")

</div>

Hi all, Â I have several antennas. I cannot distinguish between VERT900 and VERT2450. There is no figure on the http://www.ettus.com/orderpage.html. Does anyone know howÂ I canÂ know which antenna is VERT900 which I …

---

## [Gtk/glade and combobox](https://www.ruby-forum.com/t/gtk-glade-and-combobox/152515)

<div class="topic-metadata">

**Author:** [@joelito](https://www.ruby-forum.com/u/joelito)\
**Replies:** 1\
**Last updated:** [November 6, 2008, 2:12pm UTC](https://www.ruby-forum.com/t/gtk-glade-and-combobox/152515 "2008-11-06T14:12:36Z")

</div>

Hi all! I made a GUI for my ruby gtk2 app and this is the code: #!/usr/bin/ruby require 'libglade2' require 'gtk2' class GladeRuby def button1\_clicked entry1 = @glade.get\_widget('entry1') combo1 = @glade.g…

---

## [Multiple Models on a Single Form](https://www.ruby-forum.com/t/multiple-models-on-a-single-form/150807)

<div class="topic-metadata">

**Author:** [@nibbler61](https://www.ruby-forum.com/u/nibbler61)\
**Replies:** 1\
**Last updated:** [October 13, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/multiple-models-on-a-single-form/150807 "2008-10-13T16:42:14Z")

</div>

I can’t figure out why this wont work for creating the items and tie them to the po id number http://pastie.org/291223

---

## [Command to clean the screen in IRB? (like when pressing "Ctrl+L")](https://www.ruby-forum.com/t/command-to-clean-the-screen-in-irb-like-when-pressing-ctrl-l/147445)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 1\
**Last updated:** [September 1, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/command-to-clean-the-screen-in-irb-like-when-pressing-ctrl-l/147445 "2008-09-01T22:39:15Z")

</div>

Hi, I expect there is a command to clean the screen during an IRB session (in fact you can press Ctrl+L to do it, but I’m lookinf for a Ruby command). What is that command? thanks a lot.

---

## [How to prevent Rails from url-encoding](https://www.ruby-forum.com/t/how-to-prevent-rails-from-url-encoding/118771)

<div class="topic-metadata">

**Author:** [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Replies:** 1\
**Last updated:** [October 30, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/how-to-prevent-rails-from-url-encoding/118771 "2007-10-30T23:33:14Z")

</div>

I have a route map.connect ‘browse/:languages’, :controller =\> ‘browse’, :action =\> ‘index’ where I expect :languages to be something like ‘en+jp+zh\_tw’ so that I can later do languages = params\[:languages\].split(’ …

---

## [How to override ActiveRecord#base#destroy](https://www.ruby-forum.com/t/how-to-override-activerecord-base-destroy/97053)

<div class="topic-metadata">

**Author:** [@torsten](https://www.ruby-forum.com/u/torsten)\
**Replies:** 1\
**Last updated:** [July 5, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/how-to-override-activerecord-base-destroy/97053 "2006-07-05T12:32:42Z")

</div>

Hello, I have a database table with a primary key not being a simple id but three columns. By overriding update() and create() I got Rails to work with that table quit good. Except for the destroy() action. From the …

---

## [Question on while loop to script](https://www.ruby-forum.com/t/question-on-while-loop-to-script/235896)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [July 23, 2013, 11:36pm UTC](https://www.ruby-forum.com/t/question-on-while-loop-to-script/235896 "2013-07-23T23:36:29Z")

</div>

Hi guys, I’m new to ruby and I’m writing simple programs to help my understanding of ruby. I wrote the program below and I would like to know if you guys could recommend a while loop to use before the if statement so …

---

## [Text include, searching using a part of the word, storing the whole word if found](https://www.ruby-forum.com/t/text-include-searching-using-a-part-of-the-word-storing-the-whole-word-if-found/229483)

<div class="topic-metadata">

**Author:** [@faithzz](https://www.ruby-forum.com/u/faithzz)\
**Replies:** 4\
**Last updated:** [February 12, 2013, 5:22pm UTC](https://www.ruby-forum.com/t/text-include-searching-using-a-part-of-the-word-storing-the-whole-word-if-found/229483 "2013-02-12T17:22:34Z")

</div>

Hey guys, I’m about the extend my watir testcases with dict error checking for our tests. I managed to make the check, but I’d like to select the whole word and store it in a variable or to write in a txt file. So in…

---

## [Need of ruby and Scripting language](https://www.ruby-forum.com/t/need-of-ruby-and-scripting-language/224532)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 15, 2012, 12:37pm UTC](https://www.ruby-forum.com/t/need-of-ruby-and-scripting-language/224532 "2012-11-15T12:37:23Z")

</div>

Hi… I am a ruby beginner.I need to know what is the exact need of ruby,what is the difference between ruby and other languages and Why we have to use a scripting language?

---

## [Nginx Vs Nginx Performance](https://www.ruby-forum.com/t/nginx-vs-nginx-performance/207291)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 15, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/nginx-vs-nginx-performance/207291 "2011-06-15T19:00:55Z")

</div>

Hi All, I would like to know if it’s makes any difference in term of using Nginx versions. Did anyone had any experience with that? Did anyone do any benchmarks about that? Looking for answers Posted at Nginx Forum: …

---

## [Opengl "persistence" error](https://www.ruby-forum.com/t/opengl-persistence-error/205241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 2, 2011, 1:40pm UTC](https://www.ruby-forum.com/t/opengl-persistence-error/205241 "2011-04-02T13:40:03Z")

</div>

Every time I tick the “Persistence” box in one of the scopes i get this error : Traceback (most recent call last): File “/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/plotter/plotter\_base.py”, line 192, in \_…

---

## [OS X 10.6 + ruby-1.9.2-p180.tar =\> ruby library version = 1.9.1](https://www.ruby-forum.com/t/os-x-10-6-ruby-1-9-2-p180-tar-ruby-library-version-1-9-1/204279)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 9, 2011, 5:13am UTC](https://www.ruby-forum.com/t/os-x-10-6-ruby-1-9-2-p180-tar-ruby-library-version-1-9-1/204279 "2011-03-09T05:13:36Z")

</div>

In OS X 10.6.6, I downloaded ruby-1.9.2-p180.tar and performed a ./configure using the following parameters: ./configure --prefix=/usr/local/ruby --enable-shared --enable-pthread CFLAGS=-D\_XOPEN\_SOURCE=1 After it fin…

---

## [Help with nested forms](https://www.ruby-forum.com/t/help-with-nested-forms/196159)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 4\
**Last updated:** [October 7, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/help-with-nested-forms/196159 "2010-10-07T22:40:29Z")

</div>

When I browse to artist\_new\_path I do not see the fields from the user table (in this example: city). Why is this? class User \< ActiveRecord::Base has\_one :artist end class Artist \< ActiveRecord::Base belongs\_to :…

---

## [Installazione plugins rails](https://www.ruby-forum.com/t/installazione-plugins-rails/194368)

<div class="topic-metadata">

**Author:** [@stanley](https://www.ruby-forum.com/u/stanley)\
**Replies:** 4\
**Last updated:** [September 4, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/installazione-plugins-rails/194368 "2010-09-04T17:01:22Z")

</div>

Salve, ho difficoltÃ a installare qualunque plugin per la mia applicazione ruby on rails. Dispongo di: rails 2.3.8 ruby 1.8.6 (2008-08-11 patchlevel 287) \[i386-mswin32\] gem 1.3.7 su windows vista Praticamente, s…

---

## [:media](https://www.ruby-forum.com/t/media/192928)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [August 8, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/media/192928 "2010-08-08T17:53:38Z")

</div>

In this tutorial: http://railstutorial.org/chapters/filling-in-the-layout#top \<%= stylesheet\_link\_tag ‘blueprint/screen’, :media =\> ‘screen’ %\> What is :media? What is its purpose? Thanks.

---

## [Editing text using $EDITOR from program](https://www.ruby-forum.com/t/editing-text-using-editor-from-program/190852)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 4\
**Last updated:** [July 6, 2010, 9:46am UTC](https://www.ruby-forum.com/t/editing-text-using-editor-from-program/190852 "2010-07-06T09:46:20Z")

</div>

Does Highline or Thor/Facets/ActiveSupport etc have a method for when you want user to edit multiline text using the $EDITOR value? Commander has but it does not work with vim. So i wrote a method, if anyone has time …

---

## [Error with Rails 3 and Tomcat](https://www.ruby-forum.com/t/error-with-rails-3-and-tomcat/186864)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 4\
**Last updated:** [April 14, 2010, 12:56pm UTC](https://www.ruby-forum.com/t/error-with-rails-3-and-tomcat/186864 "2010-04-14T12:56:58Z")

</div>

I’m getting a Rack error when trying to run a default Rails app under Tomcat: SEVERE: Application Error org.jruby.rack.RackInitializationException: wrong # of arguments(4 for 3) from /Users/csevans/apache-tomcat-6.…

---

## [How to modify freq deviation in a FM radio?](https://www.ruby-forum.com/t/how-to-modify-freq-deviation-in-a-fm-radio/178017)

<div class="topic-metadata">

**Author:** [@nansai\_hu](https://www.ruby-forum.com/u/nansai_hu)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/how-to-modify-freq-deviation-in-a-fm-radio/178017 "2009-10-28T19:59:29Z")

</div>

I want to design a FM radio with freq deviation can be change. Then I tried to modified an example in GNUradio example folder which name “fm\_tx4.py” in line61,let max\_dev=5 to 50K,shown in following yellow label. bu…

---

## [\[ANN\] Ruby Developer's Meeting 20091013](https://www.ruby-forum.com/t/ann-ruby-developers-meeting-20091013/176356)

<div class="topic-metadata">

**Author:** [@Yugui](https://www.ruby-forum.com/u/Yugui)\
**Replies:** 4\
**Last updated:** [October 13, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-developers-meeting-20091013/176356 "2009-10-13T17:15:57Z")

</div>

Yuguie$B$G$9!#e(B e$B2\<5-$NMWNN$Ge(BRubye$B3+H/2q5De(B20091013e$B$r3+:E$7$^$9!#e(B Ruby 1.9.2e$B$K\<h$j9~$^$l$k$G$"$m$&5!G=$rOC$79g$C$?$j!"\>u67$r3NG’$7$?$j!"e(B e$B$=$l$K4p$E$$$Fe(BRuby 1.9.2e$B$N%j%j!\<%97W2h$r7h$a$?…

---

## [Same code different databases?](https://www.ruby-forum.com/t/same-code-different-databases/168074)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 4\
**Last updated:** [May 22, 2009, 2:17pm UTC](https://www.ruby-forum.com/t/same-code-different-databases/168074 "2009-05-22T14:17:45Z")

</div>

Hello, We want to serve multiple clients using the same logic but having a separate database for each client. We are using capistrano to deploy our web application. Anybody has any idea how we could do this? Thanks!

---

## [Different database for different domains](https://www.ruby-forum.com/t/different-database-for-different-domains/162255)

<div class="topic-metadata">

**Author:** [@konstantin](https://www.ruby-forum.com/u/konstantin)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 7:01am UTC](https://www.ruby-forum.com/t/different-database-for-different-domains/162255 "2009-03-10T07:01:33Z")

</div>

Hello! 1. I have 2 domains site1.com and site2.com. The same application is installed on both, but I need it to use different database: db1 for site1.com and db2 for site2.com How can I do this? 2. And another que…

---

## [Duda sobre after\_update\_element en model\_auto\_completer](https://www.ruby-forum.com/t/duda-sobre-after-update-element-en-model-auto-completer/143770)

<div class="topic-metadata">

**Author:** [@Jaime\_Mora\_R](https://www.ruby-forum.com/u/Jaime_Mora_R)\
**Replies:** 4\
**Last updated:** [July 29, 2008, 9:09am UTC](https://www.ruby-forum.com/t/duda-sobre-after-update-element-en-model-auto-completer/143770 "2008-07-29T09:09:26Z")

</div>

Hola, Estoy intentando hacer mÃ¡s DRY el uso del :after\_update\_element en el siguiente cÃ³digo: views/productos/\_form.html.erb \<%= belongs\_to\_auto\_completer :producto, :presentacion1, :nombre, :after\_update\_element =\>…

---

## [MemCache Failed - Any alternatives?](https://www.ruby-forum.com/t/memcache-failed-any-alternatives/142292)

<div class="topic-metadata">

**Author:** [@Rajeshwar\_Mothe](https://www.ruby-forum.com/u/Rajeshwar_Mothe)\
**Replies:** 4\
**Last updated:** [July 7, 2008, 9:44am UTC](https://www.ruby-forum.com/t/memcache-failed-any-alternatives/142292 "2008-07-07T09:44:22Z")

</div>

Hi all, Actually My Rails application configuration is on Apache/Mongrel/Rails.We are using Apache for balancing.We have clustered Mongrel and What we assume is happening is that we have a problem with RoR sessions.…

---

## [Expires: modified +1d?](https://www.ruby-forum.com/t/expires-modified-1d/137693)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 4\
**Last updated:** [May 15, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/expires-modified-1d/137693 "2008-05-15T17:07:57Z")

</div>

Is it possible to set the expires header based on the modified time of a file? I know you can do this in lighttpd and apache, but I can’t find any configuration examples for nginx. Phillip B Oldham The Activity Peopl…

---

## [Has\_two, has\_three, etc](https://www.ruby-forum.com/t/has-two-has-three-etc/134956)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 4\
**Last updated:** [April 16, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/has-two-has-three-etc/134956 "2008-04-16T17:58:51Z")

</div>

I was wondering what the community thought about an extension to the associations mechanism which allowed declarations like: class Game \< AR::Base has\_two :referees end I have run across this situation fairly freque…

---

## [Deux articles qui pourront en intÃ©resser c ertains](https://www.ruby-forum.com/t/deux-articles-qui-pourront-en-inta-resser-c-ertains/133496)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 4\
**Last updated:** [April 1, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/deux-articles-qui-pourront-en-inta-resser-c-ertains/133496 "2008-04-01T16:57:36Z")

</div>

Hello, pour ceux que ça intéressera, j’ai publié deux nouveaux articles: une introduction à IronRuby en français: Forum du club des développeurs et IT Pro - Messages des blogs récents - Blogs un article sur Vélib…

---

## [Vergessenes Passwort](https://www.ruby-forum.com/t/vergessenes-passwort/130947)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 4\
**Last updated:** [March 4, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/vergessenes-passwort/130947 "2008-03-04T23:35:59Z")

</div>

Hallo, wieder ein Fdehler wo’s nicht weitergeht… controller: def forgot if request.post? user = User.find\_by\_email(params\[:user\]\[:email\]) if user user.create\_reset\_code UserNotifier.deliver\_reset\_notification(user…

---

## [How to do a block from embedded ruby (rhtml)](https://www.ruby-forum.com/t/how-to-do-a-block-from-embedded-ruby-rhtml/126909)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 4\
**Last updated:** [January 24, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/how-to-do-a-block-from-embedded-ruby-rhtml/126909 "2008-01-24T16:00:30Z")

</div>

I want to drop deprecated code as per: start\_form\_tag and end\_form\_tag Use form\_tag with a block. However, I’m not sure how to do a block from the rhtml file. Somewhere I need curly braces for a block? Or, does i…

---

## [Error en Paginacion con 2.0.1](https://www.ruby-forum.com/t/error-en-paginacion-con-2-0-1/123349)

<div class="topic-metadata">

**Author:** [@jarrouj](https://www.ruby-forum.com/u/jarrouj)\
**Replies:** 4\
**Last updated:** [December 16, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/error-en-paginacion-con-2-0-1/123349 "2007-12-16T21:51:06Z")

</div>

Que tal gente, soy nuevo desarrollando en RoR y como siempre empezando salen errores que no comprendemos. Estaba desarrollando en la version de rails 1.2.5 y estoy tratando de migrar a la 2.0.1 pero cuando paso el pro…

---

## [The fair proxy balancer](https://www.ruby-forum.com/t/the-fair-proxy-balancer/121967)

<div class="topic-metadata">

**Author:** [@san](https://www.ruby-forum.com/u/san)\
**Replies:** 4\
**Last updated:** [December 5, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/the-fair-proxy-balancer/121967 "2007-12-05T13:34:52Z")

</div>

This is primarily aimed at Grzegorz N., the author of the “fair” proxy balancer patch for Nginx, but I’m posting this here in case others want to chip in. I posted the following on Ezra Z.'s blog recently, in conjunc…

---

## [Executing ruby script on a Dreamhost account?](https://www.ruby-forum.com/t/executing-ruby-script-on-a-dreamhost-account/121354)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 4\
**Last updated:** [November 27, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/executing-ruby-script-on-a-dreamhost-account/121354 "2007-11-27T18:46:07Z")

</div>

So far, from what I’ve read, I should use eRuby if I want to execute my program online. I’ve got Dreamhost and I know they have RoR support. There’s a couple libraries I’m using, how do I install these libraries onli…

---

## [Save pp output to a string](https://www.ruby-forum.com/t/save-pp-output-to-a-string/120811)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 4\
**Last updated:** [November 21, 2007, 1:31am UTC](https://www.ruby-forum.com/t/save-pp-output-to-a-string/120811 "2007-11-21T01:31:02Z")

</div>

hi, folks - how do I save the output from pp to a string for later use? what I had hoped for is something like this: x= \[2, 3,4\] res = eval "pp x" but that doesn’t work. thanks for help Oliver

---

## [How to host Ruby on Rails app on shared hosting?](https://www.ruby-forum.com/t/how-to-host-ruby-on-rails-app-on-shared-hosting/120471)

<div class="topic-metadata">

**Author:** [@ruchita](https://www.ruby-forum.com/u/ruchita)\
**Replies:** 4\
**Last updated:** [November 17, 2007, 12:48pm UTC](https://www.ruby-forum.com/t/how-to-host-ruby-on-rails-app-on-shared-hosting/120471 "2007-11-17T12:48:44Z")

</div>

Hi, Can anyone explain me how do we deploy ruby on rails on shared hosting? I have freeze the rails gems version in app/vendor. Any help would be greatly appreciated. Thanks, Ruchita.

---

## [Gsub does not work with do/end block, only brackets](https://www.ruby-forum.com/t/gsub-does-not-work-with-do-end-block-only-brackets/117881)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 4\
**Last updated:** [October 22, 2007, 3:37am UTC](https://www.ruby-forum.com/t/gsub-does-not-work-with-do-end-block-only-brackets/117881 "2007-10-22T03:37:52Z")

</div>

puts “abcdefg”.gsub(/abc/) do |x| x.upcase end ^This does not work. ArgumentError, it’s expecting the second argument that’s required when a block is not provided. puts “abcdefg”.gsub(/abc/) { |x| x.upcase } ^Thi…

---

## [XMLsimple & probem](https://www.ruby-forum.com/t/xmlsimple-probem/116929)

<div class="topic-metadata">

**Author:** [@envex](https://www.ruby-forum.com/u/envex)\
**Replies:** 4\
**Last updated:** [October 11, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/xmlsimple-probem/116929 "2007-10-11T14:55:25Z")

</div>

Hello, I have problem using XMLsimple.xml\_in with ‘&’ character : & Illegal character ‘&’ in raw string “&” The problem is solved when I replace ‘&’ by ‘&amp’ but when I this ###############################…

---

## [Plugin pour l'authenfication](https://www.ruby-forum.com/t/plugin-pour-lauthenfication/115948)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 3, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/plugin-pour-lauthenfication/115948 "2007-10-03T17:41:40Z")

</div>

Bonjour, J’aimerais avoir les avis de développeurs Rails quant au plugin d’authentification qu’ils utilisent dans leurs projets. J’ai testé Acts as authenticated d’après les conseils de http://www.stoneageblog.com/ar…

---

## [Rmagick get date picture taken](https://www.ruby-forum.com/t/rmagick-get-date-picture-taken/113698)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [September 4, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/rmagick-get-date-picture-taken/113698 "2007-09-04T20:12:19Z")

</div>

I want to make a program to rename pictures based on the date and time they were taken. How do I get the date (and time) a picture was taken?

---

## [Best way to eager load accross multiple relationships?](https://www.ruby-forum.com/t/best-way-to-eager-load-accross-multiple-relationships/111113)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/best-way-to-eager-load-accross-multiple-relationships/111113 "2007-08-02T21:05:11Z")

</div>

Let’s say I have Departments, which have many Persons , which have many Pets. I can fetch Departments and eagerly load their Persons, with :include=\> in the find statement. But what if I want to eagerly load all the …

---

## [Hpricot won't install on Ubuntu and complains because mkmf.r](https://www.ruby-forum.com/t/hpricot-wont-install-on-ubuntu-and-complains-because-mkmf-r/108770)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 4\
**Last updated:** [July 19, 2007, 12:33am UTC](https://www.ruby-forum.com/t/hpricot-wont-install-on-ubuntu-and-complains-because-mkmf-r/108770 "2007-07-19T00:33:50Z")

</div>

I have mechanize installed on Feisty, which has Ruby 1.8.5, but when I just tried to install it on Gutsy, which has 1.8.6, I got the following: root@joehill:~# gem install mechanize Install required dependency hpricot…

---

## [Locomotive and ruby-debug](https://www.ruby-forum.com/t/locomotive-and-ruby-debug/108847)

<div class="topic-metadata">

**Author:** [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Replies:** 4\
**Last updated:** [July 9, 2007, 6:43am UTC](https://www.ruby-forum.com/t/locomotive-and-ruby-debug/108847 "2007-07-09T06:43:19Z")

</div>

Anyone had success getting ruby-debug to work with Locomotive? I’ve got the ruby-debug gem installed, and require ‘ruby-debug’ in my config file, but when I try to call the debugger from within a rails method, the app…

---

## [Has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/has-and-belongs-to-many/103519)

<div class="topic-metadata">

**Author:** [@spliffer](https://www.ruby-forum.com/u/spliffer)\
**Replies:** 4\
**Last updated:** [May 7, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many/103519 "2007-05-07T22:27:02Z")

</div>

Ciao a tutti, ho una tabella categories e una tabella links collegate con una tabella join categories\_links. Le due tabella sono collegate tra loro dalle relazioni: class Category \< ActiveRecord::Base has\_and\_belongs…

---

## [How to test for a correct header?](https://www.ruby-forum.com/t/how-to-test-for-a-correct-header/87729)

<div class="topic-metadata">

**Author:** [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/how-to-test-for-a-correct-header/87729 "2007-03-08T16:42:21Z")

</div>

Hi, all! I’m writing a functional test and I would like to test if my controller gives out right content type for an AJAX Request. Firstly I do xhr :post, :my\_controller, my\_params, {‘Accept’ =\> ‘text/javascript’} t…

---

## [Re: class local instance variable](https://www.ruby-forum.com/t/re-class-local-instance-variable/85831)

<div class="topic-metadata">

**Author:** [@Park\_Ji-In](https://www.ruby-forum.com/u/Park_Ji-In)\
**Replies:** 4\
**Last updated:** [February 22, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/re-class-local-instance-variable/85831 "2007-02-22T17:33:15Z")

</div>

ã“ã‚“ã°ã‚“ã¯ã€‚æœ´ èŠå° ã¨ç”³ã—ã¾ã™ã€‚ åˆã‚ã¦ãªã®ã§ã©ã†ã‹ã‚ˆã‚ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚ æ¬¡ã®ã‚ˆã†ãªcodeã‚’å®Ÿè¡Œã—ã¦ã¿ã¾ã—ãŸã€‚ ã™ã‚‹ã¨ã€ mithrandir@losrorien ~/ruby/ruby-svn/trunk $…

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

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