# Rails

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

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

---

## [Installing problem](https://www.ruby-forum.com/t/installing-problem/135814)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 8:42am UTC](https://www.ruby-forum.com/t/installing-problem/135814 "2008-04-25T08:42:00Z")

</div>

Hello guys, I’ve used rails engines in the past, but now I was configuring a new system and I can’t get the engines to work, when I try to generate the migrations for the plugins with the command: ruby script/generat…

---

## [Ruby group suggestion needed](https://www.ruby-forum.com/t/ruby-group-suggestion-needed/135676)

<div class="topic-metadata">

**Author:** [@boothy](https://www.ruby-forum.com/u/boothy)\
**Replies:** 1\
**Last updated:** [April 25, 2008, 7:45am UTC](https://www.ruby-forum.com/t/ruby-group-suggestion-needed/135676 "2008-04-25T07:45:47Z")

</div>

Can someone suggest a Ruby group? tia \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mob…

---

## [Exceptionlogger](https://www.ruby-forum.com/t/exceptionlogger/135812)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 7:01am UTC](https://www.ruby-forum.com/t/exceptionlogger/135812 "2008-04-25T07:01:44Z")

</div>

is exceptionlogger still a supported plugin? I’m trying to get it working with a very simple ror 2 app and the / logged\_exceptions won’t come up at all - the route is not being found is there anything special to be do…

---

## [Date validation :before -1 day](https://www.ruby-forum.com/t/date-validation-before-1-day/135807)

<div class="topic-metadata">

**Author:** [@shikha](https://www.ruby-forum.com/u/shikha)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 5:55am UTC](https://www.ruby-forum.com/t/date-validation-before-1-day/135807 "2008-04-25T05:55:34Z")

</div>

I really liked the tool but I have got stuck in one case. I am in urgent need of your help regarding validates\_date :sale\_start, :before =\> :sale\_end, :after =\> Proc.new { -1.day.from\_now.to\_date } validates\_date …

---

## [Can't load fixtures into db with has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/cant-load-fixtures-into-db-with-has-and-belongs-to-many/126831)

<div class="topic-metadata">

**Author:** [@jdias](https://www.ruby-forum.com/u/jdias)\
**Replies:** 1\
**Last updated:** [April 25, 2008, 3:09am UTC](https://www.ruby-forum.com/t/cant-load-fixtures-into-db-with-has-and-belongs-to-many/126831 "2008-04-25T03:09:19Z")

</div>

Hi, I’ve been having some problem with the new features in fixtures included in rails 2.0.2. The problem I’m having is although my test run fine, i’m unable to import them into the db using rake db:fixtures:load This…

---

## [Multiple rails apps on a single host with mod\_rails](https://www.ruby-forum.com/t/multiple-rails-apps-on-a-single-host-with-mod-rails/135749)

<div class="topic-metadata">

**Author:** [@Mick\_Staugaard](https://www.ruby-forum.com/u/Mick_Staugaard)\
**Replies:** 1\
**Last updated:** [April 25, 2008, 2:15am UTC](https://www.ruby-forum.com/t/multiple-rails-apps-on-a-single-host-with-mod-rails/135749 "2008-04-25T02:15:32Z")

</div>

Hi I’m playing around with setting up a server to host multiple rails applications on a single hostname. The documentation only explains how to do it using multiple virtual hosts and i can not figure out if it is eve…

---

## [Dynamically Naming a Variable](https://www.ruby-forum.com/t/dynamically-naming-a-variable/135790)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 3\
**Last updated:** [April 25, 2008, 1:27am UTC](https://www.ruby-forum.com/t/dynamically-naming-a-variable/135790 "2008-04-25T01:27:26Z")

</div>

Hello, I would like to dynamically name a variable… for example, in my program, I iterate over a SQL query that gives me ‘displayname’, ‘phone\_office’, and ‘phone\_mobile’ (in the actual query there are many more colu…

---

## [Capistrano](https://www.ruby-forum.com/t/capistrano/135796)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 1:27am UTC](https://www.ruby-forum.com/t/capistrano/135796 "2008-04-25T01:27:20Z")

</div>

Probably not the correct place to ask this, but I’m sure it’s something which would affect a lot of Rails deployments… Should you make the ‘database.yml’ file readable only to the app process (e.g. mongrel) - as it co…

---

## [Basic mini cms](https://www.ruby-forum.com/t/basic-mini-cms/135588)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 4\
**Last updated:** [April 25, 2008, 12:35am UTC](https://www.ruby-forum.com/t/basic-mini-cms/135588 "2008-04-25T00:35:29Z")

</div>

Mini CMS I tend to follow a very similar pattern when setting up small websites for people. Basically itâ€™s like this for an example site with three pages. Two controllers, Welcome and Pages. The Welcome controller…

---

## [Check\_box validation error\_message div/span tag problem](https://www.ruby-forum.com/t/check-box-validation-error-message-div-span-tag-problem/135791)

<div class="topic-metadata">

**Author:** [@Erwin](https://www.ruby-forum.com/u/Erwin)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 12:23am UTC](https://www.ruby-forum.com/t/check-box-validation-error-message-div-span-tag-problem/135791 "2008-04-25T00:23:10Z")

</div>

when a check box in my form is not validated, the check box and the label are not anymore aligned… a hidden input field is added, which gives a mess in the display… \<%= f.check\_box(:accepted\_terms, {:id =\> "user\_…

---

## [Cross referenced tables](https://www.ruby-forum.com/t/cross-referenced-tables/135782)

<div class="topic-metadata">

**Author:** [@lfeistel](https://www.ruby-forum.com/u/lfeistel)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/cross-referenced-tables/135782 "2008-04-24T22:38:34Z")

</div>

Hi Guys, I’m having a similar problem to someone earlier on the board, but the solutions posted aren’t working for me, so I figured I wouldn’t hijack the thread and started a new one: I have an application that allow…

---

## [Help with modrails and Apache2](https://www.ruby-forum.com/t/help-with-modrails-and-apache2/135716)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 5\
**Last updated:** [April 24, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/help-with-modrails-and-apache2/135716 "2008-04-24T22:37:21Z")

</div>

I am using modrails and Apache2. The first time I use my app it goes very slow but later it goes very fast. If I don’t use the app during 20 min, again the first clic goes very slow and later it goes fast. What’s the …

---

## [Cross referenced tables](https://www.ruby-forum.com/t/cross-referenced-tables/135780)

<div class="topic-metadata">

**Author:** [@lfeistel](https://www.ruby-forum.com/u/lfeistel)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/cross-referenced-tables/135780 "2008-04-24T22:05:47Z")

</div>

Hi Guys, I’m having a similar problem to someone earlier on the board, but the solutions posted aren’t working for me, so I figured I wouldn’t hijack the thread and started a new one: I have an application that allow…

---

## [No route matches](https://www.ruby-forum.com/t/no-route-matches/135644)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 7\
**Last updated:** [April 24, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/no-route-matches/135644 "2008-04-24T20:43:41Z")

</div>

i have made a top navigation… \<%= link\_to "Home", :controller =\> 'welcome' %\> \<%= link\_to "FAQ", :controller =\> 'faq' %\> \<%= link\_to "Contact", :controller =\> 'contact' %\> \<%= link\_to "Terms", :c…

---

## [Passing a value fails \[when sending emails\]](https://www.ruby-forum.com/t/passing-a-value-fails-when-sending-emails/135720)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/passing-a-value-fails-when-sending-emails/135720 "2008-04-24T20:25:09Z")

</div>

Hi, I’m having trouble with my correspond method (in my email\_controller). When I try passing “recipient” to my message method (in my UserMailer model) I loose the information placed in the “recipient”, resulting in m…

---

## [SOAP Service](https://www.ruby-forum.com/t/soap-service/82944)

<div class="topic-metadata">

**Author:** [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 8:24pm UTC](https://www.ruby-forum.com/t/soap-service/82944 "2008-04-24T20:24:27Z")

</div>

Hi I’m trying to set up a Soap service in rails without any luck. The service is password protected i have tried so far to do the following: soap\_client = SOAP::WSDLDriverFactory.new(“http://myserver:8080/xplanner/soa…

---

## [Adding a counter after the fact](https://www.ruby-forum.com/t/adding-a-counter-after-the-fact/135767)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/adding-a-counter-after-the-fact/135767 "2008-04-24T20:23:23Z")

</div>

I want to add a \_count to a couple of my models but this is not a new relationship so the numbers will not start at zero. I have tried just adding an update\_attribute to my migration with the current count but for …

---

## [Remote form with cancel](https://www.ruby-forum.com/t/remote-form-with-cancel/135186)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/remote-form-with-cancel/135186 "2008-04-24T20:18:37Z")

</div>

I want an AJAX form to become part of the page when an item is clicked (I have this part working.) However, I am stumped at what should be really easy. I want my form to have a “save” and a “cancel” button. I have t…

---

## [Hulu.com on Rails](https://www.ruby-forum.com/t/hulu-com-on-rails/120148)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [April 24, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/hulu-com-on-rails/120148 "2008-04-24T20:15:01Z")

</div>

Just an FYI since i know this list likes knowing about some higher volume websites running Rails. Looks like the new video initiative with NBC/FOX called Hulu (www.hulu.com) is running on rails with nginx. Cheers …

---

## [Functional testing confusion](https://www.ruby-forum.com/t/functional-testing-confusion/135671)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 7\
**Last updated:** [April 24, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/functional-testing-confusion/135671 "2008-04-24T20:15:01Z")

</div>

I am trying to be a good RORer and write all my tests to achieve 100% coverage with rcov. However, I have run up against something that really confuses me. In my test file def test\_should\_mark\_task\_done task = tas…

---

## [Select\_tag and link\_to](https://www.ruby-forum.com/t/select-tag-and-link-to/135682)

<div class="topic-metadata">

**Author:** [@Meenal](https://www.ruby-forum.com/u/Meenal)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/select-tag-and-link-to/135682 "2008-04-24T20:07:22Z")

</div>

Does ROR allow passing the chosen value from a drop down using select\_tag into link\_to ? Basically I want to do something like: \<%= select\_tag( “name”, options\_for\_select(%w{John D. Jane })) %\> \<%= link\_to “Delete”, …

---

## [ROR Developers](https://www.ruby-forum.com/t/ror-developers/135739)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/ror-developers/135739 "2008-04-24T19:44:48Z")

</div>

Looking for advice on the best site or process to find great talent. I am completing my design for an educational web app to be written in ROR and MySQL. I will need 3-4 full time developers in May and June. As a …

---

## [How can I "select" a model to add to my has\_many relationship?](https://www.ruby-forum.com/t/how-can-i-select-a-model-to-add-to-my-has-many-relationship/135763)

<div class="topic-metadata">

**Author:** [@schof](https://www.ruby-forum.com/u/schof)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/how-can-i-select-a-model-to-add-to-my-has-many-relationship/135763 "2008-04-24T19:29:43Z")

</div>

Here’s the situation … Client has\_many :licenses, :as =\> :holdable Vendor has\_many :licenses, :as =\> :holdable License belongs\_to :holdable, :polymorphic =\> true License belongs\_to :asset So when creating/editing an…

---

## [Bug or intended behavior when using respond\_to?](https://www.ruby-forum.com/t/bug-or-intended-behavior-when-using-respond-to/135764)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/bug-or-intended-behavior-when-using-respond-to/135764 "2008-04-24T19:27:09Z")

</div>

respond\_to do |format| format.js end Works as expected in most instances. However… Inside name-spaced controllers and custom REST actions I must specify… respond\_to do |format| format.js { render(:layout =\> false) …

---

## [Confused about deprecation warnings in 2.0(.2)](https://www.ruby-forum.com/t/confused-about-deprecation-warnings-in-2-0-2/135463)

<div class="topic-metadata">

**Author:** [@Tim\_Diggins](https://www.ruby-forum.com/u/Tim_Diggins)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 7:26pm UTC](https://www.ruby-forum.com/t/confused-about-deprecation-warnings-in-2-0-2/135463 "2008-04-24T19:26:10Z")

</div>

Hi - (FYI: I’ve recently moved to rails 2, fairly new to rails) When running my tests, I’m getting some odd deprecation warnings: the warnings refer to Ruby on Rails — A web-app framework that includes everything n…

---

## [More Nested Resources Questions](https://www.ruby-forum.com/t/more-nested-resources-questions/135660)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 7\
**Last updated:** [April 24, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/more-nested-resources-questions/135660 "2008-04-24T19:04:22Z")

</div>

Ok… quick example… client has\_many :locations vendor has\_many :locations so my resources is something like… map.resources :clients, :has\_many =\> :locations map.resources :vendors, :has\_many =\> :locations map.resou…

---

## [Dynamic finders in has\_many associations](https://www.ruby-forum.com/t/dynamic-finders-in-has-many-associations/135725)

<div class="topic-metadata">

**Author:** [@pahagon](https://www.ruby-forum.com/u/pahagon)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/dynamic-finders-in-has-many-associations/135725 "2008-04-24T18:59:41Z")

</div>

I have these 3 models. class Ivr \< ActiveRecord::Base has\_many :klusterings, :dependent =\> :destroy has\_many :klusters, :through =\> :klusterings, :uniq =\> true end class Kluster \< ActiveRecord::Base has\_many :klust…

---

## [Setting rails root](https://www.ruby-forum.com/t/setting-rails-root/135761)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/setting-rails-root/135761 "2008-04-24T18:42:30Z")

</div>

Hi there, I was running a RoR app on a domain such as http://www.somedomain.com using the Mongrel server. I have now moved the app to a host that has the following requirements. The RoR app resides outside of public\_…

---

## [System exit by fcgi during multiple database transactions](https://www.ruby-forum.com/t/system-exit-by-fcgi-during-multiple-database-transactions/135757)

<div class="topic-metadata">

**Author:** [@peterbe](https://www.ruby-forum.com/u/peterbe)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/system-exit-by-fcgi-during-multiple-database-transactions/135757 "2008-04-24T18:39:34Z")

</div>

I have a RoR application where user can upload a CSV; each row has fields which are written to several dbase tables. My problem is with large CSVs which require several thousand inserts. Under WebBrick, the operation…

---

## [How to add parameter and condition in function dynamically?](https://www.ruby-forum.com/t/how-to-add-parameter-and-condition-in-function-dynamically/196651)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/how-to-add-parameter-and-condition-in-function-dynamically/196651 "2008-04-24T18:34:52Z")

</div>

Hi All, I have one function in that function i wanna add parameters and conditions dynamically. I hope you got me if yes please tell me what should i do. Thanks Varun K.

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

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