# Top

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

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

---

## [Re: problem building gr-howto-write-a-block-cmake](https://www.ruby-forum.com/t/re-problem-building-gr-howto-write-a-block-cmake/218088)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 21, 2012, 12:59am UTC](https://www.ruby-forum.com/t/re-problem-building-gr-howto-write-a-block-cmake/218088 "2012-03-21T00:59:41Z")

</div>

Success! Everything works fine as long as I make the following change on the top CMakeLists.txt file in gr-howto-write-a-block-cmake from project(gr-howto-write-a-block CXX) to project(gr-howto-write-a-block CXX C) …

---

## [Dynamically creating variables](https://www.ruby-forum.com/t/dynamically-creating-variables/216060)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 24, 2012, 1:28pm UTC](https://www.ruby-forum.com/t/dynamically-creating-variables/216060 "2012-01-24T13:28:25Z")

</div>

Hi all, I’m fairly new to Ruby, and programming in general (though I’m reasonably proficient at shell scripting) so sorry if this is a dumb question. I’m trying to write a script for an SNMP poller but I’m getting st…

---

## [Load gems programatically?](https://www.ruby-forum.com/t/load-gems-programatically/216011)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 22, 2012, 4:38pm UTC](https://www.ruby-forum.com/t/load-gems-programatically/216011 "2012-01-22T16:38:45Z")

</div>

Hi. I want to write a script to alter a value in a plist. I know how to do it but for the script to run i have to install a plist gem like this: “sudo gem install Plist”. and then I get prompted for the password…no p…

---

## [B\_rand new N200 Not working](https://www.ruby-forum.com/t/b-rand-new-n200-not-working/214424)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 6, 2012, 4:06pm UTC](https://www.ruby-forum.com/t/b-rand-new-n200-not-working/214424 "2012-01-06T16:06:48Z")

</div>

Dear All, I am getting towards the end of my tether with this Ettus stuff - having had so much trouble I really don’t know why I did, I was stupid, but I did recommend USRPs to a colleague for a radar project. So,my …

---

## [Rails 3.1.1 : MySQL : composite keys](https://www.ruby-forum.com/t/rails-3-1-1-mysql-composite-keys/214423)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 2, 2011, 8:14am UTC](https://www.ruby-forum.com/t/rails-3-1-1-mysql-composite-keys/214423 "2011-12-02T08:14:34Z")

</div>

