# Top

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

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

---

## [Improvement: SiteMapper - working ideas as a possible RoR's](https://www.ruby-forum.com/t/improvement-sitemapper-working-ideas-as-a-possible-rors/64564)

<div class="topic-metadata">

**Author:** [@Jan\_SSISO-8859-2SQ](https://www.ruby-forum.com/u/Jan_SSISO-8859-2SQ)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/improvement-sitemapper-working-ideas-as-a-possible-rors/64564 "2006-08-15T14:18:36Z")

</div>

Hello, I’ve done potencial replacement for RoR’s routing mechanism. It just works as an independent class so you can try bundled examples withou installing anything else. I didn’t integrated it into Rails (as a plugi…

---

## [Redirects and keeping flash](https://www.ruby-forum.com/t/redirects-and-keeping-flash/97825)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [July 14, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/redirects-and-keeping-flash/97825 "2006-07-14T15:58:13Z")

</div>

My code that acts if a session has timed out looks like this: reset\_session session\[:expires\_at\] = nil TODO - This flash is never shown, because we redirect maybe? flash\[:error\] = ‘Your session has timed out, please l…

---

## [How nginx cache manager delete file cached on disk](https://www.ruby-forum.com/t/how-nginx-cache-manager-delete-file-cached-on-disk/222054)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 10, 2012, 10:03pm UTC](https://www.ruby-forum.com/t/how-nginx-cache-manager-delete-file-cached-on-disk/222054 "2012-08-10T22:03:47Z")

</div>

We used nginx proxy to cache lots of static files. Our monitoring tool showed that the write I/O on the server spike once a day on 4am GMT time and server will slow down significantly because of the high IO. I couldn’…

---

## [Pretty printing Ruby code](https://www.ruby-forum.com/t/pretty-printing-ruby-code/204024)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 21, 2011, 8:59pm UTC](https://www.ruby-forum.com/t/pretty-printing-ruby-code/204024 "2011-03-21T20:59:15Z")

</div>

Hi… I wonder, what are your solutions for pretty printing Ruby code, as for printing on real paper, spreading it across a table and reviewing it and marking it with handwritten notes etc. Currently I source highlight…

---

## [Define\_method in inheritance](https://www.ruby-forum.com/t/define-method-in-inheritance/172462)

<div class="topic-metadata">

**Author:** [@Juston\_Davies](https://www.ruby-forum.com/u/Juston_Davies)\
**Replies:** 2\
**Last updated:** [July 22, 2009, 12:03am UTC](https://www.ruby-forum.com/t/define-method-in-inheritance/172462 "2009-07-22T00:03:19Z")

</div>

I had a quick question about something I had read in a book “The Ruby Way.” The author talks about different ways to dynamically define methods during runtime using something similar to the snippet below. def define\_m…

---

## [Net::SSH calls hanging](https://www.ruby-forum.com/t/net-ssh-calls-hanging/162425)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 1:51pm UTC](https://www.ruby-forum.com/t/net-ssh-calls-hanging/162425 "2009-03-17T13:51:15Z")

</div>

All, I’m trying to launch a server remotely, but all the Net:SSH calls I try never seem to return…they just hang. My Code: cmd = “nohup ./Servers/BARKSproxy.pl &” Net::SSH.start(host\[:ip\], host\[:user\], :password =\> …

---

## [Script/console und die Umlaute](https://www.ruby-forum.com/t/script-console-und-die-umlaute/154389)

<div class="topic-metadata">

**Author:** [@ortwin](https://www.ruby-forum.com/u/ortwin)\
**Replies:** 2\
**Last updated:** [November 28, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/script-console-und-die-umlaute/154389 "2008-11-28T19:22:48Z")

</div>

Hallo, irb oder script/console kann nach meinem letzten update auf aktuelle gem Versionen und das aktuelle Rails keine Umlaute mehr. Das heisst die Umlaute werden gar nicht mehr als Tastaturanschlag angenommen. Nur ei…

---

## [File.read ignores "rb" when ASCII incompatible encoding is specified](https://www.ruby-forum.com/t/file-read-ignores-rb-when-ascii-incompatible-encoding-is-specified/154386)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [November 28, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/file-read-ignores-rb-when-ascii-incompatible-encoding-is-specified/154386 "2008-11-28T17:08:01Z")

</div>

e$B1sF#$G$9!#e(B e$B0J2\<$N5sF0$O0U?^E\*$G$7$g$&$+!#e(B $ ./ruby -ve ‘File.read(“foo”, “rb”, :encoding =\> “UTF-16LE”)’ ruby 1.9.0 (2008-11-28 revision 20387) \[i686-linux\] -e:1:in read': ASCII incompatible encoding need…

---

## [Cannot install eventmachine](https://www.ruby-forum.com/t/cannot-install-eventmachine/129279)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 2\
**Last updated:** [February 16, 2008, 2:55am UTC](https://www.ruby-forum.com/t/cannot-install-eventmachine/129279 "2008-02-16T02:55:26Z")

</div>

i cannot install event machine. i get error. i tried all the options. E:\\Documents and Settings\\Trade\>gem install eventmachine Select which gem to install for your platform (i386-mswin32) eventmachine 0.10.0 (ruby) e…

---

## [Not all sigchld recieved](https://www.ruby-forum.com/t/not-all-sigchld-recieved/259996)

<div class="topic-metadata">

**Author:** [@leksito](https://www.ruby-forum.com/u/leksito)\
**Replies:** 3\
**Last updated:** [July 14, 2020, 9:09pm UTC](https://www.ruby-forum.com/t/not-all-sigchld-recieved/259996 "2020-07-14T21:09:16Z")

</div>

Hi! I tried to run this script processes\_count = 5 @rout\_objects = \[\] trap('SIGCHLD') do pid = Process.wait(-1, Process::WNOHANG) puts pid.inspect end processes\_count.times do |index| puts "creating new proces…

---

## [Error: uninitialized constant RADIANT\_ROOT (NameError)](https://www.ruby-forum.com/t/error-uninitialized-constant-radiant-root-nameerror/197753)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 29, 2010, 4:14am UTC](https://www.ruby-forum.com/t/error-uninitialized-constant-radiant-root-nameerror/197753 "2010-10-29T04:14:02Z")

</div>

Hi together, I just wanted to update my long running website. Therefore I did a svn checkout from the server to get a fresh copy to my local machine: OSX 10.6.4 ruby 1.8.7 (2009-06-12 patchlevel 174) \[universal-darwi…

---

## [How to ? Rails 3 ActiveRecord eager loading and AREL](https://www.ruby-forum.com/t/how-to-rails-3-activerecord-eager-loading-and-arel/192793)

<div class="topic-metadata">

**Author:** [@m-ryan](https://www.ruby-forum.com/u/m-ryan)\
**Replies:** 3\
**Last updated:** [August 6, 2010, 8:40pm UTC](https://www.ruby-forum.com/t/how-to-rails-3-activerecord-eager-loading-and-arel/192793 "2010-08-06T20:40:46Z")

</div>

Hello everyone, I would like to eager load scoped records to avoid queries executed in a loop (huge performance impact). The “scoped” part is what is giving me a hard time. I’m using Rails3 RC. Does anyone have any …

---

## [SSL Not working](https://www.ruby-forum.com/t/ssl-not-working/132280)

<div class="topic-metadata">

**Author:** [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 7:07pm UTC](https://www.ruby-forum.com/t/ssl-not-working/132280 "2008-03-18T19:07:54Z")

</div>

I am using a mongel cluster with apache. My setup is identical to this http://wiki.slicehost.com/doku.php?id=automated\_rails\_install\_and\_deployment\_with\_deprec\_capistrano I am trying to use ssl on part of my site but n…

---

## [How to catch and rescue a login error through telnet](https://www.ruby-forum.com/t/how-to-catch-and-rescue-a-login-error-through-telnet/126102)

<div class="topic-metadata">

**Author:** [@prasadm29](https://www.ruby-forum.com/u/prasadm29)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 6:42am UTC](https://www.ruby-forum.com/t/how-to-catch-and-rescue-a-login-error-through-telnet/126102 "2008-01-16T06:42:46Z")

</div>

Hi, I was trying out the following snippet of code and just wanted to know why the rescue doesn’t work when the username or password are not valid. The code works fine when both are valid, but I wanted to catch inval…

---

## [Ruby | Ruby on Rails | database MS SQL Server 2005](https://www.ruby-forum.com/t/ruby-ruby-on-rails-database-ms-sql-server-2005/115537)

<div class="topic-metadata">

**Author:** [@erstwhileiii](https://www.ruby-forum.com/u/erstwhileiii)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 10:48am UTC](https://www.ruby-forum.com/t/ruby-ruby-on-rails-database-ms-sql-server-2005/115537 "2007-09-27T10:48:46Z")

</div>

How can I configure Ruby and Ruby on Rails for use with MS SQL Server 2005? Environment: Ruby 1.8.6-25 (windows) Ruby on Rails 1.2.3 ruby-dbi 0.1.1 (installed with dbi,dbd\_ado) OS: Windows XP Professional sp4 Databas…

---

## [Re: Problem in SVN using Cygwin](https://www.ruby-forum.com/t/re-problem-in-svn-using-cygwin/70542)

<div class="topic-metadata">

**Author:** [@William\_Guthrie](https://www.ruby-forum.com/u/William_Guthrie)\
**Replies:** 3\
**Last updated:** [October 2, 2006, 8:47pm UTC](https://www.ruby-forum.com/t/re-problem-in-svn-using-cygwin/70542 "2006-10-02T20:47:49Z")

</div>

TM Tiwari wrote: I was trying to download the codes for GNU radio, and I used following command in Cygwin $ svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio and I received error as follwed: svn: PROPFIND requ…

---

## [Unexpected behavior in inject](https://www.ruby-forum.com/t/unexpected-behavior-in-inject/190161)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 4\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/unexpected-behavior-in-inject/190161 "2010-06-17T16:22:49Z")

</div>

I ran across something that puzzled me today, and I thought I’d ask here and see what you guys/girls think. I’m by no means a ruby guru, so if this is obvious to everyone but me, I’ll take the learning experience. H…

---

## [Unable to set expiry date on cookies](https://www.ruby-forum.com/t/unable-to-set-expiry-date-on-cookies/189768)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 4\
**Last updated:** [June 7, 2010, 1:36pm UTC](https://www.ruby-forum.com/t/unable-to-set-expiry-date-on-cookies/189768 "2010-06-07T13:36:15Z")

</div>

cookies\[:user\_info\] = {:value =\> “whatever”, :expires =\> 30.days.from\_now } When I check in the browser, the cookie will expire “at end of session” Oo What’s happening? How to set the cookie’s date then? Thanks :slig…

---

## [En RoR: Â¿Es importante la codificaciÃ³n de caracteres?](https://www.ruby-forum.com/t/en-ror-a-es-importante-la-codificacia-n-de-caracteres/87140)

<div class="topic-metadata">

**Author:** [@Luis\_felipe\_H](https://www.ruby-forum.com/u/Luis_felipe_H)\
**Replies:** 4\
**Last updated:** [September 9, 2009, 11:29am UTC](https://www.ruby-forum.com/t/en-ror-a-es-importante-la-codificacia-n-de-caracteres/87140 "2009-09-09T11:29:05Z")

</div>

Buenos dÃ­as a todos. La respuesta a esta pregunta seguramente es: si y no solamente en RoR sino en cualquier otro framework similar, sin importar el lenguaje de programaciÃ³n utilizado. Personalmente, prefiero utili…

---

## [Superclass mismatch for class ModelExampleGroup (TypeError)](https://www.ruby-forum.com/t/superclass-mismatch-for-class-modelexamplegroup-typeerror/164994)

<div class="topic-metadata">

**Author:** [@Andrew\_Zielinski](https://www.ruby-forum.com/u/Andrew_Zielinski)\
**Replies:** 4\
**Last updated:** [April 11, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/superclass-mismatch-for-class-modelexamplegroup-typeerror/164994 "2009-04-11T15:05:01Z")

</div>

I hope somebody can help me with this. I can’t seem to run spec\_server with rails 2.3.2 using rspec/rspec-rails 1.2.2. I’m also using mocha 0.9.5 and remarkable 2.3.0. Thanks Andrew Here is the stack trace: /Librar…

---

## [Hosting: howto get the nice ruby backtrace on exception thrown from ruby?](https://www.ruby-forum.com/t/hosting-howto-get-the-nice-ruby-backtrace-on-exception-thrown-from-ruby/160585)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 4\
**Last updated:** [February 19, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/hosting-howto-get-the-nice-ruby-backtrace-on-exception-thrown-from-ruby/160585 "2009-02-19T18:11:08Z")

</div>

hello, I am now currently using this ugly hack to get a reasonable (let’s say user friendly) exception backtrace from an error in executed code: public object Execute(string code, ScriptScope scope) { …

---

## [Basic rdig setup](https://www.ruby-forum.com/t/basic-rdig-setup/114845)

<div class="topic-metadata">

**Author:** [@terhorst](https://www.ruby-forum.com/u/terhorst)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/basic-rdig-setup/114845 "2007-09-20T22:47:49Z")

</div>

I’m developing locally on Windows and I have a remote dev box that runs Linux. I’m trying to use RDig just to index using urls, no files. Both use acts\_as\_ferret for an administrative search that works fine. On the Wi…

---

## [Module#mix](https://www.ruby-forum.com/t/module-mix/207815)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [June 9, 2011, 9:15pm UTC](https://www.ruby-forum.com/t/module-mix/207815 "2011-06-09T21:15:16Z")

</div>

$B$^$D$b$H(B $B$f$-$R$m$G$9(B Module#mix$B$,F3F~$5$l$^$7$?!#$^$"!"$=$N$3$H$=$N$b$N$K$O;?@.$J(B $B$N$G$9$,!"$5$i$K;EMM$r5M$a$J$$$H$$$1$J$$$h$&$J5$$,$7$F$$$kIt(B $BJ,$,$"$j$^$9!#;EMM$K$D$$$F8@5Z$7$?;d$N%V%m%0$G$b$9$G$K=…

---

## [Upstream closed prematurely FastCGI stdout while reading response header from upstream](https://www.ruby-forum.com/t/upstream-closed-prematurely-fastcgi-stdout-while-reading-response-header-from-upstream/226152)

<div class="topic-metadata">

**Author:** [@Alexander\_Skwar](https://www.ruby-forum.com/u/Alexander_Skwar)\
**Replies:** 0\
**Last updated:** [December 15, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/upstream-closed-prematurely-fastcgi-stdout-while-reading-response-header-from-upstream/226152 "2010-12-15T12:16:09Z")

</div>

Hi. I’m trying to setup nginx 0.8.54 on a Solaris 10 system so, that it is able to serve “normal” CGI scripts. I have read http://wiki.nginx.org/SimpleCGI and tried to follow it - as it’s not working, I guess I made…

---

## [Store data from one form in two separate mysql tables?](https://www.ruby-forum.com/t/store-data-from-one-form-in-two-separate-mysql-tables/174202)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 8\
**Last updated:** [August 24, 2009, 9:20am UTC](https://www.ruby-forum.com/t/store-data-from-one-form-in-two-separate-mysql-tables/174202 "2009-08-24T09:20:10Z")

</div>

Is it possible to store data from one form in two separate mysql tables? I need to do this because the amount of data which can be submitted via the form, exceeds the maximum mysql row size. If this is not possible, h…

---

## [Variable d'instance non definie dans la Vue](https://www.ruby-forum.com/t/variable-dinstance-non-definie-dans-la-vue/164430)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 8\
**Last updated:** [April 2, 2009, 9:43am UTC](https://www.ruby-forum.com/t/variable-dinstance-non-definie-dans-la-vue/164430 "2009-04-02T09:43:50Z")

</div>

Bonjour, J’ai un soucis dans une appli rails. Je defini une variable d’instance dans la methode new() et edit() du controller qui sert a construire un select() dans la vue: class WorksController \< ApplicationControl…

---

## [Utilizar dos servidores en aplicacion y envio de archivos entre ellos](https://www.ruby-forum.com/t/utilizar-dos-servidores-en-aplicacion-y-envio-de-archivos-entre-ellos/123374)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 8\
**Last updated:** [December 17, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/utilizar-dos-servidores-en-aplicacion-y-envio-de-archivos-entre-ellos/123374 "2007-12-17T18:30:09Z")

</div>

Hola como estan, hace algun tiempo tnego una duda acerca de un desarrollo que quiero pasar de php a Rails verÃ¡n, tengo una aplicacion en php donde los usuarios pueden subir imagenes , estas imagenes son procesadas …

---

## [Rails Conf](https://www.ruby-forum.com/t/rails-conf/104313)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 8\
**Last updated:** [May 18, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/rails-conf/104313 "2007-05-18T19:38:58Z")

</div>

Well, I’m about to leave for the airport for Rails Conf. I would be delighted to meetup with any of you, so feel free to drop me an e-mail or call me (http://wiseheartdesign.com/contact/). We are planning to do a gene…

---

## [Videos de la Conferencia Rails 2006](https://www.ruby-forum.com/t/videos-de-la-conferencia-rails-2006/89661)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 8\
**Last updated:** [March 22, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/videos-de-la-conferencia-rails-2006/89661 "2007-03-22T15:55:25Z")

</div>

Ya estÃ¡n disponibles los vÃ­deos de la Conferencia Rails 2006:

---

## [Sybase + Ror + quasi fatta](https://www.ruby-forum.com/t/sybase-ror-quasi-fatta/102533)

<div class="topic-metadata">

**Author:** [@maurizio\_maurizio](https://www.ruby-forum.com/u/maurizio_maurizio)\
**Replies:** 8\
**Last updated:** [September 23, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/sybase-ror-quasi-fatta/102533 "2006-09-23T18:47:25Z")

</div>

Ciao a tutti, tempo fa mi lamentavo del fatto che non riuscivo ad utlizzare Sybase con Ror (SQL Anywhere 9)…sono riuscito a connettermi finalmente e a generare gli scaffold (a proposito ringrazio David e Antonio per…

---

## [Question on state machine implementation in GNURadio](https://www.ruby-forum.com/t/question-on-state-machine-implementation-in-gnuradio/242148)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 31, 2015, 4:48pm UTC](https://www.ruby-forum.com/t/question-on-state-machine-implementation-in-gnuradio/242148 "2015-05-31T16:48:33Z")

</div>

Hi I was just wondering if it is possible to implement a state machine logic using GNURadio. Where each state is a block and incoming data passes through these states. I want to be able to control which block gets e…

---

## [Sanitizing HAML formatted user input](https://www.ruby-forum.com/t/sanitizing-haml-formatted-user-input/199525)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 26, 2010, 2:00am UTC](https://www.ruby-forum.com/t/sanitizing-haml-formatted-user-input/199525 "2010-11-26T02:00:37Z")

</div>

I am trying to include a section wherein my users can input HAML and view the resulting HTML page. I would like to make this as un-exploitable as possible. This is what I have in place now: = Haml::Engine.new(current…

---

## [Php-fpm stops responding](https://www.ruby-forum.com/t/php-fpm-stops-responding/191467)

<div class="topic-metadata">

**Author:** [@flash](https://www.ruby-forum.com/u/flash)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 10:17am UTC](https://www.ruby-forum.com/t/php-fpm-stops-responding/191467 "2010-07-13T10:17:13Z")

</div>

I’m having what appears to be a fairly common problem with PHP-FPM. Every now and again, I get a string of errors in my log like this… recv() failed (104: Connection reset by peer) while reading response header from u…

---

## [Redirecting if cookie doesn't exist](https://www.ruby-forum.com/t/redirecting-if-cookie-doesnt-exist/91487)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 1\
**Last updated:** [April 9, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/redirecting-if-cookie-doesnt-exist/91487 "2007-04-09T20:40:31Z")

</div>

Hi all, I cannot get this to work at all … it never does the redirect. I have two authentication cookies set … Rails reads thier values fine if they exist If they don’t exist, I want to redirect the user to the logi…

---

## [Seltsames Problem mit ActiveRecord in Migration](https://www.ruby-forum.com/t/seltsames-problem-mit-activerecord-in-migration/115780)

<div class="topic-metadata">

**Author:** [@d-w](https://www.ruby-forum.com/u/d-w)\
**Replies:** 5\
**Last updated:** [September 28, 2007, 3:04pm UTC](https://www.ruby-forum.com/t/seltsames-problem-mit-activerecord-in-migration/115780 "2007-09-28T15:04:07Z")

</div>

Hallo Liste, bin gerade etwas verwirrt. Folgendes funktioniert wunderbar per script/console: (Beispiel) Reservierung.find(:all).size =\> 11 Wenn ich allerdings jetzt Reservierung.find(:all).size in einer Migrati…

---

## [Mongrel & multiple config files](https://www.ruby-forum.com/t/mongrel-multiple-config-files/106947)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 5\
**Last updated:** [June 29, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/mongrel-multiple-config-files/106947 "2007-06-29T16:28:38Z")

</div>

I’m deploying a rails app to separate production and staging environments using Capistrano. They’re basically running as two apps on the same machine, so I want to make them available on different ports, and may also …

---

## [Retry / redo question](https://www.ruby-forum.com/t/retry-redo-question/86845)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 2\
**Last updated:** [February 26, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/retry-redo-question/86845 "2007-02-26T16:20:00Z")

</div>

Hi, i have a ruby script that does for 1 - n folders a cp\_r of every folder to an existing cvs workspace and afterwards the cvs operations update to determine if add is needed add if needed 1-n times commit As th…

---

## [Best way to extract data from a string?](https://www.ruby-forum.com/t/best-way-to-extract-data-from-a-string/223696)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 14, 2012, 10:00pm UTC](https://www.ruby-forum.com/t/best-way-to-extract-data-from-a-string/223696 "2012-10-14T22:00:40Z")

</div>

Hi I have a string str = “file name\_Width34.56\_Height45.97\_.jpg” what is the best way to extract the the data from the string? file name =\> “file name.jpg” width =\> “34.56” hieght =\> “45.97”

---

## [\[OT\] TextMate 2 source code](https://www.ruby-forum.com/t/ot-textmate-2-source-code/222060)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [August 10, 2012, 1:09pm UTC](https://www.ruby-forum.com/t/ot-textmate-2-source-code/222060 "2012-08-10T13:09:36Z")

</div>

Ciao, per chi no lo sa ancora. Adam ha rilasciato TextMate 2 con licenza GPL3 Buona compilazione!!!

---

## [Map.connect issue with multiple rails apps](https://www.ruby-forum.com/t/map-connect-issue-with-multiple-rails-apps/215933)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 20, 2012, 12:01am UTC](https://www.ruby-forum.com/t/map-connect-issue-with-multiple-rails-apps/215933 "2012-01-20T00:01:31Z")

</div>

Hi, I’m having an issue with some routes in my apps, the apps are the same app the only difference is that I use one for testing and the other for production stored in different directories lets say ‘test’ and ‘prod’. …

---

## [\[Ruby 1.9-Bug#4157\]\[Open\] test pty で、たまに出る Failure](https://www.ruby-forum.com/t/ruby-1-9-bug-4157-open-test-pty-failure/226119)

<div class="topic-metadata">

**Author:** [@Makoto\_K](https://www.ruby-forum.com/u/Makoto_K)\
**Replies:** 6\
**Last updated:** [October 12, 2011, 4:19am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4157-open-test-pty-failure/226119 "2011-10-12T04:19:14Z")

</div>

Bug #4157: test\_pty で、たまに出る Failure http://redmine.ruby-lang.org/issues/show/4157 起票者: Makoto K. ステータス: Open, 優先度: Low ruby -v: ruby 1.9.3dev (2010-12-14 trunk 30206) \[x86\_64-freebsd8.2\] amd64 FreeBSD8 でも #4121 が起きる…

---

## [Questions about table association while using acts\_as\_ferret](https://www.ruby-forum.com/t/questions-about-table-association-while-using-acts-as-ferret/92812)

<div class="topic-metadata">

**Author:** [@Allen\_Young](https://www.ruby-forum.com/u/Allen_Young)\
**Replies:** 6\
**Last updated:** [April 24, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/questions-about-table-association-while-using-acts-as-ferret/92812 "2007-04-24T14:54:27Z")

</div>

Hi all, I’m quite new to ferret and acts\_as\_ferret and what to see if I can implement the following requirement using them. Suppose I have two model classes: Article and Comment. It’s obvious that one article may hav…

---

## [Deploying rails as a sub-url](https://www.ruby-forum.com/t/deploying-rails-as-a-sub-url/91274)

<div class="topic-metadata">

**Author:** [@msoulier](https://www.ruby-forum.com/u/msoulier)\
**Replies:** 6\
**Last updated:** [April 6, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/deploying-rails-as-a-sub-url/91274 "2007-04-06T17:01:34Z")

</div>

Hello, I want to deploy a rails app as a sub-url to an existing site. So, I’m using ProxyPass in apache to proxy urls for /foo to localhost on port 10000, where mongrel is listening. Unfortunately, the helper functi…

---

## [Connecting SQL Server and Rails 4.2.1](https://www.ruby-forum.com/t/connecting-sql-server-and-rails-4-2-1/241852)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 7, 2015, 9:24pm UTC](https://www.ruby-forum.com/t/connecting-sql-server-and-rails-4-2-1/241852 "2015-05-07T21:24:51Z")

</div>

https://lh3.googleusercontent.com/-i996epsjwwU/VUjxkeWqgxI/AAAAAAAADvw/CSg0Asl8nbo/s1600/console.JPG Hello friends, I am new in Ruby on rails. I am using Rails 4.2.1 and Ruby 2.0.0. For some reason I am not able to c…

---

## [How can I use Rails Erubis templating standalone?](https://www.ruby-forum.com/t/how-can-i-use-rails-erubis-templating-standalone/193857)

<div class="topic-metadata">

**Author:** [@kristianm](https://www.ruby-forum.com/u/kristianm)\
**Replies:** 3\
**Last updated:** [December 29, 2014, 4:07pm UTC](https://www.ruby-forum.com/t/how-can-i-use-rails-erubis-templating-standalone/193857 "2014-12-29T16:07:08Z")

</div>

Hi, I am trying to write an RSpec 2 extension, which lets me test my templating view logic standalone without loading the “full rails”, including controller, routes etc. etc. I simply want to be able to take a String…

---

## [Need help using watir-webdriver to auto login and screen scraping](https://www.ruby-forum.com/t/need-help-using-watir-webdriver-to-auto-login-and-screen-scraping/239533)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 3, 2014, 10:23pm UTC](https://www.ruby-forum.com/t/need-help-using-watir-webdriver-to-auto-login-and-screen-scraping/239533 "2014-03-03T22:23:43Z")

</div>

Hello team, I am trying to login to a server using \*watir-webdriver. \*The final objective is to scrape the screen and get certain information from it. I started first by trying to login. I am able to get the browser …

---

## [Which versions of GTK, Glib, ATK etc to use?](https://www.ruby-forum.com/t/which-versions-of-gtk-glib-atk-etc-to-use/225239)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 29, 2012, 1:49am UTC](https://www.ruby-forum.com/t/which-versions-of-gtk-glib-atk-etc-to-use/225239 "2012-12-29T01:49:29Z")

</div>

Hi guys, With so many different versions of GTK, GLIB Pango etc… all about, could anyone tell me which versions are supported and which not? Or where to look for this information? If this would take you too much time…

---

## [Uhd digital-bert script!](https://www.ruby-forum.com/t/uhd-digital-bert-script/210436)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 8, 2011, 9:34pm UTC](https://www.ruby-forum.com/t/uhd-digital-bert-script/210436 "2011-08-08T21:34:12Z")

</div>

Hello everyone I am working on USRPN200 with RFX2400. I am trying to make digital-bert scripts to work for uhd devices. I have modified them a bit but i am getting some errors which am unable to debug. If anyone can…

---

## [Foundations of RSpec](https://www.ruby-forum.com/t/foundations-of-rspec/183821)

<div class="topic-metadata">

**Author:** [@jcain](https://www.ruby-forum.com/u/jcain)\
**Replies:** 3\
**Last updated:** [February 21, 2010, 5:19am UTC](https://www.ruby-forum.com/t/foundations-of-rspec/183821 "2010-02-21T05:19:46Z")

</div>

According to Amazon, this book is supposed to be released already. I’ve been refreshing the page every day, but haven’t seen any updates about it yet. Nothing on http://apress.com/ about it. Anyone know status or a…

---

## [Action mailer not really sending emails](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 3\
**Last updated:** [May 11, 2006, 7:03am UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097 "2006-05-11T07:03:18Z")

</div>

I am trying to get the action mailer to send out emails from my server (windows 2003). I configured it to the local smtp server and when I try sending to email boxes that are on the local domain, the emails go through…

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

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