# Rails

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

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

---

## [Problem with Apache 2.0 and mod\_fcgid config](https://www.ruby-forum.com/t/problem-with-apache-2-0-and-mod-fcgid-config/103424)

<div class="topic-metadata">

**Author:** [@elemental](https://www.ruby-forum.com/u/elemental)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 1:50am UTC](https://www.ruby-forum.com/t/problem-with-apache-2-0-and-mod-fcgid-config/103424 "2007-05-08T01:50:29Z")

</div>

I am using the following configuration for my server, and getting some very strange behavior. I can use mod\_fcgid to access the cookbook app, but whenever I try it with my app, apache just returns the source code of …

---

## [How do I disable table name pluralization?](https://www.ruby-forum.com/t/how-do-i-disable-table-name-pluralization/103574)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 1\
**Last updated:** [May 8, 2007, 1:21am UTC](https://www.ruby-forum.com/t/how-do-i-disable-table-name-pluralization/103574 "2007-05-08T01:21:27Z")

</div>

I’m stumped. One thread said to ‘do disable pluralization’ in config/ environment.rb. I have no idea what that means. environment.rb is no big help either. what the heck does this mean? See Rails::Configuration for mo…

---

## [Multiple named routes?](https://www.ruby-forum.com/t/multiple-named-routes/103573)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 12:32am UTC](https://www.ruby-forum.com/t/multiple-named-routes/103573 "2007-05-08T00:32:22Z")

</div>

I finally got around to upgrading to 1.2 and of course shit broke. I’m getting errors like this: items\_url failed to generate from {:action=\>“list”, :format=\>“rss”, :controller=\>“items”}, expected: {:action=\>“list”, …

---

## [Page.insert\_html](https://www.ruby-forum.com/t/page-insert-html/103570)

<div class="topic-metadata">

**Author:** [@jimache](https://www.ruby-forum.com/u/jimache)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 12:17am UTC](https://www.ruby-forum.com/t/page-insert-html/103570 "2007-05-08T00:17:22Z")

</div>

Hi everyone, In one of the actions i am using page.insert\_html, t works fine in IE7 and Mozila. Is does not seem to work in IE6. Anyone aware of such problems… i’m stuck… any help is appreciated; the element i am ins…

---

## [RoR & RTL Languages (Arabic and Hebrew)](https://www.ruby-forum.com/t/ror-rtl-languages-arabic-and-hebrew/103568)

<div class="topic-metadata">

**Author:** [@preston](https://www.ruby-forum.com/u/preston)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 12:12am UTC](https://www.ruby-forum.com/t/ror-rtl-languages-arabic-and-hebrew/103568 "2007-05-08T00:12:22Z")

</div>

Any advice for a poor soul about to embark on a UTF-8 laden voyage into Arabic content and presentation w/in RoR?

---

## [Gettext missing a method](https://www.ruby-forum.com/t/gettext-missing-a-method/103512)

<div class="topic-metadata">

**Author:** [@fafa](https://www.ruby-forum.com/u/fafa)\
**Replies:** 1\
**Last updated:** [May 8, 2007, 12:03am UTC](https://www.ruby-forum.com/t/gettext-missing-a-method/103512 "2007-05-08T00:03:20Z")

</div>

After gem install gettext, I created the po/cs po/en po/de directories and tried to create po files. But, with this code in rakefile require ‘gettext/utils’ desc “Update pot/po files.” task :updatepo do GetText.upda…

---

## ['select' in RJS](https://www.ruby-forum.com/t/select-in-rjs/103483)

<div class="topic-metadata">

**Author:** [@luca](https://www.ruby-forum.com/u/luca)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/select-in-rjs/103483 "2007-05-07T23:33:21Z")

</div>

Hi All I just tried (in a .rjs file) page\[:noq\].innerHTML = select(“post”, “person”, 1.upto(10) {|p| \[ p, p \] } ) It didn’t work. I also included the ‘select’ helper in the controller, but that didn’t help. I have t…

---

## [Newbie... is this possible?](https://www.ruby-forum.com/t/newbie-is-this-possible/103499)

<div class="topic-metadata">

**Author:** [@blunte](https://www.ruby-forum.com/u/blunte)\
**Replies:** 4\
**Last updated:** [May 7, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/newbie-is-this-possible/103499 "2007-05-07T23:30:12Z")

</div>

Howdy. I’m new at Rails, but I think I understand the concept. Now I’m trying to map that to what I’ve done in the past with JSP/Java/Tomcat, and I have a specific problem I need to solve. A client likes to have his…

---

## [CDATA getting cut off by ActionPack 1.13.2?](https://www.ruby-forum.com/t/cdata-getting-cut-off-by-actionpack-1-13-2/90549)

<div class="topic-metadata">

**Author:** [@markoma](https://www.ruby-forum.com/u/markoma)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/cdata-getting-cut-off-by-actionpack-1-13-2/90549 "2007-05-07T23:01:08Z")

</div>

We have a working Rails app parsing XML formatted info. Running under Rails 1.1.6, things work fine as evident in the log: Parameters: {“action”=\>“post\_test\_result”, “controller”=\>“tester/ data”, “\<rma\_request\>\\n\\t …

---

## [Using external ruby modules in rails](https://www.ruby-forum.com/t/using-external-ruby-modules-in-rails/103482)

<div class="topic-metadata">

**Author:** [@nsingh](https://www.ruby-forum.com/u/nsingh)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/using-external-ruby-modules-in-rails/103482 "2007-05-07T23:01:07Z")

</div>

Hello there, I am fairly new to rails and i was trying to accomplish the following: There is a gem called ‘scrubyt’ http://scrubyt.org/ (for web scraping) and i want to use it in my rails application. I just don’t kn…

---

## [ANN: RubyEnRails 2007 conference, June 7, Amsterdam](https://www.ruby-forum.com/t/ann-rubyenrails-2007-conference-june-7-amsterdam/103562)

<div class="topic-metadata">

**Author:** [@Erik\_van\_Oosten](https://www.ruby-forum.com/u/Erik_van_Oosten)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/ann-rubyenrails-2007-conference-june-7-amsterdam/103562 "2007-05-07T22:48:06Z")

</div>

Hi, For all those Dutch Rubyists and Railers, the second edition of the successful RubyEnRails conference will be held June the 7th in Amsterdam. A nice whole day of presentations, discussions on Ruby and Ruby on Rai…

---

## [Setup rails on freebsd](https://www.ruby-forum.com/t/setup-rails-on-freebsd/103491)

<div class="topic-metadata">

**Author:** [@rst](https://www.ruby-forum.com/u/rst)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/setup-rails-on-freebsd/103491 "2007-05-07T22:37:03Z")

</div>

Hello, I’m migrating some ruby on rails sites from one server to a new one. (both freebsd 6.x) Rails was setup previously by someone else. I’ve already installed rubygem rails from ports, and I’m using the same httpd…

---

## [Fixing Broken attachment\_fu File Paths](https://www.ruby-forum.com/t/fixing-broken-attachment-fu-file-paths/91511)

<div class="topic-metadata">

**Author:** [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/fixing-broken-attachment-fu-file-paths/91511 "2007-05-07T22:36:03Z")

</div>

Hello. Any attachment\_fu users out there that have updated their code? The file system storage scheme has changed. The old way: RAILS\_ROOT/public/my\_models/5/blah.jpg Is now more like this: RAILS\_ROOT/public/my\_mode…

---

## [WARNING! Noobster Question on Radrails for OS X](https://www.ruby-forum.com/t/warning-noobster-question-on-radrails-for-os-x/103330)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 4\
**Last updated:** [May 7, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/warning-noobster-question-on-radrails-for-os-x/103330 "2007-05-07T22:31:03Z")

</div>

Hi, I successfully installed Locomotive, mySQL and mySQL Admin, JavaRE, and Radrails on a quad G5 OS X 10.4.9. I configured the Radrails correctly, I believe, pointing everything to the appropriate files in the Loco…

---

## [How to find changes between 1.2.x and Edge](https://www.ruby-forum.com/t/how-to-find-changes-between-1-2-x-and-edge/103554)

<div class="topic-metadata">

**Author:** [@candlerb](https://www.ruby-forum.com/u/candlerb)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/how-to-find-changes-between-1-2-x-and-edge/103554 "2007-05-07T21:28:55Z")

</div>

Is there somewhere which summarises the important changes between Rails 1.2.x and Edge Rails? It took me some digging around source code to discover that the URLs for REST custom controllers have changed, from /foo/1…

---

## [Using ";action" from ActiveResource client](https://www.ruby-forum.com/t/using-action-from-activeresource-client/103460)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/using-action-from-activeresource-client/103460 "2007-05-07T21:00:54Z")

</div>

I have a RESTful Rails (1.2.3) app which implements XML operations. I’m now writing a client side (non-Rails) app to interact with it. The client side has activeresource and activesupport, both taken from SVN trunk. …

---

## [Display validation errors individually](https://www.ruby-forum.com/t/display-validation-errors-individually/103480)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/display-validation-errors-individually/103480 "2007-05-07T20:56:15Z")

</div>

Hello, I hope someone can help me with a problem. Given the following code: class User \< ActiveRecord::Base validates\_uniqueness\_of :username, :message =\> “Username is taken” validates\_presence\_of :username validat…

---

## [Date Formats, assigning, viewing, validating, saving, changi](https://www.ruby-forum.com/t/date-formats-assigning-viewing-validating-saving-changi/103550)

<div class="topic-metadata">

**Author:** [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/date-formats-assigning-viewing-validating-saving-changi/103550 "2007-05-07T20:29:50Z")

</div>

Hi, I know Date formats are a common topic, but I’ve spent most of the day googling and reading - and I cannot make things make sense. I want to use European date format dd/mm/yy. I am happy to stick with the ISO for…

---

## [\#rubyonrails at RailsConf](https://www.ruby-forum.com/t/rubyonrails-at-railsconf/103539)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/rubyonrails-at-railsconf/103539 "2007-05-07T20:24:47Z")

</div>

Going to RailsConf? My proposed “Birds of a Feather” networking session was just approved! Title: #rubyonrails "A chance to put a face to those handles you’ve met and chatted with on the #rubyonrails irc channel. M…

---

## [Form fields cleared out because of validation](https://www.ruby-forum.com/t/form-fields-cleared-out-because-of-validation/103235)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 7, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/form-fields-cleared-out-because-of-validation/103235 "2007-05-07T20:14:46Z")

</div>

Hi there Implementing my first “update” procedure worked fine. I took this as a template for a “create” procedure, but that does not work as expected: when I enter invalid data, the validation stops me from saving th…

---

## [OPENid problem with trust\_root when rails app running behind](https://www.ruby-forum.com/t/openid-problem-with-trust-root-when-rails-app-running-behind/103547)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/openid-problem-with-trust-root-when-rails-app-running-behind/103547 "2007-05-07T19:54:43Z")

</div>

Hi I am in the process of setting up open id for my website and there is one thing that I just cannot figure out. When I run it on my development instance I get it working with out a problem but when I run it on my pr…

---

## [Dispatch.cgi issue](https://www.ruby-forum.com/t/dispatch-cgi-issue/90632)

<div class="topic-metadata">

**Author:** [@JPJPJP](https://www.ruby-forum.com/u/JPJPJP)\
**Replies:** 4\
**Last updated:** [May 7, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-issue/90632 "2007-05-07T19:17:40Z")

</div>

Hello, I’m very new to Rails. I’ve been trying to set it up on my Linux server. The installation was smooth and painless. I followed the instructions on the Ruby on Rails website. So I’m running Rails 1.2.3, ruby 1.8…

---

## [Best web server for running a Rails site?](https://www.ruby-forum.com/t/best-web-server-for-running-a-rails-site/103526)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 6\
**Last updated:** [May 7, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/best-web-server-for-running-a-rails-site/103526 "2007-05-07T19:02:37Z")

</div>

I heard about Mongrel and Webrick, but they are also interpreted right? isn’t that going to be slow? I mean we know currently that Ruby Interpreter itself is slow as turtle. And our web applications are in Ruby alread…

---

## [Auction open source project](https://www.ruby-forum.com/t/auction-open-source-project/103540)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/auction-open-source-project/103540 "2007-05-07T19:00:19Z")

</div>

Do you know any auction project developed in RoR o PHP I found this one gplAuction download | SourceForge.net Who knows it?

---

## [Using HAML, form\_remote\_tag inside partial from layout dupli](https://www.ruby-forum.com/t/using-haml-form-remote-tag-inside-partial-from-layout-dupli/103508)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/using-haml-form-remote-tag-inside-partial-from-layout-dupli/103508 "2007-05-07T18:39:34Z")

</div>

I have an application.haml that renders partials, and the partials use form\_remote\_tag. f\_r\_t returns the whole partial again, not just the form fragment. This has to be a bug doesn’t it? I diagnosed it by putting th…

---

## [Integrating ar\_,ailer with rails recipes bounce handler](https://www.ruby-forum.com/t/integrating-ar-ailer-with-rails-recipes-bounce-handler/103538)

<div class="topic-metadata">

**Author:** [@samj](https://www.ruby-forum.com/u/samj)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/integrating-ar-ailer-with-rails-recipes-bounce-handler/103538 "2007-05-07T18:06:32Z")

</div>

Hi Eric, I’m just starting to work on integrating ar\_mailer with the rails recipes bounce handler. I just thought I’d ask if you (or anyone else) was interested in such an integration, had already done something simi…

---

## [Where to put shared code?](https://www.ruby-forum.com/t/where-to-put-shared-code/103516)

<div class="topic-metadata">

**Author:** [@Arrix](https://www.ruby-forum.com/u/Arrix)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/where-to-put-shared-code/103516 "2007-05-07T18:05:13Z")

</div>

Where should I put shared code in a rails project? The shared code is neither controller nor view nor model. But putting it in /lib would require server restart to reflect changes. Any suggestions?

---

## [New Podcast...ah...er...Tumblecast :)](https://www.ruby-forum.com/t/new-podcast-ah-er-tumblecast/103537)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/new-podcast-ah-er-tumblecast/103537 "2007-05-07T17:30:29Z")

</div>

Rails Tumblecast is a new lightweight podcast aimed at the Ruby on Rails community. While most podcasts are the full meal deal, the Rails Tumblecast is a bag of potato chips. Have one, or two, or maybe grab a whole h…

---

## [\[ANN\] Vim/Ruby Configuration Files, 2007.05.07](https://www.ruby-forum.com/t/ann-vim-ruby-configuration-files-2007-05-07/112155)

<div class="topic-metadata">

**Author:** [@Doug\_K](https://www.ruby-forum.com/u/Doug_K)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/ann-vim-ruby-configuration-files-2007-05-07/112155 "2007-05-07T17:26:29Z")

</div>

G’day folks, A new release of Vim/Ruby has just been uploaded to RubyForge. This is intended as the final release before Vim 7.1 ships in the next few days. It would be helpful if any major issues were reported as s…

---

## [Quick Ruby Array question](https://www.ruby-forum.com/t/quick-ruby-array-question/103495)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 3\
**Last updated:** [May 7, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/quick-ruby-array-question/103495 "2007-05-07T17:07:26Z")

</div>

In code like: for line\_item in @cart.line\_items #Do Stuff end Am I guaranteed to traverse the array from the first element successively through each index number from first to last? If not, what’s the proper ruby…

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

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