# Top

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

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

---

## [Commenting](https://www.ruby-forum.com/t/commenting/95583)

<div class="topic-metadata">

**Author:** [@midnightcoder](https://www.ruby-forum.com/u/midnightcoder)\
**Replies:** 5\
**Last updated:** [June 8, 2006, 12:07am UTC](https://www.ruby-forum.com/t/commenting/95583 "2006-06-08T00:07:44Z")

</div>

Hi all, I’m currently converting my website (codefluency.com) from Typo to Radiant (radiant version at http://new.codefluency.com); I’ve needed to use a full CMS for some time now to help document and manage a number…

---

## [\[ANN\] Railmail: rails plugin (http://railmail.nullstyle.com)](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358)

<div class="topic-metadata">

**Author:** [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Replies:** 5\
**Last updated:** [June 4, 2006, 5:07am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358 "2006-06-04T05:07:07Z")

</div>

Hi all, Just dropping a line here because I have recently release a plugin that some of you might find interesting or get a little use out of. I call it Railmail. In a nutshell, it traps any mail sent through Actio…

---

## [State\_models plugin and file\_column?](https://www.ruby-forum.com/t/state-models-plugin-and-file-column/57825)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 5\
**Last updated:** [April 17, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/state-models-plugin-and-file-column/57825 "2006-04-17T19:09:32Z")

</div>

I was looking at Kyle Mawell’s extremely nifty-looking StateModels plugin http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance and before I go down the road with it, I was wondering if anyo…

---

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

<div class="topic-metadata">

**Author:** [@hector](https://www.ruby-forum.com/u/hector)\
**Replies:** 5\
**Last updated:** [March 3, 2006, 2:39am UTC](https://www.ruby-forum.com/t/gsub-wrapper/76007 "2006-03-03T02:39:52Z")

</div>

Help! How do I get $1, $2, and $3 to get interpolated in the following snippet? string = ‘This is a test of the emergency’ regexp = Regexp.new(’(\\W)+(\\w\\w)(\\W)+’) replacement = ‘$1-\>$2\<-$3’ user\_wants\_upcase=FALSE …

---

## [RE: Re: Fixtures and Relationships](https://www.ruby-forum.com/t/re-re-fixtures-and-relationships/72522)

<div class="topic-metadata">

**Author:** [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Replies:** 5\
**Last updated:** [February 24, 2006, 2:43am UTC](https://www.ruby-forum.com/t/re-re-fixtures-and-relationships/72522 "2006-02-24T02:43:09Z")

</div>

Gotcha. That makes total sense. It also makes sense because the yml probably comes from a hash, and hashes aren’t ordered. I think you’re in trouble! :slight\_smile: May need to take a different approach like the one I…

---

## [Can't get data from products into @order](https://www.ruby-forum.com/t/cant-get-data-from-products-into-order/51000)

<div class="topic-metadata">

**Author:** [@charlie\_bowman](https://www.ruby-forum.com/u/charlie_bowman)\
**Replies:** 5\
**Last updated:** [December 23, 2005, 11:16pm UTC](https://www.ruby-forum.com/t/cant-get-data-from-products-into-order/51000 "2005-12-23T23:16:19Z")

</div>

I went throught the “agile web developemnt with rails” and Now I’m trying to ‘enhance’ the code with some extra options. When I go to admin/shipping I want to include some data from the products table in with the ord…

---

## [More dynamic way? Search Pagination](https://www.ruby-forum.com/t/more-dynamic-way-search-pagination/47761)

<div class="topic-metadata">

**Author:** [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Replies:** 5\
**Last updated:** [November 22, 2005, 6:51pm UTC](https://www.ruby-forum.com/t/more-dynamic-way-search-pagination/47761 "2005-11-22T18:51:03Z")

</div>

All, I’m new to ruby and to rails! :slight\_smile: This will give you all a chance to tear my code apart! Feel free to offer better techniques as necessary! I have a need to implement somewhat dynamic search across…

---

## [Automation fails for application with new chrome version 78 and above](https://www.ruby-forum.com/t/automation-fails-for-application-with-new-chrome-version-78-and-above/257494)

<div class="topic-metadata">

**Author:** [@mohit1](https://www.ruby-forum.com/u/mohit1)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 7:33am UTC](https://www.ruby-forum.com/t/automation-fails-for-application-with-new-chrome-version-78-and-above/257494 "2020-03-05T07:33:56Z")

</div>

We are unable to click element, within 2 iframes, in the web application using automation (ruby,capybara,rspec). The code runs fine on chrome version 77. On version 78 and above, the automation run bypasses the click cod…

---

## [Change action attribute of form using JavaScript in Rails](https://www.ruby-forum.com/t/change-action-attribute-of-form-using-javascript-in-rails/247678)

<div class="topic-metadata">

**Author:** [@vincitygialam](https://www.ruby-forum.com/u/vincitygialam)\
**Replies:** 0\
**Last updated:** [October 8, 2018, 4:59pm UTC](https://www.ruby-forum.com/t/change-action-attribute-of-form-using-javascript-in-rails/247678 "2018-10-08T16:59:18Z")

</div>

Hello everyone, I had a situation where I’ve more than one submit buttons in a form which I need to send data to different controllers’ action. From my previous posts I got a suggestion to use JavaScript. \*\*Please No…

---

## [Under application file, i need sign up (devise) and home link( a view) links but having issue](https://www.ruby-forum.com/t/under-application-file-i-need-sign-up-devise-and-home-link-a-view-links-but-having-issue/243870)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [January 20, 2016, 5:56pm UTC](https://www.ruby-forum.com/t/under-application-file-i-need-sign-up-devise-and-home-link-a-view-links-but-having-issue/243870 "2016-01-20T17:56:00Z")

</div>

No route matches {:action=\>“index”, :controller=\>“devise/registrations”} my application.html.erb \<%= link\_to "Home",:action =\> 'home' \> \<% if userprof\_signed\_in? %\> \<%= link\_to "Logou…

---

## [My while loop won't end!](https://www.ruby-forum.com/t/my-while-loop-wont-end/232846)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 31, 2014, 3:57am UTC](https://www.ruby-forum.com/t/my-while-loop-wont-end/232846 "2014-10-31T03:57:21Z")

</div>

Hi everyone. I’m working on an assignment for class, and I can’t see where my mistake is. I am asking the user for input (words), and while the user input != " " it should ask for another word. Once the user simply p…

---

## [Pfb\_arb\_resampler\_ccf](https://www.ruby-forum.com/t/pfb-arb-resampler-ccf/237457)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 15, 2013, 9:18am UTC](https://www.ruby-forum.com/t/pfb-arb-resampler-ccf/237457 "2013-11-15T09:18:22Z")

</div>

hello all who can tell mewhat is “pfb\_arb\_resampler\_ccf”?and what does it do? bzs

---

## [3.6.5.1 test error](https://www.ruby-forum.com/t/3-6-5-1-test-error/235574)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 2, 2013, 3:21pm UTC](https://www.ruby-forum.com/t/3-6-5-1-test-error/235574 "2013-07-02T15:21:25Z")

</div>

Hi all guys, i have just wanted to build and install 3.6.5.1 on my system (RHEL6, 64bit). I did cmake, and warnings about missing header files came out, for example: Looking for intrin.h - not found Performing Tes…

---

## [Why socket for communication between master and worker used the so large memory?](https://www.ruby-forum.com/t/why-socket-for-communication-between-master-and-worker-used-the-so-large-memory/227815)

<div class="topic-metadata">

**Author:** [@MCoder](https://www.ruby-forum.com/u/MCoder)\
**Replies:** 3\
**Last updated:** [March 29, 2013, 1:15pm UTC](https://www.ruby-forum.com/t/why-socket-for-communication-between-master-and-worker-used-the-so-large-memory/227815 "2013-03-29T13:15:58Z")

</div>

my nginx is just a http tunul proxy http connection, and max connection is just lower than 100. ps aux root 19849 0.0 0.0 18028 2452 ? Ss 2012 0:00 nginx: master process /usr/local/qqwebsrv/nginx/…

---

## [GeoIP country blocking - whitelist specific IPs](https://www.ruby-forum.com/t/geoip-country-blocking-whitelist-specific-ips/224458)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 13, 2012, 12:24pm UTC](https://www.ruby-forum.com/t/geoip-country-blocking-whitelist-specific-ips/224458 "2012-11-13T12:24:13Z")

</div>

Hello NGINX users, I’m facing a little issue with country bans over GeoIP. I’m using the following code within my server directive: if ($geoip\_country\_code ~ (BR|CN|KR|RU) ) { return 123; } 123 returns an error pag…

---

## [Rails 3 routes](https://www.ruby-forum.com/t/rails-3-routes/223175)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [September 25, 2012, 2:42pm UTC](https://www.ruby-forum.com/t/rails-3-routes/223175 "2012-09-25T14:42:23Z")

</div>

Hi all am learning rails 3.2.8 and i found that in routes if i have a controller called User and i have 5 def a, def b,def c and def d. do i need to mention routes to each def because in 2.3.8 you no need to mention …

---

## [Rails web app su GitHub](https://www.ruby-forum.com/t/rails-web-app-su-github/222772)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 10, 2012, 12:39pm UTC](https://www.ruby-forum.com/t/rails-web-app-su-github/222772 "2012-09-10T12:39:34Z")

</div>

Vorrei utilizzare GitHub come repo per un’app Rails e renderla pubblica. Quali sono i file che è bene non committare? (Penso a config/initializers/secret\_token.rb, giusto? Quali altri?) Grazie mille, i (wow! Incredi…

---

## [Showing error (gsub) when switching from session to cookies](https://www.ruby-forum.com/t/showing-error-gsub-when-switching-from-session-to-cookies/219248)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [April 25, 2012, 3:04pm UTC](https://www.ruby-forum.com/t/showing-error-gsub-when-switching-from-session-to-cookies/219248 "2012-04-25T15:04:01Z")

</div>

I am newbie to rail. Trying to develop social networking site so working with railspace application. Everything is working fine but I stuck in the problem when i am giving the authorization tocken to the user to remem…

---

## [Rails keeps wanting to use localhost no matter what I put in database.yml file](https://www.ruby-forum.com/t/rails-keeps-wanting-to-use-localhost-no-matter-what-i-put-in-database-yml-file/216898)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 17, 2012, 5:33pm UTC](https://www.ruby-forum.com/t/rails-keeps-wanting-to-use-localhost-no-matter-what-i-put-in-database-yml-file/216898 "2012-02-17T17:33:18Z")

</div>

Firs of all, I am a newb to running Rails on JRuby. But I am trying to get rails to use a remote MySQL server using jdbcmysql. For some reason no matter what I put into the database.yml file, it keeps wanting to use …

---

## [Want to get involved with this doc stuff? I'm making it even easier](https://www.ruby-forum.com/t/want-to-get-involved-with-this-doc-stuff-im-making-it-even-easier/210994)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [August 23, 2011, 1:38pm UTC](https://www.ruby-forum.com/t/want-to-get-involved-with-this-doc-stuff-im-making-it-even-easier/210994 "2011-08-23T13:38:53Z")

</div>

Hey guys- Some of you may remember my blog post about how to contribute to Ruby’s docs: http://blog.steveklabnik.com/2011/05/10/contributing-to-ruby-s-documentation.html I’m one-upping the easy factor: http://blog.s…

---

## [How to know who did the redirect](https://www.ruby-forum.com/t/how-to-know-who-did-the-redirect/203356)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [February 18, 2011, 3:40pm UTC](https://www.ruby-forum.com/t/how-to-know-who-did-the-redirect/203356 "2011-02-18T15:40:41Z")

</div>

Controller Delivery: def create @customer = Customer.find(params\[:customer\_id\]) @delivery = @customer.deliveries.build(params\[:delivery\]) @document = @customer.build\_document(params\[:document\]) if @delivery.valid? a…

---

## [Hard question: Any ideas why this code leaks memory?](https://www.ruby-forum.com/t/hard-question-any-ideas-why-this-code-leaks-memory/146300)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 8\
**Last updated:** [September 25, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/hard-question-any-ideas-why-this-code-leaks-memory/146300 "2010-09-25T21:20:27Z")

</div>

Hello, could someone help me understand why this code leaks memory? (I am using ruby 1.8.6 (2007-12-03 patchlevel 113) \[x86\_64-linux\].) def rss\_leaks /^VmRSS:\\s+(\\d+)/m.match(File.open("/proc/#{$$}/status") {|f| f.r…

---

## [Newbie: Can't install plugins](https://www.ruby-forum.com/t/newbie-cant-install-plugins/189685)

<div class="topic-metadata">

**Author:** [@terhorst](https://www.ruby-forum.com/u/terhorst)\
**Replies:** 8\
**Last updated:** [June 5, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-plugins/189685 "2010-06-05T22:55:16Z")

</div>

Hi, I am totally new to Rails and am working in Windows (7 days from installing and haven’t programmed for 20 years prior to that!). I’ve been learning from various books, and have been trying to install plugins for …

---

## [Unable to create record with has\_mant :through relationship](https://www.ruby-forum.com/t/unable-to-create-record-with-has-mant-through-relationship/174365)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 8\
**Last updated:** [August 27, 2009, 7:46am UTC](https://www.ruby-forum.com/t/unable-to-create-record-with-has-mant-through-relationship/174365 "2009-08-27T07:46:17Z")

</div>

hi all, i have a has\_many :through r’ship in my application. my tables are - users, apps(short form for applications), categorizations. i’m trying to create a user in new.rhtml where all apps are also shown in checkbo…

---

## [Newbie Confusion re underscores / camel case](https://www.ruby-forum.com/t/newbie-confusion-re-underscores-camel-case/173354)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 3\
**Last updated:** [August 7, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/newbie-confusion-re-underscores-camel-case/173354 "2009-08-07T21:09:56Z")

</div>

Hi, I’m a Java and ColdFusion developer trying to find my feet with JRuby and Rails. I’ve created a very simple “Auction” app, with a database schema like this: create\_table “auction\_items”, :force =\> true do |t| t…

---

## [Servidor de colas](https://www.ruby-forum.com/t/servidor-de-colas/167400)

<div class="topic-metadata">

**Author:** [@panto](https://www.ruby-forum.com/u/panto)\
**Replies:** 3\
**Last updated:** [May 8, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/servidor-de-colas/167400 "2009-05-08T16:16:01Z")

</div>

Buenas, para un proyecto que acabo de iniciar el usuario tiene que rellenar un formulario con datos personales y luego se genera un PDF que se le envia por correo. Para separar la tarea de generar los PDF del request…

---

## [Attach CSV String as attachment](https://www.ruby-forum.com/t/attach-csv-string-as-attachment/165177)

<div class="topic-metadata">

**Author:** [@mgiorno](https://www.ruby-forum.com/u/mgiorno)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/attach-csv-string-as-attachment/165177 "2009-04-09T21:30:25Z")

</div>

I am trying to take a csv string output and send it as a file attachment, but keep my data is only coming out as gobbly gook. The csv string is valid going into the mailer action. Valid CSV id,name,dealer\_code,creat…

---

## [Cucumber "standard base" setup?](https://www.ruby-forum.com/t/cucumber-standard-base-setup/151203)

<div class="topic-metadata">

**Author:** [@complete](https://www.ruby-forum.com/u/complete)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/cucumber-standard-base-setup/151203 "2008-10-18T13:37:49Z")

</div>

I’m trying to set up cucumber so we can try it in some Ruby automation scripts I’m working on. These will be straight Ruby, for use in BBEdit and TextMate (on the Mac). NOT Rails. The big early-stage stumbling block …

---

## [Statemachine gem and unit testing](https://www.ruby-forum.com/t/statemachine-gem-and-unit-testing/145614)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 3\
**Last updated:** [August 13, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/statemachine-gem-and-unit-testing/145614 "2008-08-13T21:23:11Z")

</div>

I’ve been using the statemachine gem \[1\] to build out some finite state machines for some work I am doing. I generally use rspec for most of my spec driven development, but I confess to having a bit of trouble wrappin…

---

## [Sobre scaffold en modelos ya existentes](https://www.ruby-forum.com/t/sobre-scaffold-en-modelos-ya-existentes/144921)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/sobre-scaffold-en-modelos-ya-existentes/144921 "2008-08-04T22:08:21Z")

</div>

Hola, he estado siguiendo un libro que tiene ya un par de años y la metodología que usa es: generar modelos meter relaciones entre ellos validaciones insertar, con “sql a pelo”, datos … y despues pasa a generar co…

---

## [Nil Object where you didn't expect it](https://www.ruby-forum.com/t/nil-object-where-you-didnt-expect-it/140817)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 8\
**Last updated:** [June 25, 2008, 2:24am UTC](https://www.ruby-forum.com/t/nil-object-where-you-didnt-expect-it/140817 "2008-06-25T02:24:02Z")

</div>

So I generate a scaffold with Rails 2.1.0 with a number of database fields. item:string accession\_number:text description:text designer:string classification:string overall\_dimensions:string auxiliary\_parts:string ov…

---

## [Timeout when reading from a pipe](https://www.ruby-forum.com/t/timeout-when-reading-from-a-pipe/141207)

<div class="topic-metadata">

**Author:** [@melmoth](https://www.ruby-forum.com/u/melmoth)\
**Replies:** 3\
**Last updated:** [June 23, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/timeout-when-reading-from-a-pipe/141207 "2008-06-23T17:49:14Z")

</div>

Hi, I would like to launch a process (external executable) and raise an exception if I cannot read any output from it on the stdout. Is that possible? Thanks in advance def execute\_mencoder(command) IO.popen(comman…

---

## [Search works in dev but not in prod?](https://www.ruby-forum.com/t/search-works-in-dev-but-not-in-prod/139434)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 8\
**Last updated:** [June 4, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/search-works-in-dev-but-not-in-prod/139434 "2008-06-04T21:23:54Z")

</div>

Is there any reason for a search page that searches through events for a keyword and then displays those that contain the keyword to not give any results in production when it does in development? I’ve made sure I’m s…

---

## [Block\_given? in defined method](https://www.ruby-forum.com/t/block-given-in-defined-method/137974)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/block-given-in-defined-method/137974 "2008-05-19T15:29:56Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(Bblock\_given? e$B$r!$e(Bdefine\_method e$B$GDj5A$5$l$?$b$N$KE,MQ$5$l$k$H$\*$+e(B e$B$7$J$3$H$K$J$k!$$H$$$&;XE&$K$D$$$F65$($F2\<$5$$!%e(B e$B!!$3$N;XE&$O!$e(Bbootstraptest/test\_knwonbug.rb e$…

---

## [0.6.5 Release? Timeline?](https://www.ruby-forum.com/t/0-6-5-release-timeline/129018)

<div class="topic-metadata">

**Author:** [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Replies:** 3\
**Last updated:** [February 13, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/0-6-5-release-timeline/129018 "2008-02-13T21:55:32Z")

</div>

The radiant repositories have been quite busy, mostly attributed to Sean Cribbs. Are we going to see a 0.6.5 release any time soon? Thanks, /aj

---

## [A file's creation date](https://www.ruby-forum.com/t/a-files-creation-date/125100)

<div class="topic-metadata">

**Author:** [@wpvanpaassen](https://www.ruby-forum.com/u/wpvanpaassen)\
**Replies:** 3\
**Last updated:** [January 5, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/a-files-creation-date/125100 "2008-01-05T19:10:48Z")

</div>

Hello anyone, I have written a script that organizes my ten thousand+ photos into a year/month file structure using ‘exifr’ while eliminating duplicates. Unfortunately some of the dates in the ‘EXIF’ block are bad or…

---

## [Firefox bug causing an action to be processed twice?](https://www.ruby-forum.com/t/firefox-bug-causing-an-action-to-be-processed-twice/105384)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 8\
**Last updated:** [May 31, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/firefox-bug-causing-an-action-to-be-processed-twice/105384 "2007-05-31T15:58:21Z")

</div>

Hello, I’m facing a strange bug. I have a simple action in a simple controller in a simple Rails App (Rails 1.2.3, Mongrel 1.0.1). This action fetches some news in the Database : def news @news = News.find(:all) …

---

## [IO.popen doesn't fail for non-existent command](https://www.ruby-forum.com/t/io-popen-doesnt-fail-for-non-existent-command/90959)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 5, 2007, 4:03am UTC](https://www.ruby-forum.com/t/io-popen-doesnt-fail-for-non-existent-command/90959 "2007-04-05T04:03:38Z")

</div>

e$B$J$+$@$G$9!#e(B http://bts.vinelinux.org/guest.cgi?project=VineLinux&action=view\_report&id=481 e$B!Ve(B481: ri e$B$Ge(B command not found: pagere$B!W$K4XO"$7$?OC$G$9$,!“e(B IO.popene$B$KB8:\_$7$J$$%3%^%s%I$r;XDj$7$…

---

## [Array to hash](https://www.ruby-forum.com/t/array-to-hash/89421)

<div class="topic-metadata">

**Author:** [@Servando\_G](https://www.ruby-forum.com/u/Servando_G)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/array-to-hash/89421 "2007-03-20T15:40:21Z")

</div>

Hello all Is there a method to collect the items in an array into a hash I want to go from this X =\[1,2,3,4,5,6\] to this Y={1 =\>2, 3 =\>4, 5 =\>6} Just seems like there should be one Thanks in advance Sam

---

## [Randomly Sorting Strings](https://www.ruby-forum.com/t/randomly-sorting-strings/85200)

<div class="topic-metadata">

**Author:** [@woodyee](https://www.ruby-forum.com/u/woodyee)\
**Replies:** 8\
**Last updated:** [February 11, 2007, 12:15pm UTC](https://www.ruby-forum.com/t/randomly-sorting-strings/85200 "2007-02-11T12:15:11Z")

</div>

Hi! I’m trying to write a program that will print out a different string each time it’s run from a list of strings. For example: example = \[‘one’, ‘two’, ‘three’\] sort them somehow ‘two’ prints out as the output, for…

---

## [Introducing Xaggly, a C-based XML Parser for Ruby](https://www.ruby-forum.com/t/introducing-xaggly-a-c-based-xml-parser-for-ruby/80876)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 8\
**Last updated:** [January 3, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/introducing-xaggly-a-c-based-xml-parser-for-ruby/80876 "2007-01-03T19:40:01Z")

</div>

I have written a C-based XML parser as a ruby plugin. I managed to benchmark it against REXML and Hpricot, and it appears to run quite speedily (http://involution.com/images/xmlshootout.png). The source code is here: …

---

## [Dumb views?](https://www.ruby-forum.com/t/dumb-views/100882)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 8\
**Last updated:** [August 1, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/dumb-views/100882 "2006-08-01T23:54:37Z")

</div>

Hello again! I’ve another “what would you do in this situation” question. You’ve got 6 controllers, one named base. The other 5 controllers extend base. Currently they share one layout. Your layout displays navigatio…

---

## [Rails and Postgres](https://www.ruby-forum.com/t/rails-and-postgres/61219)

<div class="topic-metadata">

**Author:** [@craigtmackenzie](https://www.ruby-forum.com/u/craigtmackenzie)\
**Replies:** 8\
**Last updated:** [May 23, 2006, 1:42am UTC](https://www.ruby-forum.com/t/rails-and-postgres/61219 "2006-05-23T01:42:10Z")

</div>

Hi, I’m new to Ruby on Rails and am having a little difficulty working through the ‘Rolling with Ruby on Rails’ tutorial. Can anyone help? I’m trying to get the cookbook application to work via a Postgresql db. But ge…

---

## [Fwd: How can i have multiple nginx plus servers route to the same app servers with sticky sessions o](https://www.ruby-forum.com/t/fwd-how-can-i-have-multiple-nginx-plus-servers-route-to-the-same-app-servers-with-sticky-sessions-o/242361)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 18, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/fwd-how-can-i-have-multiple-nginx-plus-servers-route-to-the-same-app-servers-with-sticky-sessions-o/242361 "2015-06-18T20:12:02Z")

</div>

I have multiple nginx instances behind an AWS elastic load balancer. In the nginx config files, I am using ip\_hash to force sticky sessions when connecting upstream. Is there a way to sync the route tables between the …

---

## [Mystery encoding problem sending email](https://www.ruby-forum.com/t/mystery-encoding-problem-sending-email/233891)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 22, 2015, 2:35am UTC](https://www.ruby-forum.com/t/mystery-encoding-problem-sending-email/233891 "2015-01-22T02:35:49Z")

</div>

How in the !@#$% can this function: def sendMsg(msg, today, cancel) email = \<\<MSG Date: #{Time.now} From: removed\_email\_address@domain.invalid Subject: Pediatric Cardiology Apt#{cancel ? ’ Cancellation’ : ‘’} Mime-…

---

## [Sprockets::FileNotFound in Preorder#index](https://www.ruby-forum.com/t/sprockets-filenotfound-in-preorder-index/231688)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 23, 2014, 2:14pm UTC](https://www.ruby-forum.com/t/sprockets-filenotfound-in-preorder-index/231688 "2014-08-23T14:14:04Z")

</div>

When i run the app i get this error Sprockets::FileNotFound in Preorder#index couldn’t find file ‘jquery.ui.all’ Showing /selfstarter/app/views/layouts/application.html.erb where line #6 raised: couldn’t find file …

---

## [Tempfile unlink](https://www.ruby-forum.com/t/tempfile-unlink/240186)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 6, 2014, 9:50pm UTC](https://www.ruby-forum.com/t/tempfile-unlink/240186 "2014-05-06T21:50:25Z")

</div>

Hi, I’m getting this warning from jruby: jruby/1.9/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:1218 warning: Tempfile#unlink or delete called on open file; ignoring mechanisze does this: def make\_tempfile name …

---

## [\-rpath linker option?](https://www.ruby-forum.com/t/rpath-linker-option/238316)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 2:38pm UTC](https://www.ruby-forum.com/t/rpath-linker-option/238316 "2014-01-03T14:38:24Z")

</div>

I’m having trouble with dll hell on Debian and Ubuntu with OpenSSL. Debian and Ubuntu insist on runtime linking with the copy in /usr/lib. Fedora and Red Hat are OK because they don’t use OpenSSL by default, so they a…

---

## [How to avoid tempfile generation for uploaded file?](https://www.ruby-forum.com/t/how-to-avoid-tempfile-generation-for-uploaded-file/223241)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 27, 2012, 4:43pm UTC](https://www.ruby-forum.com/t/how-to-avoid-tempfile-generation-for-uploaded-file/223241 "2012-09-27T16:43:27Z")

</div>

Hi folks, I am building secure web application using Ruby on Rails which scans virus in uploaded file. Now Currently I can access the tempfile from the ActionDispatch::Http::UploadedFile instance which Rails creates …

---

## [Write/Read File having Japanese characters as file name](https://www.ruby-forum.com/t/write-read-file-having-japanese-characters-as-file-name/191261)

<div class="topic-metadata">

**Author:** [@sudheendra](https://www.ruby-forum.com/u/sudheendra)\
**Replies:** 1\
**Last updated:** [July 8, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/write-read-file-having-japanese-characters-as-file-name/191261 "2010-07-08T15:35:41Z")

</div>

Hi My requirement is to create new files by names from database(UTF8 encoded for multi language support). Mostly Japanese langauge support. I need to create file for each project with project name. Sometimes the proj…

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

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