# Top

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

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

---

## [&amp in url: this is driving me nuts!](https://www.ruby-forum.com/t/amp-in-url-this-is-driving-me-nuts/70845)

<div class="topic-metadata">

**Author:** [@remcoh](https://www.ruby-forum.com/u/remcoh)\
**Replies:** 8\
**Last updated:** [December 22, 2006, 1:36am UTC](https://www.ruby-forum.com/t/amp-in-url-this-is-driving-me-nuts/70845 "2006-12-22T01:36:58Z")

</div>

hi i have a weird problem: this is my view: \<%= start\_form\_tag :action =\> 'new\_beschikbaarheid', :behandelaar\_id =\>@behandelaar, :year =\> @year%\> behandelaar\<%= collection\_select("behandelaar",'id',Behandelaar.find(…

---

## [Ricaricare le lib in rails](https://www.ruby-forum.com/t/ricaricare-le-lib-in-rails/70733)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 8\
**Last updated:** [October 2, 2006, 3:08pm UTC](https://www.ruby-forum.com/t/ricaricare-le-lib-in-rails/70733 "2006-10-02T15:08:54Z")

</div>

domandina da newbie oggi. in rails, anche in dev mode, mi ritrovo costretto a spegnere/riaccendere per fargli vedere una modifica nelle lib. è piuttosto seccante. voi come fate? –Kia

---

## [Possible name clash?](https://www.ruby-forum.com/t/possible-name-clash/97491)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 8\
**Last updated:** [July 8, 2006, 12:07am UTC](https://www.ruby-forum.com/t/possible-name-clash/97491 "2006-07-08T00:07:21Z")

</div>

Scenario: Table in database has two fields, id and category (table name is: categories) Controller is named category\_controller.rb Model is named category.rb Helper is named category\_helper.rb Form is named list.rh…

---

## [Ruby thread feat. win32 message cycle](https://www.ruby-forum.com/t/ruby-thread-feat-win32-message-cycle/96603)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokS\_She](https://www.ruby-forum.com/u/Victor_SZverokS_She)\
**Replies:** 8\
**Last updated:** [June 30, 2006, 6:26am UTC](https://www.ruby-forum.com/t/ruby-thread-feat-win32-message-cycle/96603 "2006-06-30T06:26:18Z")

</div>

Hi all. I’ve tried the simple code: Thread.new{ runMessageCycle} puts ‘here’ where runMessageCycle is a simple C extension method with Win32 message cycle: static VALUE run(VALUE \_self) { MSG msg; while (::GetMe…

---

## [RoR or Java for community portal?](https://www.ruby-forum.com/t/ror-or-java-for-community-portal/51547)

<div class="topic-metadata">

**Author:** [@hildolfur](https://www.ruby-forum.com/u/hildolfur)\
**Replies:** 8\
**Last updated:** [January 5, 2006, 2:51am UTC](https://www.ruby-forum.com/t/ror-or-java-for-community-portal/51547 "2006-01-05T02:51:44Z")

</div>

Hello Ruby users, let me introduce myself briefly - I am a student at OvG University Magdeburg, Germany, and I hope to get some advice for a nonprofit student community portal I am involved with, just in case somebody…

---

## [Ruby C-API rb\_load\_file, rb\_exec\_node, rb\_run\_node strange return value and Segmentation fault?](https://www.ruby-forum.com/t/ruby-c-api-rb-load-file-rb-exec-node-rb-run-node-strange-return-value-and-segmentation-fault/263520)

<div class="topic-metadata">

**Author:** [@rbcookies](https://www.ruby-forum.com/u/rbcookies)\
**Replies:** 1\
**Last updated:** [December 19, 2022, 6:55pm UTC](https://www.ruby-forum.com/t/ruby-c-api-rb-load-file-rb-exec-node-rb-run-node-strange-return-value-and-segmentation-fault/263520 "2022-12-19T18:55:36Z")

</div>

Hello everyone, I was trying to embed Ruby (3.1.3) into a C++ app using the Ruby C-API. To get started I tested how to load a Ruby script from a file using the rb\_load function like the following main.cpp: #include \<i…

---

## [Log Rotation for 180 days](https://www.ruby-forum.com/t/log-rotation-for-180-days/260578)

<div class="topic-metadata">

**Author:** [@mohali12](https://www.ruby-forum.com/u/mohali12)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 6:03pm UTC](https://www.ruby-forum.com/t/log-rotation-for-180-days/260578 "2020-12-15T18:03:37Z")

</div>

Hi team, I am trying to rotate the logs being created under /logs/\*.log directory for my app. As I am new to ROR so have gone though some stuff and found out:- config.logger = Logger.new(config.paths\["log"\].first, 5, …

---

## [Nginx generating different md5 sums for same key causing cache to become corrupt](https://www.ruby-forum.com/t/nginx-generating-different-md5-sums-for-same-key-causing-cache-to-become-corrupt/244373)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 29, 2016, 3:07pm UTC](https://www.ruby-forum.com/t/nginx-generating-different-md5-sums-for-same-key-causing-cache-to-become-corrupt/244373 "2016-03-29T15:07:33Z")

</div>

Hello, Currently we use nginx 1.8.1 on redhat 7. We have reverse proxy caching enabled but are experiencing unexpected behaviour. Our caching key is $scheme$request\_method$host$request\_uri$. On the first visit to …

---

## [Setting up clock synchronization blocks](https://www.ruby-forum.com/t/setting-up-clock-synchronization-blocks/226701)

<div class="topic-metadata">

**Author:** [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Replies:** 7\
**Last updated:** [April 22, 2013, 10:23am UTC](https://www.ruby-forum.com/t/setting-up-clock-synchronization-blocks/226701 "2013-04-22T10:23:38Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Is this a bug?](https://www.ruby-forum.com/t/is-this-a-bug/195275)

<div class="topic-metadata">

**Author:** [@gjenkins](https://www.ruby-forum.com/u/gjenkins)\
**Replies:** 7\
**Last updated:** [September 21, 2010, 8:39am UTC](https://www.ruby-forum.com/t/is-this-a-bug/195275 "2010-09-21T08:39:16Z")

</div>

for following version: ruby 1.9.1p129 (2009-05-12 revision 23412) \[i386-darwin9.7.0\] irb(main):002:0\> sprintf("%.1f",-1.05) =\> “-1.1” irb(main):003:0\> sprintf("%.1f",-32.05) =\> “-32.0” note the inconsistent roundin…

---

## [Testing my\_form\_for in a FormBuilder test](https://www.ruby-forum.com/t/testing-my-form-for-in-a-formbuilder-test/193805)

<div class="topic-metadata">

**Author:** [@Rafael\_UchSSSSa](https://www.ruby-forum.com/u/Rafael_UchSSSSa)\
**Replies:** 1\
**Last updated:** [August 25, 2010, 2:11am UTC](https://www.ruby-forum.com/t/testing-my-form-for-in-a-formbuilder-test/193805 "2010-08-25T02:11:57Z")

</div>

Hi there, I’m developing a FormBuilder (let’s say LabelledFormBuilder), and I created a helper called labelled\_form\_for to put the “:builder =\> LabelledFormBuilder” in options and call the original form\_for, like sug…

---

## [Case when and class](https://www.ruby-forum.com/t/case-when-and-class/190002)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Replies:** 7\
**Last updated:** [June 11, 2010, 10:59am UTC](https://www.ruby-forum.com/t/case-when-and-class/190002 "2010-06-11T10:59:55Z")

</div>

I’ve found in case / when if the case is about a class : case my\_var.class when String then puts my\_var when Array then my\_var.each {|v| puts v} end doesn’t work i do have to use : case my\_var.class.to\_s when ‘St…

---

## [Seed data](https://www.ruby-forum.com/t/seed-data/185798)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 7\
**Last updated:** [March 29, 2010, 10:25am UTC](https://www.ruby-forum.com/t/seed-data/185798 "2010-03-29T10:25:40Z")

</div>

Hi I am using seed\_fu to seed initial data to tables (GitHub - mbleigh/seed-fu: Advanced seed data handling for Rails, combining the best practices of several methods together.) . And in db/fixtures/state.rb I have va…

---

## [Recommendations for pdf generators](https://www.ruby-forum.com/t/recommendations-for-pdf-generators/185229)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 7\
**Last updated:** [March 17, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/recommendations-for-pdf-generators/185229 "2010-03-17T17:52:51Z")

</div>

hi, everyone, i have googled around for some pdf generators. Found PDF::Writer which is a little dated Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple- ruby-pdf-rails-plugin/ and http://agilewebdevel…

---

## [Select distinct records from an Array](https://www.ruby-forum.com/t/select-distinct-records-from-an-array/180929)

<div class="topic-metadata">

**Author:** [@hugues](https://www.ruby-forum.com/u/hugues)\
**Replies:** 7\
**Last updated:** [January 6, 2010, 9:04pm UTC](https://www.ruby-forum.com/t/select-distinct-records-from-an-array/180929 "2010-01-06T21:04:05Z")

</div>

Hello there, Project is about a personal trainers directory. I would like to create a listing (filter) of available physical exercices to browse the directory by physical exercice. My Models are : class PersonalTrai…

---

## [Gsub help](https://www.ruby-forum.com/t/gsub-help/180163)

<div class="topic-metadata">

**Author:** [@kvetch](https://www.ruby-forum.com/u/kvetch)\
**Replies:** 7\
**Last updated:** [December 14, 2009, 10:21am UTC](https://www.ruby-forum.com/t/gsub-help/180163 "2009-12-14T10:21:40Z")

</div>

I am reading in a file that is basically a csv file but the delimiter is spaces. I am also using fastercsv to parse the file into an array. Before fastercsv reads it I am substituting all spaces into commas with gsub …

---

## [Generare all.js in development](https://www.ruby-forum.com/t/generare-all-js-in-development/175725)

<div class="topic-metadata">

**Author:** [@alesc](https://www.ruby-forum.com/u/alesc)\
**Replies:** 7\
**Last updated:** [September 18, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/generare-all-js-in-development/175725 "2009-09-18T16:07:09Z")

</div>

Qualcuno sa se c’Ã¨ un task rake o un opzione per farlo?

---

## [Per suite unit test setup and teardown](https://www.ruby-forum.com/t/per-suite-unit-test-setup-and-teardown/147100)

<div class="topic-metadata">

**Author:** [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Replies:** 7\
**Last updated:** [September 9, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/per-suite-unit-test-setup-and-teardown/147100 "2008-09-09T16:21:13Z")

</div>

I am putting some tests together that need to access an external service which I can use setup() and teardown() to control. The problem is that these methods are run before and after each test, this slows things down …

---

## [Restful\_authentication and oracle](https://www.ruby-forum.com/t/restful-authentication-and-oracle/145997)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 7\
**Last updated:** [August 20, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/restful-authentication-and-oracle/145997 "2008-08-20T20:50:02Z")

</div>

buenas tardes. amigos de la lista, gracias por apoyarnos. tengo un error con este plugin y oracle, al momento de crear un usuario. el error es el siguiente: OCIError in UsuariosController#create ORA-02289: sequence …

---

## [Memory crush somewhere in Socket](https://www.ruby-forum.com/t/memory-crush-somewhere-in-socket/74036)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 7\
**Last updated:** [October 29, 2006, 2:32pm UTC](https://www.ruby-forum.com/t/memory-crush-somewhere-in-socket/74036 "2006-10-29T14:32:49Z")

</div>

Hi all. I have a very strange and uncommon problem. I have Ruby version 1.9 from 13 oct 2006 on Windows XP. I use some complex library from Ruby (large .dll + C extension I’ve written to talk to DLL from Ruby). All…

---

## [Edit Distance at Wikipedia](https://www.ruby-forum.com/t/edit-distance-at-wikipedia/72316)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 7\
**Last updated:** [October 17, 2006, 10:59am UTC](https://www.ruby-forum.com/t/edit-distance-at-wikipedia/72316 "2006-10-17T10:59:52Z")

</div>

Hi list. I read an article posted at Wikipedia about Levenshtein distance (aka edit distance). The location of the document is In the document, a sample Ruby code goes like the following: class String def levensh…

---

## [ActionMailer cannot use SMTP for email delivery](https://www.ruby-forum.com/t/actionmailer-cannot-use-smtp-for-email-delivery/65162)

<div class="topic-metadata">

**Author:** [@Peter\_Vandenberk](https://www.ruby-forum.com/u/Peter_Vandenberk)\
**Replies:** 1\
**Last updated:** [August 18, 2006, 12:02pm UTC](https://www.ruby-forum.com/t/actionmailer-cannot-use-smtp-for-email-delivery/65162 "2006-08-18T12:02:02Z")

</div>

RoR aficionados, I’ve configured ActionMailer for SMTP delivery of emails, and have configured “config/environment.rb” accordingly, including the address of our (external, but fully operational - checked and double-ch…

---

## [\[ANN\] Ruby In Steel 0.75 now available](https://www.ruby-forum.com/t/ann-ruby-in-steel-0-75-now-available/102269)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/ann-ruby-in-steel-0-75-now-available/102269 "2006-08-15T17:51:55Z")

</div>

{{Version 0.75 of Ruby In Steel}} is now available for download. This release includes significantly enhanced colour coding and collapsing for both Ruby and Rails (RHTML) files and provides support for debugging suppo…

---

## [Re: Strange posting about ebooks](https://www.ruby-forum.com/t/re-strange-posting-about-ebooks/100513)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 7\
**Last updated:** [February 4, 2006, 12:11pm UTC](https://www.ruby-forum.com/t/re-strange-posting-about-ebooks/100513 "2006-02-04T12:11:13Z")

</div>

From: anne001 \[mailto:removed\_email\_address@domain.invalid\] #established earning good salaries who have therefore gotten religion. #Or the others did not say anything. me think that you are honest. that is only what m…

---

## [How to show progress](https://www.ruby-forum.com/t/how-to-show-progress/51501)

<div class="topic-metadata">

**Author:** [@Gerry\_Shaw](https://www.ruby-forum.com/u/Gerry_Shaw)\
**Replies:** 7\
**Last updated:** [January 5, 2006, 1:06pm UTC](https://www.ruby-forum.com/t/how-to-show-progress/51501 "2006-01-05T13:06:48Z")

</div>

I’m looking for ideas on how you would implement a controller/view in Rails that needs to show the progress of a possibly 2-3 minute operation. For example the user wants to generate 100 reports that will take about …

---

## [Header handling](https://www.ruby-forum.com/t/header-handling/243011)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 18, 2015, 1:39am UTC](https://www.ruby-forum.com/t/header-handling/243011 "2015-08-18T01:39:51Z")

</div>

Hi, I have a few questions regarding headers in nginx: I use proxy\_set\_header to pass a header to upstream servers. Is it possible to honor the header if the incoming request already has it? I want to pass the “S…

---

## [Braces vs do/end in 1.9](https://www.ruby-forum.com/t/braces-vs-do-end-in-1-9/208536)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 21, 2011, 6:30am UTC](https://www.ruby-forum.com/t/braces-vs-do-end-in-1-9/208536 "2011-06-21T06:30:45Z")

</div>

Contrived example derived from someone else I know trying to learn the language… In 1.8.x the two fragements below work identically and generate the same output. In 1.9.x these two fragments have different behavior b…

---

## [Send\_file Rails3, Ruby 1.9.2](https://www.ruby-forum.com/t/send-file-rails3-ruby-1-9-2/195994)

<div class="topic-metadata">

**Author:** [@Smashing](https://www.ruby-forum.com/u/Smashing)\
**Replies:** 5\
**Last updated:** [October 18, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/send-file-rails3-ruby-1-9-2/195994 "2010-10-18T21:46:54Z")

</div>

I’m perty new to rails and I have an app where I want to have secure file downloads, so I can’t just drop the files in public/data, I need to use send\_file. I found the post (pasted at bottom) that explained how to do…

---

## [499 errors](https://www.ruby-forum.com/t/499-errors/190210)

<div class="topic-metadata">

**Author:** [@ntran](https://www.ruby-forum.com/u/ntran)\
**Replies:** 5\
**Last updated:** [June 18, 2010, 6:32am UTC](https://www.ruby-forum.com/t/499-errors/190210 "2010-06-18T06:32:34Z")

</div>

We have a Rails app with nginx proxying requests to 2 mongrel servers. I’m seeing a lot of 499 errors crop up, for example: lodgeit.aioi.local-access.log-20100603:192.168.0.50 - - \[02/Jun/2010:09:32:39 +1000\] “GET /?p…

---

## [Inject Loop Syntax](https://www.ruby-forum.com/t/inject-loop-syntax/189367)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [May 30, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/inject-loop-syntax/189367 "2010-05-30T15:32:52Z")

</div>

I wonder if any other languages have any sort of “multiplicative operation” operator. I was thinking about this today b/c sometimes one has to use a block where it would read better if it could be avoided. For example…

---

## [Production Logging with Rails 2.2.2](https://www.ruby-forum.com/t/production-logging-with-rails-2-2-2/162606)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 13, 2009, 4:34am UTC](https://www.ruby-forum.com/t/production-logging-with-rails-2-2-2/162606 "2009-03-13T04:34:11Z")

</div>

I’m having an issue with logging when I run my Rails app in production mode: script/console production Loading production environment (Rails 2.2.2) Rails.logger =\> #\<ActiveSupport::BufferedLogger:0x24e46c8 @auto\_f…

---

## [String#hash](https://www.ruby-forum.com/t/string-hash/157891)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 10:53am UTC](https://www.ruby-forum.com/t/string-hash/157891 "2009-01-19T10:53:58Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B. Ruby1.9e$B7O$Ne(B String#hash e$B$H$$$&$+e(B e$B$9$Y$F$Ne(B hashe$B4X?t$K$D$$$F$G$9$,e(B, e$B%W%m%;%9Kh$K0c$&CM$K$J$k$N$G$9$,e(B, e$B2?$+?\<$$M}M3$,$"$k$N$G$7$g$&$+e(B? e$BB\>$N%O%C%7%e4X…

---

## [One question about Dynamic Select Menus](https://www.ruby-forum.com/t/one-question-about-dynamic-select-menus/156349)

<div class="topic-metadata">

**Author:** [@jette](https://www.ruby-forum.com/u/jette)\
**Replies:** 5\
**Last updated:** [December 28, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/one-question-about-dynamic-select-menus/156349 "2008-12-28T17:52:10Z")

</div>

Hi all, Merry X’mas first :slight\_smile: I have “Product”,“Category”,“Subcategory” 3 Model, and when new “Product”, I want to use “Dynamic Select Menus” just like Ryan mentioned in #88 Dynamic Select Menus - RailsCas…

---

## [Re: Convertir string en variable](https://www.ruby-forum.com/t/re-convertir-string-en-variable/156246)

<div class="topic-metadata">

**Author:** [@fmk](https://www.ruby-forum.com/u/fmk)\
**Replies:** 5\
**Last updated:** [December 23, 2008, 11:29pm UTC](https://www.ruby-forum.com/t/re-convertir-string-en-variable/156246 "2008-12-23T23:29:23Z")

</div>

Felices Fiestas lista pd: No entiendo porque la gente se toma tan a la tremenda tus comentarios Manuel, para ser sincero, yo hay dias que solo entro en la lista para leer tus contestaciones :wink: muy agudas jeje Que…

---

## [Fastcgi debug and "no input file" cases](https://www.ruby-forum.com/t/fastcgi-debug-and-no-input-file-cases/147878)

<div class="topic-metadata">

**Author:** [@AnSSSSl\_SSSSSetin](https://www.ruby-forum.com/u/AnSSSSl_SSSSSetin)\
**Replies:** 5\
**Last updated:** [September 7, 2008, 1:37am UTC](https://www.ruby-forum.com/t/fastcgi-debug-and-no-input-file-cases/147878 "2008-09-07T01:37:15Z")

</div>

Hi there, I have two main problems about nginx(0.6.32)+fastcgi-php (4.4.9). I am spawning php with spawn-fcgi thing and chrooting. nginx and fastcgi processes are on different machines. PHP is not logging error nor …

---

## [Senior Rails Engineer - Remote U.S](https://www.ruby-forum.com/t/senior-rails-engineer-remote-u-s/263012)

<div class="topic-metadata">

**Author:** [@patpat](https://www.ruby-forum.com/u/patpat)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 1:59pm UTC](https://www.ruby-forum.com/t/senior-rails-engineer-remote-u-s/263012 "2022-06-29T13:59:10Z")

</div>

We are looking for someone with the following skill set: 4+ years experience in working with Ruby on Rails The desire to mentor and improve junior and mid level developers Experience with a front end JS framework (like…

---

## [Newbie question Modifying an XML file](https://www.ruby-forum.com/t/newbie-question-modifying-an-xml-file/245141)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [November 11, 2016, 11:18pm UTC](https://www.ruby-forum.com/t/newbie-question-modifying-an-xml-file/245141 "2016-11-11T23:18:23Z")

</div>

New to Ruby and trying to do a find and replace in the content of an XML file with Ruby and Nokogiri. Below is an example of the XML. \<?xml version="1.0" encoding="ISO-8859-1"?\> Type: POWERFORGED Piston-IndividualHi…

---

## [Comment rendre threadsafe les variales de classe, globales et autres avec rails4?](https://www.ruby-forum.com/t/comment-rendre-threadsafe-les-variales-de-classe-globales-et-autres-avec-rails4/233597)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 28, 2014, 3:05am UTC](https://www.ruby-forum.com/t/comment-rendre-threadsafe-les-variales-de-classe-globales-et-autres-avec-rails4/233597 "2014-12-28T03:05:42Z")

</div>

Bonjour, je cherche à savoir comment faire en sorte qu’entre deux requête HTTP, il n’y ai pas d’interaction possible au niveau des variables globales ou de classe? exemple: class Test @@instances = \[\] end si j’ut…

---

## [Nginx Windows | Keepalive timeouts location based](https://www.ruby-forum.com/t/nginx-windows-keepalive-timeouts-location-based/231729)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 26, 2014, 7:02pm UTC](https://www.ruby-forum.com/t/nginx-windows-keepalive-timeouts-location-based/231729 "2014-08-26T19:02:25Z")

</div>

I can’t tell if this is working or not so i thought i would just ask and perhaps someone can inform me but with nginx keep alive timeouts can we set different timeout values per each location or file type being access…

---

## [Helper dentro de otro helper](https://www.ruby-forum.com/t/helper-dentro-de-otro-helper/231007)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 17, 2014, 7:13am UTC](https://www.ruby-forum.com/t/helper-dentro-de-otro-helper/231007 "2014-07-17T07:13:07Z")

</div>

Saludos… Estoy intentando hacer un helper que me represente un campo de mi formulario pero al momento de invocarlo con \<%= textForm %\> solo me imprime las sintaxis HTML. Al parecer necesito hacer un “pre-render” de l…

---

## [Add Multiple Records of a model using single form](https://www.ruby-forum.com/t/add-multiple-records-of-a-model-using-single-form/229571)

<div class="topic-metadata">

**Author:** [@balaraju\_amzur](https://www.ruby-forum.com/u/balaraju_amzur)\
**Replies:** 3\
**Last updated:** [January 24, 2013, 4:05pm UTC](https://www.ruby-forum.com/t/add-multiple-records-of-a-model-using-single-form/229571 "2013-01-24T16:05:35Z")

</div>

hello all, I am working on a simple project on ruby on rails. I need to add a data to the database. I would like to add multiple records of a model using single form and single submit button so that all the records …

---

## [How to make my own block](https://www.ruby-forum.com/t/how-to-make-my-own-block/189997)

<div class="topic-metadata">

**Author:** [@weizhongshan](https://www.ruby-forum.com/u/weizhongshan)\
**Replies:** 3\
**Last updated:** [October 31, 2010, 11:49am UTC](https://www.ruby-forum.com/t/how-to-make-my-own-block/189997 "2010-10-31T11:49:52Z")

</div>

hello everyone! I am learning to make my own block.In gr-howto-write-a-block-3.2/src/lib directory ,I delete the former .h and .c files ,and write my own .h and .c files .after modifying the howto.i ,I make and build…

---

## [Best practice for running an app in subdirectory](https://www.ruby-forum.com/t/best-practice-for-running-an-app-in-subdirectory/181304)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 6:52am UTC](https://www.ruby-forum.com/t/best-practice-for-running-an-app-in-subdirectory/181304 "2010-01-10T06:52:40Z")

</div>

I seem to be misunderstanding something very basic in trying to run my app in a subdirectory. Remarkably, all my restful routes work flawlessly. Everything outside of rails routing conventions is what’s giving me pr…

---

## [Can't Fully Install Passenger Apache2 Module](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 1, 2009, 2:09am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467 "2009-10-01T02:09:28Z")

</div>

Hello, I’ve installed Apache 2 server, and now I’m trying to install Passenger Apache 2 module via Cygwin on Windows. However, when I run the command: passenger-install-apache2-module in cygwin I get the below error …

---

## [Working with sessions in beast forum](https://www.ruby-forum.com/t/working-with-sessions-in-beast-forum/147307)

<div class="topic-metadata">

**Author:** [@GearSSS\_id\_OSCealla](https://www.ruby-forum.com/u/GearSSS_id_OSCealla)\
**Replies:** 3\
**Last updated:** [August 30, 2008, 11:28pm UTC](https://www.ruby-forum.com/t/working-with-sessions-in-beast-forum/147307 "2008-08-30T23:28:28Z")

</div>

Hey, I’m designing an app which displays the events near a user in RoR. I’m using the beat forum to facilitate user management/sessions/etc. I’ve edited the sessions table in the Beast database to contain a “session\_…

---

## [Gtk::PrintOperation prints only first page](https://www.ruby-forum.com/t/gtk-printoperation-prints-only-first-page/82079)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/gtk-printoperation-prints-only-first-page/82079 "2007-01-24T16:44:26Z")

</div>

greetings, i print the pages on Gtk::PrintOperation’s ‘draw-page’ signal, and since i don’t know how many pages i’m going to print, i’ve n\_pages set to 1 before the first page, and i increase that from ‘draw-page’ if …

---

## [You are being redirected](https://www.ruby-forum.com/t/you-are-being-redirected/62240)

<div class="topic-metadata">

**Author:** [@Why\_the\_redirect](https://www.ruby-forum.com/u/Why_the_redirect)\
**Replies:** 3\
**Last updated:** [June 1, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240 "2006-06-01T20:19:56Z")

</div>

“You are being redirected.” now being displayed when I go to my page. Before it would take me to the page that I specified as the one I wanted to load. I recently upgraded to the latest Rails (1.1.2 I think). Chris

---

## [Populating array of text\_fields from an array of model objec](https://www.ruby-forum.com/t/populating-array-of-text-fields-from-an-array-of-model-objec/60974)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 3\
**Last updated:** [May 20, 2006, 12:47pm UTC](https://www.ruby-forum.com/t/populating-array-of-text-fields-from-an-array-of-model-objec/60974 "2006-05-20T12:47:46Z")

</div>

I have in my view the following: \<% 0.upto(@num\_performances) do |idx| -%\> \<%= text\_field ‘performance’, ‘city’, :index =\> idx, %\> \<%= text\_field ‘performance’, ‘venue’, :index =\> idx, %\> \<% end -%\> and in my contro…

---

## [Gr-modtool cpp generation issue](https://www.ruby-forum.com/t/gr-modtool-cpp-generation-issue/242007)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 20, 2015, 6:16pm UTC](https://www.ruby-forum.com/t/gr-modtool-cpp-generation-issue/242007 "2015-05-20T18:16:47Z")

</div>

I am in the process of converting some 3.6 modules to 3.7. So I am generating new modules then adding the code from the old modules. I have one module that takes a filename as a parameter so it is declared like this …

---

## [Watir question regarding 'span'](https://www.ruby-forum.com/t/watir-question-regarding-span/231407)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 7, 2014, 7:49am UTC](https://www.ruby-forum.com/t/watir-question-regarding-span/231407 "2014-08-07T07:49:13Z")

</div>

hi, Get Instant Quote Is there anyway Can I write code locate the element using the text " Get Instant Quote "? I can write a code like b.span(:class,‘ui-btn-text’).click But this :class attribute is common to ev…

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

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