# Top

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

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

---

## [\<% form\_for(@post) do |f| %\> does not work!](https://www.ruby-forum.com/t/form-for-post-do-f-does-not-work/123363)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [December 18, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/form-for-post-do-f-does-not-work/123363 "2007-12-18T21:50:59Z")

</div>

Hi all I just stumbled over the examples in that tells me I could just use \<% form\_for(@post) do |f| %\> which should expand to \<% form\_for :post, @post, :url =\> post\_path(@post), :html =\> { :method =\> :put, :clas…

---

## [Enforce implementation of Module method](https://www.ruby-forum.com/t/enforce-implementation-of-module-method/123096)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 4\
**Last updated:** [December 14, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/enforce-implementation-of-module-method/123096 "2007-12-14T16:19:39Z")

</div>

Let’s say I have the following module: module Parenting def add\_child(a\_child) self.children.push(a\_child) end def delete\_child(a\_child) self.children.delete(a\_child) end def children # need to implement end e…

---

## [How to remember if a div is shown or hidden after a page ref](https://www.ruby-forum.com/t/how-to-remember-if-a-div-is-shown-or-hidden-after-a-page-ref/121955)

<div class="topic-metadata">

**Author:** [@axplains](https://www.ruby-forum.com/u/axplains)\
**Replies:** 4\
**Last updated:** [December 4, 2007, 7:11am UTC](https://www.ruby-forum.com/t/how-to-remember-if-a-div-is-shown-or-hidden-after-a-page-ref/121955 "2007-12-04T07:11:39Z")

</div>

Hi everyone, hi have a similar problem in a view: ... Hide/show content I would like the page to “remember” that the div has been hidden after a page reload. (The div comes up always visible even if it was set to hid…

---

## [Ruby and Rails on Leopard](https://www.ruby-forum.com/t/ruby-and-rails-on-leopard/118566)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [October 30, 2007, 7:09am UTC](https://www.ruby-forum.com/t/ruby-and-rails-on-leopard/118566 "2007-10-30T07:09:31Z")

</div>

I asked on the Ruby list the best way to switch from my Hivelogic source installed versions of Ruby and Rails, to the Leopard native versions. The reply was to just change my PATH to move the /usr/local/bin to the end…

---

## [Syntax: iter?](https://www.ruby-forum.com/t/syntax-iter/116799)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 4\
**Last updated:** [October 10, 2007, 9:29am UTC](https://www.ruby-forum.com/t/syntax-iter/116799 "2007-10-10T09:29:17Z")

</div>

The Rubinius specs refer to an iter statement. I have vague memories of one existing but couldn’t find any doc of it in the Pickaxe, and I don’t have my other books around. Am I dreaming? iter NameError: undefined …

---

## [Idiomatic way to do a non-database Enumeration?](https://www.ruby-forum.com/t/idiomatic-way-to-do-a-non-database-enumeration/112852)

<div class="topic-metadata">

**Author:** [@Zeekar](https://www.ruby-forum.com/u/Zeekar)\
**Replies:** 4\
**Last updated:** [August 24, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/idiomatic-way-to-do-a-non-database-enumeration/112852 "2007-08-24T19:10:32Z")

</div>

I have a class which stores as one of its attributes a day of the week as an integer (0-6, 0=Sunday, standard UNIXy values). I want, obviously, the views to show the weekday name and the forms to provide a drop-down …

---

## [Failure trying to build Ruby 1.8.6 on HP-UX 11](https://www.ruby-forum.com/t/failure-trying-to-build-ruby-1-8-6-on-hp-ux-11/112652)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [August 22, 2007, 1:58am UTC](https://www.ruby-forum.com/t/failure-trying-to-build-ruby-1-8-6-on-hp-ux-11/112652 "2007-08-22T01:58:11Z")

</div>

Hi all, djberge@td191\> uname -a HP-UX td191 B.11.31 U 9000/800 3397116299 unlimited-user license djberge@td191\> what which cc /usr/bin/cc: $Revision: 92453-07 linker linker crt0.o B.11.53 060807 $ LINT B.11.X.36086…

---

## [How to find at which line characters appear](https://www.ruby-forum.com/t/how-to-find-at-which-line-characters-appear/108579)

<div class="topic-metadata">

**Author:** [@desertfox](https://www.ruby-forum.com/u/desertfox)\
**Replies:** 4\
**Last updated:** [July 5, 2007, 5:10am UTC](https://www.ruby-forum.com/t/how-to-find-at-which-line-characters-appear/108579 "2007-07-05T05:10:12Z")

</div>

Hello, I have a file that includes a “---------” string at a certain line number. How can I find out at which line number the string occurs? Would it be best to split the text file into an array with split("\\n") and…

---

## [Is there a way to store items in a hash, yet refer to them a](https://www.ruby-forum.com/t/is-there-a-way-to-store-items-in-a-hash-yet-refer-to-them-a/90667)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 31, 2007, 6:03am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-store-items-in-a-hash-yet-refer-to-them-a/90667 "2007-03-31T06:03:36Z")

</div>

Hi, Many of the view helpers require an object with accessor methods as parameters. There are times however, when I want to store a collection of variables in a hash, and yet be able to use these helpers. Look at t…

---

## [Reading binary file written by C program](https://www.ruby-forum.com/t/reading-binary-file-written-by-c-program/89798)

<div class="topic-metadata">

**Author:** [@Yacao\_Wang](https://www.ruby-forum.com/u/Yacao_Wang)\
**Replies:** 4\
**Last updated:** [March 22, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/reading-binary-file-written-by-c-program/89798 "2007-03-22T22:49:43Z")

</div>

Hi all, I’ve learned some basic of Ruby and I need to write a program that can read data from binary files written by a C program. I was supposed to use the company library to do this using C++ but I really feel that…

---

## [Calling a method whose name I only know at run-time](https://www.ruby-forum.com/t/calling-a-method-whose-name-i-only-know-at-run-time/84344)

<div class="topic-metadata">

**Author:** [@builderchad](https://www.ruby-forum.com/u/builderchad)\
**Replies:** 4\
**Last updated:** [February 3, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/calling-a-method-whose-name-i-only-know-at-run-time/84344 "2007-02-03T19:23:07Z")

</div>

Hi folks, I have a handful of methods that perform operations on chunks of data. Which of these methods is called is specified in a YAML configuration so I only know the method names at run-time, which are, of course,…

---

## [Can't read my MySQL Tables](https://www.ruby-forum.com/t/cant-read-my-mysql-tables/83130)

<div class="topic-metadata">

**Author:** [@james\_027](https://www.ruby-forum.com/u/james_027)\
**Replies:** 4\
**Last updated:** [January 24, 2007, 4:39am UTC](https://www.ruby-forum.com/t/cant-read-my-mysql-tables/83130 "2007-01-24T04:39:20Z")

</div>

hi, I am trying to create a new model by ruby script/model Personnel. But when I look into the personnel.rb there are no fields generated. Where should I check this problem? Thanks

---

## [Como enseÃ±ar el codigo HTML en una pagina RoR](https://www.ruby-forum.com/t/como-ensea-ar-el-codigo-html-en-una-pagina-ror/71421)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 4\
**Last updated:** [October 9, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/como-ensea-ar-el-codigo-html-en-una-pagina-ror/71421 "2006-10-09T14:53:32Z")

</div>

Hola a todos tengo una pagina HTML de codumentacion, y quiero aÃ±adi un ejemplo de una view. Cuando aÃ±ado el codigo siguiente: Hello!!! \<%= start\_form\_tag :controller=\>'greet', :action=\>'say\_hi' %\> Enter Your N.…

---

## [Link\_to params](https://www.ruby-forum.com/t/link-to-params/71195)

<div class="topic-metadata">

**Author:** [@Bolo\_M](https://www.ruby-forum.com/u/Bolo_M)\
**Replies:** 4\
**Last updated:** [October 7, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/link-to-params/71195 "2006-10-07T20:20:32Z")

</div>

Bonjour, j’aimerais faire un lien vers une action new et passer un paramÃ¨tre suplÃ©mentaire qui dans le id de ma catÃ©gories \<%= link\_to “ajouter une question”, new\_faq\_url(), :faq\_category\_id =\> @faq\_category.id %\> …

---

## [Questions about rb\_iv\_set/get](https://www.ruby-forum.com/t/questions-about-rb-iv-set-get/67136)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 1, 2006, 12:27pm UTC](https://www.ruby-forum.com/t/questions-about-rb-iv-set-get/67136 "2006-09-01T12:27:54Z")

</div>

i do have some questions about rb\_iv\_set/get in order to know if i must \*\* OR NOT \*\* free mem allocation relevant to VALUEs passed to rb\_iv\_set ? are only pointers stored ore copies of strings ?

---

## [\[0.10.0\] Index#search\_each options ignored](https://www.ruby-forum.com/t/0-10-0-index-search-each-options-ignored/66252)

<div class="topic-metadata">

**Author:** [@pyros](https://www.ruby-forum.com/u/pyros)\
**Replies:** 4\
**Last updated:** [August 24, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/0-10-0-index-search-each-options-ignored/66252 "2006-08-24T17:07:03Z")

</div>

Hi Dave, The options hash is not used in search\_each() method.

---

## [How to do url encoding for given text in rails?](https://www.ruby-forum.com/t/how-to-do-url-encoding-for-given-text-in-rails/98646)

<div class="topic-metadata">

**Author:** [@Zhenjian\_YU](https://www.ruby-forum.com/u/Zhenjian_YU)\
**Replies:** 4\
**Last updated:** [July 17, 2006, 10:02am UTC](https://www.ruby-forum.com/t/how-to-do-url-encoding-for-given-text-in-rails/98646 "2006-07-17T10:02:05Z")

</div>

hi, for example, I have an string “q1 q2 q3”. how can I encode it in rails to produce the result like “q1%20q2%20q3”. Thanks! Best Regards, Zhenjian

---

## [Re: changing the type of a variable](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 4\
**Last updated:** [May 10, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676 "2006-05-10T21:40:43Z")

</div>

You may need to restart your Rails application so that your changes may be picked up. Gennady.

---

## [Scaling Rails with Apache 2.2, mod\_proxy\_balancer and Mongre](https://www.ruby-forum.com/t/scaling-rails-with-apache-2-2-mod-proxy-balancer-and-mongre/58476)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 4\
**Last updated:** [April 22, 2006, 1:54am UTC](https://www.ruby-forum.com/t/scaling-rails-with-apache-2-2-mod-proxy-balancer-and-mongre/58476 "2006-04-22T01:54:15Z")

</div>

Cheers, I’ve just published a blog post about scaling Rails with Apache 2.2, mod\_proxy\_balancer and Mongrel. This way you do not need another proxy server or load balancer for Mongrel. Just use Apache 2.2 and mod\_prox…

---

## [Important features of Ruby](https://www.ruby-forum.com/t/important-features-of-ruby/93392)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/important-features-of-ruby/93392 "2006-04-01T23:19:34Z")

</div>

Dear all, I’m pretty new to Ruby and I’ve discovered that it has a number of nice ideas such as blocks and mixins. I wonder, however, what features of Ruby would the experts consider as being the most important ones? …

---

## [Integration using ruby](https://www.ruby-forum.com/t/integration-using-ruby/56334)

<div class="topic-metadata">

**Author:** [@jeetendra](https://www.ruby-forum.com/u/jeetendra)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 12:54am UTC](https://www.ruby-forum.com/t/integration-using-ruby/56334 "2006-04-01T00:54:32Z")

</div>

Hi, I need to find out how I could use Ruby to integrate existing applications so that I could for example … automate certain procedures. I am relatively new to the language. As a part of exploring new technologies m…

---

## [Which Rails book is good?](https://www.ruby-forum.com/t/which-rails-book-is-good/87282)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 27, 2006, 2:34am UTC](https://www.ruby-forum.com/t/which-rails-book-is-good/87282 "2006-03-27T02:34:00Z")

</div>

Any suggestions on which book for Rails is better (I have no prior experience in Rails, though I’ve done lots of web development in Perl/Ruby and MySQL): Ruby on Rails: Up and Running: Rough Cuts Version from O’Reill…

---

## [Lighty + Mongrel?](https://www.ruby-forum.com/t/lighty-mongrel/54500)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [March 7, 2006, 7:12am UTC](https://www.ruby-forum.com/t/lighty-mongrel/54500 "2006-03-07T07:12:24Z")

</div>

On httpd I use ProxyPass and ProxyPassReverse to forward requests to webrick and mongrel. How can I do this same thing using Lighty and Mongrel? Thanks, Joe

---

## [RTRails now open sourced](https://www.ruby-forum.com/t/rtrails-now-open-sourced/101614)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 4\
**Last updated:** [February 6, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/rtrails-now-open-sourced/101614 "2006-02-06T20:22:15Z")

</div>

Hi, if anyone is interested in HTTP streaming and realtime communication: Our RTRails project is now finished. I uploaded RTRails to Rubyforge. Here is the project page: http://rubyforge.org/projects/rtrails/ Here i…

---

## [Going back to where you came from](https://www.ruby-forum.com/t/going-back-to-where-you-came-from/49196)

<div class="topic-metadata">

**Author:** [@kitesurfer](https://www.ruby-forum.com/u/kitesurfer)\
**Replies:** 4\
**Last updated:** [December 2, 2005, 2:38am UTC](https://www.ruby-forum.com/t/going-back-to-where-you-came-from/49196 "2005-12-02T02:38:25Z")

</div>

Hi, I have a page (A) that contains a table with links in one column. When the user hits a link it goes to another page (B) which is a read only form page with a done button. This page (B) is being reused in various …

---

## [Post/View Open Source Jobs](https://www.ruby-forum.com/t/post-view-open-source-jobs/51632)

<div class="topic-metadata">

**Author:** [@superiorss](https://www.ruby-forum.com/u/superiorss)\
**Replies:** 4\
**Last updated:** [November 16, 2005, 11:32pm UTC](https://www.ruby-forum.com/t/post-view-open-source-jobs/51632 "2005-11-16T23:32:23Z")

</div>

Post/View Open Source Jobs

---

## [Calculate input - numbers](https://www.ruby-forum.com/t/calculate-input-numbers/235979)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 28, 2013, 12:17am UTC](https://www.ruby-forum.com/t/calculate-input-numbers/235979 "2013-07-28T00:17:06Z")

</div>

Hi user\_input = $stdin.gets.chomp Now the user types: “5 + 5” As string (without the quotes). user\_input is now a string object containing “5 + 5” I would like to give back the result of the operation, which should…

---

## [Class Loader Weirdness | Rails 3.0.3](https://www.ruby-forum.com/t/class-loader-weirdness-rails-3-0-3/214147)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [November 23, 2011, 8:29pm UTC](https://www.ruby-forum.com/t/class-loader-weirdness-rails-3-0-3/214147 "2011-11-23T20:29:27Z")

</div>

Hi guys, I am stuck on, what i think is a class loader issue. In my app/models directory i have the following files: reductions/base.rb reductions/conversions\_by\_bucket.rb reductions/conversions\_by\_hour.rb reductio…

---

## [Does using :render =\> :partial breaks the MVC separation during an ajax call](https://www.ruby-forum.com/t/does-using-render-partial-breaks-the-mvc-separation-during-an-ajax-call/200871)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 5\
**Last updated:** [December 24, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/does-using-render-partial-breaks-the-mvc-separation-during-an-ajax-call/200871 "2010-12-24T19:06:12Z")

</div>

I am using this function below which updates a div element with a partial in an ajax call. def publish render :update do |page| page.replace\_html ‘my\_div’, :partial =\> ‘my\_partial’ end end Does this approach break…

---

## [Rails 3 gives me allot of issues?](https://www.ruby-forum.com/t/rails-3-gives-me-allot-of-issues/194732)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 5\
**Last updated:** [September 9, 2010, 9:09pm UTC](https://www.ruby-forum.com/t/rails-3-gives-me-allot-of-issues/194732 "2010-09-09T21:09:01Z")

</div>

Hello, Is there any configuration in Rails 3 since it destroy my HTML when i try to print something out ? Example: \<%= navigation \[{:users =\> admin\_users\_path}\] %\> \<li class=""\>\<a href="/admin/users"\>users\</a\>\</li\> …

---

## [Validation message in other module](https://www.ruby-forum.com/t/validation-message-in-other-module/187927)

<div class="topic-metadata">

**Author:** [@rahul\_m](https://www.ruby-forum.com/u/rahul_m)\
**Replies:** 5\
**Last updated:** [May 6, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/validation-message-in-other-module/187927 "2010-05-06T13:04:45Z")

</div>

i am having one comment module and putted the two validation and i have putted or copy the code of the add form of this module to my public module and when user add comment from the public module the customer flag is …

---

## [Navigate through folders](https://www.ruby-forum.com/t/navigate-through-folders/187733)

<div class="topic-metadata">

**Author:** [@brunik](https://www.ruby-forum.com/u/brunik)\
**Replies:** 5\
**Last updated:** [April 29, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/navigate-through-folders/187733 "2010-04-29T18:31:05Z")

</div>

Hello everyone, ok… I have file (file.txt) which is written by a script. In this given file there’s a path (c:/path/path1/path2) and I have the following code in another script: File.open(‘file.txt’).each\_line do |p| …

---

## [Ruby eval](https://www.ruby-forum.com/t/ruby-eval/174311)

<div class="topic-metadata">

**Author:** [@grays](https://www.ruby-forum.com/u/grays)\
**Replies:** 5\
**Last updated:** [August 25, 2009, 3:48am UTC](https://www.ruby-forum.com/t/ruby-eval/174311 "2009-08-25T03:48:27Z")

</div>

I am trying to learn Ruby as a first language, ( I tended to go back and forth over languages in my studies, but I plan, now, to focus on Ruby ), and came across a confusing problem. My brother likes to play Mafia Wars …

---

## [Problem with find with :joins and :include in same call](https://www.ruby-forum.com/t/problem-with-find-with-joins-and-include-in-same-call/167642)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 5\
**Last updated:** [May 11, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/problem-with-find-with-joins-and-include-in-same-call/167642 "2009-05-11T16:54:28Z")

</div>

Hi all, I am investigating moving our app from Rails 2.2.2 to Rails 2.3.2. So far doesn’t look too bad, but I am running in to one problem. In a model I have the following named scope: named\_scope :valid, {:include =\>…

---

## [Treetop Parser whitespace](https://www.ruby-forum.com/t/treetop-parser-whitespace/162415)

<div class="topic-metadata">

**Author:** [@wayhome](https://www.ruby-forum.com/u/wayhome)\
**Replies:** 5\
**Last updated:** [March 10, 2009, 1:55am UTC](https://www.ruby-forum.com/t/treetop-parser-whitespace/162415 "2009-03-10T01:55:43Z")

</div>

I can’t understand why the following test fails. Could you tell me why? Thanks, in advance. in arithmetic.treetop grammar Arithmetic rule white\_space \[ \\t\\n\\r\]+ { def value text\_value end } end end in test\_par…

---

## [Controller issue with plurals](https://www.ruby-forum.com/t/controller-issue-with-plurals/148968)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 5\
**Last updated:** [September 22, 2008, 5:50am UTC](https://www.ruby-forum.com/t/controller-issue-with-plurals/148968 "2008-09-22T05:50:05Z")

</div>

I have a controller named main and it’s mapped through routes.rb when I link to “main\_path” I get this error: uninitialized constant MainsController I tried creating a MainsController and mapping that but didn’t seem …

---

## [N00b question](https://www.ruby-forum.com/t/n00b-question/138022)

<div class="topic-metadata">

**Author:** [@mileschatterji](https://www.ruby-forum.com/u/mileschatterji)\
**Replies:** 5\
**Last updated:** [May 20, 2008, 3:27pm UTC](https://www.ruby-forum.com/t/n00b-question/138022 "2008-05-20T15:27:15Z")

</div>

somewhat new to ruby, and im trying to write a simple program to print and I would like the program to list the next one as and so on, this is what I have so far, I am just having trouble getting it add +1 to th…

---

## [Stat() permission denied](https://www.ruby-forum.com/t/stat-permission-denied/135939)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 5\
**Last updated:** [April 29, 2008, 9:49am UTC](https://www.ruby-forum.com/t/stat-permission-denied/135939 "2008-04-29T09:49:36Z")

</div>

I get a stat() permission denied on certain directories (it used to be another one, now it is this one) often. The directory exists, is not huge by any means, and the website loaded without an issue. 2008/04/26 08:05:…

---

## [Problem with Autotest and Rails](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950)

<div class="topic-metadata">

**Author:** [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Replies:** 5\
**Last updated:** [February 22, 2008, 11:52am UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950 "2008-02-22T11:52:13Z")

</div>

using rails 2.0.2 and ZenTest 3.7.2 I know this must be something dumb I’m doing. But I’m getting this problem both in OSX and ubuntu. On a new rails projects when I run autotest I get the following output loading…

---

## [Which data-type can I use for this task?](https://www.ruby-forum.com/t/which-data-type-can-i-use-for-this-task/129235)

<div class="topic-metadata">

**Author:** [@Adna\_rim](https://www.ruby-forum.com/u/Adna_rim)\
**Replies:** 5\
**Last updated:** [February 15, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/which-data-type-can-i-use-for-this-task/129235 "2008-02-15T23:18:18Z")

</div>

Hi, I have a little question. I have a list here like this: street house person age street house person age street house person age … Now I wanna store them in a data type like an array. I tied this here: …

---

## [How can I selectively turn of validations](https://www.ruby-forum.com/t/how-can-i-selectively-turn-of-validations/128743)

<div class="topic-metadata">

**Author:** [@iqbalhyd](https://www.ruby-forum.com/u/iqbalhyd)\
**Replies:** 5\
**Last updated:** [February 11, 2008, 4:29pm UTC](https://www.ruby-forum.com/t/how-can-i-selectively-turn-of-validations/128743 "2008-02-11T16:29:27Z")

</div>

Hi, I need to selectively turn off validations for example, I want to make sure that password and password\_confirmation fields are equal when user first signs up or changes his password from his profile, but not i…

---

## [Trying to load an library from /home/.highjump, dunno why](https://www.ruby-forum.com/t/trying-to-load-an-library-from-home-highjump-dunno-why/126430)

<div class="topic-metadata">

**Author:** [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Replies:** 5\
**Last updated:** [January 18, 2008, 12:08pm UTC](https://www.ruby-forum.com/t/trying-to-load-an-library-from-home-highjump-dunno-why/126430 "2008-01-18T12:08:56Z")

</div>

I have a typo blog running on dreamhost, now i’m getting this strange error: LoadError (Expected /home/.highjump/auszug/auszug.org/app/controllers/ articles\_controller.rb to define ArticlesController): I can’t find o…

---

## [B1.03 of Programming Ruby now available](https://www.ruby-forum.com/t/b1-03-of-programming-ruby-now-available/125660)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 5\
**Last updated:** [January 12, 2008, 4:39am UTC](https://www.ruby-forum.com/t/b1-03-of-programming-ruby-now-available/125660 "2008-01-12T04:39:58Z")

</div>

I’ll keep it brief :slight\_smile: Updated through the end of “Ruby in its Setting”. Includes a new chapter on Ruby 1.9’s character encoding support. removed libraries no longer in 1.9 Chapter One lists the major change…

---

## [How to handle the final output page?](https://www.ruby-forum.com/t/how-to-handle-the-final-output-page/122282)

<div class="topic-metadata">

**Author:** [@wrb](https://www.ruby-forum.com/u/wrb)\
**Replies:** 5\
**Last updated:** [December 6, 2007, 6:00am UTC](https://www.ruby-forum.com/t/how-to-handle-the-final-output-page/122282 "2007-12-06T06:00:27Z")

</div>

i want to use javascript to encrypt the whole content in html tag and decrypt it in the browser side (in order to avoid robot to grab the content) . so i want to write a plugin or sth to handle the output of my …

---

## [@@identity](https://www.ruby-forum.com/t/identity/122166)

<div class="topic-metadata">

**Author:** [@four\_mrperfect](https://www.ruby-forum.com/u/four_mrperfect)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 9:52am UTC](https://www.ruby-forum.com/t/identity/122166 "2007-12-05T09:52:32Z")

</div>

I can’t seem to find any resources which tell me how to do the following. When I write some content to a table in my database (mysql), I want to retrieve the id of the newly inserted record; an equivalent of select @@…

---

## [Long running SQL query via ActiveRecord blocking the entire Ruby process?](https://www.ruby-forum.com/t/long-running-sql-query-via-activerecord-blocking-the-entire-ruby-process/119419)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [November 7, 2007, 12:30am UTC](https://www.ruby-forum.com/t/long-running-sql-query-via-activerecord-blocking-the-entire-ruby-process/119419 "2007-11-07T00:30:09Z")

</div>

To my surprise, a long running SQL query via ActiveRecord blocks an entire Ruby process (all the other threads are blocked while the thread that runs the SQL query is waiting for the result set) Has anyone else found …

---

## [Won't WIN32OLE\_EVENT.new leak?](https://www.ruby-forum.com/t/wont-win32ole-event-new-leak/112219)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [August 20, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/wont-win32ole-event-new-leak/112219 "2007-08-20T16:36:20Z")

</div>

Won’t WIN32OLE\_EVENT.new leak? A WIN32OLE object will sooner or later be freed (right?), when garbage collection kicks in. But a WIN32OLE\_EVENT object will never be freed, as it is kept in a global array and is neve…

---

## [To\_yaml method](https://www.ruby-forum.com/t/to-yaml-method/91369)

<div class="topic-metadata">

**Author:** [@simonr](https://www.ruby-forum.com/u/simonr)\
**Replies:** 5\
**Last updated:** [April 8, 2007, 12:55am UTC](https://www.ruby-forum.com/t/to-yaml-method/91369 "2007-04-08T00:55:39Z")

</div>

Hello, In order to learn Ruby, I am trying to write a Getting Things Done manager in Ruby+YAML. So, here is where I am : Parked at Loopia Be carefull… Store#to\_yaml is realy ugly ! So, how can I make this method pre…

---

## [\[ANN\] whatstheplan.com - a better way to plan events online](https://www.ruby-forum.com/t/ann-whatstheplan-com-a-better-way-to-plan-events-online/90835)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [April 2, 2007, 8:42am UTC](https://www.ruby-forum.com/t/ann-whatstheplan-com-a-better-way-to-plan-events-online/90835 "2007-04-02T08:42:15Z")

</div>

Hello, Yet another Rails launch announcement! We love rails and the latest thing we’ve put together is whatstheplan.com, a better way to plan events online. It’s a clean, elegant solution for organizing stuff with …

---

## [Frustrated with rails has\_many problem](https://www.ruby-forum.com/t/frustrated-with-rails-has-many-problem/77193)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 5\
**Last updated:** [November 25, 2006, 3:24am UTC](https://www.ruby-forum.com/t/frustrated-with-rails-has-many-problem/77193 "2006-11-25T03:24:01Z")

</div>

hello there all, i am writing a website in rails, i love it, but i am banging my head here . ok, i have a table called sites ( means customer sites ) each site has\_many :site\_notes so, site\_note belongs\_to :site i …

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

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