# Top

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

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

---

## [Running nagios on nginx -- I guess I need a cgi wrapper, any recommendations?](https://www.ruby-forum.com/t/running-nagios-on-nginx-i-guess-i-need-a-cgi-wrapper-any-recommendations/195931)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [October 4, 2010, 10:40am UTC](https://www.ruby-forum.com/t/running-nagios-on-nginx-i-guess-i-need-a-cgi-wrapper-any-recommendations/195931 "2010-10-04T10:40:11Z")

</div>

Hi All, I didn’t realize that I needed a CGI wrapper for the nagios CGI scripts, oops… found this article: http://www.matejunkie.com/howto-let-nginx-serve-the-nagios-web-interface/ Before I go this route, any better…

---

## [Ruby gem for Growl](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978)

<div class="topic-metadata">

**Author:** [@krypt](https://www.ruby-forum.com/u/krypt)\
**Replies:** 5\
**Last updated:** [May 21, 2010, 11:56am UTC](https://www.ruby-forum.com/t/ruby-gem-for-growl/188978 "2010-05-21T11:56:51Z")

</div>

I’m looking for a gem that’s able to send Growl notifications and receive a click-event on the notification. There are some gems available but the problem is none of them seem to be compatible with Ruby 1.9. Any sugge…

---

## [Losing sessions?](https://www.ruby-forum.com/t/losing-sessions/157730)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [January 15, 2009, 1:13am UTC](https://www.ruby-forum.com/t/losing-sessions/157730 "2009-01-15T01:13:35Z")

</div>

Hi All, Weird situation… On our production environment, one of our users (I have remotely connected to their system) is losing Session information as soon as they try to do anything past their login. Even stranger …

---

## [Object Persistence for a MUD](https://www.ruby-forum.com/t/object-persistence-for-a-mud/150164)

<div class="topic-metadata">

**Author:** [@Brent\_D](https://www.ruby-forum.com/u/Brent_D)\
**Replies:** 5\
**Last updated:** [October 8, 2008, 12:00am UTC](https://www.ruby-forum.com/t/object-persistence-for-a-mud/150164 "2008-10-08T00:00:56Z")

</div>

Hi all, For fun, I’m writing a MUD with Ruby. I thought I’d query the hive mind here and ask some opinions on what library I might use for object persistence – that is, storing objects like players and rooms somewher…

---

## [Store image as blob or as file pointers](https://www.ruby-forum.com/t/store-image-as-blob-or-as-file-pointers/144075)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [July 26, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/store-image-as-blob-or-as-file-pointers/144075 "2008-07-26T17:37:28Z")

</div>

Hi This is a general implementation question…I am using different company logos in my application…And I am familiar with saving these images as file pointers in the DB…What I am asking is if I directly save this imag…

---

## [Forum Beast en franÃ§ais](https://www.ruby-forum.com/t/forum-beast-en-frana-ais/126166)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 5\
**Last updated:** [January 16, 2008, 8:35am UTC](https://www.ruby-forum.com/t/forum-beast-en-frana-ais/126166 "2008-01-16T08:35:27Z")

</div>

Bonjour, J’ai vu avec http://www.forum-rails.com/ qu’on pouvait mettre Beast en Français mais je n’ai rien trouvé d’exploitable sur le site de Beast pour faire cela. Existe-t-il déjà une traduction disponible ? J’ai…

---

## [Para una misma vista diferentes layouts](https://www.ruby-forum.com/t/para-una-misma-vista-diferentes-layouts/123954)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 5\
**Last updated:** [December 23, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/para-una-misma-vista-diferentes-layouts/123954 "2007-12-23T12:50:28Z")

</div>

Hola amigos, Tengo un modelo perfil, en este modelo tengo la vista show que me muestra mi perfil y la vista show\_other que me muestra el perfil de otros usuarios. Me gustaria que estas dos vistas tuvieran layouts dis…

---

## [Remote index blocks?](https://www.ruby-forum.com/t/remote-index-blocks/115711)

<div class="topic-metadata">

**Author:** [@iamdirkcalloway](https://www.ruby-forum.com/u/iamdirkcalloway)\
**Replies:** 5\
**Last updated:** [October 1, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/remote-index-blocks/115711 "2007-10-01T16:51:17Z")

</div>

Using the Drb allows me to synchronize writes to the index in a multi mongrel environment. I was under the impression that the remote index would not block if two mongrels were searching the index. Is that the case? T…

---

## [Trouble connecting to #rubyonrails IRC channel?](https://www.ruby-forum.com/t/trouble-connecting-to-rubyonrails-irc-channel/115310)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 5\
**Last updated:** [September 30, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/trouble-connecting-to-rubyonrails-irc-channel/115310 "2007-09-30T16:07:44Z")

</div>

I’m trying to connect to #rubyonrails channel and keep getting thrown into #overflow. I tried issuing the following command to become registered but still get thrown into #overflow /msg nickserv register Any ideas? …

---

## [NoMethodError (Blog:Class) error in production log](https://www.ruby-forum.com/t/nomethoderror-blog-class-error-in-production-log/93449)

<div class="topic-metadata">

**Author:** [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Replies:** 5\
**Last updated:** [April 4, 2006, 12:17pm UTC](https://www.ruby-forum.com/t/nomethoderror-blog-class-error-in-production-log/93449 "2006-04-04T12:17:37Z")

</div>

This error keeps cropping up in my production log. I don’t know if it’s contributing to any flakyness. Anybody any clues? NoMethodError (undefined method default' for Blog:Class): /usr/lib/ruby/gems/1.8/gems/activere…

---

## [Typo on Edge Rails](https://www.ruby-forum.com/t/typo-on-edge-rails/55510)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 5\
**Last updated:** [March 22, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/typo-on-edge-rails/55510 "2006-03-22T21:05:31Z")

</div>

Has anyone gotten Typo to work on Edge Rails (1.1)? I have a few 1.1 specific extensions I’d like to add. The initial error I received was: /public/…/config/environment.rb:107: undefined method \`enable\_upload\_progre…

---

## [Lost connection to Mysql](https://www.ruby-forum.com/t/lost-connection-to-mysql/51702)

<div class="topic-metadata">

**Author:** [@robbie](https://www.ruby-forum.com/u/robbie)\
**Replies:** 5\
**Last updated:** [January 7, 2006, 1:51am UTC](https://www.ruby-forum.com/t/lost-connection-to-mysql/51702 "2006-01-07T01:51:10Z")

</div>

I’m trying to set up RoR on a laptop and having all sorts of troubles. I’m running XP SP2, I did a quick install of appache/mysql using Xampp, which worked fine. I grabbed the latest windows install of ruby and rails,…

---

## [Socket PDU: Host not found (authoritative)](https://www.ruby-forum.com/t/socket-pdu-host-not-found-authoritative/240411)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 12, 2014, 7:25pm UTC](https://www.ruby-forum.com/t/socket-pdu-host-not-found-authoritative/240411 "2014-04-12T19:25:46Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Cross-compiling 1.9.1-p0 to bfin-uclinux](https://www.ruby-forum.com/t/cross-compiling-1-9-1-p0-to-bfin-uclinux/167156)

<div class="topic-metadata">

**Author:** [@abg](https://www.ruby-forum.com/u/abg)\
**Replies:** 4\
**Last updated:** [May 6, 2009, 3:14am UTC](https://www.ruby-forum.com/t/cross-compiling-1-9-1-p0-to-bfin-uclinux/167156 "2009-05-06T03:14:26Z")

</div>

Greetings – I am trying to see whether I can build ruby to run on an Analog Devices Blackfin processor. The toolchain (with bfin-uclinux-gcc being the compiler) is available here: …using the latest 2008R1.5\_RC14 r…

---

## [How to test/spec an ActiveRecord find that uses :include](https://www.ruby-forum.com/t/how-to-test-spec-an-activerecord-find-that-uses-include/165594)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-test-spec-an-activerecord-find-that-uses-include/165594 "2009-04-15T17:24:36Z")

</div>

Hi, I was refactoring my model specs so that they don’t hit the database, but how to handle a custom find that uses :joins or :include with some important :conditions? I can’t see a way to not hit the database. Shoul…

---

## [Strange Errno::EOVERFLOW error with IO#read and IO#sysread](https://www.ruby-forum.com/t/strange-errno-eoverflow-error-with-io-read-and-io-sysread/148431)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [September 12, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/strange-errno-eoverflow-error-with-io-read-and-io-sysread/148431 "2008-09-12T21:20:53Z")

</div>

Hi all, Ruby 1.8.6 p114 (32-bit) Solaris 10 I’m reading binary data out of the /proc//as file on Solaris, and I’m hitting a curious overflow error on one process in particular: With IO#sysread irb(main):010:0\> File.…

---

## [Jruby-complete.jar and rails gem](https://www.ruby-forum.com/t/jruby-complete-jar-and-rails-gem/146324)

<div class="topic-metadata">

**Author:** [@Vivek\_P](https://www.ruby-forum.com/u/Vivek_P)\
**Replies:** 4\
**Last updated:** [August 20, 2008, 6:34am UTC](https://www.ruby-forum.com/t/jruby-complete-jar-and-rails-gem/146324 "2008-08-20T06:34:21Z")

</div>

In GlassFish v3 I am using JRuby APIs to instantiate JRuby and Rails runtime. I am using maven to write a unit test for rails. My maven dependency is on jruby-complete.jar. However when my test tries to loadup the ra…

---

## [XSendFile in development environment](https://www.ruby-forum.com/t/xsendfile-in-development-environment/125381)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 4\
**Last updated:** [February 29, 2008, 5:00pm UTC](https://www.ruby-forum.com/t/xsendfile-in-development-environment/125381 "2008-02-29T17:00:28Z")

</div>

Hi I’m currently trying to use X-Sendfile to take some load off my rails app, unfortunately in my development environment mongrel is happily passing through the x-sendfile header, presumably for the (non- existant) p…

---

## [Capistrano & Windows woes](https://www.ruby-forum.com/t/capistrano-windows-woes/113538)

<div class="topic-metadata">

**Author:** [@jnicholson](https://www.ruby-forum.com/u/jnicholson)\
**Replies:** 4\
**Last updated:** [September 1, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/capistrano-windows-woes/113538 "2007-09-01T15:45:10Z")

</div>

I’ve managed to setup SVN on my windows XP box without too much hassle. I can commit and export without any problems. But when I try to run cap deploy I get the error below. Any ideas? —ERROR--------------------------…

---

## [Calcolare l'elapsed time](https://www.ruby-forum.com/t/calcolare-lelapsed-time/111065)

<div class="topic-metadata">

**Author:** [@Giuseppe\_Fava](https://www.ruby-forum.com/u/Giuseppe_Fava)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 11:25am UTC](https://www.ruby-forum.com/t/calcolare-lelapsed-time/111065 "2007-08-02T11:25:25Z")

</div>

sto provando a calcolare il tempo di elaborazione di ogni chiamata alla mia applicazione. mi sono creato il controller timing\_filter.rb come segue sfruttando i filtri around: Class TimingFilter def before(controlle…

---

## [Treeview gridlines](https://www.ruby-forum.com/t/treeview-gridlines/77241)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 25, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/treeview-gridlines/77241 "2006-11-25T16:13:15Z")

</div>

Hi, i just noticed the existence of method (not in the docs yet), and tried to set Gtk::TreeView.set\_enable\_grid\_lines(Gtk::TreeView::GridLines::VERTICAL) but it results in: Gdk-CRITICAL \*\*:gdk\_draw\_line: assertion…

---

## [Sidekiq and jruby](https://www.ruby-forum.com/t/sidekiq-and-jruby/243406)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 15, 2015, 9:22pm UTC](https://www.ruby-forum.com/t/sidekiq-and-jruby/243406 "2015-10-15T21:22:24Z")

</div>

I’m looking at adding Sidekig to our Rails application running under jRuby Windows (jruby 9.0.1.0) Everything is working except for the error messages that display when starting and stopping the Sidekiq worker process…

---

## [Raptor: a new Ruby web server, up to 4x faster than Unicorn, up to 2x faster than Puma and Torquebox](https://www.ruby-forum.com/t/raptor-a-new-ruby-web-server-up-to-4x-faster-than-unicorn-up-to-2x-faster-than-puma-and-torquebox/232642)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 19, 2014, 8:07pm UTC](https://www.ruby-forum.com/t/raptor-a-new-ruby-web-server-up-to-4x-faster-than-unicorn-up-to-2x-faster-than-puma-and-torquebox/232642 "2014-10-19T20:07:10Z")

</div>

Raptor is a radically new Ruby web server, built for two goals: performance and visbility. Raptor has an innovative and optimized HTTP engine, making it up to 4x faster than Unicorn, up to 2x faster than Puma and up t…

---

## [Graceful backend shutdown](https://www.ruby-forum.com/t/graceful-backend-shutdown/236839)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [October 8, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/graceful-backend-shutdown/236839 "2013-10-08T14:38:46Z")

</div>

Hi all! I’m using Nginx as a reverse proxy and loadbalancer with 2 backends. Sometimes I need to turn off one of the apps server. And I need to do it gracefully, that when I comment one server in Nginx config, Nginx m…

---

## [A simple csv import function to my Rails application](https://www.ruby-forum.com/t/a-simple-csv-import-function-to-my-rails-application/220447)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 10, 2012, 2:29pm UTC](https://www.ruby-forum.com/t/a-simple-csv-import-function-to-my-rails-application/220447 "2012-06-10T14:29:49Z")

</div>

Hi. I am in the process of making an application that should handle imports of the content csv. I plan on incorporating AJAX when I get more routine (so the page don’t have to redirect back after the upload), but for …

---

## [Cannot get started](https://www.ruby-forum.com/t/cannot-get-started/197994)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 25, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/cannot-get-started/197994 "2010-10-25T23:33:55Z")

</div>

I’m sure I’ve done something basic wrong, but I don’t see it. I’m running MAC OSX 10.6.4 I installed using ruby gems: \[Charles-Parkers-iMac:~\] charlesparker% sudo gem install wxruby Password: Successfully installed …

---

## [A silent cucumber?](https://www.ruby-forum.com/t/a-silent-cucumber/161475)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [February 27, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/a-silent-cucumber/161475 "2009-02-27T18:03:11Z")

</div>

I believe that what I am trying to do should be possible, but I cannot seem to find the right combination of switches to get cucumber to run silently and only print the failing and pending steps. I do not have a cucu…

---

## [\[OG\] RFC uri structure](https://www.ruby-forum.com/t/og-rfc-uri-structure/119068)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 3\
**Last updated:** [November 5, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/og-rfc-uri-structure/119068 "2007-11-05T21:04:56Z")

</div>

Hi Devs, The Sequel/Datasets thread was ominously silent - nonetheless pushing ahead. If you were able to start Og in the following way: Og(uri) What would be the preferred uri format: a) “dbi-://user:pass@localho…

---

## [Aaf excluding certain db records from indexing](https://www.ruby-forum.com/t/aaf-excluding-certain-db-records-from-indexing/87848)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/aaf-excluding-certain-db-records-from-indexing/87848 "2007-03-06T14:30:59Z")

</div>

hi! short question about aaf: is there a builtin functionality in acts\_as\_ferret to exclude records from being indexed when for example a column “is\_deleted” / “is\_disabled” / “dont\_index” has a certain value? regar…

---

## [Issues with my galaxy server](https://www.ruby-forum.com/t/issues-with-my-galaxy-server/230079)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [May 29, 2014, 6:06pm UTC](https://www.ruby-forum.com/t/issues-with-my-galaxy-server/230079 "2014-05-29T18:06:13Z")

</div>

Hi Team, I am writing to gather some insight on how I may need to change my configuration on Nginx. I have been running a galaxy server for 3+ years now and have begun experiencing issues with accessing several of t…

---

## [Strange advisory](https://www.ruby-forum.com/t/strange-advisory/241051)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 11, 2014, 11:13am UTC](https://www.ruby-forum.com/t/strange-advisory/241051 "2014-05-11T11:13:22Z")

</div>

I just saw something strange on http://nginx.org/en/security\_advisories.html : “An error log data are not sanitized Severity: none CVE-2009-4487 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4487 Not vuln…

---

## [Files on a folder too many](https://www.ruby-forum.com/t/files-on-a-folder-too-many/240619)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [April 28, 2014, 1:49pm UTC](https://www.ruby-forum.com/t/files-on-a-folder-too-many/240619 "2014-04-28T13:49:45Z")

</div>

Hi, I need to perform an action in every single file on a folder that contains almost a million of files… but when i do: Dir.foreach(dir) {|f| #what i want to do in here } it takes forever to start any idea how to…

---

## [Implementing sort/sort!](https://www.ruby-forum.com/t/implementing-sort-sort/235600)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 6, 2013, 12:08pm UTC](https://www.ruby-forum.com/t/implementing-sort-sort/235600 "2013-07-06T12:08:45Z")

</div>

Hello, I was wondering about implementing sort/sort!. Basically, I have a Point class, which contains x, y variables of a 2d Cartesian point. It also includes the Comparable mixin and thus implements a \<=\> method. I …

---

## [Proper way to create truly new dup/cloned object?](https://www.ruby-forum.com/t/proper-way-to-create-truly-new-dup-cloned-object/219528)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [May 8, 2012, 7:16am UTC](https://www.ruby-forum.com/t/proper-way-to-create-truly-new-dup-cloned-object/219528 "2012-05-08T07:16:25Z")

</div>

a = “pass” b = a.dup b = “fail” puts a fails the test. I tried with clone also. What is the proper syntax for what I am trying to do?

---

## [Problem(s) while connecting USRP2 with GNURadio](https://www.ruby-forum.com/t/problem-s-while-connecting-usrp2-with-gnuradio/211447)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [November 9, 2011, 6:37am UTC](https://www.ruby-forum.com/t/problem-s-while-connecting-usrp2-with-gnuradio/211447 "2011-11-09T06:37:42Z")

</div>

I read almost everything on the forum regarding this problem and tried my best.I am providing as much details as possible hence the post became long.I hope it will help the forum to help. I am working with USRP2.I i…

---

## [Nginx1.0.0 have a kernel bug](https://www.ruby-forum.com/t/nginx1-0-0-have-a-kernel-bug/208358)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [June 16, 2011, 8:37am UTC](https://www.ruby-forum.com/t/nginx1-0-0-have-a-kernel-bug/208358 "2011-06-16T08:37:05Z")

</div>

OS is redhat5.5 ,nginx 1.0.0 ,libunwind-0.99… The /var/log/message frequently appear the follow messages: Jun 13 10:20:31 localhost kernel: nginx\[14431\]: segfault at 2a2 ip 00007fa6b3a05eb6 sp 00007fff337d87e0 error 4…

---

## [1.9 require problem](https://www.ruby-forum.com/t/1-9-require-problem/194353)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 6\
**Last updated:** [September 3, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/1-9-require-problem/194353 "2010-09-03T16:16:01Z")

</div>

As of this morning I am just starting to work with Ruby 1.9. I note that there seems to be some behaviour change between 1.8 and 1.9 with respect to require. Specifically, I have this construct. #!/usr/bin/env ruby r…

---

## [Ruby 1.91.376 hangs when launched with python pExpect](https://www.ruby-forum.com/t/ruby-1-91-376-hangs-when-launched-with-python-pexpect/187353)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 6\
**Last updated:** [April 25, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/ruby-1-91-376-hangs-when-launched-with-python-pexpect/187353 "2010-04-25T23:12:05Z")

</div>

Hi I have a ruby program which has a UI using readline library. In the background it launches some ruby threads which serve as a tcp server. It works fine so far. But when it is launched on an automated way using pyt…

---

## [Ruby Command Line One Liner](https://www.ruby-forum.com/t/ruby-command-line-one-liner/156715)

<div class="topic-metadata">

**Author:** [@helpy](https://www.ruby-forum.com/u/helpy)\
**Replies:** 6\
**Last updated:** [January 11, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/ruby-command-line-one-liner/156715 "2009-01-11T20:25:49Z")

</div>

Hi, I try to write a Ruby one-liner that replaces the header information of some \*.java files. My first try worked perfect for a single file. But I have no idea on how to change my one-liner to work with multiple fil…

---

## [BackgrounDRb causing freeze and Mongrel timeout](https://www.ruby-forum.com/t/backgroundrb-causing-freeze-and-mongrel-timeout/139860)

<div class="topic-metadata">

**Author:** [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Replies:** 6\
**Last updated:** [November 14, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/backgroundrb-causing-freeze-and-mongrel-timeout/139860 "2008-11-14T13:01:11Z")

</div>

I just installed BackgrounDRb to take care of sending emails to a list of users and when I try to call the worker, it causes the request to “freeze” until Mongrel times out. This is the line that it fails on: MiddleM…

---

## [Filtrar resultado en campo de fecha para mostrar valores nulos](https://www.ruby-forum.com/t/filtrar-resultado-en-campo-de-fecha-para-mostrar-valores-nulos/259680)

<div class="topic-metadata">

**Author:** [@recaredoz](https://www.ruby-forum.com/u/recaredoz)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 9:41am UTC](https://www.ruby-forum.com/t/filtrar-resultado-en-campo-de-fecha-para-mostrar-valores-nulos/259680 "2020-06-04T09:41:30Z")

</div>

Buenas tardes a todos, primeramente me presento: Me llamo Javier y hago el mantenimiento (sin conocimientos) en mi empresa de una aplicación en Ruby on Rails. Dentro de esta aplicación existen varios formularios que per…

---

## [Watir related question](https://www.ruby-forum.com/t/watir-related-question/231371)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [August 8, 2014, 7:21pm UTC](https://www.ruby-forum.com/t/watir-related-question/231371 "2014-08-08T19:21:17Z")

</div>

hi, I have written the piece of code which is given in “http://watirwebdriver.com/mobile-devices/” require ‘watir-webdriver’ require ‘webdriver-user-agent’ driver = UserAgent.driver(:browser =\> :chrome, :agent =\> :i…

---

## [Testing strong parameters](https://www.ruby-forum.com/t/testing-strong-parameters/239549)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [March 5, 2014, 12:35pm UTC](https://www.ruby-forum.com/t/testing-strong-parameters/239549 "2014-03-05T12:35:43Z")

</div>

Hi guys, Has anyone figured out how to test strong parameters?

---

## [Get vars out of Controller](https://www.ruby-forum.com/t/get-vars-out-of-controller/229261)

<div class="topic-metadata">

**Author:** [@pierreandre\_m](https://www.ruby-forum.com/u/pierreandre_m)\
**Replies:** 7\
**Last updated:** [January 20, 2013, 10:32am UTC](https://www.ruby-forum.com/t/get-vars-out-of-controller/229261 "2013-01-20T10:32:22Z")

</div>

I have a trivial question: if i have defined something in my controller, like def calendar my\_time = Time.now end how do I use that variable in my view? I tried \<%= my\_time %\> But that simply returns an error. Th…

---

## [New rails project error](https://www.ruby-forum.com/t/new-rails-project-error/218570)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [April 6, 2012, 12:35am UTC](https://www.ruby-forum.com/t/new-rails-project-error/218570 "2012-04-06T00:35:07Z")

</div>

Hi all, I install Ruby1.9.2po0 and Rails3.2.3 on RedHat5 x86\_64 When I create a project “rails nwe chapter” It show below error message: Installing sqlite3 (1.3.5) with native extensions Gem::Installer::ExtensionBu…

---

## [Is polymorphic has\_one/has\_many possible? (in addition to polymorphic belongs\_to)](https://www.ruby-forum.com/t/is-polymorphic-has-one-has-many-possible-in-addition-to-polymorphic-belongs-to/206638)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [May 6, 2011, 7:42pm UTC](https://www.ruby-forum.com/t/is-polymorphic-has-one-has-many-possible-in-addition-to-polymorphic-belongs-to/206638 "2011-05-06T19:42:24Z")

</div>

Hello, i wonder if the following is possible in Rails (seems like not), and if not, whether such database structure is discouraged for some good reason. I roughly want to have class Payment \< ActiveRecord::Base has…

---

## [Displaying git branch in the bash prompt - Ubuntu](https://www.ruby-forum.com/t/displaying-git-branch-in-the-bash-prompt-ubuntu/203826)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 28, 2011, 6:19pm UTC](https://www.ruby-forum.com/t/displaying-git-branch-in-the-bash-prompt-ubuntu/203826 "2011-02-28T18:19:17Z")

</div>

I’m looking to display my current git branch in the bash prompt. I can come close by following these instructions, but it does not display the branch. http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-p…

---

## [How secure are sessions?](https://www.ruby-forum.com/t/how-secure-are-sessions/172891)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 7\
**Last updated:** [July 30, 2009, 5:49pm UTC](https://www.ruby-forum.com/t/how-secure-are-sessions/172891 "2009-07-30T17:49:03Z")

</div>

I have read a number of different tutorials that talk about adding a login page to an application that all contain very similar wording: “Of course, you would log in over an SSL connection”. And I understand the theo…

---

## [\[cucumber\] automation and historical](https://www.ruby-forum.com/t/cucumber-automation-and-historical/156214)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 7\
**Last updated:** [December 23, 2008, 2:16am UTC](https://www.ruby-forum.com/t/cucumber-automation-and-historical/156214 "2008-12-23T02:16:25Z")

</div>

Hi guys, Can someone point me to information regarding: running cucumber as an automated task decoupled from CI. Assuming cron or similar. parsing and storing results so they can be graphed, etc. Many thanks in adva…

---

## [Deploiement d'une application rails?](https://www.ruby-forum.com/t/deploiement-dune-application-rails/142102)

<div class="topic-metadata">

**Author:** [@san1981](https://www.ruby-forum.com/u/san1981)\
**Replies:** 7\
**Last updated:** [July 27, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/deploiement-dune-application-rails/142102 "2008-07-27T19:41:22Z")

</div>

Bonjour Ã tous, Jâ€™ai crÃ©Ã© ma premiÃ¨re application en Rails, mais je me pose des questions sur le dÃ©ploiement de lâ€™application en ligne. Jâ€™ai entendu parler de Capistrano mais jâ€™ai du mal Ã comprendre com…

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

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