# Rails

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

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

---

## [Rails 1.2.4](https://www.ruby-forum.com/t/rails-1-2-4/116645)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/rails-1-2-4/116645 "2007-10-08T14:16:30Z")

</div>

Will there be a new release of engines to support 1.2.4 or does it work out of the box already? We have a few apps on engines 1.2 but want to wait for some official confirmation before we take the plunge and upgrade t…

---

## [Scroll Down Menu Problem](https://www.ruby-forum.com/t/scroll-down-menu-problem/116625)

<div class="topic-metadata">

**Author:** [@malioboro](https://www.ruby-forum.com/u/malioboro)\
**Replies:** 11\
**Last updated:** [October 8, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/scroll-down-menu-problem/116625 "2007-10-08T14:01:29Z")

</div>

Please I need a help from you guys: I have 2 models & 2 controllers: app/controller/register\_controller.rb & app/model/register.rb app/controller/city\_controller.rb & app/model/city.rb In db/migrate/002\_creates\_cit…

---

## [Benchmarking](https://www.ruby-forum.com/t/benchmarking/116316)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/benchmarking/116316 "2007-10-08T12:57:09Z")

</div>

I’ve got an app I’m building for some friends running on a SliceHost box written in Ruby on Rails. I’m looking to benchmark it to see how many requests it could feasibly take and what kind of spec / requirements we’re…

---

## [How to get database adapter type programmatically in rails?](https://www.ruby-forum.com/t/how-to-get-database-adapter-type-programmatically-in-rails/116634)

<div class="topic-metadata">

**Author:** [@limlian](https://www.ruby-forum.com/u/limlian)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-get-database-adapter-type-programmatically-in-rails/116634 "2007-10-08T12:44:36Z")

</div>

Hi,all I am developing a Rails application supporting both Mysql and Oracle. I have to use Native SQL statements some place. While we know the SQL grammar is quite different for Mysql and Oracle, so I have to get dat…

---

## [RESTful authentication plugin test failure in Rails 2.0 Preview Release](https://www.ruby-forum.com/t/restful-authentication-plugin-test-failure-in-rails-2-0-preview-release/116630)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/restful-authentication-plugin-test-failure-in-rails-2-0-preview-release/116630 "2007-10-08T12:41:52Z")

</div>

The following tests are failing: test\_should\_fail\_cookie\_login test\_should\_login\_with\_cookie test\_should\_fail\_login\_and\_not\_redirect test\_should\_fail\_expired\_cookie\_login Error message: test\_should\_fail\_cookie\_logi…

---

## [Access the variables of view in controller](https://www.ruby-forum.com/t/access-the-variables-of-view-in-controller/116573)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 12\
**Last updated:** [October 8, 2007, 12:40pm UTC](https://www.ruby-forum.com/t/access-the-variables-of-view-in-controller/116573 "2007-10-08T12:40:15Z")

</div>

Hello frnds I want to access the variables of view in my controller… What i want to do is that the value that i m storing in view i want to store that thru a variable by defining it in the controller… is that possibl…

---

## [Converting text file to pdf](https://www.ruby-forum.com/t/converting-text-file-to-pdf/116644)

<div class="topic-metadata">

**Author:** [@pragati](https://www.ruby-forum.com/u/pragati)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/converting-text-file-to-pdf/116644 "2007-10-08T12:09:39Z")

</div>

Hi , The content application I have, fetches data from a file and displays. I have to capture the catalog list in a PDF file. I could capture it into a plain text document. Now i want to convert this text document to…

---

## [Contribute to a great Rails app in Eclipse?](https://www.ruby-forum.com/t/contribute-to-a-great-rails-app-in-eclipse/116641)

<div class="topic-metadata">

**Author:** [@Onno\_van\_der\_Straat](https://www.ruby-forum.com/u/Onno_van_der_Straat)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 11:36am UTC](https://www.ruby-forum.com/t/contribute-to-a-great-rails-app-in-eclipse/116641 "2007-10-08T11:36:44Z")

</div>

Hi, I have some news that I think is of interest to the Rails community. For some time now I have been involved with the Eclipse Process Framework (EPF) project. To this project I have donated Wiki technology that I …

---

## [Passing ERB block to helper](https://www.ruby-forum.com/t/passing-erb-block-to-helper/116503)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 4\
**Last updated:** [October 8, 2007, 11:26am UTC](https://www.ruby-forum.com/t/passing-erb-block-to-helper/116503 "2007-10-08T11:26:32Z")

</div>

I’m trying to pass an ERB block to a helper, and I’m not able to achieve the results I want. The helper should take the block and incorporate it into some other text & html, before finally outputing it back to the ERB …

---

## [Ruby on Rails on WAMP](https://www.ruby-forum.com/t/ruby-on-rails-on-wamp/116565)

<div class="topic-metadata">

**Author:** [@elvisparsley](https://www.ruby-forum.com/u/elvisparsley)\
**Replies:** 7\
**Last updated:** [October 8, 2007, 10:12am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-wamp/116565 "2007-10-08T10:12:10Z")

</div>

I am using WAMP(windows, Apache, mySQL and PHP) for my web development. So I have already MySQL and Apache working. Could any one tell me how to install Ruby on Rails on this environment? Can I just put ror in the roo…

---

## [Upgrading my App to Rails 2.0 : a few problems and questions](https://www.ruby-forum.com/t/upgrading-my-app-to-rails-2-0-a-few-problems-and-questions/116563)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 8:08am UTC](https://www.ruby-forum.com/t/upgrading-my-app-to-rails-2-0-a-few-problems-and-questions/116563 "2007-10-08T08:08:55Z")

</div>

Hello, I’ve started to build my app on RoR 1.2.3. I want to start porting it to RoR 2.0. I’ve tried to “Install the preview release through gemshttp://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release” li…

---

## [How do I test this?](https://www.ruby-forum.com/t/how-do-i-test-this/116605)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 7:06am UTC](https://www.ruby-forum.com/t/how-do-i-test-this/116605 "2007-10-08T07:06:50Z")

</div>

I have this code in my controller which streams a file to the client. How on earth do I test this? #Stream the file to the client over HTTP def preview device\_id=params\[:device\_id\] path = @campaign.get\_preview\_url…

---

## [Using Aptana Radrails on a Mac](https://www.ruby-forum.com/t/using-aptana-radrails-on-a-mac/116492)

<div class="topic-metadata">

**Author:** [@CCH](https://www.ruby-forum.com/u/CCH)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 6:55am UTC](https://www.ruby-forum.com/t/using-aptana-radrails-on-a-mac/116492 "2007-10-08T06:55:43Z")

</div>

Hi I am looking into purchasing a Mac but I need to know whether there are any Mac users out here using Aptana Radrails successfully ? If so, are there any special configuration needed other than a straightforward in…

---

## [Javascript scroller](https://www.ruby-forum.com/t/javascript-scroller/116629)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 6:01am UTC](https://www.ruby-forum.com/t/javascript-scroller/116629 "2007-10-08T06:01:50Z")

</div>

Hi , Do anyone know any (good) script for scrollers in javascript. Reference : http://www.apple.com/ilife/iphoto/prints.html#books and click on “view details and pricing”… and you can see a left and right arrow for …

---

## [Private Actions that have Views aren't that private](https://www.ruby-forum.com/t/private-actions-that-have-views-arent-that-private/116618)

<div class="topic-metadata">

**Author:** [@Onildo](https://www.ruby-forum.com/u/Onildo)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 5:55am UTC](https://www.ruby-forum.com/t/private-actions-that-have-views-arent-that-private/116618 "2007-10-08T05:55:23Z")

</div>

Hello If a certain action in a certain controller is private it should return an “Unknown action” error if you type its path in the browser. But if it has a corresponding view, the browser actually shows the view. Wh…

---

## [Comparison of rails and java for mysql](https://www.ruby-forum.com/t/comparison-of-rails-and-java-for-mysql/116424)

<div class="topic-metadata">

**Author:** [@Ghee\_wooi\_O](https://www.ruby-forum.com/u/Ghee_wooi_O)\
**Replies:** 8\
**Last updated:** [October 8, 2007, 3:48am UTC](https://www.ruby-forum.com/t/comparison-of-rails-and-java-for-mysql/116424 "2007-10-08T03:48:02Z")

</div>

hi, I had create a sample test to try out rails performance on mysql I had created one rake task to load a 79440 record (almost 3.84MB) into mysql database (innodb) and another is a java version (JDBC), i found that …

---

## [Help with app issuing error 500](https://www.ruby-forum.com/t/help-with-app-issuing-error-500/116551)

<div class="topic-metadata">

**Author:** [@JoeRails](https://www.ruby-forum.com/u/JoeRails)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 1:33am UTC](https://www.ruby-forum.com/t/help-with-app-issuing-error-500/116551 "2007-10-08T01:33:23Z")

</div>

Hi guys I have a running app that worked in a server (apache + linux). Brougt it home and it dosen’t seem to be working(mac + webbrick). I get the error 500 message. I have another app and it runs fine. The app was c…

---

## [Permission denied](https://www.ruby-forum.com/t/permission-denied/64650)

<div class="topic-metadata">

**Author:** [@fellons](https://www.ruby-forum.com/u/fellons)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 1:14am UTC](https://www.ruby-forum.com/t/permission-denied/64650 "2007-10-08T01:14:28Z")

</div>

Hi to all. I’m a newbye, and this is my first contact with list. I have installed ruby and rails. My ruby local home page works, but development.log tell me "Permission denied - /var/www/html/rubyapp/…/config/…/tmp/…

---

## [Has\_many\_polymorphs\_plugin breaks routes](https://www.ruby-forum.com/t/has-many-polymorphs-plugin-breaks-routes/115797)

<div class="topic-metadata">

**Author:** [@Sean\_Schofield](https://www.ruby-forum.com/u/Sean_Schofield)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 1:12am UTC](https://www.ruby-forum.com/t/has-many-polymorphs-plugin-breaks-routes/115797 "2007-10-08T01:12:17Z")

</div>

Just started playing with Engines (excellent work btw.) Anyways everything was working fine in my plugin until I added has\_many\_with\_polymorphs plugin into the mix. Then all of a sudden my routes are broken. Everyt…

---

## [Exec format error installing Globalize on Windows](https://www.ruby-forum.com/t/exec-format-error-installing-globalize-on-windows/116617)

<div class="topic-metadata">

**Author:** [@ohaleck](https://www.ruby-forum.com/u/ohaleck)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 12:58am UTC](https://www.ruby-forum.com/t/exec-format-error-installing-globalize-on-windows/116617 "2007-10-08T00:58:08Z")

</div>

Hello, Whan I am trying to do is I18N-related, but the problem seems to rather be Rails and Windows, so I am posting it to this forum. I must admit I am a complete noob in Rails. I need to develop an application with…

---

## [Selecting images from db according to type](https://www.ruby-forum.com/t/selecting-images-from-db-according-to-type/116615)

<div class="topic-metadata">

**Author:** [@jakedgr8](https://www.ruby-forum.com/u/jakedgr8)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 12:38am UTC](https://www.ruby-forum.com/t/selecting-images-from-db-according-to-type/116615 "2007-10-08T00:38:50Z")

</div>

Ok so this seems easy huh? So I have some images in a db. Some are marked as “screenshots” and others as “wallpapers”. Now in various parts of the site, I want to show only “screenshots” and in another area, only “wal…

---

## [How specify foreign key column name in model?](https://www.ruby-forum.com/t/how-specify-foreign-key-column-name-in-model/116612)

<div class="topic-metadata">

**Author:** [@Bazsl](https://www.ruby-forum.com/u/Bazsl)\
**Replies:** 2\
**Last updated:** [October 8, 2007, 12:24am UTC](https://www.ruby-forum.com/t/how-specify-foreign-key-column-name-in-model/116612 "2007-10-08T00:24:58Z")

</div>

In a model declaration I can specify the name of the primary key column with set\_primary\_key “CUSTOMER\_NUMBER” How can I set the name of a foreign key column that does not conform to the RoR naming convention. Does t…

---

## [Assign a complex regular expression string](https://www.ruby-forum.com/t/assign-a-complex-regular-expression-string/116560)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 4\
**Last updated:** [October 7, 2007, 11:16pm UTC](https://www.ruby-forum.com/t/assign-a-complex-regular-expression-string/116560 "2007-10-07T23:16:45Z")

</div>

Hi, I have a complex regular expression: \[a-z0-9!#$%&’+/=?^\_{|}~-\]+(?:\\.\[a-z0-9!#$%&'\*+/=?^\_{|}~-\]+)@(?:a-z0-9?.)+(?:\[A-Z\]{2}|com|org|net|gov|biz|info|name|aero|biz|info|jobs|museum)\\b And I want to assign it to a Con…

---

## [Updating inside the Browser with observe\_field](https://www.ruby-forum.com/t/updating-inside-the-browser-with-observe-field/116609)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/updating-inside-the-browser-with-observe-field/116609 "2007-10-07T23:08:29Z")

</div>

A few days ago I spent some time scratching my head about how to use the prototype observe\_field helper to update fields in the browser DOM when a checkbox is clicked without a remote server request. The function opti…

---

## [Folders/subfolders/document structure.. any plugin?](https://www.ruby-forum.com/t/folders-subfolders-document-structure-any-plugin/116534)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 10:56pm UTC](https://www.ruby-forum.com/t/folders-subfolders-document-structure-any-plugin/116534 "2007-10-07T22:56:09Z")

</div>

I need to model a folders/subfolders/documents structure , is there any interesting readings about that ? any useful plugin ? thanks for you i nfo … kad

---

## [Rails to English](https://www.ruby-forum.com/t/rails-to-english/116539)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 10\
**Last updated:** [October 7, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/rails-to-english/116539 "2007-10-07T21:22:11Z")

</div>

I am currently using the book “Agile Web D. With Rails” (2005). I am working on a fully function web application that has a shopping cart. The web page displays this, ActiveRecord::StatementInvalid in AdminController…

---

## [Where would you store a large, fluctuating Matrix?](https://www.ruby-forum.com/t/where-would-you-store-a-large-fluctuating-matrix/116601)

<div class="topic-metadata">

**Author:** [@stuart](https://www.ruby-forum.com/u/stuart)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/where-would-you-store-a-large-fluctuating-matrix/116601 "2007-10-07T21:05:46Z")

</div>

I have a large matrix (~450x450) that I need to invert and multiply. I’m hoping matrix.rb will do the trick for me. The interesting part is that in addition to the base 450x450, I need to accept new rows/columns into …

---

## [Parsing connection info](https://www.ruby-forum.com/t/parsing-connection-info/116600)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/parsing-connection-info/116600 "2007-10-07T20:52:46Z")

</div>

I want to implement a program that tells me who is connected to my site and to be able to push that information either into an array for temporary analysis or maybe a file for later analysis. Theres multiple ways to d…

---

## [Joining on multiple tables](https://www.ruby-forum.com/t/joining-on-multiple-tables/113017)

<div class="topic-metadata">

**Author:** [@wheels](https://www.ruby-forum.com/u/wheels)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/joining-on-multiple-tables/113017 "2007-10-07T20:37:28Z")

</div>

I’m having trouble trying to join on multiple tables. In this example, I want to do fetch of companies in a specified category and location. The pagination code is using the will\_paginate plugin. Any pointers? Do I ne…

---

## [Autotest with rspec aint testing?](https://www.ruby-forum.com/t/autotest-with-rspec-aint-testing/116567)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/autotest-with-rspec-aint-testing/116567 "2007-10-07T20:07:57Z")

</div>

Hello, I don’t know why autotest aint outputting any failed or success message to the screen? C:\\Instantrails\\rails\_apps\\testerne\>autotest loading autotest/rails\_rspec C:\\Instantrails\\ruby\\bin\\ruby -S script/spec -O…

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

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