# Rails

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

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

---

## [\[ANN\] acts\_as\_good\_speeler - A fix for all those broken inflections in Rails](https://www.ruby-forum.com/t/ann-acts-as-good-speeler-a-fix-for-all-those-broken-inflections-in-rails/127204)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 0\
**Last updated:** [January 26, 2008, 5:22am UTC](https://www.ruby-forum.com/t/ann-acts-as-good-speeler-a-fix-for-all-those-broken-inflections-in-rails/127204 "2008-01-26T05:22:48Z")

</div>

Howdy, After having a patch to fix the inflections in Rails shot down and watching Steven B.'s VERIFIED penis\_enhancement.diff be set to wontfix, my indignation has reached fever pitch! Thus, acts\_as\_good\_speeler is …

---

## [Apache 2.2 / mod\_proxy\_balancer... 160 req per second?](https://www.ruby-forum.com/t/apache-2-2-mod-proxy-balancer-160-req-per-second/126519)

<div class="topic-metadata">

**Author:** [@jeffct](https://www.ruby-forum.com/u/jeffct)\
**Replies:** 7\
**Last updated:** [January 26, 2008, 4:13am UTC](https://www.ruby-forum.com/t/apache-2-2-mod-proxy-balancer-160-req-per-second/126519 "2008-01-26T04:13:53Z")

</div>

I’m testing a deployment on a dedicated server (dual core AMD with about 2GB ram, 100Mbps uplink) with Apache 2.2.3 (CentOS 5 build from yum), mod proxy balancer, and mongrel. I can get Apache to serve static files at…

---

## ["value must be enumerable" exception when using a sweeper?](https://www.ruby-forum.com/t/value-must-be-enumerable-exception-when-using-a-sweeper/127196)

<div class="topic-metadata">

**Author:** [@mlopke](https://www.ruby-forum.com/u/mlopke)\
**Replies:** 0\
**Last updated:** [January 26, 2008, 1:39am UTC](https://www.ruby-forum.com/t/value-must-be-enumerable-exception-when-using-a-sweeper/127196 "2008-01-26T01:39:56Z")

</div>

Folks, I’m going slightly crazy here - I implemented a Sweeper in an older app and used nearly the same exact code in my new app, yet I keep getting this ‘value must be enumerable’ exception. Even after I cut most of …

---

## ["onload" event handler inside a div](https://www.ruby-forum.com/t/onload-event-handler-inside-a-div/52973)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 3\
**Last updated:** [January 26, 2008, 1:30am UTC](https://www.ruby-forum.com/t/onload-event-handler-inside-a-div/52973 "2008-01-26T01:30:28Z")

</div>

Hi. I need help on what is essentially putting an “onload” event handler into a div. I am using render :partial and when the partial is loaded, I would like the divs to show using an effect from a library such as scri…

---

## [Error\_messages\_for doesn't generate output though the instance seems to contain error messages](https://www.ruby-forum.com/t/error-messages-for-doesnt-generate-output-though-the-instance-seems-to-contain-error-messages/127190)

<div class="topic-metadata">

**Author:** [@skt](https://www.ruby-forum.com/u/skt)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/error-messages-for-doesnt-generate-output-though-the-instance-seems-to-contain-error-messages/127190 "2008-01-25T23:53:32Z")

</div>

Hello folks, I am having problems with something rather simple. I have in my rhtml file the following code fragment - \<%= error\_messages\_for 'loan' %\> \<% for e in @loan.errors logger.info("---\> error = …

---

## [Custom XML Builder element needed](https://www.ruby-forum.com/t/custom-xml-builder-element-needed/126768)

<div class="topic-metadata">

**Author:** [@The\_Cool\_Web\_Guy](https://www.ruby-forum.com/u/The_Cool_Web_Guy)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/custom-xml-builder-element-needed/126768 "2008-01-25T23:46:30Z")

</div>

Hi all, This may seem like a bit of a stupid question, I’m building an xml request to be sent over https to a service provider, but according to their specification, which doesn’t seem to work with the rails xmlbuild…

---

## [Segmentation fault with Ruby 1.8.6-p111 on 64bit Linux](https://www.ruby-forum.com/t/segmentation-fault-with-ruby-1-8-6-p111-on-64bit-linux/126994)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 2\
**Last updated:** [January 25, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-ruby-1-8-6-p111-on-64bit-linux/126994 "2008-01-25T23:16:27Z")

</div>

I apologize to anyone who just caught me cross-posting, it’s urgent. I’m having issues getting a Rails app to run on a new 64bit Linux box. The app has been working fine for some time on an older 32bit machine that’s …

---

## [Rescue\_action\_in\_public never executes](https://www.ruby-forum.com/t/rescue-action-in-public-never-executes/127182)

<div class="topic-metadata">

**Author:** [@Wakazula](https://www.ruby-forum.com/u/Wakazula)\
**Replies:** 2\
**Last updated:** [January 25, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/rescue-action-in-public-never-executes/127182 "2008-01-25T23:10:34Z")

</div>

For the life of me, I cannot get the Exception Notification plugin to send email when in development mode. From what I can tell, ExceptionNotifiable.rescue\_action\_in\_public never executes. If you have any thoughts, I’…

---

## [ActiveRecord#attributes= with nested records](https://www.ruby-forum.com/t/activerecord-attributes-with-nested-records/127073)

<div class="topic-metadata">

**Author:** [@mahadewa](https://www.ruby-forum.com/u/mahadewa)\
**Replies:** 4\
**Last updated:** [January 25, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/activerecord-attributes-with-nested-records/127073 "2008-01-25T22:50:39Z")

</div>

Given an ActiveRecord A, that belongs\_to a B, which in turn belongs\_to a C, I can create a single form to edit all the attributes of these nested records in one go, leading to a params hash with structure like: {“a” …

---

## [Observe\_form + Check\_box = call action? I need help](https://www.ruby-forum.com/t/observe-form-check-box-call-action-i-need-help/125122)

<div class="topic-metadata">

**Author:** [@mel\_ram](https://www.ruby-forum.com/u/mel_ram)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/observe-form-check-box-call-action-i-need-help/125122 "2008-01-25T22:27:09Z")

</div>

What I am trying to do is create partial that will be invoked by a :show\_product action under the :admin controller. This partial is meant to have a list of categories and checkboxes next to each category. I want to s…

---

## [What are your thoughts on Engines?](https://www.ruby-forum.com/t/what-are-your-thoughts-on-engines/127143)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/what-are-your-thoughts-on-engines/127143 "2008-01-25T21:46:03Z")

</div>

Love em? Hate em? Think there are better ways? I am looking at getting involved with an open source Rails project that is currently built using Rails Engines… and I am hesitant… mostly because I don’t know enough abou…

---

## [Ext js -- Menu plugin](https://www.ruby-forum.com/t/ext-js-menu-plugin/127181)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/ext-js-menu-plugin/127181 "2008-01-25T21:36:04Z")

</div>

anybody know of a menu plugin based on ext js? just saw ext\_scaffold and I’m going to convert my pages to ext\_scaffold. I’ve also been thinking about building a dynamic menu and it would be cool to use ext js and ke…

---

## [Why am I getting "No action responded to show" error?](https://www.ruby-forum.com/t/why-am-i-getting-no-action-responded-to-show-error/127180)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/why-am-i-getting-no-action-responded-to-show-error/127180 "2008-01-25T21:29:02Z")

</div>

Hi, I’m submitting a form to “/login”. Here’s my config/routes.rb file: =======start routes.rb file=================== ActionController::Routing::Routes.draw do |map| map.signup ‘/signup’, :controller =\> ‘users’, :a…

---

## [Facebook app Layout recommendations?](https://www.ruby-forum.com/t/facebook-app-layout-recommendations/127164)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 7:33pm UTC](https://www.ruby-forum.com/t/facebook-app-layout-recommendations/127164 "2008-01-25T19:33:06Z")

</div>

Hi, I am about to start work on a new facebook app that will integrate with an existing site. Has anyone got any recommendations / experience with doing this and suggestions on the best way to lay the code out. i.e.…

---

## [Full time drug discovery client side engineering position in Palo Alto, CA](https://www.ruby-forum.com/t/full-time-drug-discovery-client-side-engineering-position-in-palo-alto-ca/127111)

<div class="topic-metadata">

**Author:** [@Jeff\_Shrager](https://www.ruby-forum.com/u/Jeff_Shrager)\
**Replies:** 4\
**Last updated:** [January 25, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/full-time-drug-discovery-client-side-engineering-position-in-palo-alto-ca/127111 "2008-01-25T18:55:59Z")

</div>

CollabRx is a start-up creating a platform that will accelerate the search for therapies for rare diseases \[1\]. We seek a full-time front end developer to join our core engineering team. The position requires solid we…

---

## [Can I use the "scaffold" command to have multiple objects on my page?](https://www.ruby-forum.com/t/can-i-use-the-scaffold-command-to-have-multiple-objects-on-my-page/127159)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 25, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/can-i-use-the-scaffold-command-to-have-multiple-objects-on-my-page/127159 "2008-01-25T18:16:07Z")

</div>

I am familiar with how to use scaffold to generate a view where I can create an object. What I would like to do is have a view where I can create multiple of the same object, say five of them. How can I do that? Th…

---

## [Help with f.select](https://www.ruby-forum.com/t/help-with-f-select/127144)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [January 25, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/help-with-f-select/127144 "2008-01-25T17:06:55Z")

</div>

I have this code in my new view: Product \<% @products.each do |product| %\> \> \<%= product.name%\> \<% end %\> I have many products, so when I click to show my products and then sel…

---

## [Changes to mongrel\_cluster.yml isn't taking](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768 "2008-01-25T16:44:24Z")

</div>

So, I’ve been able to deploy a single app just fine. But in my attempts to run multiple rails apps within the same domain, I made a change by adding prefix: /app1 to my mongrel\_cluster.yml file. Using Capistrano, …

---

## [Can You Guess What It Is?](https://www.ruby-forum.com/t/can-you-guess-what-it-is/127157)

<div class="topic-metadata">

**Author:** [@Mario\_Feonands](https://www.ruby-forum.com/u/Mario_Feonands)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/can-you-guess-what-it-is/127157 "2008-01-25T16:30:10Z")

</div>

There’s No Secret That The Rich Do Things That Poor Don’t ! Can You Guess What It Is? P.S. It’s Not What You Think !! http://www.youtube.com/dprosperityman

---

## [Layouts/Pag Design](https://www.ruby-forum.com/t/layouts-pag-design/127156)

<div class="topic-metadata">

**Author:** [@jstotz](https://www.ruby-forum.com/u/jstotz)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/layouts-pag-design/127156 "2008-01-25T16:26:45Z")

</div>

I am trying to develop a simple shopping cart application using ROR. I have a categories controller and a products controller, which work fine. My problem is that I can’t figure out how to get the page to display in …

---

## [Backgroundrb Usage in Rails App](https://www.ruby-forum.com/t/backgroundrb-usage-in-rails-app/127142)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/backgroundrb-usage-in-rails-app/127142 "2008-01-25T16:22:31Z")

</div>

Hey Guys, ’ I am developing a rails application for a client. Suffice it to say I have to do some long running tasks so of course I used my favorite plugin backgroundrb. Unfortunately I have a problem. I recently put …

---

## [Customizing error messages on ActiveRecord](https://www.ruby-forum.com/t/customizing-error-messages-on-activerecord/127089)

<div class="topic-metadata">

**Author:** [@jeremysdr](https://www.ruby-forum.com/u/jeremysdr)\
**Replies:** 2\
**Last updated:** [January 25, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/customizing-error-messages-on-activerecord/127089 "2008-01-25T15:43:58Z")

</div>

Hi Everyone, Is there a gem plugins that can customize the built-in error messages that we are seeing when there’s an error an ActiveRecord? I am referring on this message “7 errors prohibited this RECORD from being …

---

## [Instance method scope](https://www.ruby-forum.com/t/instance-method-scope/127106)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/instance-method-scope/127106 "2008-01-25T14:55:00Z")

</div>

Hello, I am confused about the scope of the instance method “authenticated?” in the class shown below (it’s defined in the application controller). It does not seem to be available in the block initialising my active …

---

## [Page\[\].visual\_effect problem](https://www.ruby-forum.com/t/page-visual-effect-problem/86651)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/page-visual-effect-problem/86651 "2008-01-25T14:51:30Z")

</div>

Hi… I don’t know what I’m doing wrong but I can’t seem to get this code to work: page\[:invite\].replace\_html @message page\[:invite\].visual\_effect(:Highlight) But this works: page.replace\_html(“invite” , @message) p…

---

## [Pagination for Partial with page.replace\_html](https://www.ruby-forum.com/t/pagination-for-partial-with-page-replace-html/127147)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 0\
**Last updated:** [January 25, 2008, 2:11pm UTC](https://www.ruby-forum.com/t/pagination-for-partial-with-page-replace-html/127147 "2008-01-25T14:11:27Z")

</div>

I have a partial which has a list of jobs in it. I want to perform an action “save and go to next” which may or may not take me to a new record which is on a different page of the partial. def updatenext @job = Job.f…

---

## [Large file upload](https://www.ruby-forum.com/t/large-file-upload/126542)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 2:03pm UTC](https://www.ruby-forum.com/t/large-file-upload/126542 "2008-01-25T14:03:48Z")

</div>

I’ve used attachment\_fu with great success, but now I am working on a project that requires an administrative user to upload very large files. Anywhere from 200 MB to 1 gig…maybe even more (video files). At this point…

---

## [Scruffy \> MVC architecture?](https://www.ruby-forum.com/t/scruffy-mvc-architecture/119248)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 1:29pm UTC](https://www.ruby-forum.com/t/scruffy-mvc-architecture/119248 "2008-01-25T13:29:07Z")

</div>

Hi, I am a newby in rails…and i have read that scruffy is a great tool to create/display images. Now i find the code below for example… graph = Scruffy::Graph.new graph.title = “Comparative Agent Performance” graph…

---

## [Rails2.0 not reloading engine controllers/models](https://www.ruby-forum.com/t/rails2-0-not-reloading-engine-controllers-models/122834)

<div class="topic-metadata">

**Author:** [@ArtSSSSras\_SSSSlaju](https://www.ruby-forum.com/u/ArtSSSSras_SSSSlaju)\
**Replies:** 16\
**Last updated:** [January 25, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/rails2-0-not-reloading-engine-controllers-models/122834 "2008-01-25T13:06:43Z")

</div>

Hello, Rails 2.0.1 does not reload engine-based plugin controllers and models in development mode. You have to restart mongrel to get them reloaded. Anyone else has this issue?

---

## [What is the best way to reuse a controller's action and views?](https://www.ruby-forum.com/t/what-is-the-best-way-to-reuse-a-controllers-action-and-views/127101)

<div class="topic-metadata">

**Author:** [@Parama](https://www.ruby-forum.com/u/Parama)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-reuse-a-controllers-action-and-views/127101 "2008-01-25T12:06:50Z")

</div>

What is the best way to reuse a controller’s actions and views? Lets say I have an application that has controller: SampleController\<ApplicationController This controller would be accessable from the following url ht…

---

## [Questions about row insert](https://www.ruby-forum.com/t/questions-about-row-insert/127135)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 11:53am UTC](https://www.ruby-forum.com/t/questions-about-row-insert/127135 "2008-01-25T11:53:29Z")

</div>

Hi, Does anyone knows how to do the following kind of insert? in the table: column1 string not null column2 string not null column3 string not null I have to save data only into column2. Is this poss…

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

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