# Top

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

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

---

## [Modele avec condition systÃ©matique](https://www.ruby-forum.com/t/modele-avec-condition-systa-matique/83075)

<div class="topic-metadata">

**Author:** [@Samuel\_DECHOMETS](https://www.ruby-forum.com/u/Samuel_DECHOMETS)\
**Replies:** 5\
**Last updated:** [January 24, 2007, 12:02am UTC](https://www.ruby-forum.com/t/modele-avec-condition-systa-matique/83075 "2007-01-24T00:02:48Z")

</div>

Bonjour Ã tous, Tout est dans le titre ou presque. Je voudrais savoir s’il y a moyen de faire un model avec une condition toujours valable. J’ai une table “produits” et je ne voudrais voir que les produits “exportÃ©s…

---

## [AWS api\_method :returns not accepting ActiveRecord::Base](https://www.ruby-forum.com/t/aws-api-method-returns-not-accepting-activerecord-base/51365)

<div class="topic-metadata">

**Author:** [@mjgp2](https://www.ruby-forum.com/u/mjgp2)\
**Replies:** 5\
**Last updated:** [May 16, 2006, 12:09am UTC](https://www.ruby-forum.com/t/aws-api-method-returns-not-accepting-activerecord-base/51365 "2006-05-16T00:09:56Z")

</div>

I’m trying to use the feature of AWS where it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil…

---

## [Proxied request hang when DNS server down](https://www.ruby-forum.com/t/proxied-request-hang-when-dns-server-down/231612)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 20, 2014, 9:59am UTC](https://www.ruby-forum.com/t/proxied-request-hang-when-dns-server-down/231612 "2014-08-20T09:59:35Z")

</div>

http { resolver 127.0.0.1; resolver\_timeout 1s; server { listen 8000; location /test { proxy\_pass http://$arg\_host:8080; } } server { listen 8080; … } } ps: other configure is normal I have recently discov…

---

## [\[ruby-trunk - Bug #7750\]\[Open\] ＧＣ中にオブジェクトが割り当てられる](https://www.ruby-forum.com/t/ruby-trunk-bug-7750-open/229530)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 4\
**Last updated:** [January 30, 2014, 7:20am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7750-open/229530 "2014-01-30T07:20:04Z")

</div>

Issue #7750 has been reported by konishi\_takurou (瀧澤 悠介). Bug #7750: ＧＣ中にオブジェクトが割り当てられる Author: konishi\_takurou (瀧澤 悠介) Status: Open Priority: Normal Assignee: Category: Target version: 1.9.3 ruby -v: ruby 1.9.…

---

## [Decompressing a compressed response from upstream, applying transformations and then compressing for](https://www.ruby-forum.com/t/decompressing-a-compressed-response-from-upstream-applying-transformations-and-then-compressing-for/238612)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [January 20, 2014, 6:44pm UTC](https://www.ruby-forum.com/t/decompressing-a-compressed-response-from-upstream-applying-transformations-and-then-compressing-for/238612 "2014-01-20T18:44:27Z")

</div>

Hello Is there a way we can achieve the following when nginx is acting as a reverse proxy Client sends HTTP request with Accept-Encoding as gzip Nginx proxy forwards the request with the request header intact Origin …

---

## [Can I write text to a notepad and save the file through ruby](https://www.ruby-forum.com/t/can-i-write-text-to-a-notepad-and-save-the-file-through-ruby/132479)

<div class="topic-metadata">

**Author:** [@anukulsinghal](https://www.ruby-forum.com/u/anukulsinghal)\
**Replies:** 4\
**Last updated:** [August 25, 2011, 7:18am UTC](https://www.ruby-forum.com/t/can-i-write-text-to-a-notepad-and-save-the-file-through-ruby/132479 "2011-08-25T07:18:28Z")

</div>

Hi, After invoking notepad through ruby, I wanted to know if I could type some text in that notepad (which was just invoked using notepad) and save it using a ruby code. Can anyone please help me with the ruby code i…

---

## [Ofdm occupied tones concept](https://www.ruby-forum.com/t/ofdm-occupied-tones-concept/187926)

<div class="topic-metadata">

**Author:** [@jf\_w](https://www.ruby-forum.com/u/jf_w)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/ofdm-occupied-tones-concept/187926 "2010-05-03T16:40:54Z")

</div>

Hi all, I’m thinking about implementing non-contiguous OFDM with gnuradio. So I read the ofdm codes of gnuradio. And I find the occupied tones concept in gnuradio. Is it designed for non-contiguous OFDM? Or it is fo…

---

## [Udp source - endianness anomaly?](https://www.ruby-forum.com/t/udp-source-endianness-anomaly/177116)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 4\
**Last updated:** [October 12, 2009, 2:01am UTC](https://www.ruby-forum.com/t/udp-source-endianness-anomaly/177116 "2009-10-12T02:01:25Z")

</div>

Hi All, I was wondering if anyone has had any issues with the interpretation of shorts by the GNU Radio udp source function, when the shorts are transmitted from a big endian based platform? In my situation I am tra…

---

## [Problems with win32ole.so](https://www.ruby-forum.com/t/problems-with-win32ole-so/167483)

<div class="topic-metadata">

**Author:** [@abuyaseen](https://www.ruby-forum.com/u/abuyaseen)\
**Replies:** 4\
**Last updated:** [May 8, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/problems-with-win32ole-so/167483 "2009-05-08T18:27:13Z")

</div>

Hi all, I hope this is the right forum to ask following question. I am testing IronRuby 0.3 and trying to use ruby(ruby 1.8.7 (2008-08-11 patchlevel 72) \[i386-mswin32\]) application which works fine on my XP machine. …

---

## [Placing models in /app/model/subfolder](https://www.ruby-forum.com/t/placing-models-in-app-model-subfolder/85931)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 4\
**Last updated:** [February 20, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/placing-models-in-app-model-subfolder/85931 "2007-02-20T23:01:12Z")

</div>

Hi, I would like to add some models to a sub folder under /app/models/. It seems that these are not loaded automatically. Do I need to specify this new sub folder path somewhere? I tried adding it to environment.rb, …

---

## [Rforum installation at Site 5](https://www.ruby-forum.com/t/rforum-installation-at-site-5/60642)

<div class="topic-metadata">

**Author:** [@railsroad](https://www.ruby-forum.com/u/railsroad)\
**Replies:** 4\
**Last updated:** [November 14, 2006, 5:53am UTC](https://www.ruby-forum.com/t/rforum-installation-at-site-5/60642 "2006-11-14T05:53:28Z")

</div>

I followed the readme instructions, and I changed the paths is dispatch.fcgi and dispatch.rb to show Ruby in #!/usr/bin/ruby My site still is not resolving. http://www.spiritualityproject.com So, it seems that the .h…

---

## [Mixing types of arguments](https://www.ruby-forum.com/t/mixing-types-of-arguments/238083)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [December 16, 2013, 10:06pm UTC](https://www.ruby-forum.com/t/mixing-types-of-arguments/238083 "2013-12-16T22:06:45Z")

</div>

Hi, I was wondering why Ruby was designed so that def f(u, v=1, \*x) p u, v, x end is OK, but def g(u, \*v, x=1) p u, v, x end gives a syntax error. I would’ve expected g(1) to print 1 \[\] 1 g(1,2) to print 1 …

---

## [Not sure about event machine workings](https://www.ruby-forum.com/t/not-sure-about-event-machine-workings/218376)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 30, 2012, 1:29am UTC](https://www.ruby-forum.com/t/not-sure-about-event-machine-workings/218376 "2012-03-30T01:29:43Z")

</div>

I found this example of using faye for a chatroom type app as I am trying to get a feel for push servers: I got some of that to work, although multiuser from the same browser doesn’t exactly make sense. I then trie…

---

## [Can't force scaffold to overwrite files?](https://www.ruby-forum.com/t/cant-force-scaffold-to-overwrite-files/84476)

<div class="topic-metadata">

**Author:** [@Gary\_King](https://www.ruby-forum.com/u/Gary_King)\
**Replies:** 3\
**Last updated:** [August 18, 2011, 7:44am UTC](https://www.ruby-forum.com/t/cant-force-scaffold-to-overwrite-files/84476 "2011-08-18T07:44:00Z")

</div>

I can’t seem to overwrite scaffold files for some reason. Using script/ generate scaffold client admin with -f anywhere in the line at all (trust me, I’ve tried every single combination) doesn’t overwrite the old scaf…

---

## [SDCC 2.9 versus 3.0](https://www.ruby-forum.com/t/sdcc-2-9-versus-3-0/207031)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [May 17, 2011, 12:59am UTC](https://www.ruby-forum.com/t/sdcc-2-9-versus-3-0/207031 "2011-05-17T00:59:40Z")

</div>

Hello: Currently GNU Radio 3.3 only supports SDCC 2.9. It does not yet support SDCC 3.x. Why is this? What changed in the newer 3.x releases of SDCC? What would need to change in GNU Radio to enable support for SDCC 3…

---

## [Multiple constructor in Ruby](https://www.ruby-forum.com/t/multiple-constructor-in-ruby/199321)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 18, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/multiple-constructor-in-ruby/199321 "2010-11-18T17:07:07Z")

</div>

Hello! I have a question about the constructor in Ruby. Here is an exemple class : class Test def initialize param puts param end def initialize param1, param2 puts “#{param1} #{param2}” end end If I call the …

---

## [Again! no module named grc!](https://www.ruby-forum.com/t/again-no-module-named-grc/179056)

<div class="topic-metadata">

**Author:** [@TachwaliS\_Yahia](https://www.ruby-forum.com/u/TachwaliS_Yahia)\
**Replies:** 3\
**Last updated:** [November 17, 2009, 12:14am UTC](https://www.ruby-forum.com/t/again-no-module-named-grc/179056 "2009-11-17T00:14:35Z")

</div>

Hello G.s, How can I debug the problem when I type grc in the terminal, I get: File “/usr/local/bin/grc/”, line 33, in from gnuradio.grc import VERSION ImportError: No module named grc I got the dial\_tone.py workin…

---

## [A few things about system and IO.popen - what's the current status?](https://www.ruby-forum.com/t/a-few-things-about-system-and-io-popen-whats-the-current-status/161977)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 3\
**Last updated:** [March 4, 2009, 10:17pm UTC](https://www.ruby-forum.com/t/a-few-things-about-system-and-io-popen-whats-the-current-status/161977 "2009-03-04T22:17:10Z")

</div>

Hi, sorry if it’s a know fact - I could not find the info easily. I hope this will be useful. On Windows, system() seems to work partially, is it normal ? The following works: system(“echo hello”) hello =\> tr…

---

## [USRP2 &DBSRX testing](https://www.ruby-forum.com/t/usrp2-dbsrx-testing/161025)

<div class="topic-metadata">

**Author:** [@RH200](https://www.ruby-forum.com/u/RH200)\
**Replies:** 8\
**Last updated:** [March 4, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/usrp2-dbsrx-testing/161025 "2009-03-04T13:18:02Z")

</div>

We have got a new USRP2 and TVRX and DBSRX recievers. Though the system seems to work when the TVRX daughter board is installed using the USRP2 fft script, it does not seem to work with the DBSRX board installed. Tha…

---

## ["Analyseur" de requÃªtes](https://www.ruby-forum.com/t/analyseur-de-requa-tes/142703)

<div class="topic-metadata">

**Author:** [@Schwinn\_Michael\_SRB](https://www.ruby-forum.com/u/Schwinn_Michael_SRB)\
**Replies:** 8\
**Last updated:** [July 15, 2008, 4:12am UTC](https://www.ruby-forum.com/t/analyseur-de-requa-tes/142703 "2008-07-15T04:12:59Z")

</div>

Bonjour, Je suis Ã la recherche d’un outil qui permettrait de receuillir (et si possible analyser) les requÃªtes ruby/rails. Je sais que les requÃªtes apparaissent dans le log mais Ã§a prend un temps certain de tout…

---

## [Difference between Distributed ruby and Rinda](https://www.ruby-forum.com/t/difference-between-distributed-ruby-and-rinda/113272)

<div class="topic-metadata">

**Author:** [@hemalatha](https://www.ruby-forum.com/u/hemalatha)\
**Replies:** 8\
**Last updated:** [October 7, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/difference-between-distributed-ruby-and-rinda/113272 "2007-10-07T17:15:01Z")

</div>

Can anyone tell me the difference between Distributed ruby and rinda?

---

## [Log $http\_x\_forwarded\_for behind Cisco ACE LB](https://www.ruby-forum.com/t/log-http-x-forwarded-for-behind-cisco-ace-lb/217470)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 3, 2012, 10:52am UTC](https://www.ruby-forum.com/t/log-http-x-forwarded-for-behind-cisco-ace-lb/217470 "2012-03-03T10:52:25Z")

</div>

Hello ! I’m new to Nginx. I installed Nginx (on Gentoo) instead of Apache behind a Cisco LoadBalancer. My problem is that the directive $http\_x\_forwarded\_for always write local IP of the LoadBalancer instead of Real…

---

## [Spork and Merb and rSpec](https://www.ruby-forum.com/t/spork-and-merb-and-rspec/170282)

<div class="topic-metadata">

**Author:** [@Andy\_Shipman](https://www.ruby-forum.com/u/Andy_Shipman)\
**Replies:** 7\
**Last updated:** [June 18, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/spork-and-merb-and-rspec/170282 "2009-06-18T23:44:55Z")

</div>

When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/ bootloader.rb:1358: \[BUG\] rb\_gc\_mark(…

---

## [Running tests on gem](https://www.ruby-forum.com/t/running-tests-on-gem/153778)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 1\
**Last updated:** [November 24, 2008, 4:59am UTC](https://www.ruby-forum.com/t/running-tests-on-gem/153778 "2008-11-24T04:59:29Z")

</div>

Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth \*\*\* LOCAL GEMS \*\*\* RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.…

---

## [Email address for Huihoo site (http://www.huihoo.com/)?](https://www.ruby-forum.com/t/email-address-for-huihoo-site-http-www-huihoo-com/118547)

<div class="topic-metadata">

**Author:** [@randy\_k](https://www.ruby-forum.com/u/randy_k)\
**Replies:** 7\
**Last updated:** [October 31, 2007, 8:36am UTC](https://www.ruby-forum.com/t/email-address-for-huihoo-site-http-www-huihoo-com/118547 "2007-10-31T08:36:02Z")

</div>

Does anyone have an email address for the Huihoo site (http://www.huihoo.com/) or the owner of the site? I found their summary of Ruby Syntax, and the first part was helpful to me, but there are some what I’ll call …

---

## [Wxpython - MainLoop()](https://www.ruby-forum.com/t/wxpython-mainloop/103769)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 1\
**Last updated:** [May 10, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/wxpython-mainloop/103769 "2007-05-10T12:41:54Z")

</div>

Does anybody have or point to an example of overriding MainLoop() in wx Python Apps (wx.App.MainLoop) ? I want to use usrp\_spectrum\_sense.py in a GUI app, and need to add some code to MainLoop to get the spectrum data…

---

## [Franchement, est-ce que Rails est pro?](https://www.ruby-forum.com/t/franchement-est-ce-que-rails-est-pro/60769)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 7\
**Last updated:** [May 17, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/franchement-est-ce-que-rails-est-pro/60769 "2006-05-17T15:03:37Z")

</div>

En voilÃ une bonne question : http://www.railsfrance.org/node/291#comment-387 En clair Rails n’est plus simplement une affaire de geeks, mais devient un sujet d’interrogation pressant pour le monde du business. L’a…

---

## [Modeling values with units of measure](https://www.ruby-forum.com/t/modeling-values-with-units-of-measure/215845)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 17, 2012, 5:14pm UTC](https://www.ruby-forum.com/t/modeling-values-with-units-of-measure/215845 "2012-01-17T17:14:16Z")

</div>

I’m working on a Rails 3 app that requires a few fields that can be given in multiple units of measure, e.g. miles, kilometers, etc. for distances, miles-per-hour, meters-per-second, etc. for speeds, and so on. I’m …

---

## [Free shell accounts on new ruby-versions.net site](https://www.ruby-forum.com/t/free-shell-accounts-on-new-ruby-versions-net-site/191413)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 2\
**Last updated:** [July 13, 2010, 4:45am UTC](https://www.ruby-forum.com/t/free-shell-accounts-on-new-ruby-versions-net-site/191413 "2010-07-13T04:45:54Z")

</div>

Hi – I’m please to announce the new incarnation of ruby-versions.net, where you can get a free shell account. (See http://www.ruby-versions.net for how.) The server for the new incarnation is generously provided by Bl…

---

## [Wx::Gauge failed to set foreground colour using XP Style](https://www.ruby-forum.com/t/wx-gauge-failed-to-set-foreground-colour-using-xp-style/178653)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 2\
**Last updated:** [November 9, 2009, 11:09pm UTC](https://www.ruby-forum.com/t/wx-gauge-failed-to-set-foreground-colour-using-xp-style/178653 "2009-11-09T23:09:53Z")

</div>

My application has a Wx::Gauge, its colour is changeable via set\_foreground\_colour method. After I updated the ruby.exe.manifest to use XP Styles, (Ruby on Windows: Windows XP Visual Style Controls with wxRuby), the …

---

## [Errors in this file (tcphack.rb)](https://www.ruby-forum.com/t/errors-in-this-file-tcphack-rb/161188)

<div class="topic-metadata">

**Author:** [@his2000x](https://www.ruby-forum.com/u/his2000x)\
**Replies:** 2\
**Last updated:** [February 25, 2009, 3:46am UTC](https://www.ruby-forum.com/t/errors-in-this-file-tcphack-rb/161188 "2009-02-25T03:46:22Z")

</div>

hi all, i can not speak english well. my os is ubuntu , unbuntu update was yesterday. and then does not work. this is mongrel error /usr/local/lib/site\_ruby/1.8/mongrel/tcphack.rb:12:in initialize\_without\_backlog'…

---

## [The name/id of the select tag generated by rails](https://www.ruby-forum.com/t/the-name-id-of-the-select-tag-generated-by-rails/136102)

<div class="topic-metadata">

**Author:** [@rasmus](https://www.ruby-forum.com/u/rasmus)\
**Replies:** 2\
**Last updated:** [April 28, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/the-name-id-of-the-select-tag-generated-by-rails/136102 "2008-04-28T23:23:16Z")

</div>

Hi guys, I just recently fell in love with Rails. Now, I’m trying to make a simple page where at list of tasks is presented. Each task has a user. At the top of the list I want to be able to make a select/dropdown lis…

---

## [Gr.clock\_recovery\_mm\_ff() help](https://www.ruby-forum.com/t/gr-clock-recovery-mm-ff-help/89966)

<div class="topic-metadata">

**Author:** [@george\_b](https://www.ruby-forum.com/u/george_b)\
**Replies:** 2\
**Last updated:** [March 25, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/gr-clock-recovery-mm-ff-help/89966 "2007-03-25T20:49:01Z")

</div>

Hello, I am trying to use the gr.clock\_recovery\_mm\_cc (float omega, float gain\_omega, float mu, float gain\_mu). What do I set for the omega, gain\_omega, mu, and gain\_mu? There is also a version of this function wit…

---

## [Worker processes in hung state after reload](https://www.ruby-forum.com/t/worker-processes-in-hung-state-after-reload/208994)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 2, 2011, 6:19pm UTC](https://www.ruby-forum.com/t/worker-processes-in-hung-state-after-reload/208994 "2011-07-02T18:19:43Z")

</div>

We use Nginx as a reverse proxy. After 2 or 3 reloads (kill -HUP), the parent’s one child worker process remains “stuck”; the parent spawns a new one which is also often “stuck.” The number of worker\_processes we hav…

---

## [Overwriting modifiers methods with Rails](https://www.ruby-forum.com/t/overwriting-modifiers-methods-with-rails/186535)

<div class="topic-metadata">

**Author:** [@mffreire](https://www.ruby-forum.com/u/mffreire)\
**Replies:** 6\
**Last updated:** [April 9, 2010, 11:04am UTC](https://www.ruby-forum.com/t/overwriting-modifiers-methods-with-rails/186535 "2010-04-09T11:04:46Z")

</div>

Hi everyone! I’m a little bit new to Rails development and I am looking for a solution for this issue. Let’s say that I have a model called Person and the person has an attribute name. But I want to put a surname w…

---

## [Scaffold problem](https://www.ruby-forum.com/t/scaffold-problem/144050)

<div class="topic-metadata">

**Author:** [@luckyzenn](https://www.ruby-forum.com/u/luckyzenn)\
**Replies:** 6\
**Last updated:** [July 25, 2008, 6:38am UTC](https://www.ruby-forum.com/t/scaffold-problem/144050 "2008-07-25T06:38:36Z")

</div>

hallo! ich habe ein problem mit dem bauen von scaffolds. wenn ich controller/new aufrufe erhalte ich zwar die ueberschrift, den ‘create’ button und den ‘back’ link, jedoch keinerlei eingabefelder! druecke ich trotzde…

---

## [How to separate stdout & stderr from executed shell command](https://www.ruby-forum.com/t/how-to-separate-stdout-stderr-from-executed-shell-command/131964)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [March 14, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/how-to-separate-stdout-stderr-from-executed-shell-command/131964 "2008-03-14T21:12:00Z")

</div>

I would like to create a method which executes a given shell command and returns an array containing three things: 1) stdout of the command as a string, 2) stderr of the command as a string, and 3) the exit status. I’…

---

## [Popup desde el controller](https://www.ruby-forum.com/t/popup-desde-el-controller/109045)

<div class="topic-metadata">

**Author:** [@william](https://www.ruby-forum.com/u/william)\
**Replies:** 6\
**Last updated:** [July 11, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/popup-desde-el-controller/109045 "2007-07-11T23:01:38Z")

</div>

CompaÃ±eros buenas Tardes, desde un controller necesito abrir directamente una ventana pupup con una informacion la cual debo imprimir pulsando un boton. O sera que puedo en vez de desplegar la ventana popup, enviar …

---

## [How to Upload Image through RoR?](https://www.ruby-forum.com/t/how-to-upload-image-through-ror/56885)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/how-to-upload-image-through-ror/56885 "2006-04-05T15:54:31Z")

</div>

Hi, I have one form , in which I am using file\_field teg for input image file as follows. \<%= file\_field(“store”, “picture”) %\> Tha Actual fileld name of my Image field in Database is “store\_photo” with datatype Large…

---

## [Getting (Errno::ENOENT) No such directory error](https://www.ruby-forum.com/t/getting-errno-enoent-no-such-directory-error/230228)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [January 27, 2015, 11:00pm UTC](https://www.ruby-forum.com/t/getting-errno-enoent-no-such-directory-error/230228 "2015-01-27T23:00:03Z")

</div>

Hi, We are getting below jruby exception when we use with Liferay 6.2.10, this exception is not happening in windows, but when the same war is deployed in Linux getting below exception. 05:09:48,222 ERROR \[stderr\] (…

---

## [How to add \<script\> in \<header\>](https://www.ruby-forum.com/t/how-to-add-script-in-header/243739)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [December 29, 2015, 6:02pm UTC](https://www.ruby-forum.com/t/how-to-add-script-in-header/243739 "2015-12-29T18:02:51Z")

</div>

I like to add the following entry: in section. How do I do it? Thanks! Jim

---

## [How to represent a single backslash?](https://www.ruby-forum.com/t/how-to-represent-a-single-backslash/182217)

<div class="topic-metadata">

**Author:** [@lalawawa](https://www.ruby-forum.com/u/lalawawa)\
**Replies:** 3\
**Last updated:** [January 25, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/how-to-represent-a-single-backslash/182217 "2010-01-25T13:46:28Z")

</div>

How do a put a single backslash into a string in Ruby? irb(main):006:0\> ‘’ irb(main):007:0’ ’ =\> “’\\n” irb(main):008:0\> ‘\\’ =\> “\\” irb(main):009:0\> in 6, the backslash escapes the ending ', which is not what I wan…

---

## [4-to-32 bit symbol mapper block](https://www.ruby-forum.com/t/4-to-32-bit-symbol-mapper-block/233682)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 3, 2015, 7:39pm UTC](https://www.ruby-forum.com/t/4-to-32-bit-symbol-mapper-block/233682 "2015-01-03T19:39:36Z")

</div>

Hi list, I’d like to write a custom block that takes 1, 4-bit symbol and remaps it to 1, 32-bit symbol. Some code for a general\_work() method is below \[1\], but it doesn’t quite work yet. It isn’t convolutional - i.e.…

---

## [Consigli e indicazioni per configurazione applicazione Rails in produzione](https://www.ruby-forum.com/t/consigli-e-indicazioni-per-configurazione-applicazione-rails-in-produzione/227503)

<div class="topic-metadata">

**Author:** [@akiross](https://www.ruby-forum.com/u/akiross)\
**Replies:** 5\
**Last updated:** [March 20, 2013, 1:58pm UTC](https://www.ruby-forum.com/t/consigli-e-indicazioni-per-configurazione-applicazione-rails-in-produzione/227503 "2013-03-20T13:58:48Z")

</div>

Ciao a tutti, volevo sapere se qualcuno di voi ha esperienza nella configurazione di un’applicazione RubyOnRails su un server di produzione. Attualmente la mia applicazione configurata con Apache + mod\_passenger e …

---

## [Problemas con autocomplete](https://www.ruby-forum.com/t/problemas-con-autocomplete/180076)

<div class="topic-metadata">

**Author:** [@elegant](https://www.ruby-forum.com/u/elegant)\
**Replies:** 5\
**Last updated:** [December 11, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/problemas-con-autocomplete/180076 "2009-12-11T20:29:55Z")

</div>

pacientes.controller.rb def index @pacientes = Paciente.find(:all, :conditions =\> \[‘nombre\_completo LIKE ?’, “%#{params\[:search\]}%”\]) respond\_to do |format| format.html # index.html.erb format.xml { render :xml =\> …

---

## [Requesting contributions to IronRuby](https://www.ruby-forum.com/t/requesting-contributions-to-ironruby/164678)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 5\
**Last updated:** [April 6, 2009, 6:48am UTC](https://www.ruby-forum.com/t/requesting-contributions-to-ironruby/164678 "2009-04-06T06:48:21Z")

</div>

We are getting closer to the V1 release of IronRuby which is planned for summer this year. The implementation has become fairly complete and usable in a lot of scenarios. Over the last few months, we have also improve…

---

## [Acts\_as\_authentificated signup problem don't understand logs](https://www.ruby-forum.com/t/acts-as-authentificated-signup-problem-dont-understand-logs/159530)

<div class="topic-metadata">

**Author:** [@chil](https://www.ruby-forum.com/u/chil)\
**Replies:** 5\
**Last updated:** [February 6, 2009, 10:40am UTC](https://www.ruby-forum.com/t/acts-as-authentificated-signup-problem-dont-understand-logs/159530 "2009-02-06T10:40:30Z")

</div>

Hi! I just put in production my application and i have to deal with a problem which didn’t exist before and I can’t find the cause in the logs. I’m using rails 1.2.3 (the application was started with this version) a…

---

## [Quick question about database.yml and Passenger on local machine](https://www.ruby-forum.com/t/quick-question-about-database-yml-and-passenger-on-local-machine/150927)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 5\
**Last updated:** [October 14, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/quick-question-about-database-yml-and-passenger-on-local-machine/150927 "2008-10-14T23:49:17Z")

</div>

I have finally joined the cool kids and started using Passenger on my laptop for my development sites. But I have one tiny problem, Passenger wants to use my production db settings instead of my development settings.…

---

## [Summer Reboot Update](https://www.ruby-forum.com/t/summer-reboot-update/142822)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 5\
**Last updated:** [July 17, 2008, 7:53pm UTC](https://www.ruby-forum.com/t/summer-reboot-update/142822 "2008-07-17T19:53:41Z")

</div>

Hi Everyone Just a brief update on the Summer Reboot Documentation project. I just spent a couple of hours copying and moving stuff to the site from a couple of places to pull things into the project :slight\_smile: B…

---

## [Can one prevent nil from being submitted when ":include\_bla](https://www.ruby-forum.com/t/can-one-prevent-nil-from-being-submitted-when-include-bla/91606)

<div class="topic-metadata">

**Author:** [@rovnak](https://www.ruby-forum.com/u/rovnak)\
**Replies:** 5\
**Last updated:** [April 11, 2007, 6:26am UTC](https://www.ruby-forum.com/t/can-one-prevent-nil-from-being-submitted-when-include-bla/91606 "2007-04-11T06:26:46Z")

</div>

I’m very close to getting some cool functionality with nearly zero extra controller coding …but one sticking point. I have a simple select Country\<%= collection\_select( :country\_id, nil, ViewCountry.find(:all), :id,…

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

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