# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1357

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

---

## [Basic question: why mongrel (or webrick)?](https://www.ruby-forum.com/t/basic-question-why-mongrel-or-webrick/137057)

<div class="topic-metadata">

**Author:** [@prasad](https://www.ruby-forum.com/u/prasad)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/basic-question-why-mongrel-or-webrick/137057 "2008-05-12T16:20:12Z")

</div>

Hi there, A newbie question: Why a separate server - mongrel or webrick to be used when apache with a mod\_ruby (not sure if this exists) could have done the job. thanks -Prasad

---

## [6 month contract in Seattle, WA for an Ruby on Rails consultant](https://www.ruby-forum.com/t/6-month-contract-in-seattle-wa-for-an-ruby-on-rails-consultant/137373)

<div class="topic-metadata">

**Author:** [@nathan](https://www.ruby-forum.com/u/nathan)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/6-month-contract-in-seattle-wa-for-an-ruby-on-rails-consultant/137373 "2008-05-12T15:45:58Z")

</div>

I have a 6 month contract in Seattle, WA for an Ruby on Rails consultant. The requirement is as follows from the project manager. I’m looking for a developer that has experience with the tools/ languages listed below.…

---

## [\*\*Ruby on Rails Developer Required\*\*](https://www.ruby-forum.com/t/ruby-on-rails-developer-required/137370)

<div class="topic-metadata">

**Author:** [@mhinton](https://www.ruby-forum.com/u/mhinton)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 2:59pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-required/137370 "2008-05-12T14:59:57Z")

</div>

Ruby on Rails Developer - Permanent - London Office Based (flexible salary) I am currently searching for a number of Ruby on Rails Developers to work for a fresh, dynamic online organisation with a very exciting prod…

---

## [Radio\_button\_tag and default checked option](https://www.ruby-forum.com/t/radio-button-tag-and-default-checked-option/137308)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 2:32pm UTC](https://www.ruby-forum.com/t/radio-button-tag-and-default-checked-option/137308 "2008-05-12T14:32:25Z")

</div>

Hi, I can’t get my radio button to be checked by default, here is what I have: \<%= f.radio\_button :gender, “male”, :checked =\> ‘true’ %\> Male \<%= f.radio\_button :gender, “female” %\>Female

---

## [Help with ruby script/daemons start in production](https://www.ruby-forum.com/t/help-with-ruby-script-daemons-start-in-production/137317)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/help-with-ruby-script-daemons-start-in-production/137317 "2008-05-12T13:14:33Z")

</div>

I have no log in production mode with ruby script/daemons start. How can I make it work?

---

## [Will\_paginate and RJS](https://www.ruby-forum.com/t/will-paginate-and-rjs/137359)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 11:36am UTC](https://www.ruby-forum.com/t/will-paginate-and-rjs/137359 "2008-05-12T11:36:37Z")

</div>

Hi What my problem is I have a controller action and this action has content for the various tabs of the view .Some attchments,activities,resolutions etc…And this file is called only once and all the other is plannin…

---

## ['Stack level too deep' error](https://www.ruby-forum.com/t/stack-level-too-deep-error/137354)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 11:26am UTC](https://www.ruby-forum.com/t/stack-level-too-deep-error/137354 "2008-05-12T11:26:49Z")

</div>

Hi, Sometimes I am getting “Stack level too deep” exception. I have know no idea on when I am getting and why I am getting. Please give your suggestions. Thanks in advance…

---

## [Error with unit tests and EdgeRails](https://www.ruby-forum.com/t/error-with-unit-tests-and-edgerails/137358)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 11:26am UTC](https://www.ruby-forum.com/t/error-with-unit-tests-and-edgerails/137358 "2008-05-12T11:26:32Z")

</div>

Hi, Recently when attempting to run unit tests whin edge rails, I have started to recive the following error. rake aborted! undefined method \`dump\_schema\_information’ for #ActiveRecord::ConnectionAdapters::MysqlAdap…

---

## [New To Ruby ~ Need Advice](https://www.ruby-forum.com/t/new-to-ruby-need-advice/137284)

<div class="topic-metadata">

**Author:** [@Young\_Ben](https://www.ruby-forum.com/u/Young_Ben)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 10:42am UTC](https://www.ruby-forum.com/t/new-to-ruby-need-advice/137284 "2008-05-12T10:42:39Z")

</div>

Hi Community. I am new to Ruby. I am interested in doing some programming as a ‘hobby activity’. I did some ‘C’, ‘C++’, ‘VB’ & ‘Assembler’ in college & enjoyed it. I found making small programmes stimulating. All the …

---

## [Passing parameter to new object](https://www.ruby-forum.com/t/passing-parameter-to-new-object/137256)

<div class="topic-metadata">

**Author:** [@philippeqc](https://www.ruby-forum.com/u/philippeqc)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 10:29am UTC](https://www.ruby-forum.com/t/passing-parameter-to-new-object/137256 "2008-05-12T10:29:31Z")

</div>

People, I have tables “tickets” and “notes” - tickets has\_many notes. I have added: \<%= link\_to 'Add note', new\_note\_path %\> to: app/views/tickets/index.html.erb which works OK but I need to be able to pass the va…

---

## [Using editable\_content\_tag in Rails 2.0](https://www.ruby-forum.com/t/using-editable-content-tag-in-rails-2-0/137350)

<div class="topic-metadata">

**Author:** [@vibha](https://www.ruby-forum.com/u/vibha)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 10:09am UTC](https://www.ruby-forum.com/t/using-editable-content-tag-in-rails-2-0/137350 "2008-05-12T10:09:20Z")

</div>

I am using editable\_content\_tag in my application which runs in rails2.0 I referred a tutorial for this. The link follows http://www.bizmeetsdev.com/articles/2008/02/09/editable\_content\_tag#comments I had to edit the …

---

## [Activate a tab after an ajax call](https://www.ruby-forum.com/t/activate-a-tab-after-an-ajax-call/137338)

<div class="topic-metadata">

**Author:** [@skg](https://www.ruby-forum.com/u/skg)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 9:22am UTC](https://www.ruby-forum.com/t/activate-a-tab-after-an-ajax-call/137338 "2008-05-12T09:22:23Z")

</div>

Hi My main file(edit\_sd\_ticket\_ui.rhtml) has the following format (differnt tabs) Details Resolution Attachments \<%= render :partial=\>'service\_desk\_part/edit\_sd\_details' %\> \<%= r…

---

## [Issue with authentication](https://www.ruby-forum.com/t/issue-with-authentication/137344)

<div class="topic-metadata">

**Author:** [@Rajmohan\_B](https://www.ruby-forum.com/u/Rajmohan_B)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 9:08am UTC](https://www.ruby-forum.com/t/issue-with-authentication/137344 "2008-05-12T09:08:41Z")

</div>

Hi All, I am a newbie and playing around with restful\_authentication in my sample app. The associated code for user.rb is pasted below. When I try to run the server, i get the following error. I am using Rails 2.0.…

---

## [Apache + php +rails](https://www.ruby-forum.com/t/apache-php-rails/137347)

<div class="topic-metadata">

**Author:** [@ripan](https://www.ruby-forum.com/u/ripan)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 8:52am UTC](https://www.ruby-forum.com/t/apache-php-rails/137347 "2008-05-12T08:52:56Z")

</div>

Hi everyone. I am trying to integrate wordpress with rails i create php file in the public folder of rails whenever i try to open the php file through http://localhost/abc.php a dialogue box appears instead of disp…

---

## [Unable to execute Selenium RC example](https://www.ruby-forum.com/t/unable-to-execute-selenium-rc-example/137325)

<div class="topic-metadata">

**Author:** [@ssmile](https://www.ruby-forum.com/u/ssmile)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 8:48am UTC](https://www.ruby-forum.com/t/unable-to-execute-selenium-rc-example/137325 "2008-05-12T08:48:47Z")

</div>

I installed Selenium RC in lib folder of my project. When I execute the downloaded ruby example, I see error like: application-root\>ruby lib\\selenium-remote-control-1.0-beta-1\\selenium-ruby- client-driver-1.0-beta-1\\…

---

## [Problems with form\_for, STI, and polymorphic routing](https://www.ruby-forum.com/t/problems-with-form-for-sti-and-polymorphic-routing/137333)

<div class="topic-metadata">

**Author:** [@HSWade\_M](https://www.ruby-forum.com/u/HSWade_M)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 5:04am UTC](https://www.ruby-forum.com/t/problems-with-form-for-sti-and-polymorphic-routing/137333 "2008-05-12T05:04:46Z")

</div>

I’m stumped on how to get past this. It’s Rails 2.0.2. I have a class, Show. Using STI, I’m using that as a base class, and have DayShow and NightShow that inherit from it. class Show \< ActiveRecord::Base end cla…

---

## [Logger.info in controller not working!](https://www.ruby-forum.com/t/logger-info-in-controller-not-working/137318)

<div class="topic-metadata">

**Author:** [@luke](https://www.ruby-forum.com/u/luke)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 4:37am UTC](https://www.ruby-forum.com/t/logger-info-in-controller-not-working/137318 "2008-05-12T04:37:51Z")

</div>

Hi, logger.info ‘test’ does not print anything to my log files when called from the controller. If I script/console and type the same line it does … I’ve searched online but I can’t find anything that can help me tro…

---

## [Merging 3 Array/Hashes Into 1 and Preserve The Values](https://www.ruby-forum.com/t/merging-3-array-hashes-into-1-and-preserve-the-values/136748)

<div class="topic-metadata">

**Author:** [@newbie](https://www.ruby-forum.com/u/newbie)\
**Replies:** 9\
**Last updated:** [May 12, 2008, 3:12am UTC](https://www.ruby-forum.com/t/merging-3-array-hashes-into-1-and-preserve-the-values/136748 "2008-05-12T03:12:08Z")

</div>

I’m currently building a mini stat page and tracking some users stats that I would like to combine into a large table for an overview. I currently have the following… @new\_users = \[{“May Sat 03”=\>5}, {“May Fri 02”=\>1…

---

## [Has\_many Question](https://www.ruby-forum.com/t/has-many-question/137283)

<div class="topic-metadata">

**Author:** [@GabrielG1976](https://www.ruby-forum.com/u/GabrielG1976)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 1:55am UTC](https://www.ruby-forum.com/t/has-many-question/137283 "2008-05-12T01:55:48Z")

</div>

trying to added user accounts to a blog i have the user accounts created just want to associate it with blog

---

## [Database design question](https://www.ruby-forum.com/t/database-design-question/137282)

<div class="topic-metadata">

**Author:** [@ANSS](https://www.ruby-forum.com/u/ANSS)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 1:53am UTC](https://www.ruby-forum.com/t/database-design-question/137282 "2008-05-12T01:53:20Z")

</div>

Hello, I need your advice regarding the following situation: In my application I already have a Users table, now I need to add an address book for each user to save his/her contacts, I need also to add the possibili…

---

## [Railsbench can't parse benchmarks.yml correctly](https://www.ruby-forum.com/t/railsbench-cant-parse-benchmarks-yml-correctly/137321)

<div class="topic-metadata">

**Author:** [@jfrankov](https://www.ruby-forum.com/u/jfrankov)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 12:45am UTC](https://www.ruby-forum.com/t/railsbench-cant-parse-benchmarks-yml-correctly/137321 "2008-05-12T00:45:53Z")

</div>

Apologies in advance for the lengthy/somewhat dry (not DRY) post, but this is a real frustrating problem here, so I’d love some help: I installed the railsbench gem, and set up my benchmarks.yml file just like it said…

---

## [Rails 2.0 localization](https://www.ruby-forum.com/t/rails-2-0-localization/135866)

<div class="topic-metadata">

**Author:** [@apm](https://www.ruby-forum.com/u/apm)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 12:19am UTC](https://www.ruby-forum.com/t/rails-2-0-localization/135866 "2008-05-12T00:19:33Z")

</div>

Hi, we’re starting a new development and currently studying which localization plugin or gem to use. The requirements are the following: REST support Translations of views, but also validation errors and if possible …

---

## [Implement "Clear form"](https://www.ruby-forum.com/t/implement-clear-form/137309)

<div class="topic-metadata">

**Author:** [@djlewis](https://www.ruby-forum.com/u/djlewis)\
**Replies:** 2\
**Last updated:** [May 11, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/implement-clear-form/137309 "2008-05-11T23:46:09Z")

</div>

What’s a good way to clear all the fields a form that can apply generally to any form (so I can write one method and apply it to any one of a set of forms). If that can’t be done with a form (say because I can’t know…

---

## [Help with backgroundfu and production](https://www.ruby-forum.com/t/help-with-backgroundfu-and-production/137310)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 0\
**Last updated:** [May 11, 2008, 9:35pm UTC](https://www.ruby-forum.com/t/help-with-backgroundfu-and-production/137310 "2008-05-11T21:35:56Z")

</div>

How can make backgroundfu work in production? I have no log un production.log about it.

---

## [Actionmailer environment](https://www.ruby-forum.com/t/actionmailer-environment/137302)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 2\
**Last updated:** [May 11, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/actionmailer-environment/137302 "2008-05-11T20:17:47Z")

</div>

I’m trying to receive emails into my rails app. The using this method: http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer It appears to be passing the email in using the development environment …

---

## [Payment.find\_by\_person\_and\_event](https://www.ruby-forum.com/t/payment-find-by-person-and-event/137304)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 1\
**Last updated:** [May 11, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/payment-find-by-person-and-event/137304 "2008-05-11T19:57:13Z")

</div>

Hey, I need help with a little something that I thought SHOULD work. I’m getting this error: ActionView::TemplateError (undefined method \`find\_by\_person\_and\_event’ for Payment:Class) on line #2 of app/views/people/\_at…

---

## [\[ANN\] Ruby-GetText-Package-1.91.0](https://www.ruby-forum.com/t/ann-ruby-gettext-package-1-91-0/137299)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [May 11, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/ann-ruby-gettext-package-1-91-0/137299 "2008-05-11T17:54:53Z")

</div>

Hi, Ruby-GetText-Package-1.91.0 is now available. Changes Works on Win32 + JRuby-1.1.1 Fix memory leaks. Fix bugs. Speed up. Support Serbian(sr) Rails Support rubyonrails-1.2.x isn’t supported(2.0.0 or later are sup…

---

## [System stats and executing programs on rails](https://www.ruby-forum.com/t/system-stats-and-executing-programs-on-rails/137296)

<div class="topic-metadata">

**Author:** [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Replies:** 0\
**Last updated:** [May 11, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/system-stats-and-executing-programs-on-rails/137296 "2008-05-11T16:52:28Z")

</div>

I dont know if there are resources avaiable in rails but i would like to know if there are system resources (network, memory, disks status) and a way to execute a windows program (ie: c:\\vnc\\vnc.exe)

---

## [Need help installing Gems package (Newbie question)](https://www.ruby-forum.com/t/need-help-installing-gems-package-newbie-question/137290)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 2\
**Last updated:** [May 11, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/need-help-installing-gems-package-newbie-question/137290 "2008-05-11T16:39:08Z")

</div>

When I run the rake command (rake db:migrate) and run it, I get this error message. (I’m currently running Rails 2.0.2) Missing the Rails 2.0.2 gem. Please gem install -v=2.0.2 rails, update your RAILS\_GEM\_VERSION set…

---

## [Why file\_field helper returns as a String object instead of a File object in fields\_for?](https://www.ruby-forum.com/t/why-file-field-helper-returns-as-a-string-object-instead-of-a-file-object-in-fields-for/137148)

<div class="topic-metadata">

**Author:** [@huyewong](https://www.ruby-forum.com/u/huyewong)\
**Replies:** 7\
**Last updated:** [May 11, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/why-file-field-helper-returns-as-a-string-object-instead-of-a-file-object-in-fields-for/137148 "2008-05-11T16:27:24Z")

</div>

I use scaffold generated an new.html.erb file and change it like this: New article \<%= error\_messages\_for :article %\> \<% form\_for(@article) do |f| %\> Title \<%= f.text\_field :title %\> Body \<%=…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1356)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1358)
