# Rails

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

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

---

## [Streamlined mia](https://www.ruby-forum.com/t/streamlined-mia/86943)

<div class="topic-metadata">

**Author:** [@leemhenson](https://www.ruby-forum.com/u/leemhenson)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/streamlined-mia/86943 "2007-02-28T19:57:46Z")

</div>

Hi; The streamlined folks seem to be in the middle of a reorg: streamlinedframework.org redirects to: http://www.relevancellc.com/2007/2/26/codecite The contact link is broken, at the moment. In case the owners the…

---

## [Access your PC from anywhere](https://www.ruby-forum.com/t/access-your-pc-from-anywhere/87193)

<div class="topic-metadata">

**Author:** [@fanis\_maria](https://www.ruby-forum.com/u/fanis_maria)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/access-your-pc-from-anywhere/87193 "2007-02-28T19:43:45Z")

</div>

Work on your office PC from home Â– in real time Â• Travel anywhere and use your PC remotely Â• Increase your work flexibility and productivity Â• Access your files, programs, email and network … with easy, secure ac…

---

## [Preventing destory when grandchildren records exist?](https://www.ruby-forum.com/t/preventing-destory-when-grandchildren-records-exist/87190)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/preventing-destory-when-grandchildren-records-exist/87190 "2007-02-28T19:42:45Z")

</div>

OK, I’m hoping there’s a better way to do this, but searching returns many more old hits than “current” ones. I am working on an application that has Products belong to a Category and categories belong to a Group. I …

---

## [Decent documentation?](https://www.ruby-forum.com/t/decent-documentation/86819)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 9\
**Last updated:** [February 28, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/decent-documentation/86819 "2007-02-28T18:35:33Z")

</div>

I know that the rails framework has “good” documentation, but I’ve found it to be very shallow. I don’t know how many times I’ve tried to look up a method (like the content\_tag helper, for example) only to find that …

---

## [AssociationTypeMissmatch](https://www.ruby-forum.com/t/associationtypemissmatch/87166)

<div class="topic-metadata">

**Author:** [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/associationtypemissmatch/87166 "2007-02-28T18:33:31Z")

</div>

Hi, I’ve seen a few threads here about HABTM raising AssociationTypeMissmatch exceptions, but no definate answer. I’m having this problem with one of my relationships and cannot figure out what is causing it. The oth…

---

## [ActiveRecord::Base descendant "loses" the "id" method?](https://www.ruby-forum.com/t/activerecord-base-descendant-loses-the-id-method/87046)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 15\
**Last updated:** [February 28, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/activerecord-base-descendant-loses-the-id-method/87046 "2007-02-28T18:28:36Z")

</div>

All, I have a set of AR::Base descendant objects that I’ve stored in an array. At some point in my application, I attempt to process these objects, and part of that processing requires calling their “id” methods to g…

---

## [Ruby activerecord problem](https://www.ruby-forum.com/t/ruby-activerecord-problem/87185)

<div class="topic-metadata">

**Author:** [@karry](https://www.ruby-forum.com/u/karry)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/ruby-activerecord-problem/87185 "2007-02-28T18:24:44Z")

</div>

Hello friends, I have written a ruby code which generates table in the database. I have given an option of overwriting the table if it already exists. Here is the code domain\_object\_class “AuditTrailEntry” do attrib…

---

## [Deployment](https://www.ruby-forum.com/t/deployment/86794)

<div class="topic-metadata">

**Author:** [@seanstewart](https://www.ruby-forum.com/u/seanstewart)\
**Replies:** 11\
**Last updated:** [February 28, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/deployment/86794 "2007-02-28T17:54:20Z")

</div>

So I’ve developed a rails app locally. Its awesome. It works great and exactly how I want it to…but there is one problem…and its a big one… NOT ONE SITE SHOWS YOU STEP BY STEP INSTRUCTIONS FOR DEPLOYMENT It just bo…

---

## [Folder Delete Problem - Windows 2003 Server](https://www.ruby-forum.com/t/folder-delete-problem-windows-2003-server/87165)

<div class="topic-metadata">

**Author:** [@Brian\_G.e](https://www.ruby-forum.com/u/Brian_G.e)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/folder-delete-problem-windows-2003-server/87165 "2007-02-28T17:34:29Z")

</div>

Has any one experienced problems with Ruby on Rails deleting folders created with file\_column? I have no problems on my local machine, which is Windows XP. It gets really weird when it tries to delete a folder and fai…

---

## [Gzip compression of .rb and .rhtml files](https://www.ruby-forum.com/t/gzip-compression-of-rb-and-rhtml-files/87065)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 6\
**Last updated:** [February 28, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/gzip-compression-of-rb-and-rhtml-files/87065 "2007-02-28T17:31:35Z")

</div>

I haven’t been able to find the answer to my question by Googling, possibly because “gzip” is everywhere on the web. The context of my question is: deploying a Ruby on Rails application onto a system with limited (fla…

---

## [Plugin for generating requirements from tests written in Rai](https://www.ruby-forum.com/t/plugin-for-generating-requirements-from-tests-written-in-rai/87159)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/plugin-for-generating-requirements-from-tests-written-in-rai/87159 "2007-02-28T17:20:11Z")

</div>

Hi, While Following tdd, we spend time writing ellaborate tests for the various features that we are going to implement, often the method names which correspond to various tests are requirement in themselves. So my q…

---

## [POST data not coming through](https://www.ruby-forum.com/t/post-data-not-coming-through/86898)

<div class="topic-metadata">

**Author:** [@Joey\_Corless](https://www.ruby-forum.com/u/Joey_Corless)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/post-data-not-coming-through/86898 "2007-02-28T17:03:47Z")

</div>

I developed an application using Rails and the WeBrick, and now I’ve moved it to the production server using apache/fcgid. Now, however, post data is not being populated in the params hash. Even a simple form with o…

---

## [AWS - XML-RPC Server](https://www.ruby-forum.com/t/aws-xml-rpc-server/87161)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/aws-xml-rpc-server/87161 "2007-02-28T16:58:03Z")

</div>

I am writing code to setup an AWS Server. I am able to test all the values accurately using web\_service\_scaffold :test, but when I try to connect by creating an XML-RPC client i am getting a timeout error = execution…

---

## [Rails + runner limited to one model?](https://www.ruby-forum.com/t/rails-runner-limited-to-one-model/87158)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/rails-runner-limited-to-one-model/87158 "2007-02-28T16:29:58Z")

</div>

Hi, I am trying to run a batch job on demand and using the script/runner command. The job will add some informations in the database with dependencies. So I have the following code but it failed. ============= Clas…

---

## [Rails + runner limited to one model?](https://www.ruby-forum.com/t/rails-runner-limited-to-one-model/87154)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/rails-runner-limited-to-one-model/87154 "2007-02-28T16:11:17Z")

</div>

HI, I am trying to run a batch job on demand and trying to get it works with the script/runner command. The job will add some informations in the database with dependencies. So I have the following code but it failed…

---

## [Clearing out submitted form](https://www.ruby-forum.com/t/clearing-out-submitted-form/86998)

<div class="topic-metadata">

**Author:** [@kturner](https://www.ruby-forum.com/u/kturner)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/clearing-out-submitted-form/86998 "2007-02-28T15:58:51Z")

</div>

I’m trying to put together a basic blog application for fun, and I’m using an RJS template to insert a new comment into existing comments. The comment data is inserted, but the comment form at the bottom of the page s…

---

## [Frustrating broken images!](https://www.ruby-forum.com/t/frustrating-broken-images/87151)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/frustrating-broken-images/87151 "2007-02-28T15:45:30Z")

</div>

A model and controller generate an image and save it as a png The view then shows it with "\> BUT: about 60% of the time I get the dreaded broken image - even though the image is ok. Any ideas why?? Chris.

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/87147)

<div class="topic-metadata">

**Author:** [@Jarod\_R](https://www.ruby-forum.com/u/Jarod_R)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/no-subject/87147 "2007-02-28T15:40:37Z")

</div>

I have run into a bit of an odd problem. I have searched the web with no definitive answer. When running rake migrate I get syntax error on line 18, col 2: \` host: localhost’. Heres the yml: MySQL (default setup). …

---

## [CSS not displaying in Firefox](https://www.ruby-forum.com/t/css-not-displaying-in-firefox/80107)

<div class="topic-metadata">

**Author:** [@geoff](https://www.ruby-forum.com/u/geoff)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/css-not-displaying-in-firefox/80107 "2007-02-28T15:40:35Z")

</div>

Hello, I am developping a social networking site in rails, it can be found at the url www\[dot\]string\[dot\]be My problem is that firefox doesn’t seems to find/interpret the css linked to it. Everything works fine in ot…

---

## [Performance problems and production logs](https://www.ruby-forum.com/t/performance-problems-and-production-logs/87149)

<div class="topic-metadata">

**Author:** [@S2S2S2](https://www.ruby-forum.com/u/S2S2S2)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/performance-problems-and-production-logs/87149 "2007-02-28T15:31:19Z")

</div>

Hi all! I have this very slow action that loads a lot of data from an oracle database and renders it in a nice html table. I am trying to understand where all that time goes, but the production log is not really help…

---

## [iCalendar and vCard database structure and RoR](https://www.ruby-forum.com/t/icalendar-and-vcard-database-structure-and-ror/87072)

<div class="topic-metadata">

**Author:** [@Tony\_K](https://www.ruby-forum.com/u/Tony_K)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/icalendar-and-vcard-database-structure-and-ror/87072 "2007-02-28T15:08:30Z")

</div>

I am interested in using iCalendar and vCards with RoR. How are iCalendar and/or vCards stored in tables? Is the information in a vCard, for example, stored in a vCard table with one record per vCard vEvent or shoul…

---

## [E-commerce](https://www.ruby-forum.com/t/e-commerce/86997)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/e-commerce/86997 "2007-02-28T14:51:57Z")

</div>

Does anyone know of an e-commerce service that allows you to handle the collection of the user details and you then you post them (via secure connection) it for carrying out the transaction. Thanks James.

---

## [Handling MySQL Connection failures](https://www.ruby-forum.com/t/handling-mysql-connection-failures/87142)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 2:43pm UTC](https://www.ruby-forum.com/t/handling-mysql-connection-failures/87142 "2007-02-28T14:43:56Z")

</div>

Hi all, Hopefully a quick question for someone. This morning we had our database server go down and that caused out Rails app to just spit out “Application Error” to all access. Is there a way to catch the exceptio…

---

## [Library Require](https://www.ruby-forum.com/t/library-require/87143)

<div class="topic-metadata">

**Author:** [@zukjimote](https://www.ruby-forum.com/u/zukjimote)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/library-require/87143 "2007-02-28T14:40:57Z")

</div>

I want to use the library ‘rubyful\_soup’ (Rubyful Soup: "The brush has got entangled in it!") Using ‘gem install rubyful\_soup’ command, I installed the library. The library is installed at /var/lib/gems/1.8/gems/. Wh…

---

## [Library Require](https://www.ruby-forum.com/t/library-require/87144)

<div class="topic-metadata">

**Author:** [@zukjimote](https://www.ruby-forum.com/u/zukjimote)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/library-require/87144 "2007-02-28T14:40:07Z")

</div>

I want to use the library ‘rubyful\_soup’ (Rubyful Soup: "The brush has got entangled in it!") Using ‘gem install rubyful\_soup’ command, I installed the library. The library is installed at /var/lib/gems/1.8/gems/. Wh…

---

## [How to do UPDATE WHERE COLUMN IN (list)](https://www.ruby-forum.com/t/how-to-do-update-where-column-in-list/87103)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/how-to-do-update-where-column-in-list/87103 "2007-02-28T14:31:54Z")

</div>

What would be the correct way in AR to do “UPDATE WHERE COLUMN IN (a,b,c,d)” Chris

---

## [How do I know checkbox if a checkbox is checked after F5?](https://www.ruby-forum.com/t/how-do-i-know-checkbox-if-a-checkbox-is-checked-after-f5/87018)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 7\
**Last updated:** [February 28, 2007, 2:21pm UTC](https://www.ruby-forum.com/t/how-do-i-know-checkbox-if-a-checkbox-is-checked-after-f5/87018 "2007-02-28T14:21:24Z")

</div>

Hi, I create some checkboxs with check\_box\_tag in a rhtml, when I check the checkbox, I change the css class of the checkbox with javascript, everything is fine, however, when I press on F5 to refresh my page, the ch…

---

## [Attributing delegated OpenID identifiers to the "real" ident](https://www.ruby-forum.com/t/attributing-delegated-openid-identifiers-to-the-real-ident/87141)

<div class="topic-metadata">

**Author:** [@tikaro](https://www.ruby-forum.com/u/tikaro)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 1:41pm UTC](https://www.ruby-forum.com/t/attributing-delegated-openid-identifiers-to-the-real-ident/87141 "2007-02-28T13:41:11Z")

</div>

Hi group! I’m playing with the ruby-openid gem, and was able to get to a “hello world” state pretty easily, thanks to some of the recipes out there. I’m able to display a page, have the user enter their identifier, …

---

## ["Ugly URLs" don't work with map.resources?](https://www.ruby-forum.com/t/ugly-urls-dont-work-with-map-resources/87138)

<div class="topic-metadata">

**Author:** [@mknw](https://www.ruby-forum.com/u/mknw)\
**Replies:** 0\
**Last updated:** [February 28, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/ugly-urls-dont-work-with-map-resources/87138 "2007-02-28T13:33:09Z")

</div>

All, I’ve a Course model in my application and so my routes file contains the standard: map.resources :courses and then of course: map.connect ‘:controller/:action/:id.:format’ map.connect ‘:controller/:action/:id’ …

---

## [SSL cert-type question](https://www.ruby-forum.com/t/ssl-cert-type-question/87041)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/ssl-cert-type-question/87041 "2007-02-28T13:09:06Z")

</div>

I need to add SSL to parts of my app. The app’s structured so that everything that needs to happen within SSL happens in one set of controllers and the stuff that doesn’t happens in others. My business model is to …

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

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