# Top

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

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

---

## [Unicorn 0.8.2 and 0.9.1](https://www.ruby-forum.com/t/unicorn-0-8-2-and-0-9-1/171791)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [July 10, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/unicorn-0-8-2-and-0-9-1/171791 "2009-07-10T21:53:27Z")

</div>

Unicorn is a Rack HTTP server for Unix, fast clients and nothing else Socket handling bugfixes and socket-related usability and performance tweaks. We no longer trust FD\_CLOEXEC to be inherited across accept(); thank…

---

## [Nginx not picking up error\_page](https://www.ruby-forum.com/t/nginx-not-picking-up-error-page/164194)

<div class="topic-metadata">

**Author:** [@Guy\_N](https://www.ruby-forum.com/u/Guy_N)\
**Replies:** 2\
**Last updated:** [March 30, 2009, 2:41am UTC](https://www.ruby-forum.com/t/nginx-not-picking-up-error-page/164194 "2009-03-30T02:41:45Z")

</div>

Hi, I have an nginx setup to serve rails applications. But for some reason it’s not picking up the error\_page 400 404 /40x.html. Here is part of the config file: This is inside my location / {} config part error\_pag…

---

## [Hash.each and hash.each\_pair](https://www.ruby-forum.com/t/hash-each-and-hash-each-pair/155959)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 2\
**Last updated:** [December 20, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/hash-each-and-hash-each-pair/155959 "2008-12-20T16:36:04Z")

</div>

I looked at RDoc documentation. It says “each\_pair” method is marginally more efficient. Do we need to abandon “each”? Do you use “each” or stick to “each\_pair”?

---

## [Strange 'too many open files' errors with nginx 0.6.32](https://www.ruby-forum.com/t/strange-too-many-open-files-errors-with-nginx-0-6-32/153450)

<div class="topic-metadata">

**Author:** [@Arash\_F](https://www.ruby-forum.com/u/Arash_F)\
**Replies:** 2\
**Last updated:** [November 17, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/strange-too-many-open-files-errors-with-nginx-0-6-32/153450 "2008-11-17T12:03:15Z")

</div>

hi,i’m seeing a strange ‘too many open files’ error with nginx (which I’m sure many of you have seen before): 2008/11/17 02:15:02 \[alert\] 21748#0: accept() failed (24: Too many open files) while accepting new connect…

---

## [Iconv problem - not handling \\r correctly](https://www.ruby-forum.com/t/iconv-problem-not-handling-r-correctly/151847)

<div class="topic-metadata">

**Author:** [@rainyglade](https://www.ruby-forum.com/u/rainyglade)\
**Replies:** 2\
**Last updated:** [October 27, 2008, 12:12pm UTC](https://www.ruby-forum.com/t/iconv-problem-not-handling-r-correctly/151847 "2008-10-27T12:12:39Z")

</div>

I have an XML file that I need to process. I’m working in the Windows environment. Here is the head of the file: 0000000000 Â â– \< \\0 A \\0 u \\0 t \\0 o \\0 S \\0 t \\0 0000000020 a \\0 …

---

## [Javascript "mezclado"](https://www.ruby-forum.com/t/javascript-mezclado/151550)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 2\
**Last updated:** [October 23, 2008, 9:37am UTC](https://www.ruby-forum.com/t/javascript-mezclado/151550 "2008-10-23T09:37:09Z")

</div>

Para editar un mensaje de foro, por javascript sustituyo el mensaje por las cajas de ediciÃ³n, y luego en el update revierto el cambio: format.js do render :update do |page| page.replace\_html “texto\_respuesta\_#{@resp…

---

## [Including matchers in Cucumber](https://www.ruby-forum.com/t/including-matchers-in-cucumber/149198)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 2\
**Last updated:** [September 22, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/including-matchers-in-cucumber/149198 "2008-09-22T23:46:01Z")

</div>

Hi Where do you include matcher modules in Cucumber so they don’t pollute Object? ie so module TwitterMatchers class HaveUserStatus # … end def have\_user\_status(user, status) HaveUserStatus.new(user, status) …

---

## [Openssl -\> jruby-complete.jar](https://www.ruby-forum.com/t/openssl-jruby-complete-jar/144180)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 2\
**Last updated:** [July 30, 2008, 11:30am UTC](https://www.ruby-forum.com/t/openssl-jruby-complete-jar/144180 "2008-07-30T11:30:16Z")

</div>

Hi, is there a way to include complete openssl support into the jruby jar file? Build output states, that I should install openssl using gem, if I need it. However, I want to use jruby+openssl from within a java app.…

---

## [\[ANN\] Boxcar Conductor](https://www.ruby-forum.com/t/ann-boxcar-conductor/134870)

<div class="topic-metadata">

**Author:** [@robby247365](https://www.ruby-forum.com/u/robby247365)\
**Replies:** 2\
**Last updated:** [April 15, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/ann-boxcar-conductor/134870 "2008-04-15T21:25:55Z")

</div>

Hey all! Our team is working on some interactive deployment tasks for deploying to Boxcar\[1\] accounts. While our efforts are focused on easing the deployment process to our hosting service, we wanted to open up the w…

---

## [Detect Production environment in erb?](https://www.ruby-forum.com/t/detect-production-environment-in-erb/129112)

<div class="topic-metadata">

**Author:** [@kevin\_evans](https://www.ruby-forum.com/u/kevin_evans)\
**Replies:** 2\
**Last updated:** [February 14, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/detect-production-environment-in-erb/129112 "2008-02-14T16:14:57Z")

</div>

Need to conditionally modify a layout based on if the app is running in production mode, any best practice on this?

---

## [Rexml and some rather basic problems](https://www.ruby-forum.com/t/rexml-and-some-rather-basic-problems/125712)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/rexml-and-some-rather-basic-problems/125712 "2008-01-11T13:17:27Z")

</div>

Hi, I’ve been playing around with ruby for a while now, but wouldnt consider myself an experienced user. For a new project I want to use a xml parser to extract some information from a file. I understand that rexml i…

---

## [Episode 73 resulting in error: undefined method \`stringify\_keys!' for "33":String](https://www.ruby-forum.com/t/episode-73-resulting-in-error-undefined-method-stringify-keys-for-33-string/124641)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 2\
**Last updated:** [December 31, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/episode-73-resulting-in-error-undefined-method-stringify-keys-for-33-string/124641 "2007-12-31T14:29:52Z")

</div>

I’m working with a similar model in Episode 73, (my scenario is editing multiple pictures for a product using attachment\_fu). And I’m getting an error when I try the technique suggested: ./views/admin/\_form.rhtml \<% …

---

## [.max a Block of code with yield?](https://www.ruby-forum.com/t/max-a-block-of-code-with-yield/122529)

<div class="topic-metadata">

**Author:** [@wrishel](https://www.ruby-forum.com/u/wrishel)\
**Replies:** 2\
**Last updated:** [December 8, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/max-a-block-of-code-with-yield/122529 "2007-12-08T23:04:02Z")

</div>

For a suitable value of pth, this works require ‘find’ Find.find (pth) { |x| puts x} This doesn’t require ‘find’ Find.find (pth) { |x| yield(x)}.max giving the error no block given (LocalJumpError), which I interpr…

---

## [Howto use a template for the mailer extension](https://www.ruby-forum.com/t/howto-use-a-template-for-the-mailer-extension/121000)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [November 22, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/howto-use-a-template-for-the-mailer-extension/121000 "2007-11-22T18:13:15Z")

</div>

Hello List, In the README of the mailer extensions is mentioned that you can add a page part email and/or email\_html to use as a mail template. I’ve looked it up in the mailer code: plain\_body = part( :email ) ? ren…

---

## [Dynamic content in Extension (Forms in Radiant)](https://www.ruby-forum.com/t/dynamic-content-in-extension-forms-in-radiant/118312)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 2\
**Last updated:** [October 25, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/dynamic-content-in-extension-forms-in-radiant/118312 "2007-10-25T16:56:44Z")

</div>

I currently have two Rails apps for my site: one Radiant that serves the static context and a regular Rails app that does forms and authentication. Apache sits in front and figures out which app gets which URL. It’s…

---

## [Pulling a file with today's date](https://www.ruby-forum.com/t/pulling-a-file-with-todays-date/117310)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [October 15, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/pulling-a-file-with-todays-date/117310 "2007-10-15T23:41:55Z")

</div>

Hi, Can someone please help me to parse a file by its date so that, when I ftp to a site, I only pull those files that are dated with today’s date, nothing else? I’m OK with pulling all files over, looking at them on …

---

## [IronRuby on Mono](https://www.ruby-forum.com/t/ironruby-on-mono/116580)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 2\
**Last updated:** [October 13, 2007, 12:55pm UTC](https://www.ruby-forum.com/t/ironruby-on-mono/116580 "2007-10-13T12:55:07Z")

</div>

If you want to compile or to run IronRuby on Mono, the following information should be useful. NAnt build file is available here: http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ When you run rbx.exe after buil…

---

## [Nginx now in EPEL](https://www.ruby-forum.com/t/nginx-now-in-epel/113053)

<div class="topic-metadata">

**Author:** [@jeremy\_hinegardner](https://www.ruby-forum.com/u/jeremy_hinegardner)\
**Replies:** 2\
**Last updated:** [August 28, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/nginx-now-in-epel/113053 "2007-08-28T21:25:15Z")

</div>

Hi all, For those of you who use nginx in rails deployment with RHEL(4 or 5) based distributions you’ll be happy to know that nginx is now officially in EPEL (Extra Packages for Enterprise Linux). What this means is …

---

## [Map.resources with habtm](https://www.ruby-forum.com/t/map-resources-with-habtm/111015)

<div class="topic-metadata">

**Author:** [@martinevans](https://www.ruby-forum.com/u/martinevans)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/map-resources-with-habtm/111015 "2007-08-02T21:22:40Z")

</div>

Hi I’m trying to use restful resources with recipes and ingredients I’ve set up the models using scaffold\_resource. A recipe can have many ingredients and an ingredient can be in many recipes. I’ve set the relations…

---

## [Behavior of proc { || } on 1.9](https://www.ruby-forum.com/t/behavior-of-proc-on-1-9/105256)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [May 28, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/behavior-of-proc-on-1-9/105256 "2007-05-28T15:07:21Z")

</div>

Is this expected behavior? cout@bean:~$ ruby -v -e ‘proc { || }.call 42’ ruby 1.8.6 (2007-03-13 patchlevel 0) \[i686-linux\] -e:1: wrong number of arguments (1 for 0) (ArgumentError) from -e:1:in \`call’ from -e:1 cou…

---

## [What does option\_tags = nil mean?](https://www.ruby-forum.com/t/what-does-option-tags-nil-mean/93154)

<div class="topic-metadata">

**Author:** [@pingu](https://www.ruby-forum.com/u/pingu)\
**Replies:** 2\
**Last updated:** [April 28, 2007, 1:04pm UTC](https://www.ruby-forum.com/t/what-does-option-tags-nil-mean/93154 "2007-04-28T13:04:22Z")

</div>

Hi, in the context of: select\_tag(name, option\_tags = nil, options = {}) what does option\_tags = nil mean?, specifically setting it to nil, does it men its optional? Thanks

---

## [jEdit as an IDE](https://www.ruby-forum.com/t/jedit-as-an-ide/92050)

<div class="topic-metadata">

**Author:** [@Sean\_McFarland](https://www.ruby-forum.com/u/Sean_McFarland)\
**Replies:** 2\
**Last updated:** [April 15, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/jedit-as-an-ide/92050 "2007-04-15T14:58:22Z")

</div>

Hello, I was just wondering if anyone out there has used jEdit as a Ruby IDE, and if so, what their overall opinion was? Thanks for your time, Sean McFarland

---

## [Pour la pause cafe](https://www.ruby-forum.com/t/pour-la-pause-cafe/90526)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 9:37am UTC](https://www.ruby-forum.com/t/pour-la-pause-cafe/90526 "2007-04-02T09:37:31Z")

</div>

histoire de se détendre, (lu sur Rails Talk) -- Jean-François.

---

## [Polymorphic Computer:](https://www.ruby-forum.com/t/polymorphic-computer/89993)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 2\
**Last updated:** [March 25, 2007, 10:24am UTC](https://www.ruby-forum.com/t/polymorphic-computer/89993 "2007-03-25T10:24:38Z")

</div>

Monarch Polymorphic Computer processing power 64 GFlops memory bandwidth 60 GBytes/sec IO bandwidth 43 Gbytes/sec power dissipation 11W to 21W http://investor.raytheon.com/phoenix.zhtml?c=84193&p=irol-newsArt…

---

## [How to create a corporation](https://www.ruby-forum.com/t/how-to-create-a-corporation/89118)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [March 17, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/how-to-create-a-corporation/89118 "2007-03-17T14:44:17Z")

</div>

Hi all I need to creae a web site that will tal about differnt types of corporations, how to incorporate, and provide incorporation asssitance. Where can I find any RoR template that will help me on this project? tha…

---

## [Constante environnement depuis un plugin](https://www.ruby-forum.com/t/constante-environnement-depuis-un-plugin/89002)

<div class="topic-metadata">

**Author:** [@FrSSSSdSSSSric\_Logi](https://www.ruby-forum.com/u/FrSSSSdSSSSric_Logi)\
**Replies:** 2\
**Last updated:** [March 16, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/constante-environnement-depuis-un-plugin/89002 "2007-03-16T14:59:27Z")

</div>

Bonjour, dans mon plugin j’essaye d’accÃ©der Ã une constante dÃ©finie dans environment.rb. Pour cela je me suis inspirÃ© du plugin authorization : if not Object.constants.include? "DEFAULT\_REDIRECTION\_HASH" DEFAUL…

---

## [Composite Primary Keys](https://www.ruby-forum.com/t/composite-primary-keys/88134)

<div class="topic-metadata">

**Author:** [@benemson](https://www.ruby-forum.com/u/benemson)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/composite-primary-keys/88134 "2007-03-08T16:46:23Z")

</div>

Have been looking into using rails but am finding the “Composite Primary Keys are Bad” thing a tad disturbing (to put it mildly). I have been working with RDBMS systems for over fifteen years and this is the first ti…

---

## [Gruff and rbgsl conflict](https://www.ruby-forum.com/t/gruff-and-rbgsl-conflict/87076)

<div class="topic-metadata">

**Author:** [@shin\_e](https://www.ruby-forum.com/u/shin_e)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 2:46am UTC](https://www.ruby-forum.com/t/gruff-and-rbgsl-conflict/87076 "2007-03-02T02:46:19Z")

</div>

I cannot get the server running with gruff and rbgsl together. require ‘gruff’ require ‘rbgsl’ If I have these two in either environment.rb or anywhere else the server quits with the following. The server runs fine w…

---

## [Subclassing Models](https://www.ruby-forum.com/t/subclassing-models/84442)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 2\
**Last updated:** [February 5, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/subclassing-models/84442 "2007-02-05T12:08:02Z")

</div>

Not even sure I have the right terminology here, Ruby/Rails syntax is a bit of a challenge to get my brain wrapped around. The majority of my models will have a timestamp/userstamp (updated\_on, updated\_by) type thing.…

---

## [Detect file download status](https://www.ruby-forum.com/t/detect-file-download-status/68062)

<div class="topic-metadata">

**Author:** [@kleas](https://www.ruby-forum.com/u/kleas)\
**Replies:** 2\
**Last updated:** [September 9, 2006, 10:49am UTC](https://www.ruby-forum.com/t/detect-file-download-status/68062 "2006-09-09T10:49:19Z")

</div>

Hello you Railers, I need to check the status of a file’s download (if it completed succesfully or not). Imagine something like a shop. You login, you pay, you download. And if the file is downloaded successfully I wa…

---

## [Importing libraries - Installing OOo4R](https://www.ruby-forum.com/t/importing-libraries-installing-ooo4r/62213)

<div class="topic-metadata">

**Author:** [@Anthony\_Elizondo](https://www.ruby-forum.com/u/Anthony_Elizondo)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/importing-libraries-installing-ooo4r/62213 "2006-06-01T18:48:50Z")

</div>

I’ve been looking for some documentation on the proper way to import libraries, and I can’t seem to find any definite rules. Suppose I want to “install” OpenOffice4R, OOo4R. Should I just copy the contents of lib into…

---

## [How do you Convert a Time or Date to SQL formatted date?](https://www.ruby-forum.com/t/how-do-you-convert-a-time-or-date-to-sql-formatted-date/94627)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 2\
**Last updated:** [May 9, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/how-do-you-convert-a-time-or-date-to-sql-formatted-date/94627 "2006-05-09T19:22:54Z")

</div>

I am executing some arbitrary SQL in which i need to convert a date/time object into an sql formatted string. Is there a simple way to do this in rails? Thanks Chris

---

## [Single table inheritance: change object 'type' after create?](https://www.ruby-forum.com/t/single-table-inheritance-change-object-type-after-create/52489)

<div class="topic-metadata">

**Author:** [@asa](https://www.ruby-forum.com/u/asa)\
**Replies:** 2\
**Last updated:** [January 15, 2006, 5:19am UTC](https://www.ruby-forum.com/t/single-table-inheritance-change-object-type-after-create/52489 "2006-01-15T05:19:45Z")

</div>

Hey folks, I’m trying to keep track of couple of different kinds of “entities” in my rails app: “people”, “organizations”, and “committees”. I have a single Entities table in the database, and I’m using Single Table …

---

## [Re: string range membership](https://www.ruby-forum.com/t/re-string-range-membership/100720)

<div class="topic-metadata">

**Author:** [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Replies:** 2\
**Last updated:** [November 23, 2005, 7:28pm UTC](https://www.ruby-forum.com/t/re-string-range-membership/100720 "2005-11-23T19:28:02Z")

</div>

Ara, ruby -v -e “p((‘1’…‘10’).to\_a)” ruby 1.8.2 (2004-12-25) \[i386-mswin32\] \[“1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”\] This shows a clear and unique mapping of the range ‘1’…‘10’ into a set of strings. b…

---

## [How to use clipper extension & Clipper online Coupons](https://www.ruby-forum.com/t/how-to-use-clipper-extension-clipper-online-coupons/263083)

<div class="topic-metadata">

**Author:** [@clipperextension](https://www.ruby-forum.com/u/clipperextension)\
**Replies:** 0\
**Last updated:** [July 22, 2022, 1:13pm UTC](https://www.ruby-forum.com/t/how-to-use-clipper-extension-clipper-online-coupons/263083 "2022-07-22T13:13:18Z")

</div>

Guess who made online shopping easier? Yours truly and the only shopping friend; Clipper Extension. Just download and enjoy the magical process of coupon and money-saving promo code application. In addition, have access …

---

## [Isdb-t implementation in gnuradio](https://www.ruby-forum.com/t/isdb-t-implementation-in-gnuradio/238175)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 3:18pm UTC](https://www.ruby-forum.com/t/isdb-t-implementation-in-gnuradio/238175 "2013-12-20T15:18:08Z")

</div>

Hi everyone, Here in the lab we have been working for several months with USRPs and GNURadio, both for teaching and research, but specially the former. Students are very very motivated by the sense of reality that the…

---

## [Pull Request #29 - Sync with rubyspec/mspec](https://www.ruby-forum.com/t/pull-request-29-sync-with-rubyspec-mspec/210364)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/pull-request-29-sync-with-rubyspec-mspec/210364 "2011-08-05T18:45:33Z")

</div>

I am implementing IO#binread for workitem 6345 (http://ironruby.codeplex.com/workitem/6345). The rubyspec for IO#binread is missing, so i added it with pull request to rubyspec/rubyspec ( these are my first contributi…

---

## [Badly organized code?](https://www.ruby-forum.com/t/badly-organized-code/189239)

<div class="topic-metadata">

**Author:** [@himdel](https://www.ruby-forum.com/u/himdel)\
**Replies:** 8\
**Last updated:** [May 27, 2010, 5:04pm UTC](https://www.ruby-forum.com/t/badly-organized-code/189239 "2010-05-27T17:04:23Z")

</div>

Hi all, I am writing generic command line scripts and here is a minimal example: http://pastie.org/979581 - which I am quite happy with. Now the required ‘biopieces’ class is here http://pastie.org/979577 - but this I…

---

## [HELP! Rake aborted! Can't modify frozen hash](https://www.ruby-forum.com/t/help-rake-aborted-cant-modify-frozen-hash/186255)

<div class="topic-metadata">

**Author:** [@patrick\_nicholas](https://www.ruby-forum.com/u/patrick_nicholas)\
**Replies:** 0\
**Last updated:** [April 3, 2010, 12:26am UTC](https://www.ruby-forum.com/t/help-rake-aborted-cant-modify-frozen-hash/186255 "2010-04-03T00:26:48Z")

</div>

Too bad even the trace doesn’t say which hash is involved. Sorry this post is long: am trying to provide enough context to be meaningful. Occurs intermittently when rake jobs:work is pulling a command out of delayed\_…

---

## [STI - Validating 'type' value solution](https://www.ruby-forum.com/t/sti-validating-type-value-solution/174859)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 6:11am UTC](https://www.ruby-forum.com/t/sti-validating-type-value-solution/174859 "2009-09-03T06:11:50Z")

</div>

In case this is of use to anybody here is what I did to use STI and validate the contents of column type… I have a users table with a column named ‘type’ to implement STI and. The Admin should be the only one being ab…

---

## [Security](https://www.ruby-forum.com/t/security/154348)

<div class="topic-metadata">

**Author:** [@Sebastian\_Hennebrue](https://www.ruby-forum.com/u/Sebastian_Hennebrue)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 4:19am UTC](https://www.ruby-forum.com/t/security/154348 "2008-11-28T04:19:27Z")

</div>

Hello, I just setup my first mongrel server behind a apache proxy. I recognized that a lot of explanation in the wiki and on other external pages configure mod\_proxy to connect to a localhost but simple do not config…

---

## [Using window.onload commands the 'rails way'](https://www.ruby-forum.com/t/using-window-onload-commands-the-rails-way/82945)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 0\
**Last updated:** [January 22, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/using-window-onload-commands-the-rails-way/82945 "2007-01-22T16:51:40Z")

</div>

I’m trying to integrate niftycube (Nifty Corners Cube - freedom to round) into my rails app. It however requires that you specify window.onload commands for each of the rounded areas which you wish to use. Given that…

---

## [Re: Thousands of words on Ruby](https://www.ruby-forum.com/t/re-thousands-of-words-on-ruby/67914)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 8\
**Last updated:** [September 9, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/re-thousands-of-words-on-ruby/67914 "2006-09-09T16:42:28Z")

</div>

James, What do you do for ‘rename method’ in TextMate? I’m aware of the search and replace in file feature but I was wondering if there was something better. Nice write-up by the way. Ruby IDEs might not do all tha…

---

## [How do you run custom script with rails?](https://www.ruby-forum.com/t/how-do-you-run-custom-script-with-rails/225240)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 24, 2012, 12:59pm UTC](https://www.ruby-forum.com/t/how-do-you-run-custom-script-with-rails/225240 "2012-12-24T12:59:16Z")

</div>

I am writing some app which involves execution of external bin/ script. How do i run it with RoR apps ? Currently, i thought of using custom\_script agr1 arg2 in my controller/model . Is it good ? Or you handle it i…

---

## [Looking for patterns in a collection](https://www.ruby-forum.com/t/looking-for-patterns-in-a-collection/222579)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 3, 2012, 11:58am UTC](https://www.ruby-forum.com/t/looking-for-patterns-in-a-collection/222579 "2012-09-03T11:58:10Z")

</div>

Greetings, i have the following (fragment olny) : devices = \[{d1 =\> \[0,1,0,1,0,0,…\]}, {d2 =\> \[0,0,1,1,0,1,…\]}, {d3 =\> \[1,0,1,1,0,1,…\]}, …\] Each hash represents device, the array of zeroes and ones representing the …

---

## [Controller Models](https://www.ruby-forum.com/t/controller-models/226298)

<div class="topic-metadata">

**Author:** [@jeansbastien\_d](https://www.ruby-forum.com/u/jeansbastien_d)\
**Replies:** 4\
**Last updated:** [July 10, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/controller-models/226298 "2012-07-10T15:10:41Z")

</div>

Here I Just started to learn Ruby on Rails! My issues is when reading the data using my controller pages. I initiate my controller using this command rails g controller schoolTypes I then initiate my model has the fo…

---

## [Find object based on string value](https://www.ruby-forum.com/t/find-object-based-on-string-value/219201)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [April 27, 2012, 10:55pm UTC](https://www.ruby-forum.com/t/find-object-based-on-string-value/219201 "2012-04-27T22:55:41Z")

</div>

Hi all, I have this method which, ideally, I would like to work in such a way as I pass in three string values, the first is the name of the object I am trying to instantiate, the second a string value corresponding t…

---

## [Changing protocol or urls in will\_paginate](https://www.ruby-forum.com/t/changing-protocol-or-urls-in-will-paginate/195291)

<div class="topic-metadata">

**Author:** [@cnicolaou](https://www.ruby-forum.com/u/cnicolaou)\
**Replies:** 4\
**Last updated:** [September 21, 2010, 10:16am UTC](https://www.ruby-forum.com/t/changing-protocol-or-urls-in-will-paginate/195291 "2010-09-21T10:16:17Z")

</div>

Hey, I’ve been looking to override the default protocol provided with will\_paginate. Is there a chance anyone knows how to do that? I tried doing so using this helper but it never works since url\_for is accepting a …

---

## [Updating a collection in a RESTful mannerâ€¦](https://www.ruby-forum.com/t/updating-a-collection-in-a-restful-mannera/192913)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [August 10, 2010, 10:28am UTC](https://www.ruby-forum.com/t/updating-a-collection-in-a-restful-mannera/192913 "2010-08-10T10:28:52Z")

</div>

Hi, Today I added a checkbox to each row of a table and a save button, to perform an Archive operation on N items in the table. This is essentially an update of the collection. My initial thought was to PUT to studen…

---

## [Some help with a simple Rails problem?](https://www.ruby-forum.com/t/some-help-with-a-simple-rails-problem/192916)

<div class="topic-metadata">

**Author:** [@npenkov](https://www.ruby-forum.com/u/npenkov)\
**Replies:** 4\
**Last updated:** [August 8, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/some-help-with-a-simple-rails-problem/192916 "2010-08-08T17:36:06Z")

</div>

Hi Guys. Im new to Rails, after developing in Java for about the last 4 years, because I want to develop better web based apps and find Ruby would be better for this. Basically im learning as I’m going and what I want…

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

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