# Top

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

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

---

## [Comments are not being nested](https://www.ruby-forum.com/t/comments-are-not-being-nested/222891)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [September 14, 2012, 12:01am UTC](https://www.ruby-forum.com/t/comments-are-not-being-nested/222891 "2012-09-14T00:01:32Z")

</div>

So for the convenience of all I have posted my code on gist. I am having issues using the ancestry gem to nest comments. the issue is that said comment does not nest under the parent comment, instead it is added to th…

---

## [Moving bug tracker to Github](https://www.ruby-forum.com/t/moving-bug-tracker-to-github/210621)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 12, 2011, 9:49am UTC](https://www.ruby-forum.com/t/moving-bug-tracker-to-github/210621 "2011-08-12T09:49:21Z")

</div>

Hello, Today, we’ve closed our LightHouse account and moved our bug tracker to Github. This decision was motivated by both Github ticketing system maturity and the will to centralize things. You can now open bugs at I…

---

## [A few words on development](https://www.ruby-forum.com/t/a-few-words-on-development/207084)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [May 23, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/a-few-words-on-development/207084 "2011-05-23T13:23:38Z")

</div>

The other week, I made a post on my webpage about people not using GNU Radio enough, which sparked off quite an interesting debate on the mailing list. Just the other day, I went and pushed out some simple examples u…

---

## [Routes - Preventing a Match](https://www.ruby-forum.com/t/routes-preventing-a-match/169612)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 8\
**Last updated:** [June 6, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/routes-preventing-a-match/169612 "2009-06-06T17:53:12Z")

</div>

The result that I’m trying to achieve is that URLs that begin with ‘/ static’ do not get mapped. My thought is that it sure would be nice if I could somehow say that if a URL begins with ‘/static’ simply abandon any f…

---

## [I want to Use each block only a certain # of times](https://www.ruby-forum.com/t/i-want-to-use-each-block-only-a-certain-of-times/142598)

<div class="topic-metadata">

