# Rails

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

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

---

## [Problem with passing to constructor](https://www.ruby-forum.com/t/problem-with-passing-to-constructor/111744)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [August 10, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/problem-with-passing-to-constructor/111744 "2007-08-10T12:08:52Z")

</div>

I think i’m doing something quite simple here but can;t quite get it: I had a load of creation logic in my controller that i decided to move to the model, under the ‘skinny controller’ principle. So, my controller i…

---

## [Has\_many\_polymorphs plugin?](https://www.ruby-forum.com/t/has-many-polymorphs-plugin/111647)

<div class="topic-metadata">

**Author:** [@michau](https://www.ruby-forum.com/u/michau)\
**Replies:** 3\
**Last updated:** [August 10, 2007, 11:26am UTC](https://www.ruby-forum.com/t/has-many-polymorphs-plugin/111647 "2007-08-10T11:26:03Z")

</div>

Helo, I’m looking for some info on Evan W.'s has\_many\_polymorphs plugin, particularly the taggable generator. Anyone able to give some info? Somebody told me that I should use it in my app, but the documentation isn’…

---

## [RMagic and Windows](https://www.ruby-forum.com/t/rmagic-and-windows/111741)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 1\
**Last updated:** [August 10, 2007, 11:16am UTC](https://www.ruby-forum.com/t/rmagic-and-windows/111741 "2007-08-10T11:16:00Z")

</div>

Hi all, Who can tell me what version of RMagic should i install in windows xp that will work? Thank you

---

## [Nginx and account location](https://www.ruby-forum.com/t/nginx-and-account-location/111740)

<div class="topic-metadata">

**Author:** [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 10:43am UTC](https://www.ruby-forum.com/t/nginx-and-account-location/111740 "2007-08-10T10:43:54Z")

</div>

Do I need to do anything special with my nginx configs for a site that uses the account location plugin and if so what? I have wildcards set for the dns but suspect nginx might choke on it.

---

## [OpenID with Rails 1.2.3 (non-edge)?](https://www.ruby-forum.com/t/openid-with-rails-1-2-3-non-edge/111688)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 2\
**Last updated:** [August 10, 2007, 9:35am UTC](https://www.ruby-forum.com/t/openid-with-rails-1-2-3-non-edge/111688 "2007-08-10T09:35:32Z")

</div>

The README for the plugin open\_id\_authentication says that Edge Rails 6317 or newer is required. Does anyone know of a working OpenID plugin for Rails 1.2.3? Browsing through the open\_id\_authentication plugin source, …

---

## [Nil object where not expected](https://www.ruby-forum.com/t/nil-object-where-not-expected/111720)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 4\
**Last updated:** [August 10, 2007, 8:23am UTC](https://www.ruby-forum.com/t/nil-object-where-not-expected/111720 "2007-08-10T08:23:41Z")

</div>

trying to pass a collection of authors using \<%= render :partial =\> ‘author’, :collection =\> @authors %\> \_authors.rhtml file has \<%= link\_to author.name, :action =\> 'show', :id =\> @author %\> \<%= link\_to 'Edit', …

---

## [Questions on starting app](https://www.ruby-forum.com/t/questions-on-starting-app/111735)

<div class="topic-metadata">

**Author:** [@banjomamo](https://www.ruby-forum.com/u/banjomamo)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 7:35am UTC](https://www.ruby-forum.com/t/questions-on-starting-app/111735 "2007-08-10T07:35:34Z")

</div>

hi. newbie here. ive never programmed before but i built a simplistic blog app and am ready to move on to an app that i can use for my clients (motion graphics biz). i want to build an app that has some details about …

---

## [Displaying svg chart](https://www.ruby-forum.com/t/displaying-svg-chart/111650)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 1\
**Last updated:** [August 10, 2007, 7:32am UTC](https://www.ruby-forum.com/t/displaying-svg-chart/111650 "2007-08-10T07:32:37Z")

</div>

dear railers I was attempting to display a svg chart inside a tooltip in rails using Scruffy. my browser is Firefox 2 and i am using WEBRICK. when i render inside the controller using graph.render(:size=\> \[255,20…

---

## [\[ANN\] Lone Star Rubyconf 2007 - Registration Re-Opened!](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2007-registration-re-opened/111734)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 7:22am UTC](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2007-registration-re-opened/111734 "2007-08-10T07:22:36Z")

</div>

Hello As you may know, Lone Star Rubyconf 2007 had closed registration a few days ago due to sales exceeding capacity. Since then, the emails have not stopped for us to find a way to accept more registrants to the c…

---

## [Rails Tricks](https://www.ruby-forum.com/t/rails-tricks/111732)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 6:22am UTC](https://www.ruby-forum.com/t/rails-tricks/111732 "2007-08-10T06:22:33Z")

</div>

Hi, I’m new to this list and thought I would share a post I found really helpful about a bunch of rails tricks that didn’t know. Hope you guys like it as much as I did. http://www.rubyinside.com/19-rails-tricks-most…

---

## [Question about routing polymorphic associations, especially](https://www.ruby-forum.com/t/question-about-routing-polymorphic-associations-especially/111706)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 1\
**Last updated:** [August 10, 2007, 5:03am UTC](https://www.ruby-forum.com/t/question-about-routing-polymorphic-associations-especially/111706 "2007-08-10T05:03:29Z")

</div>

I have a question regarding edge rails. The new routes syntax is: map.resources :blog, :has\_many =\> :posts. Now my question is how would I further specify the association? I want :posts to ‘has\_many :comments’. But y…

---

## [Sessions with class object](https://www.ruby-forum.com/t/sessions-with-class-object/111724)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 4:04am UTC](https://www.ruby-forum.com/t/sessions-with-class-object/111724 "2007-08-10T04:04:26Z")

</div>

Hi, I have a RoR app working (with Ajax) and I am trying to hook it up to a class that is using soap4r. I have a simple example working that stores an index through sessions and will dynamically update it. I want to…

---

## [Routing Error Fix?](https://www.ruby-forum.com/t/routing-error-fix/111715)

<div class="topic-metadata">

**Author:** [@TTDaVeTT](https://www.ruby-forum.com/u/TTDaVeTT)\
**Replies:** 1\
**Last updated:** [August 10, 2007, 3:55am UTC](https://www.ruby-forum.com/t/routing-error-fix/111715 "2007-08-10T03:55:26Z")

</div>

I get a routing error when I try and read from a text field. The error says: ROUTING ERROR no route found to match “/\\look\\at” with {:method=\>:get} Heres the code Im using to read data from a text field: input.html…

---

## [Keeping a record that belonged to a record that has been del](https://www.ruby-forum.com/t/keeping-a-record-that-belonged-to-a-record-that-has-been-del/111705)

<div class="topic-metadata">

**Author:** [@eboss](https://www.ruby-forum.com/u/eboss)\
**Replies:** 4\
**Last updated:** [August 10, 2007, 2:56am UTC](https://www.ruby-forum.com/t/keeping-a-record-that-belonged-to-a-record-that-has-been-del/111705 "2007-08-10T02:56:08Z")

</div>

I have 2 tables. One for employees, the other for testimonials. An employee has\_many testimonials and a testimonial belongs to an employee. Now when an employee leaves, we as a company want to keep the testimonial, bu…

---

## [Unitialized constant error when running migrate to load test](https://www.ruby-forum.com/t/unitialized-constant-error-when-running-migrate-to-load-test/111722)

<div class="topic-metadata">

**Author:** [@wheresdave](https://www.ruby-forum.com/u/wheresdave)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 2:10am UTC](https://www.ruby-forum.com/t/unitialized-constant-error-when-running-migrate-to-load-test/111722 "2007-08-10T02:10:20Z")

</div>

Hi gang, Provided all the info below that i can think of. I am running instant rails on WinXP, but i dont see how that is an issue, I have been running rake commands for months with no issue. Also, I am running the r…

---

## [Ruby on rails and drb](https://www.ruby-forum.com/t/ruby-on-rails-and-drb/111533)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 1\
**Last updated:** [August 10, 2007, 1:52am UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-drb/111533 "2007-08-10T01:52:19Z")

</div>

Hi, I’m trying to get a simple ROR and DRb program to work and I have a question about how ROR works. My application has a server and a client which is part of a ROR application. The server is simple enough and it ha…

---

## [RoR and DRb](https://www.ruby-forum.com/t/ror-and-drb/111609)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 2\
**Last updated:** [August 10, 2007, 1:43am UTC](https://www.ruby-forum.com/t/ror-and-drb/111609 "2007-08-10T01:43:28Z")

</div>

Hi, I have a question regarding RoR and DRb. First of all, I tested with simple client/server examples and everything worked as expected. I have the following lines in my environment.rb: DRb.start\_service $rem\_obj =…

---

## [Calling controller actions in a for loop](https://www.ruby-forum.com/t/calling-controller-actions-in-a-for-loop/111684)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [August 10, 2007, 1:39am UTC](https://www.ruby-forum.com/t/calling-controller-actions-in-a-for-loop/111684 "2007-08-10T01:39:01Z")

</div>

I have Story objects that each “has\_many” Pictures (and Stories belongs\_to Article but that’s not relevant to this question). The picture controller has a ‘delete’ method that clears out the saved picture from the pu…

---

## [Form for another controller in a view](https://www.ruby-forum.com/t/form-for-another-controller-in-a-view/111708)

<div class="topic-metadata">

**Author:** [@yeago](https://www.ruby-forum.com/u/yeago)\
**Replies:** 0\
**Last updated:** [August 10, 2007, 12:24am UTC](https://www.ruby-forum.com/t/form-for-another-controller-in-a-view/111708 "2007-08-10T00:24:39Z")

</div>

Let’s say I have table ‘groups’ and table ‘members’. When SHOWing a particular group I included the form for members (Add new). What approach should I use for making sure that members add to the group being shown? I…

---

## [Generate time sheet](https://www.ruby-forum.com/t/generate-time-sheet/111685)

<div class="topic-metadata">

**Author:** [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Replies:** 8\
**Last updated:** [August 9, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/generate-time-sheet/111685 "2007-08-09T22:06:55Z")

</div>

Hi does anybody know how to generate a time sheet? like starts from 8:00 Am 8:15 AM 8:30 AM 6:00 PM Please advice Thanks Ajit

---

## [Production Questions](https://www.ruby-forum.com/t/production-questions/111697)

<div class="topic-metadata">

**Author:** [@taro](https://www.ruby-forum.com/u/taro)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/production-questions/111697 "2007-08-09T21:50:53Z")

</div>

Before I send my web application to the big world, I just wanted to make sure what kind of things I should change that I normally wouldn’t set-up in development mode. I know, for example, that I should set the sessio…

---

## [Globalize doesn't work: HELP ME PLEASE](https://www.ruby-forum.com/t/globalize-doesnt-work-help-me-please/111696)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/globalize-doesnt-work-help-me-please/111696 "2007-08-09T21:41:53Z")

</div>

Hi to all, seems that Globalize creates wrong sql statements on dynamic finders on translated columns (find\_by\_{attribute}) when locale is not en-US. Globalize Plugin (for\_1\_2) installed on vendor/plugins under appli…

---

## [Post preview with rjs](https://www.ruby-forum.com/t/post-preview-with-rjs/111695)

<div class="topic-metadata">

**Author:** [@pabloz](https://www.ruby-forum.com/u/pabloz)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/post-preview-with-rjs/111695 "2007-08-09T21:39:58Z")

</div>

Hey I am trying to make a nice post preview using rjs, i added preview method to my rest controller using :collection =\> { :preview =\> :post } or maybe put ? Now i want to preview this @post = Post.new(params\[:post\])…

---

## [Design Question For Quiz App](https://www.ruby-forum.com/t/design-question-for-quiz-app/111694)

<div class="topic-metadata">

**Author:** [@bshinnebarger](https://www.ruby-forum.com/u/bshinnebarger)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/design-question-for-quiz-app/111694 "2007-08-09T21:28:52Z")

</div>

Hello, I’m trying to create a simple application that lets a user take a quiz with 20 or 30 questions. I want to keep a record of the questions they get right and wrong so at the end I can output something like “you …

---

## [Modules in lib not follwing naming convension](https://www.ruby-forum.com/t/modules-in-lib-not-follwing-naming-convension/111659)

<div class="topic-metadata">

**Author:** [@kaffepanna](https://www.ruby-forum.com/u/kaffepanna)\
**Replies:** 7\
**Last updated:** [August 9, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/modules-in-lib-not-follwing-naming-convension/111659 "2007-08-09T20:39:37Z")

</div>

Hej! Okey i have a problem, i have earlier written a set of classes in ruby implementing a msrp chat client and now im trying to use it in my rails app. The msrp implementation consists of several files and most of th…

---

## [Javascript\_include\_tag - release number instead of time stam](https://www.ruby-forum.com/t/javascript-include-tag-release-number-instead-of-time-stam/111675)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 3\
**Last updated:** [August 9, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/javascript-include-tag-release-number-instead-of-time-stam/111675 "2007-08-09T20:06:43Z")

</div>

I’ve noticed that the major part of my pages’ load time is the Javascript for prototype and effects. Instead of forcing a reload per request (by attaching the ?timestamp parameter), I’d like to force reload this per r…

---

## [\[ADV\] Ruport Book Blog](https://www.ruby-forum.com/t/adv-ruport-book-blog/196425)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/adv-ruport-book-blog/196425 "2007-08-09T19:39:37Z")

</div>

Hi folks, this is a one time announcement / advertisement for a new blog on the Ruport Book\[0\]. http://blog.ruportbook.com/ The content there will be primarily news and announcements, though readers are welcome to c…

---

## [How to redirect back to the page after user Login?](https://www.ruby-forum.com/t/how-to-redirect-back-to-the-page-after-user-login/111674)

<div class="topic-metadata">

**Author:** [@Mister\_Yu](https://www.ruby-forum.com/u/Mister_Yu)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/how-to-redirect-back-to-the-page-after-user-login/111674 "2007-08-09T18:37:31Z")

</div>

Hello all, I am using acts\_as\_authenticated as my login system. it does a good job redirecting back to where the user were after login, when using the controller action fliter. however if i use a link in my page to l…

---

## [Ruby On Rails Vs. J2EE OpenSource vs. Apple WebObjects etc](https://www.ruby-forum.com/t/ruby-on-rails-vs-j2ee-opensource-vs-apple-webobjects-etc/111615)

<div class="topic-metadata">

**Author:** [@Ralphmiller](https://www.ruby-forum.com/u/Ralphmiller)\
**Replies:** 4\
**Last updated:** [August 9, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-vs-j2ee-opensource-vs-apple-webobjects-etc/111615 "2007-08-09T18:32:29Z")

</div>

Hello Gurus: New to Ruby/Rails. We are a startup and getting ready to start developing a DB driven business application. We have a Apple hardware with MAC OS with Ruby, WebObjects, JBoss, Hibernate and other opensour…

---

## [Optimistic locking and update\_attributes: not working?](https://www.ruby-forum.com/t/optimistic-locking-and-update-attributes-not-working/90087)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 1\
**Last updated:** [August 9, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/optimistic-locking-and-update-attributes-not-working/90087 "2007-08-09T18:25:10Z")

</div>

Hi all, I’ve searched the forumns, but I can’t seem to find an answer to this one. I’m having trouble getting optimistic locking (OL) to work in my app, even though all of the pieces are there: table has lock\_versio…

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

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