how can I rewrite the migration script to generate the composite keys from an existing table … PRIMARY KEY (id), KEY by\_scheduled\_sent\_released (scheduled\_at,sent\_at,released\_at), KEY by\_account\_uidl (account\_id,u…

---

## [Problem with fastcgi cache](https://www.ruby-forum.com/t/problem-with-fastcgi-cache/213315)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 2, 2011, 10:43pm UTC](https://www.ruby-forum.com/t/problem-with-fastcgi-cache/213315 "2011-11-02T22:43:44Z")

</div>

Hello, I´m working with Nginx v1.0.8. I have the configuration for fastcgi cache: server { listen 8080; //many other lines of configuration fastcgi\_cache\_path /var/www/cache levels=1:2 keys\_zone=zera:10m ina…

---

## [AttributeError: how to fixed it](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 30, 2011, 5:55am UTC](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153 "2011-10-30T05:55:28Z")

</div>

hi , i am working on GNURadio . after compiling i am getting the error . will some tell me what this error is related to. please check attachment for top\_block.py file Traceback (most recent call last): File “/home/…

---

## [Garbage collector in ruby MRI](https://www.ruby-forum.com/t/garbage-collector-in-ruby-mri/212952)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 18, 2011, 11:42pm UTC](https://www.ruby-forum.com/t/garbage-collector-in-ruby-mri/212952 "2011-10-18T23:42:12Z")

</div>

Hello, I was looking over gc.c and I was somewhat curious about how often the garbage\_collect was invoked by the system. Is this done primarily through the ruby interface on demand by the programmer? Regards, Carte…

---

## [Nginx : segfault at](https://www.ruby-forum.com/t/nginx-segfault-at/211977)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 19, 2011, 1:03pm UTC](https://www.ruby-forum.com/t/nginx-segfault-at/211977 "2011-09-19T13:03:30Z")

</div>

hi,all message log , I ask why ？ use nginx-1.0.4-1 ，thanks, Sep 18 15:43:29 web kernel: nginx\[794\]: segfault at 00007fff4ca24fd8 rip 0000003ea681398b rsp 00007fff4ca24fb0 error 6 Sep 18 16:39:03 web kernel: nginx\[80…

---

## [Detects that the server is redirecting the address request cycle](https://www.ruby-forum.com/t/detects-that-the-server-is-redirecting-the-address-request-cycle/211776)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 13, 2011, 1:59pm UTC](https://www.ruby-forum.com/t/detects-that-the-server-is-redirecting-the-address-request-cycle/211776 "2011-09-13T13:59:09Z")

</div>

hi all add " if ($http\_referer ~\* “www.test.com”) { rewrite ^/(.\*)$ http://www.xxx.com permanent; }" open browser 出现 “ This redirect page is incorrect Detects that the server is redirecting the addre…

---

## [Reassign an existing child from the parent form](https://www.ruby-forum.com/t/reassign-an-existing-child-from-the-parent-form/209179)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 7, 2011, 8:05pm UTC](https://www.ruby-forum.com/t/reassign-an-existing-child-from-the-parent-form/209179 "2011-07-07T20:05:27Z")

</div>

Hello, I have been trying to find a solution to this for some time. What I am trying to do is to have a parent form that can “reassign” child objects previously assigned to other parent objects. Here’s a use case: say…

---

## [Nginx -V - find nginx server build date?](https://www.ruby-forum.com/t/nginx-v-find-nginx-server-build-date/208113)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 4:25pm UTC](https://www.ruby-forum.com/t/nginx-v-find-nginx-server-build-date/208113 "2011-06-10T16:25:50Z")

</div>

I know nginx -V can give me the nginx configuration settings. But is there a command or file which would tell me when nginx server was built/installed or rebuilt/reinstalled ? thanks Posted at Nginx Forum:

---

## [Rails 3.03 Database from sqlite3 to MySQL](https://www.ruby-forum.com/t/rails-3-03-database-from-sqlite3-to-mysql/204245)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 8, 2011, 5:30pm UTC](https://www.ruby-forum.com/t/rails-3-03-database-from-sqlite3-to-mysql/204245 "2011-03-08T17:30:45Z")

</div>

I have created a shopping cart using the AWD 4 book and now want to upload it to a server. Is there a straight forward way for me to export my current sqlite3 database (and its tables and data) into a MySQL database?

---

## [Distributed libraries without Git?](https://www.ruby-forum.com/t/distributed-libraries-without-git/203311)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 17, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/distributed-libraries-without-git/203311 "2011-02-17T16:59:19Z")

</div>

Hey, Following scenario: We would like to share some libraries (can be gems) and include them as easy as possible within different apps. With bundler and git repositories, this would be rather easy it seems. However,…

---

## [Rails App permissions?](https://www.ruby-forum.com/t/rails-app-permissions/202841)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 7, 2011, 3:44pm UTC](https://www.ruby-forum.com/t/rails-app-permissions/202841 "2011-02-07T15:44:13Z")

</div>

I can’t start my app and I suspect permissions and ownership. What permissions should a Rails App have? Can I set 755 on everything or should it be less on some files?

---

## [Env lost effect in single process mode](https://www.ruby-forum.com/t/env-lost-effect-in-single-process-mode/200477)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 14, 2010, 3:21am UTC](https://www.ruby-forum.com/t/env-lost-effect-in-single-process-mode/200477 "2010-12-14T03:21:30Z")

</div>

Hey, I find when I set daemon off and master\_process off to enter the dev single process mode, env simply doesn’t work. My custom module depending on that env can’t find them. So I check the code and find in ngx\_singl…

---

## [Devise: binding 'resource' (aka general error reporting)](https://www.ruby-forum.com/t/devise-binding-resource-aka-general-error-reporting/199002)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 17, 2010, 7:29am UTC](https://www.ruby-forum.com/t/devise-binding-resource-aka-general-error-reporting/199002 "2010-11-17T07:29:31Z")

</div>

The much maligned but otherwise innocent “devise\_error\_messages!” method in the DeviseHelper module starts out with: def devise\_error\_messages! return “” if resource.errors.empty? … end My question: where is ‘resou…

---

## [Gems in ~/.gem vs in the Library](https://www.ruby-forum.com/t/gems-in-gem-vs-in-the-library/199114)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 15, 2010, 7:58pm UTC](https://www.ruby-forum.com/t/gems-in-gem-vs-in-the-library/199114 "2010-11-15T19:58:57Z")

</div>

Hello all, I am completely new to Ruby on Rails. When i install gems some of them get installed to ~/.gem folder as apparently the other location is not writable. What is the best way to go about this: chmod the fol…

---

## [\[Ruby 1.9-Bug#4020\]\[Open\] Fiber#initialize causes memory leaks](https://www.ruby-forum.com/t/ruby-1-9-bug-4020-open-fiber-initialize-causes-memory-leaks/198573)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 3, 2010, 6:22pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4020-open-fiber-initialize-causes-memory-leaks/198573 "2010-11-03T18:22:10Z")

</div>

Bug #4020: Fiber#initialize causes memory leaks http://redmine.ruby-lang.org/issues/show/4020 $B5/I\<\<T(B: Yusuke E. $B%9%F!\<%?%9(B: Open, $BM%@john(B: Normal $B%+%F%4%j(B: core ruby -v: ruby 1.9.3dev (2010-11-03 tru…

---

## [Associations Pickle with Legacy Schema](https://www.ruby-forum.com/t/associations-pickle-with-legacy-schema/197411)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 5:14am UTC](https://www.ruby-forum.com/t/associations-pickle-with-legacy-schema/197411 "2010-10-14T05:14:07Z")

</div>

For the most part I’m working my through creating AR associations with a legacy DB using the various options AR provides to identify tables and fields. My current snag is a little outside of that stuff. I have a Comp…

---

## [Problema con parÃ¡metros en collection\_select (No novato)](https://www.ruby-forum.com/t/problema-con-para-metros-en-collection-select-no-novato/194394)

<div class="topic-metadata">

**Author:** [@evaldo](https://www.ruby-forum.com/u/evaldo)\
**Replies:** 2\
**Last updated:** [September 6, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/problema-con-para-metros-en-collection-select-no-novato/194394 "2010-09-06T16:50:26Z")

</div>

Hola a tod@s, Les cuento… Tengo lo siguiente en aplicaciÃ³n: Una pÃ¡gina donde esta mi modelo docencia que a su vez le voy agregando todos los dictados de carreras: \<% f.fields\_for :dictados do |dictado\_form| %\>…

---

## [\[Ruby 1.9-Bug#3771\]\[Open\] VC++ can't make ext/tk with enabling stubs](https://www.ruby-forum.com/t/ruby-1-9-bug-3771-open-vc-cant-make-ext-tk-with-enabling-stubs/194152)

<div class="topic-metadata">

**Author:** [@Akio\_T](https://www.ruby-forum.com/u/Akio_T)\
**Replies:** 2\
**Last updated:** [August 31, 2010, 12:07pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3771-open-vc-cant-make-ext-tk-with-enabling-stubs/194152 "2010-08-31T12:07:01Z")

</div>

Bug #3771: VC++ can’t make ext/tk with enabling stubs http://redmine.ruby-lang.org/issues/show/3771 e$B5/I\<\<Te(B: Akio T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: 1.9.2 ruby …

---

## [Unable to build firmware binary](https://www.ruby-forum.com/t/unable-to-build-firmware-binary/193338)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 3:21am UTC](https://www.ruby-forum.com/t/unable-to-build-firmware-binary/193338 "2010-08-18T03:21:33Z")

</div>

Hi I have recently made some changes to the usrp2 firmware, and tried to build according to USRP2 User FAQ. As far as I could tell from the aforementioned FAQ, this should have resulted in a file txrx.bin being creat…

---

## [Acceder a varias tablas](https://www.ruby-forum.com/t/acceder-a-varias-tablas/187184)

<div class="topic-metadata">

**Author:** [@mikeboy](https://www.ruby-forum.com/u/mikeboy)\
**Replies:** 2\
**Last updated:** [April 19, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/acceder-a-varias-tablas/187184 "2010-04-19T22:39:19Z")

</div>

Buenas, He creado dos andamios para dos tablas a la que accedo por index1 e index2 respectivamente. En cada index puedo hacer las tareas de aÃ±adir, borrar, ver lineas… pero me gustaria saber como se hace una busqueda …

---

## [How to add c++ modules after gnuradio-3.2.2. binary installation?](https://www.ruby-forum.com/t/how-to-add-c-modules-after-gnuradio-3-2-2-binary-installation/185865)

<div class="topic-metadata">

**Author:** [@Yao\_Jack](https://www.ruby-forum.com/u/Yao_Jack)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 9:34am UTC](https://www.ruby-forum.com/t/how-to-add-c-modules-after-gnuradio-3-2-2-binary-installation/185865 "2010-04-01T09:34:41Z")

</div>

Hi I installed gnuradio-3.2.2. Binary package in Ubuntu 9.04. It was not flexible to include new c++ files (I could not find bootstrap, configure.ac files etc in usr/share/gnuradio installation directory). I then …

---

## [Directio question](https://www.ruby-forum.com/t/directio-question/184740)

<div class="topic-metadata">

**Author:** [@iamstef](https://www.ruby-forum.com/u/iamstef)\
**Replies:** 2\
**Last updated:** [March 7, 2010, 8:19pm UTC](https://www.ruby-forum.com/t/directio-question/184740 "2010-03-07T20:19:25Z")

</div>

Hi, My name is Stefan P., Im working on http://www.systemdatarecorder.org and I have started to test and consider replacing for our solution apache over nginx. Im getting to know nginx and I like the server. Some que…

---

## [Multiple I2C devices on Rx daughtercards](https://www.ruby-forum.com/t/multiple-i2c-devices-on-rx-daughtercards/181420)

<div class="topic-metadata">

**Author:** [@ndorphine](https://www.ruby-forum.com/u/ndorphine)\
**Replies:** 2\
**Last updated:** [January 11, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/multiple-i2c-devices-on-rx-daughtercards/181420 "2010-01-11T23:05:12Z")

</div>

Hi Matt, In reviewing the schematic of the dbsrx daughtercard, I noticed that there are two i2c devices (the EEPROM and the MAX211x receiver chip). In general for the daughtercards, address bit A1 determines side A…

---

## [Sunshowers - Web Sockets for Ruby, Rack+Rainbows!](https://www.ruby-forum.com/t/sunshowers-web-sockets-for-ruby-rack-rainbows/180169)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [December 14, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/sunshowers-web-sockets-for-ruby-rack-rainbows/180169 "2009-12-14T12:12:52Z")

</div>

Sunshowers is a Ruby library for Web Sockets. It exposes an easy-to-use API that may be used in both clients and servers. On the server side, it is designed to work with Rack::Request and Rainbows! concurrency model…

---

## [Array#select doesnt return Enumerator?](https://www.ruby-forum.com/t/array-select-doesnt-return-enumerator/178472)

<div class="topic-metadata">

**Author:** [@koji\_Lin](https://www.ruby-forum.com/u/koji_Lin)\
**Replies:** 2\
**Last updated:** [November 5, 2009, 9:26am UTC](https://www.ruby-forum.com/t/array-select-doesnt-return-enumerator/178472 "2009-11-05T09:26:35Z")

</div>

Hi, I have tried jruby1.4, and something works in ruby1.8.7 doesn’t works in jruby1.4. My code is like below. array = \[‘a’,‘b’,‘c’\] array.select.with\_index{|x, i| i \>= 1} got C:/Program Files/jruby-1.4.0/lib/ruby…

---

## [Why does RakeFileUtils get mixed into ActiveRecord::Base?](https://www.ruby-forum.com/t/why-does-rakefileutils-get-mixed-into-activerecord-base/176829)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 2\
**Last updated:** [October 20, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/why-does-rakefileutils-get-mixed-into-activerecord-base/176829 "2009-10-20T14:21:07Z")

</div>

I’m running into a rather weird problem… I have a model with a “link” attribute that isn’t working because it’s getting clobbered by RakeFileUtils#link It seems as soon as you require ‘rake’ that RakeFileUtils gets mi…

---

## [Agile web development with rails V2](https://www.ruby-forum.com/t/agile-web-development-with-rails-v2/177405)

<div class="topic-metadata">

**Author:** [@a-mj](https://www.ruby-forum.com/u/a-mj)\
**Replies:** 2\
**Last updated:** [October 16, 2009, 3:12pm UTC](https://www.ruby-forum.com/t/agile-web-development-with-rails-v2/177405 "2009-10-16T15:12:55Z")

</div>

Ciao a tutti! Avevo abbandonato ruby proprio quando stavo cominciando a impararlo, ora ho dovuto riprenderlo in mano per un progetto, e non mi ricordo un accidente. Sto usando il libro in oggetto…questo dice, nell’or…

---

## [\[rails\] rails magazine numero 4 (FREE)](https://www.ruby-forum.com/t/rails-rails-magazine-numero-4-free/174944)

<div class="topic-metadata">

**Author:** [@cpecchia](https://www.ruby-forum.com/u/cpecchia)\
**Replies:** 2\
**Last updated:** [September 7, 2009, 12:35pm UTC](https://www.ruby-forum.com/t/rails-rails-magazine-numero-4-free/174944 "2009-09-07T12:35:05Z")

</div>

Salve a tutti! Vi segnalo che è gratuitamente disponibile il numero 4 di RailsMagazine: Что такое SEO продвижение сайта – Carlo P. email: removed\_email\_address@domain.invalid twitter: @carlopecchia

---

## [Strange SimpleDelegator behaviour regarding blocks](https://www.ruby-forum.com/t/strange-simpledelegator-behaviour-regarding-blocks/173810)

<div class="topic-metadata">

**Author:** [@fstroehle](https://www.ruby-forum.com/u/fstroehle)\
**Replies:** 2\
**Last updated:** [August 15, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/strange-simpledelegator-behaviour-regarding-blocks/173810 "2009-08-15T15:29:52Z")

</div>

Hey folks, just stumbled across a little problem: 001:0\> a = SimpleDelegator.new(\[\]) =\> \[\] 002:0\> a \<\< 12 \<\< 13 =\> \[12, 13\] 003:0\> a.each do puts 1 end # (1) 1 1 004:0\> class Array 005:1\> def foo 006:2\> …

---

## [At my wits end ! Controlling passed in negative values from a form](https://www.ruby-forum.com/t/at-my-wits-end-controlling-passed-in-negative-values-from-a-form/170967)

<div class="topic-metadata">

**Author:** [@rajive\_jain](https://www.ruby-forum.com/u/rajive_jain)\
**Replies:** 2\
**Last updated:** [June 24, 2009, 8:50pm UTC](https://www.ruby-forum.com/t/at-my-wits-end-controlling-passed-in-negative-values-from-a-form/170967 "2009-06-24T20:50:33Z")

</div>

Hi, I am trying to validate a numeric value passed in from a form, which is saved in a MySQL db as decimal(9,2) Now problem is I need to ensure people don’t enter a form value like -. 003. In my validations, I have a…

---

## [Problem with case stmt alternatives](https://www.ruby-forum.com/t/problem-with-case-stmt-alternatives/165346)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 2\
**Last updated:** [April 12, 2009, 11:17pm UTC](https://www.ruby-forum.com/t/problem-with-case-stmt-alternatives/165346 "2009-04-12T23:17:05Z")

</div>

Hi, I posted my problem code on http://pastie.org/444466. On lines 38-39 I have the code: case colSymbol when :Status || :Symbol || :TradeType || :Quantity || :Price As colSymbol assumes various Symbols as values…

---

## [Deployment problem](https://www.ruby-forum.com/t/deployment-problem/164199)

<div class="topic-metadata">

**Author:** [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Replies:** 2\
**Last updated:** [March 29, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/deployment-problem/164199 "2009-03-29T22:32:58Z")

</div>

I create the war file of my rails application and if i deploy it on Glassfish or Tomcat this is message displayed to me :- We're sorry, but something went wrong. We'…

---

## [Has many association problem](https://www.ruby-forum.com/t/has-many-association-problem/163092)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 2\
**Last updated:** [March 18, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/has-many-association-problem/163092 "2009-03-18T19:08:24Z")

</div>

Dear all I have the following 2 models, with 2 difference data sources. I would like to create a has\_many relation to SX1::Request pat = SX9::Patient.find(“123456789”) pat.pat\_encounter\_group =\> 99999 By defaul…

---

## [Usrp\_wfm\_rcv2\_nogui.py](https://www.ruby-forum.com/t/usrp-wfm-rcv2-nogui-py/162261)

<div class="topic-metadata">

**Author:** [@jordanh](https://www.ruby-forum.com/u/jordanh)\
**Replies:** 2\
**Last updated:** [March 8, 2009, 4:17am UTC](https://www.ruby-forum.com/t/usrp-wfm-rcv2-nogui-py/162261 "2009-03-08T04:17:45Z")

</div>

Has this been updated lately? I tried running it and got an error on this line: ok, baseband\_freq = self.subdev.set\_freq(mid\_freq); There’s no use of a variable “ok” anywhere, so that kind of looks like some English …

---

## [How to solve xmlsimple.rb warning: already initialized const](https://www.ruby-forum.com/t/how-to-solve-xmlsimple-rb-warning-already-initialized-const/160216)

<div class="topic-metadata">

**Author:** [@johnroyworld](https://www.ruby-forum.com/u/johnroyworld)\
**Replies:** 2\
**Last updated:** [February 13, 2009, 5:54am UTC](https://www.ruby-forum.com/t/how-to-solve-xmlsimple-rb-warning-already-initialized-const/160216 "2009-02-13T05:54:35Z")

</div>

hi all, I am new to ruby on rails with ubuntu server and i got this warning below in every time i run my script. Any advice would be appreciated. Thanks! /usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initializ…

---

## [Event-based stdout content capturing](https://www.ruby-forum.com/t/event-based-stdout-content-capturing/159313)

<div class="topic-metadata">

**Author:** [@daniel304](https://www.ruby-forum.com/u/daniel304)\
**Replies:** 2\
**Last updated:** [February 4, 2009, 6:25am UTC](https://www.ruby-forum.com/t/event-based-stdout-content-capturing/159313 "2009-02-04T06:25:34Z")

</div>

Some legacy code produces output to STDOUT during execution. I need to capture it on even-based model, something like the following: capture the\_legacy\_code\_lambda do |content| do something with content each time some…

---

## [Does the GRC FFT block re-order its output](https://www.ruby-forum.com/t/does-the-grc-fft-block-re-order-its-output/158625)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/does-the-grc-fft-block-re-order-its-output/158625 "2009-01-26T22:01:39Z")

</div>

Does the GRC output block re-order output? I’m puzzled with respect to what I’m seeing. My normal expectation is that, given an FFT buffer of size N, that on output buf\[0\] to buf\[N/2\] = DC to nyquist buf\[N/2\] to b…

---

## [Model objects, link\_to and view](https://www.ruby-forum.com/t/model-objects-link-to-and-view/158111)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 2\
**Last updated:** [January 19, 2009, 3:22pm UTC](https://www.ruby-forum.com/t/model-objects-link-to-and-view/158111 "2009-01-19T15:22:50Z")

</div>

Hi, this is probably a very easy problem to solve but ive googled and searched this site no end and cant find a suitable solution - to be fair im not really sure of the appropriate search terms. Im praticing ruby by m…

---

## [Help with .htaccess rules](https://www.ruby-forum.com/t/help-with-htaccess-rules/153530)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 2\
**Last updated:** [November 18, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/help-with-htaccess-rules/153530 "2008-11-18T22:42:09Z")

</div>

May seem like cheating posting this on here, but kinda stuck on this, as we are helping move alot of shared customers to nginx. Stuck on these: RewriteRule ^(.)-p-(.).html$ index.php?main\_page=product\_info&products\_i…

---

## [Define relative url](https://www.ruby-forum.com/t/define-relative-url/152611)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 2\
**Last updated:** [November 6, 2008, 8:35am UTC](https://www.ruby-forum.com/t/define-relative-url/152611 "2008-11-06T08:35:14Z")

</div>

Hi All Because my app is running behind Apache my RoR helpers generate an incorrect url For example: http://my.website.com/xyz/users becames: http://my.webiste.com/users So I tried to set the relative path to ‘xyz…

---

## [USRP connected during gnuradio installation](https://www.ruby-forum.com/t/usrp-connected-during-gnuradio-installation/151058)

<div class="topic-metadata">

**Author:** [@Joreen\_T](https://www.ruby-forum.com/u/Joreen_T)\
**Replies:** 2\
**Last updated:** [October 16, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/usrp-connected-during-gnuradio-installation/151058 "2008-10-16T16:02:45Z")

</div>

Hi, Would like to check, if the USRP is needed to be connected to the laptop during the installation of gnuradio on fedora 9? Regards, Joreen

---

## [Make classes in a module available to examples](https://www.ruby-forum.com/t/make-classes-in-a-module-available-to-examples/147795)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 2\
**Last updated:** [September 5, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/make-classes-in-a-module-available-to-examples/147795 "2008-09-05T17:49:22Z")

</div>

Hi Sorry if this is documented somewhere, I can’t find it on rspec.info or Google. Say I have this code (simple example based no the RSpec site): module Bank class Account def balance 0 end end end describe “A…

---

## [Autotest Doesn't Run Old Test::Unit Tests After Install](https://www.ruby-forum.com/t/autotest-doesnt-run-old-test-unit-tests-after-install/145073)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 2\
**Last updated:** [August 6, 2008, 9:26am UTC](https://www.ruby-forum.com/t/autotest-doesnt-run-old-test-unit-tests-after-install/145073 "2008-08-06T09:26:28Z")

</div>

Hi, We have a biggish rails app with a bunch of ‘legacy’ Test::Unit tests, but we’re moving over to rspec for all our new work. We’re going to be carrying these legacy tests around for a good while though, so they ne…

---

## [Timeout::timeout(time) question - or.. What am I missing here?](https://www.ruby-forum.com/t/timeout-timeout-time-question-or-what-am-i-missing-here/144797)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 2\
**Last updated:** [August 2, 2008, 2:08pm UTC](https://www.ruby-forum.com/t/timeout-timeout-time-question-or-what-am-i-missing-here/144797 "2008-08-02T14:08:23Z")

</div>

OK, I have a rake task that runs a bit of code which connects up from a Rails App to a remote data source over a WAN to replicate down some data from an Oracle server through the Ruby OCI8 library. This task is expec…

---

## [PS3 cross-compile problem](https://www.ruby-forum.com/t/ps3-cross-compile-problem/144230)

<div class="topic-metadata">

**Author:** [@Andreas\_FernstrSSSS](https://www.ruby-forum.com/u/Andreas_FernstrSSSS)\
**Replies:** 2\
**Last updated:** [July 27, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/ps3-cross-compile-problem/144230 "2008-07-27T22:00:37Z")

</div>

Hi! I have problem cross compiling GNU Radio on my x86\_64 machine for my ps3. I’ve never tried cross compiling before, so I’m not sure that I’ve got everything right, but when I try (on the x86\_64 machine) to run \[…

---

## [Difference between html.hi to evererb &rhtml](https://www.ruby-forum.com/t/difference-between-html-hi-to-evererb-rhtml/143857)

<div class="topic-metadata">

**Author:** [@lostwarrior](https://www.ruby-forum.com/u/lostwarrior)\
**Replies:** 2\
**Last updated:** [July 23, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/difference-between-html-hi-to-evererb-rhtml/143857 "2008-07-23T15:11:40Z")

</div>

hi to everyone whats the difference between html.erb & rhtml

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

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