**Author:** [@THEBIGO](https://www.ruby-forum.com/u/THEBIGO)\
**Replies:** 8\
**Last updated:** [July 9, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/i-want-to-use-each-block-only-a-certain-of-times/142598 "2008-07-09T20:15:34Z")

</div>

I’m a newb with a simple question I have been researching everywhere I have a block \<% @current\_user.calls.each do |c| % \<%= link\_to c.name, etc,blah blah blah -%\> \<& end %\> and it does this for all the current\_use…

---

## [Mensajes de Error?](https://www.ruby-forum.com/t/mensajes-de-error/136410)

<div class="topic-metadata">

**Author:** [@Manuel\_P](https://www.ruby-forum.com/u/Manuel_P)\
**Replies:** 8\
**Last updated:** [May 2, 2008, 2:22am UTC](https://www.ruby-forum.com/t/mensajes-de-error/136410 "2008-05-02T02:22:18Z")

</div>

Existe alguna forma de que los mensajes de error que envia rails los pueda personalizar, es decir, que yo escriba lo que yo quiera??? Por ejemplo a mi me sale este mensaje 2 errors prohibited this suscripcione from b…

---

## [Prueba no leer](https://www.ruby-forum.com/t/prueba-no-leer/128534)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 8\
**Last updated:** [February 9, 2008, 2:44pm UTC](https://www.ruby-forum.com/t/prueba-no-leer/128534 "2008-02-09T14:44:29Z")

</div>

no leer

---

## [Anyone know how to add an element to a object instance variable and not overwrite it?](https://www.ruby-forum.com/t/anyone-know-how-to-add-an-element-to-a-object-instance-variable-and-not-overwrite-it/122999)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 8\
**Last updated:** [December 15, 2007, 1:49am UTC](https://www.ruby-forum.com/t/anyone-know-how-to-add-an-element-to-a-object-instance-variable-and-not-overwrite-it/122999 "2007-12-15T01:49:41Z")

</div>

Heres the code Im using: for admirer in @admirers @avatars =||(??) Avatar.find(:all, :conditions =\> { :user\_id =\> admirer.admirer\_id, :thumbnail =\> ‘tiny’ }) end I want to add a new Avatar object to @avatars for eac…

---

## [Complex Javascipt Stopped Working after AJAX Call](https://www.ruby-forum.com/t/complex-javascipt-stopped-working-after-ajax-call/80910)

<div class="topic-metadata">

**Author:** [@alatmeth](https://www.ruby-forum.com/u/alatmeth)\
**Replies:** 8\
**Last updated:** [January 2, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/complex-javascipt-stopped-working-after-ajax-call/80910 "2007-01-02T18:33:46Z")

</div>

This has to be the weirdest problem ever. I will be as specific as possible. Let’s say I have a partial “\_profile.rhtml”. It is first displayed in “user.rhtml” using: \<…\> \<%= render :partial=\>'profile' %\> \<...\> A…

---

## [UK Hosting](https://www.ruby-forum.com/t/uk-hosting/72336)

<div class="topic-metadata">

**Author:** [@tekin](https://www.ruby-forum.com/u/tekin)\
**Replies:** 8\
**Last updated:** [October 17, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/uk-hosting/72336 "2006-10-17T13:41:27Z")

</div>

Hi. Have run a search on the group with no joy, currently in the market for some hosting but would like it to be UK based. Any recommendations? Tekin

---

## [Question: formatting strings from array for text files](https://www.ruby-forum.com/t/question-formatting-strings-from-array-for-text-files/97373)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 8\
**Last updated:** [July 6, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/question-formatting-strings-from-array-for-text-files/97373 "2006-07-06T19:56:45Z")

</div>

I’m not sure who to have an array format correctly when written to a text file. Doing something like myarray = \[‘five’,‘four’,‘three’,‘two’,‘one’\] works almost correctly but myarray = \[’…/./\*.docs’\] seems to write t…

---

## [Session weirdness](https://www.ruby-forum.com/t/session-weirdness/47892)

<div class="topic-metadata">

**Author:** [@jdell](https://www.ruby-forum.com/u/jdell)\
**Replies:** 8\
**Last updated:** [November 14, 2005, 11:38pm UTC](https://www.ruby-forum.com/t/session-weirdness/47892 "2005-11-14T23:38:36Z")

</div>

Hi, If I put @fname = session\[:user\].first\_name in the initialize method of a controller, I get nil ojbect error. However, when I put the exact same code in the template called by that controller (hard-coded initial…

---

## [Full-duplex](https://www.ruby-forum.com/t/full-duplex/239980)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 23, 2014, 6:47pm UTC](https://www.ruby-forum.com/t/full-duplex/239980 "2014-03-23T18:47:51Z")

</div>

I want to use 2 Laptops with GNU Radio installed & 2 USRPs , but I want a full duplex OFDM link so each USRP will work as a TX & RX . How to do a Full-duplex traffic ? will I need to make a new block on GNU Radio to…

---

## [CSS 404 Error](https://www.ruby-forum.com/t/css-404-error/222336)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 9, 2014, 2:18pm UTC](https://www.ruby-forum.com/t/css-404-error/222336 "2014-01-09T14:18:35Z")

</div>

HI, Ngix giving ‘404 Not Found’ error when I am trying to access the below url: http://mysite.com/skin/frontend/tester/default/css/styles-ie.css’ but at the same time I can access php file from the same locaiton: ht…

---

## [Problem trying to build Ruby 1.9.3-p286 on PC-BSD](https://www.ruby-forum.com/t/problem-trying-to-build-ruby-1-9-3-p286-on-pc-bsd/223769)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 26, 2012, 9:31am UTC](https://www.ruby-forum.com/t/problem-trying-to-build-ruby-1-9-3-p286-on-pc-bsd/223769 "2012-10-26T09:31:02Z")

</div>

Hi, I’m trying to build ruby 1.9.3-p286 on PC-BSD, but it hangs while trying to generate the Makefile during the ‘configure’ step for some reason. Here’s the output: checking build system type… i386-unknown-freebsd8.…

---

## [String iterate through regex matches with possition](https://www.ruby-forum.com/t/string-iterate-through-regex-matches-with-possition/222815)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 11, 2012, 10:48pm UTC](https://www.ruby-forum.com/t/string-iterate-through-regex-matches-with-possition/222815 "2012-09-11T22:48:08Z")

</div>

Hi, First of all sorry if this a duplicate question ( I have scanned through the last answers regarding regex and didn’t get any ideas ). I am scanning a string in order to detect correctly formed “records” in it. A…

---

## [TCPServer in 1.9.2](https://www.ruby-forum.com/t/tcpserver-in-1-9-2/211612)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 9, 2011, 7:31am UTC](https://www.ruby-forum.com/t/tcpserver-in-1-9-2/211612 "2011-09-09T07:31:38Z")

</div>

Hi. First post in this group and I hope someone can help. I am trying to teach myself Ruby with a long-term goal of doing some web development using Ruby on Rails. Note: version C:\\rails\\hello\>ruby -v ruby 1.9.2p290…

---

## [Nginx, spawn-fcgi and php on freebsd - adding '/' incorrectly](https://www.ruby-forum.com/t/nginx-spawn-fcgi-and-php-on-freebsd-adding-incorrectly/202462)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 31, 2011, 12:09am UTC](https://www.ruby-forum.com/t/nginx-spawn-fcgi-and-php-on-freebsd-adding-incorrectly/202462 "2011-01-31T00:09:20Z")

</div>

hello, i have nginx setup, but i have a weird problem and i am unsure whether it is to do with the application or something i messed up on the nginx.conf file: server { listen 87.98.133.231:80; ser…

---

## [Error creating model object using accepts\_nested\_attributes\_for](https://www.ruby-forum.com/t/error-creating-model-object-using-accepts-nested-attributes-for/199766)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 1, 2010, 5:27am UTC](https://www.ruby-forum.com/t/error-creating-model-object-using-accepts-nested-attributes-for/199766 "2010-12-01T05:27:25Z")

</div>

Folks, I am on Rails 2.3.8. I have models declared as below class GradeSection \< ActiveRecord::Base has\_many :class\_calendars end class ClassCalendar \< ActiveRecord::Base has\_many :uploaded\_attachments, :class\_n…

---

## [Dynamic collection\_select](https://www.ruby-forum.com/t/dynamic-collection-select/178688)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 4\
**Last updated:** [November 9, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/dynamic-collection-select/178688 "2009-11-09T20:07:03Z")

</div>

Hello all, I’m very new to Ruby and web programming at all. I’m trying to get a page where I can have a series of drop downs that are all columns within the main table of my database. When you drop one down, and sel…

---

## [How can I handle a java bean in rails?](https://www.ruby-forum.com/t/how-can-i-handle-a-java-bean-in-rails/177149)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 4\
**Last updated:** [October 15, 2009, 9:30am UTC](https://www.ruby-forum.com/t/how-can-i-handle-a-java-bean-in-rails/177149 "2009-10-15T09:30:04Z")

</div>

Hi, I have to interface (using SOAP) with an external system. Most of the methods respond with a java bean. Look like it was done expecting java on the client side always. My question is, how can I interface with tha…

---

## [Getting an average of a column per day](https://www.ruby-forum.com/t/getting-an-average-of-a-column-per-day/173709)

<div class="topic-metadata">

**Author:** [@ryank](https://www.ruby-forum.com/u/ryank)\
**Replies:** 4\
**Last updated:** [August 14, 2009, 12:14am UTC](https://www.ruby-forum.com/t/getting-an-average-of-a-column-per-day/173709 "2009-08-14T00:14:36Z")

</div>

I’m trying to generate a report for the average number of calls a person makes per-day. The following generates the correct list, but if a user didn’t make any calls a certain day it doesn’t show up. from\_date = Time.…

---

## [Basic help](https://www.ruby-forum.com/t/basic-help/163329)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 4\
**Last updated:** [March 20, 2009, 4:57am UTC](https://www.ruby-forum.com/t/basic-help/163329 "2009-03-20T04:57:47Z")

</div>

Hi All, Just now I installed rspec1.2.0 and dependencies Tried the 2 programs mentioned in http://rspec.info/. bowling\_spec.rb require ‘bowling’ describe Bowling do before(:each) do @bowling = Bowling.new e…

---

## [\[ANN\] JRuby 1.2.0RC1 Released](https://www.ruby-forum.com/t/ann-jruby-1-2-0rc1-released/161287)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 4\
**Last updated:** [February 25, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/ann-jruby-1-2-0rc1-released/161287 "2009-02-25T23:39:33Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.2.0RC1 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.2.0RC1 has fixed many many compatibility issues and continued …

---

## [Kernel.xxx interferes with method\_missing](https://www.ruby-forum.com/t/kernel-xxx-interferes-with-method-missing/159239)

<div class="topic-metadata">

**Author:** [@axyd80](https://www.ruby-forum.com/u/axyd80)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/kernel-xxx-interferes-with-method-missing/159239 "2009-02-02T19:01:10Z")

</div>

Hello! I’m using method\_missing to create DSL, the problem is that Kernel.xxx methods are interferes with it. How this issue can be solved? It seems that one solution is to explicitly define all global methods (p, s…

---

## [Nuovo su ruby - problema con destroy has\_and\_belong\_to\_many](https://www.ruby-forum.com/t/nuovo-su-ruby-problema-con-destroy-has-and-belong-to-many/157465)

<div class="topic-metadata">

**Author:** [@aleee\_it](https://www.ruby-forum.com/u/aleee_it)\
**Replies:** 4\
**Last updated:** [January 12, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/nuovo-su-ruby-problema-con-destroy-has-and-belong-to-many/157465 "2009-01-12T18:38:31Z")

</div>

Ciao, prima volta che scrivo, e sto un po’ studiando questo linguaggio, quindi scusate in anticipo se la domanda fosse banale (ma non sono riuscito a trovare risposta) Il problema Ã¨ questo, io ho 2 modelli che sono l…

---

## [Et charsruby](https://www.ruby-forum.com/t/et-charsruby/157500)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://www.ruby-forum.com/u/Nicolas_G)\
**Replies:** 4\
**Last updated:** [January 12, 2009, 2:26pm UTC](https://www.ruby-forum.com/t/et-charsruby/157500 "2009-01-12T14:26:44Z")

</div>

bonjour et meilleurs voeux Ã tous j’ai une erreur, connue apparement, avec une migration d’une appli ROR 2.1 /ruby 1.8.6 vers ror 2.2.2/ruby 1.8.7 toutes les chaines sur lesquelles j’applique . chars me ressortent …

---

## [Baumdarstellung](https://www.ruby-forum.com/t/baumdarstellung/145847)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 4\
**Last updated:** [August 14, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/baumdarstellung/145847 "2008-08-14T15:15:29Z")

</div>

Hallo, das ist jetzt nicht direkt eine Rails-Frage, aber ich stelle sie trotzdem mal. Ich suche fÃ¼r eine Anwendung die MÃ¶glichkeit eine Baumstruktur in javascript dynamisch darzustellen und zu editieren. Es wÃ¤re…

---

## [Llamando mÃ©todos](https://www.ruby-forum.com/t/llamando-ma-todos/144719)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 4\
**Last updated:** [August 1, 2008, 8:09pm UTC](https://www.ruby-forum.com/t/llamando-ma-todos/144719 "2008-08-01T20:09:10Z")

</div>

hola de nuevo repasando mi cÃ³digo me di cuenta d elo siguiente tengo un formualrio en la vista new \<% form\_for (@empresa), :url=\>{:controller =\>:empresas, :action =\> :crea} do |f| %\> ... \<%= f.submit "…

---

## [Rake mspec](https://www.ruby-forum.com/t/rake-mspec/139618)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 4\
**Last updated:** [June 5, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/rake-mspec/139618 "2008-06-05T21:48:18Z")

</div>

Running mspec.rb directly via ir doesn’t work either… D:\\dev\\ruby\\ironruby\\head\\tests\\ironruby\\Specs\>…\\build\\debug\\ir mspec.rb D:\\dev\\ruby\\ironruby\\head\\src\\IronRuby.Libraries\\Builtins\\KernelOps.cs:300:i n \`require’:…

---

## [Sortierungsfrage](https://www.ruby-forum.com/t/sortierungsfrage/129325)

<div class="topic-metadata">

**Author:** [@Torsten\_F](https://www.ruby-forum.com/u/Torsten_F)\
**Replies:** 4\
**Last updated:** [February 17, 2008, 8:56am UTC](https://www.ruby-forum.com/t/sortierungsfrage/129325 "2008-02-17T08:56:09Z")

</div>

Hallo zusammen, ich habe da eine Frage: mein User-Model hat eine Beziehung zu Bildern zu einem User. Wie kann ich nun die Bilder sortieren, wenn ich über die User iteriere? Code: \<% @user.images.each do |img| %\> So…

---

## [Question about hsh.each\_pair](https://www.ruby-forum.com/t/question-about-hsh-each-pair/126863)

<div class="topic-metadata">

**Author:** [@silvertab](https://www.ruby-forum.com/u/silvertab)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/question-about-hsh-each-pair/126863 "2008-01-22T22:21:42Z")

</div>

I was wondering if the hash.each\_pair function messes with the order of my hash? I am using it to parse some text and replace html entities and apparently it changes the order of my hash before iterating each pairs… …

---

## [Make AR setter methods private?](https://www.ruby-forum.com/t/make-ar-setter-methods-private/123342)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 4\
**Last updated:** [December 16, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/make-ar-setter-methods-private/123342 "2007-12-16T21:51:56Z")

</div>

Hi, I have a AR model that I want to limit changes to be only via instance methods that I’ve added. How do I prevent my other sw from setting the instance’s attributes? I know about #attr\_protected and #attr\_readonly.…

---

## [Best way to create Bignum from C extension](https://www.ruby-forum.com/t/best-way-to-create-bignum-from-c-extension/115492)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 4\
**Last updated:** [September 26, 2007, 9:47pm UTC](https://www.ruby-forum.com/t/best-way-to-create-bignum-from-c-extension/115492 "2007-09-26T21:47:15Z")

</div>

I’ve been hand-translating some Ruby code into C for an extension and have come across the need to create and return a Bignum from the extension. I see that there is a macro INT2NUM that will produce a Bignum from lon…

---

## [How I Import file CSV into database](https://www.ruby-forum.com/t/how-i-import-file-csv-into-database/87378)

<div class="topic-metadata">

**Author:** [@watxit](https://www.ruby-forum.com/u/watxit)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 3:58am UTC](https://www.ruby-forum.com/t/how-i-import-file-csv-into-database/87378 "2007-03-06T03:58:58Z")

</div>

Hi there. I don’t know how to Import CSV file into my database.Can you help me code it.thks

---

## [RSS Guid Field](https://www.ruby-forum.com/t/rss-guid-field/100255)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 4\
**Last updated:** [August 1, 2006, 5:32am UTC](https://www.ruby-forum.com/t/rss-guid-field/100255 "2006-08-01T05:32:15Z")

</div>

Can anyone give me a hint on the syntax for adding a guid field while using RSS::Maker? I’ve found a way to add it with a regular expression, but I cannot seem to figure out the interface to do it properly. James Ed…

---

## [How to disable textbox in Ruby?](https://www.ruby-forum.com/t/how-to-disable-textbox-in-ruby/94588)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 4\
**Last updated:** [May 8, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/how-to-disable-textbox-in-ruby/94588 "2006-05-08T17:47:17Z")

</div>

Hi, I want to disable textbox in my page so that user can not modify its contents. How can we do that in ruby? Thanx, Prash

---

## [Da blocco a codice](https://www.ruby-forum.com/t/da-blocco-a-codice/94268)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 4\
**Last updated:** [April 27, 2006, 2:03pm UTC](https://www.ruby-forum.com/t/da-blocco-a-codice/94268 "2006-04-27T14:03:09Z")

</div>

Qualcuno di voi ha idea su come trasformare un block in una stringa contente il suo codice? mi serve per poter iniettare nuovo codice nel blocco per una DSL. mi servono i binding del blocco, quindi non posso semplice…

---

## [Submitting data to two different tables with two different m](https://www.ruby-forum.com/t/submitting-data-to-two-different-tables-with-two-different-m/102584)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 4\
**Last updated:** [March 5, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/submitting-data-to-two-different-tables-with-two-different-m/102584 "2006-03-05T15:19:34Z")

</div>

I’m very new to Rails. I’ve been reading Agile Web Dev for a while and read up on ruby, but I’m still learning. I designed a website for someone for an engineering shop. New projects had to be added manually. Well,…

---

## [Some security vulnerable](https://www.ruby-forum.com/t/some-security-vulnerable/207885)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [June 5, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/some-security-vulnerable/207885 "2011-06-05T14:18:36Z")

</div>

What do you guys think about implement this into nginx just like it is in apache? if ( $fastcgi\_script\_name ~ ..\*/.\*php ) { return 403; } because without that some servers which allows to upload images are vulnerab…

---

## [Crash with ruby1.9 on 64 bit system](https://www.ruby-forum.com/t/crash-with-ruby1-9-on-64-bit-system/206750)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 11, 2011, 12:58pm UTC](https://www.ruby-forum.com/t/crash-with-ruby1-9-on-64-bit-system/206750 "2011-05-11T12:58:47Z")

</div>

Hello This is my first question on this forum. Previously i was using ruby1.9.2 .After updating the system using pacman which is using arch linux now when I am running my ruby scripts ,i am getting following error in…

---

## [USRP custom hardware suppliers?](https://www.ruby-forum.com/t/usrp-custom-hardware-suppliers/206545)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 9, 2011, 1:12pm UTC](https://www.ruby-forum.com/t/usrp-custom-hardware-suppliers/206545 "2011-05-09T13:12:04Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, are there any manufacturers besides Ettus that offer boards for the USRP or offer custom boards? I would especially be interested in something WBX-y with 5+ or even …

---

## [Location regex](https://www.ruby-forum.com/t/location-regex/178014)

<div class="topic-metadata">

**Author:** [@mathew\_d](https://www.ruby-forum.com/u/mathew_d)\
**Replies:** 6\
**Last updated:** [October 28, 2009, 4:03am UTC](https://www.ruby-forum.com/t/location-regex/178014 "2009-10-28T04:03:26Z")

</div>

Hi. I am having trouble with a location regular expression. location ~\* ^/(library|conf|appg) { return 403; } It is my understanding the following regular expression should match any uri starting with library, c…

---

## [Waiting for 1 connection to finish](https://www.ruby-forum.com/t/waiting-for-1-connection-to-finish/172440)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 6\
**Last updated:** [July 23, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/waiting-for-1-connection-to-finish/172440 "2009-07-23T17:17:22Z")

</div>

For a few days now since a major update on my rails app on the production server, I am getting the following error message when restarting the application: Waiting for 1 connection(s) to finish, can take up to 30 se…

---

## [Compiler preprocessor defines](https://www.ruby-forum.com/t/compiler-preprocessor-defines/152422)

<div class="topic-metadata">

**Author:** [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Replies:** 6\
**Last updated:** [November 4, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/compiler-preprocessor-defines/152422 "2008-11-04T20:40:11Z")

</div>

Is there any preprocessor define (or defines) that can be used when compiling C++ GnuRadio code to differentiate between different OSs? I’ve looked through config.h but didn’t see anything obvious. I need to compile…

---

## [\[Feature #546\] String#gsub $B$H(B Strnig#scan $B$N%V%m%C%/%Q%i%a!\<%?$N0lCW(B](https://www.ruby-forum.com/t/feature-546-string-gsub-b-h-b-strnig-scan-b-n-v-m-c-q-i-a-n0lcw-b/147875)

<div class="topic-metadata">

**Author:** [@Motonori\_IWAMURO](https://www.ruby-forum.com/u/Motonori_IWAMURO)\
**Replies:** 6\
**Last updated:** [September 10, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/feature-546-string-gsub-b-h-b-strnig-scan-b-n-v-m-c-q-i-a-n0lcw-b/147875 "2008-09-10T17:33:20Z")

</div>

Feature #546: String#gsub e$B$He(B Strnig#scan e$B$N%V%m%C%/%Q%i%a!\<%?$N0lCWe(B http://redmine.ruby-lang.org/issues/show/546 e$B5/I\<\<Te(B: Motonori IWAMURO e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal String#gsub e$…

---

## [Error al crear un nuevo caso](https://www.ruby-forum.com/t/error-al-crear-un-nuevo-caso/142525)

<div class="topic-metadata">

**Author:** [@maurocicio](https://www.ruby-forum.com/u/maurocicio)\
**Replies:** 6\
**Last updated:** [July 8, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/error-al-crear-un-nuevo-caso/142525 "2008-07-08T23:49:31Z")

</div>

Estoy creando una app web de control de casos y al intentar dar de alta un nuevo caso este es el error que devuelve: NoMethodError in Caso#list Showing app/views/caso/list.rhtml where line #18 raised: You have a nil…

---

## [Re: new 802.11b receiver](https://www.ruby-forum.com/t/re-new-802-11b-receiver/133491)

<div class="topic-metadata">

**Author:** [@Mohammad\_Hamed\_F](https://www.ruby-forum.com/u/Mohammad_Hamed_F)\
**Replies:** 6\
**Last updated:** [April 2, 2008, 3:58am UTC](https://www.ruby-forum.com/t/re-new-802-11b-receiver/133491 "2008-04-02T03:58:35Z")

</div>

Quoting George N. removed\_email\_address@domain.invalid: USRP2 uses gigabit ethernet George Yes, new USRP will support Gigabit Ethernet, but most computers don’t support that. You have to buy an extra card or busc…

---

## [Problem when editing record in polymorphic relation](https://www.ruby-forum.com/t/problem-when-editing-record-in-polymorphic-relation/124777)

<div class="topic-metadata">

**Author:** [@venu](https://www.ruby-forum.com/u/venu)\
**Replies:** 6\
**Last updated:** [January 2, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/problem-when-editing-record-in-polymorphic-relation/124777 "2008-01-02T16:34:55Z")

</div>

I have the following three models created applying the polymorphic concept class SoftwareCi \< ActiveRecord::Base has\_one :ci, :as =\> :content end class HardwareCi \< ActiveRecord::Base has\_one :ci, :as =\> :content e…

---

## [Nignx vs litespeed](https://www.ruby-forum.com/t/nignx-vs-litespeed/122386)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 6\
**Last updated:** [December 10, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/nignx-vs-litespeed/122386 "2007-12-10T15:16:22Z")

</div>

I’d like to start a discussion on compare and contrast between these two web servers. Has anyone evaluated both? http://nginx.net/ Thanks! Chirag

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

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