# Top

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

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

---

## [Use Symbols from yaml file](https://www.ruby-forum.com/t/use-symbols-from-yaml-file/126303)

<div class="topic-metadata">

**Author:** [@George\_Bray](https://www.ruby-forum.com/u/George_Bray)\
**Replies:** 1\
**Last updated:** [January 17, 2008, 7:37am UTC](https://www.ruby-forum.com/t/use-symbols-from-yaml-file/126303 "2008-01-17T07:37:18Z")

</div>

I’m loading application-wide variables from a yaml file, and one of them is a symbol development: LDAP\_HOST: ‘ldap.x.edu.au’ LDAP\_PORT: ‘636’ LDAP\_ENC: ‘:simple\_tls’ … That works fine, and I use the vars …

---

## [Use of call method with a block](https://www.ruby-forum.com/t/use-of-call-method-with-a-block/243434)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [November 3, 2015, 10:37am UTC](https://www.ruby-forum.com/t/use-of-call-method-with-a-block/243434 "2015-11-03T10:37:58Z")

</div>

I am new to ruby and was trying to figure how the block will be executed in a particular case. class Test def A ( &old\_block) unbound\_obj = instance\_method(:B) define\_method(:B) do |\*args, &block| instance\_exec(\*ar…

---

## [File open causes crash](https://www.ruby-forum.com/t/file-open-causes-crash/224467)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [November 14, 2012, 5:40am UTC](https://www.ruby-forum.com/t/file-open-causes-crash/224467 "2012-11-14T05:40:58Z")

</div>

Just trying to open a file which worked in my MRI based project basically: File.open(path,“w”){|file| .} so besides the initial question of why can’t I open a file and how can I fix it. My second question is am I bei…

---

## [Updating the sessions table](https://www.ruby-forum.com/t/updating-the-sessions-table/198990)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 13, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/updating-the-sessions-table/198990 "2010-11-13T23:38:07Z")

</div>

Hi everyone, I’ve got a problem that has me stumped. I’ve got an application running rails 2.3.8, ruby 1.8.7. I’m using the Activerecord Session store with MySQL. On my development site, the session table’s updated\_…

---

## [Understanding USRP2 flow control](https://www.ruby-forum.com/t/understanding-usrp2-flow-control/191788)

<div class="topic-metadata">

**Author:** [@OE1RSA](https://www.ruby-forum.com/u/OE1RSA)\
**Replies:** 5\
**Last updated:** [July 23, 2010, 9:21pm UTC](https://www.ruby-forum.com/t/understanding-usrp2-flow-control/191788 "2010-07-23T21:21:07Z")

</div>

Dear All! I am starting to learn my new USRP2 device. I bought a reasonable fast quad core PC and a recommended ethernet board. I wanted to find out if I can get the interpolation 4 working in my environment. I just…

---

## [Dynamic drop-downs in a form\_for using AJAX remote\_function - Help](https://www.ruby-forum.com/t/dynamic-drop-downs-in-a-form-for-using-ajax-remote-function-help/173548)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 5\
**Last updated:** [August 31, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/dynamic-drop-downs-in-a-form-for-using-ajax-remote-function-help/173548 "2009-08-31T21:07:18Z")

</div>

Hello - I am fairly new to Ruby on Rails, but feel like I am learning quick. I have what seems to be a fairly unique issue as I cannot find much out there that describes what I’m seeing. Hopefully it’s a very simple…

---

## [Production faster than Development, why?](https://www.ruby-forum.com/t/production-faster-than-development-why/66266)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [August 24, 2006, 3:05pm UTC](https://www.ruby-forum.com/t/production-faster-than-development-why/66266 "2006-08-24T15:05:58Z")

</div>

I understand that Development mode is slower than Production mode. Why is that? As a newbie I only see a difference in database names. What else is different?

---

## [How to avoid freezing a rubygnome GUI?](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 12, 2015, 3:48pm UTC](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906 "2015-05-12T15:48:12Z")

</div>

Hi guys, Here is my problem. I have a GUI widget, in ruby-gnome, and I have buttons. Each button plays a video file. I use system() for this, and mplayer. When I click the button, all works well, mplayer plays the …

---

## [More\_set\_headers with content-type "text/html" does not send header](https://www.ruby-forum.com/t/more-set-headers-with-content-type-text-html-does-not-send-header/222901)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 15, 2012, 4:45pm UTC](https://www.ruby-forum.com/t/more-set-headers-with-content-type-text-html-does-not-send-header/222901 "2012-09-15T16:45:07Z")

</div>

Hi, I’m using nginx (1.3.6 +spdy52) with agentzh/headers-more-nginx-module (current master branch from git). There’s a Content-Type header sent which does contain the following: text/html; charset=utf-8 However when …

---

## [Intermittent "504 SSL\_do\_handshake() failed"](https://www.ruby-forum.com/t/intermittent-504-ssl-do-handshake-failed/198006)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [February 8, 2012, 7:46am UTC](https://www.ruby-forum.com/t/intermittent-504-ssl-do-handshake-failed/198006 "2012-02-08T07:46:30Z")

</div>

I seem to be having a problem with the secure reverse proxy. I have a “Synology Disk Station” that hosts Apache virtual servers with one being an administration web panel, and the other “https://192.168.2.2/photo” bei…

---

## [Ruby cgi, add params and redirect](https://www.ruby-forum.com/t/ruby-cgi-add-params-and-redirect/149775)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 3\
**Last updated:** [September 30, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/ruby-cgi-add-params-and-redirect/149775 "2008-09-30T19:22:30Z")

</div>

I’m looking for a way to add parameters to a cgi object and then redirect the user to another cgi script off site. require “cgi” cgi = CGI.new cgi.params\[‘new\_param’\] = “new\_value” … cgi.header(“status” =\> “302”, …

---

## [No me funciona el Scaffold?](https://www.ruby-forum.com/t/no-me-funciona-el-scaffold/164789)

<div class="topic-metadata">

**Author:** [@schumaSve](https://www.ruby-forum.com/u/schumaSve)\
**Replies:** 6\
**Last updated:** [April 6, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/no-me-funciona-el-scaffold/164789 "2009-04-06T15:57:10Z")

</div>

Hola… en esta oportunidad estoy utlizando el scaffold pero no me funciona del todo en la version rails 1.2.6 por ejemplo me generaba el new.rhtml con cada uno de los campos que tenia la tabla y/o la clase Tutores, pe…

---

## [Counting Tabs and splitting by that number](https://www.ruby-forum.com/t/counting-tabs-and-splitting-by-that-number/149723)

<div class="topic-metadata">

**Author:** [@silentd3at4](https://www.ruby-forum.com/u/silentd3at4)\
**Replies:** 6\
**Last updated:** [September 29, 2008, 1:38am UTC](https://www.ruby-forum.com/t/counting-tabs-and-splitting-by-that-number/149723 "2008-09-29T01:38:19Z")

</div>

Basically i have a document which I am opening and then i am reading each line of the file and having to split it up into two arrays and then into a hash in which i have to get some sort of output like this: applicati…

---

## [Dejar una variable accesible para todo el controlador](https://www.ruby-forum.com/t/dejar-una-variable-accesible-para-todo-el-controlador/120416)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 6\
**Last updated:** [November 17, 2007, 11:45pm UTC](https://www.ruby-forum.com/t/dejar-una-variable-accesible-para-todo-el-controlador/120416 "2007-11-17T23:45:52Z")

</div>

Hola como estan, estoy haciendo una vista estatica, la cual necesito darle algunos estilos css cuando estÃ© seleccionada la pagina, como un estado .selected para un menu. y que este selected sea dinamico , dependiend…

---

## [Fwd: AttributeError: 'module' object has no attribute 'block\_name'](https://www.ruby-forum.com/t/fwd-attributeerror-module-object-has-no-attribute-block-name/234665)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 20, 2015, 2:43pm UTC](https://www.ruby-forum.com/t/fwd-attributeerror-module-object-has-no-attribute-block-name/234665 "2015-03-20T14:43:30Z")

</div>

Tom, I sincerely apologize if I have posted this email to the wrong location but this is where the web page sent me. I have forwarded my original email below and hope it shows up as you expected. Any info you can p…

---

## [Gr-bluetooth](https://www.ruby-forum.com/t/gr-bluetooth/230875)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 10, 2014, 11:23am UTC](https://www.ruby-forum.com/t/gr-bluetooth/230875 "2014-07-10T11:23:00Z")

</div>

Hello all, I’ve updated the gr-bluetooth \[1\] code to be compatible with GNU Radio 3.7. I’m trying to use it, but there’s a segmentation fault that I need to figure out. Has anyone done anything with gr-bluetooth recen…

---

## [Warn on stubbing nonexistent method?](https://www.ruby-forum.com/t/warn-on-stubbing-nonexistent-method/211144)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 26, 2011, 10:18pm UTC](https://www.ruby-forum.com/t/warn-on-stubbing-nonexistent-method/211144 "2011-08-26T22:18:52Z")

</div>

Hello. Perhaps rspec-mocks could warn if it stubs a not yet existing method? class A end describe RSpec do it ‘should’ do a = A.new a.stub!(:nonexistent\_method) {} end end This might help the development proces…

---

## [Validate has\_many relationship with conditions?](https://www.ruby-forum.com/t/validate-has-many-relationship-with-conditions/145792)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 8:54am UTC](https://www.ruby-forum.com/t/validate-has-many-relationship-with-conditions/145792 "2008-08-14T08:54:41Z")

</div>

I need to validate that I have at least one relationship with a certain condition. My code so far: class User \< ActiveRecord::Base belongs\_to :user\_type end class UserType \< ActiveRecord::Base has\_many :users has…

---

## [How to load the database.yml file again during runtime?](https://www.ruby-forum.com/t/how-to-load-the-database-yml-file-again-during-runtime/139834)

<div class="topic-metadata">

**Author:** [@juantar](https://www.ruby-forum.com/u/juantar)\
**Replies:** 2\
**Last updated:** [June 7, 2008, 11:24pm UTC](https://www.ruby-forum.com/t/how-to-load-the-database-yml-file-again-during-runtime/139834 "2008-06-07T23:24:15Z")

</div>

Hi, I have an application that allows the user to make changes to the database.yml file so that he can connect to another database. However I have to manually restart the application to make the changes in database.ym…

---

## [After processing data inside model,how to insert processed data(interest\_to\_be\_paid etc) to database](https://www.ruby-forum.com/t/after-processing-data-inside-model-how-to-insert-processed-data-interest-to-be-paid-etc-to-database/241727)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [April 29, 2015, 10:16pm UTC](https://www.ruby-forum.com/t/after-processing-data-inside-model-how-to-insert-processed-data-interest-to-be-paid-etc-to-database/241727 "2015-04-29T22:16:51Z")

</div>

class Recovery \< ActiveRecord::Base def self.processrecovery @members = Member.where(record\_status: “1”) @members.each do |member| tmemberCode = member.member\_code : : :# Processing of data from different database …

---

## [Rails 4.2 in beta 1](https://www.ruby-forum.com/t/rails-4-2-in-beta-1/231743)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [August 29, 2014, 11:28am UTC](https://www.ruby-forum.com/t/rails-4-2-in-beta-1/231743 "2014-08-29T11:28:37Z")

</div>

Qualche giorno fa è stata pubblicata la beta 1: http://weblog.rubyonrails.org/releases/ tra le tante novità trovo molto interessante la web console per il debugging

---

## [\[Demande Stage / Apprentissage\]](https://www.ruby-forum.com/t/demande-stage-apprentissage/183897)

<div class="topic-metadata">

**Author:** [@nelson](https://www.ruby-forum.com/u/nelson)\
**Replies:** 7\
**Last updated:** [February 27, 2010, 7:43am UTC](https://www.ruby-forum.com/t/demande-stage-apprentissage/183897 "2010-02-27T07:43:37Z")

</div>

Bonjour, Je ne sais pas si c’est possible de réaliser directement une demande de stage / apprentissage directement sur la mailing-list, si ce n’est pas possible je supprimerai mon message. Voila, je suis actuellement…

---

## [Â¿Problema con variable de clase?](https://www.ruby-forum.com/t/a-problema-con-variable-de-clase/169064)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 7\
**Last updated:** [May 29, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/a-problema-con-variable-de-clase/169064 "2009-05-29T13:13:18Z")

</div>

Pues verÃ©is, estoy refactorizando cÃ³digo y haciÃ©ndolo mÃ¡s legible y bueno he hecho varios cambios, entre ellos uno que me estÃ¡ dando un “leve” dolor de cabeza. VerÃ©is necesito controlar con un flag cuando se pue…

---

## [IronRuby 1.0 and Asp.Net MVC preview 4 Questions](https://www.ruby-forum.com/t/ironruby-1-0-and-asp-net-mvc-preview-4-questions/142559)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 7\
**Last updated:** [July 21, 2008, 12:34pm UTC](https://www.ruby-forum.com/t/ironruby-1-0-and-asp-net-mvc-preview-4-questions/142559 "2008-07-21T12:34:04Z")

</div>

Hi, May i know, how many months are we still far from IronRuby 1.0…? I understand Asp.Net MVC preview 4 will support IronRuby. What type of support will it be… Beta 1.0 or just a simple working solution with not much…

---

## [Upgrading released JRuby versions to rubygems 1.2](https://www.ruby-forum.com/t/upgrading-released-jruby-versions-to-rubygems-1-2/141506)

<div class="topic-metadata">

**Author:** [@vovka](https://www.ruby-forum.com/u/vovka)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 1:46am UTC](https://www.ruby-forum.com/t/upgrading-released-jruby-versions-to-rubygems-1-2/141506 "2008-06-27T01:46:50Z")

</div>

Hi folks, By now you’ve probably heard some good news about rubygems 1.2, about its major speed up and significant reduction of memory requirements (for me the memory use dropped from 600Mb to 40Mb!). JRuby 1.1.3 will …

---

## [Acts\_as\_taggable, anomalia](https://www.ruby-forum.com/t/acts-as-taggable-anomalia/90315)

<div class="topic-metadata">

**Author:** [@stb](https://www.ruby-forum.com/u/stb)\
**Replies:** 7\
**Last updated:** [March 28, 2007, 3:13pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-anomalia/90315 "2007-03-28T15:13:53Z")

</div>

Ciao, non so perchè ma non mi funziona più un pezzo di codice. tento di salvare i tags usando il gem acts\_as\_taggable in questo modo session\[:travel\].tag = params\[:tags\] e mi retituisce questo errore, la cosa strana …

---

## [Instal plugin auth\_generator](https://www.ruby-forum.com/t/instal-plugin-auth-generator/71425)

<div class="topic-metadata">

**Author:** [@marsatax](https://www.ruby-forum.com/u/marsatax)\
**Replies:** 7\
**Last updated:** [October 9, 2006, 9:26pm UTC](https://www.ruby-forum.com/t/instal-plugin-auth-generator/71425 "2006-10-09T21:26:41Z")

</div>

bonjour à tous je rencontre un petit soucis pour installer ce generator (au passage si vous connaissez d’autres gestionnaires d’utilisateurs en dehors de celui-ci et de LoginEngine, vous pouvez le signaler) Donc ap…

---

## [Click a javascript dialog window in Firefox](https://www.ruby-forum.com/t/click-a-javascript-dialog-window-in-firefox/191576)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 8\
**Last updated:** [August 13, 2010, 3:05pm UTC](https://www.ruby-forum.com/t/click-a-javascript-dialog-window-in-firefox/191576 "2010-08-13T15:05:38Z")

</div>

Hi, I’m trying to click a dialog box in Firefox but all the code I found is not working. I have watir and firewatir 1.6.5 Thanks

---

## [Ruby Q's](https://www.ruby-forum.com/t/ruby-qs/140504)

<div class="topic-metadata">

**Author:** [@basic](https://www.ruby-forum.com/u/basic)\
**Replies:** 8\
**Last updated:** [November 3, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/ruby-qs/140504 "2008-11-03T13:49:17Z")

</div>

Hi I’ve been doing rails for a while, which was really my first introduction to ruby. I’ve found my self using ruby more and more and keep amazing my self about how cool it is, although I’ve got a few questions, or ra…

---

## [Debugging Ruby Core](https://www.ruby-forum.com/t/debugging-ruby-core/149283)

<div class="topic-metadata">

**Author:** [@saladinmundi](https://www.ruby-forum.com/u/saladinmundi)\
**Replies:** 8\
**Last updated:** [October 2, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/debugging-ruby-core/149283 "2008-10-02T16:50:13Z")

</div>

Hello everyone, is there a debugger which I could use for debugging the C-Core if I modify it? Thanks so much, sala

---

## [Setting up shared hosting on dedicated server](https://www.ruby-forum.com/t/setting-up-shared-hosting-on-dedicated-server/114735)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/setting-up-shared-hosting-on-dedicated-server/114735 "2007-09-25T23:10:29Z")

</div>

I have read Ezra’s book and the O’Reilly shortcuts and various other resources on the Net and most assume you have one app which you deploy to shared host, VPS or dedicated host. Our situation is that we have an ASP a…

---

## [File download results in "110: Connection timed out" on nginx; Download continues until Linux Kernel](https://www.ruby-forum.com/t/file-download-results-in-110-connection-timed-out-on-nginx-download-continues-until-linux-kernel/243970)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 30, 2016, 2:29pm UTC](https://www.ruby-forum.com/t/file-download-results-in-110-connection-timed-out-on-nginx-download-continues-until-linux-kernel/243970 "2016-01-30T14:29:54Z")

</div>

Hello everyone, when trying to download a static file using curl with a limit rate of 4000 (to simulate slow consumers) the download aborts after a certain time. A workaround to make that work is to increase the send\_…

---

## [Nokogiri::XML::NodeSet#to\_html is not doing pretty printing](https://www.ruby-forum.com/t/nokogiri-nodeset-to-html-is-not-doing-pretty-printing/239353)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 23, 2014, 2:15pm UTC](https://www.ruby-forum.com/t/nokogiri-nodeset-to-html-is-not-doing-pretty-printing/239353 "2014-02-23T14:15:21Z")

</div>

Can the below output be pretty-print ? require ‘nokogiri’ doc = Nokogiri::HTML::DocumentFragment.parse(\<\<-html) First Second Third html nodeset = doc.css(“p”) new\_node = Nokogiri::XML::Node.new(‘span’,doc) new\_n…

---

## [Easy Jruby Portable on USB](https://www.ruby-forum.com/t/easy-jruby-portable-on-usb/208330)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 16, 2011, 6:27am UTC](https://www.ruby-forum.com/t/easy-jruby-portable-on-usb/208330 "2011-06-16T06:27:26Z")

</div>

Just an FYI if it helps. I found an easy way to make a fully portable USB version of Jruby with a portable shell to easily manage your jruby. Download jruby as usual from jruby.org the zip file http://jruby.org.s3.am…

---

## [Encriptar desencriptar con clave propia , que funcion o donde puedo encontrara informaci Ã³n?](https://www.ruby-forum.com/t/encriptar-desencriptar-con-clave-propia-que-funcion-o-donde-puedo-encontrara-informaci-a-n/142330)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 2\
**Last updated:** [July 7, 2008, 2:25am UTC](https://www.ruby-forum.com/t/encriptar-desencriptar-con-clave-propia-que-funcion-o-donde-puedo-encontrara-informaci-a-n/142330 "2008-07-07T02:25:06Z")

</div>

necesito encriptar algunos campos de una tabla , ya se como hacerlo a nivel de ruby on Rails, pero no encuentro la función para hacerlo Gracias Angel Mauricio Pino G removed\_email\_address@domain.invalid Movil: 08-577…

---

## [Error when running GNU radio built from script](https://www.ruby-forum.com/t/error-when-running-gnu-radio-built-from-script/242973)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 13, 2015, 8:23pm UTC](https://www.ruby-forum.com/t/error-when-running-gnu-radio-built-from-script/242973 "2015-08-13T20:23:32Z")

</div>

Dear, I installed GNU radio from build\_gnuradio script successful. Then I tried a simple FM receiver and I got this warning : UHD Warning: Could not locate USRP1 firmware. Please run: “/usr/local/lib/uhd/utils/uhd\_i…

---

## [Working on IronRuby visual studio tools](https://www.ruby-forum.com/t/working-on-ironruby-visual-studio-tools/207325)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 25, 2011, 10:19pm UTC](https://www.ruby-forum.com/t/working-on-ironruby-visual-studio-tools/207325 "2011-05-25T22:19:05Z")

</div>

Re-post of this email as it accidentally was sent as a reply to someone else’s… Oops I’m hoping to do some work to fix some of the bugs in IronRuby’s visual studio integration, but I’m having a few issues getting a dev …

---

## ["has already been taken" on empty field](https://www.ruby-forum.com/t/has-already-been-taken-on-empty-field/197528)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 15, 2010, 11:13pm UTC](https://www.ruby-forum.com/t/has-already-been-taken-on-empty-field/197528 "2010-10-15T23:13:17Z")

</div>

I have a form to add clients and enter their email. The email is not required but should be unique, so I have this at the model. CLIENT validates :email, :uniqueness =\> true Some clients have NO email on record. So w…

---

## [Why ruby license?](https://www.ruby-forum.com/t/why-ruby-license/165113)

<div class="topic-metadata">

**Author:** [@kallep](https://www.ruby-forum.com/u/kallep)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/why-ruby-license/165113 "2009-04-10T13:10:22Z")

</div>

All these different licenses makes me confused. As I been understand it you may choose a GPL license or Ruby’s own license. The GPL license is not compatible with, for example, the MTT license which Rail is released …

---

## [Disabling static file lookups?](https://www.ruby-forum.com/t/disabling-static-file-lookups/155461)

<div class="topic-metadata">

**Author:** [@Cody\_Caughlan](https://www.ruby-forum.com/u/Cody_Caughlan)\
**Replies:** 3\
**Last updated:** [December 12, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/disabling-static-file-lookups/155461 "2008-12-12T18:11:03Z")

</div>

In looking at a running mongrel process in strace and at the code itself Mongrel will always look for a file under “public” (with and without a .html extension). When those filesystem lookups fail, it then passes the …

---

## [MS SQL server connection problems](https://www.ruby-forum.com/t/ms-sql-server-connection-problems/51691)

<div class="topic-metadata">

**Author:** [@jeet](https://www.ruby-forum.com/u/jeet)\
**Replies:** 3\
**Last updated:** [January 6, 2006, 4:04am UTC](https://www.ruby-forum.com/t/ms-sql-server-connection-problems/51691 "2006-01-06T04:04:15Z")

</div>

I am trying to connect to a remote sql server and I am getting the following error: c:/ruby/lib/ruby/site\_ruby/1.8/DBD/ADO/ADO.rb:57:in connect': Open (DBI::Databa seError) OLE error code:80004005 in Microsoft OLE…

---

## [Beginners question](https://www.ruby-forum.com/t/beginners-question/243558)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 13, 2019, 7:30pm UTC](https://www.ruby-forum.com/t/beginners-question/243558 "2019-08-13T19:30:33Z")

</div>

As the title says my questions may seem obvious at first as I’m self teaching myself how to program and I’m taking the first steps as of now. In the context: Print( 'Enter your name: ’ ) Name = gets() Puts( “Hello #…

---

## [Ruby and Rails stop working after restarting Linux server](https://www.ruby-forum.com/t/ruby-and-rails-stop-working-after-restarting-linux-server/244468)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [April 17, 2016, 6:06pm UTC](https://www.ruby-forum.com/t/ruby-and-rails-stop-working-after-restarting-linux-server/244468 "2016-04-17T18:06:56Z")

</div>

Hey, I used rbenv to install the latest version of ruby. Then I use “gem install rails -v 4.2.4” to add rails. I install a few other gems and then setup the web app in question (in this case it’s Redmine). After I co…

---

## [Rendering partial from button click, not passing locals?](https://www.ruby-forum.com/t/rendering-partial-from-button-click-not-passing-locals/181244)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 5\
**Last updated:** [January 8, 2010, 5:25pm UTC](https://www.ruby-forum.com/t/rendering-partial-from-button-click-not-passing-locals/181244 "2010-01-08T17:25:38Z")

</div>

I wrote the relevant code in this pastie: http://pastie.org/770642 (it’s not too much code – but it looks a ton better than black on white!) And here is the bit from my log: Processing UltrasoundsController#index (f…

---

## [Aktive Ruby (on Rails) Usergroups in Deutschland](https://www.ruby-forum.com/t/aktive-ruby-on-rails-usergroups-in-deutschland/162323)

<div class="topic-metadata">

**Author:** [@roland](https://www.ruby-forum.com/u/roland)\
**Replies:** 5\
**Last updated:** [March 9, 2009, 7:55am UTC](https://www.ruby-forum.com/t/aktive-ruby-on-rails-usergroups-in-deutschland/162323 "2009-03-09T07:55:01Z")

</div>

Hallo, für einen Artikel auf RailsMagazin.de suche ich eine möglichst aktuelle Liste von aktiven Ruby und Ruby on Rails Nutzergruppen in Deutschland. Ziel des Artikels soll es sein sowohl neue Anwender als auch Entsch…

---

## [Route\_to to test root route](https://www.ruby-forum.com/t/route-to-to-test-root-route/195732)

<div class="topic-metadata">

**Author:** [@anagri](https://www.ruby-forum.com/u/anagri)\
**Replies:** 1\
**Last updated:** [September 29, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/route-to-to-test-root-route/195732 "2010-09-29T12:51:14Z")

</div>

I am working on a Rails 3 application using RSPec 2.beta.20. I am having the following routes in my routes.rb routes.rb resources :projects root :to =\> ‘projects#index’ I am trying to test both the routes. But while …

---

## [Dynamic upstream configuration](https://www.ruby-forum.com/t/dynamic-upstream-configuration/228305)

<div class="topic-metadata">

**Author:** [@mamoos1](https://www.ruby-forum.com/u/mamoos1)\
**Replies:** 4\
**Last updated:** [May 13, 2013, 3:07pm UTC](https://www.ruby-forum.com/t/dynamic-upstream-configuration/228305 "2013-05-13T15:07:47Z")

</div>

Hi, I have an nginx configured as a reverse proxy using proxy\_pass. This is a dynamic reverse proxy, it fetches content for users in accordance to the HOST header in the requests. The problem I encountered is that t…

---

## [How does request.host get set?](https://www.ruby-forum.com/t/how-does-request-host-get-set/143545)

<div class="topic-metadata">

**Author:** [@Reynard](https://www.ruby-forum.com/u/Reynard)\
**Replies:** 4\
**Last updated:** [July 20, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/how-does-request-host-get-set/143545 "2008-07-20T17:57:51Z")

</div>

how does request.host get set? Is there a way to manually set the value in request.host? I have several application servers running rails, each has its own internal address in the request.host, so when calling redirec…

---

## [One Model, multiple tables](https://www.ruby-forum.com/t/one-model-multiple-tables/67373)

<div class="topic-metadata">

**Author:** [@bithai80](https://www.ruby-forum.com/u/bithai80)\
**Replies:** 4\
**Last updated:** [February 3, 2007, 8:10am UTC](https://www.ruby-forum.com/t/one-model-multiple-tables/67373 "2007-02-03T08:10:05Z")

</div>

Hi, Is there a clean way I could use one model and controller, but maps to different physical tables? For example, I have a large photo site, broken down into type “A” and type “B” such as siteA.mysite.com and siteB.…

---

## [Exec() not returning to ruby](https://www.ruby-forum.com/t/exec-not-returning-to-ruby/63880)

<div class="topic-metadata">

**Author:** [@craig\_b](https://www.ruby-forum.com/u/craig_b)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 5:13am UTC](https://www.ruby-forum.com/t/exec-not-returning-to-ruby/63880 "2006-06-22T05:13:54Z")

</div>

I’ve got some code like this: sources = File.new ‘file\_list.txt’ sources.each do |src| exec “mkdir #{some\_dest}” unless File.exists some\_dest exec “svn export #{src} #{some\_dest}” end puts ‘Done.’ The problem is t…

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

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