# Rails

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

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

---

## [Please help in Multiple Checkbox and RadioButtons](https://www.ruby-forum.com/t/please-help-in-multiple-checkbox-and-radiobuttons/165578)

<div class="topic-metadata">

**Author:** [@psnavaneethan](https://www.ruby-forum.com/u/psnavaneethan)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/please-help-in-multiple-checkbox-and-radiobuttons/165578 "2009-04-15T13:29:11Z")

</div>

I am using multiple check box (more than 1 checkboxes) and a radio button and when I click the “Submit” button, it calls the “create” method it is inserting only 1 value for checkbox and also for the radio button. H…

---

## [Looking for Developers to work fulltime](https://www.ruby-forum.com/t/looking-for-developers-to-work-fulltime/165572)

<div class="topic-metadata">

**Author:** [@faWkes](https://www.ruby-forum.com/u/faWkes)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/looking-for-developers-to-work-fulltime/165572 "2009-04-15T12:36:01Z")

</div>

Hi, We are looking for developers who are well versed with PHP, MySQL and RoR. The requirement is for full time technical developers and team leads for a startup, WebMurga.com website: http://www.webmurga.com Go th…

---

## [German letter Ã¤, Ã¶, Ã¼ in rfpdf](https://www.ruby-forum.com/t/german-letter-a-a-a-in-rfpdf/158781)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 6\
**Last updated:** [April 15, 2009, 12:07pm UTC](https://www.ruby-forum.com/t/german-letter-a-a-a-in-rfpdf/158781 "2009-04-15T12:07:51Z")

</div>

Hi, I need PDF creation in Rails and decided for RFPDF. Everything works quite nice the only problem is that I can’t display Ã¤,Ã¶,Ã¼ in the pdf documents. I found a tutorial that says that I have to create a font co…

---

## [Rails Error](https://www.ruby-forum.com/t/rails-error/165556)

<div class="topic-metadata">

**Author:** [@fadil](https://www.ruby-forum.com/u/fadil)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 10:07am UTC](https://www.ruby-forum.com/t/rails-error/165556 "2009-04-15T10:07:45Z")

</div>

I’m totally new with ruby on rails My machine running ubuntu 8.10 and i have installed ruby 1.8.7, rubygems 1.3.1 and rails 2.3.2, sqlite3, postfix adn subversion. The problem is when i want to create a simple blog ap…

---

## [CSS issue](https://www.ruby-forum.com/t/css-issue/165497)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 3\
**Last updated:** [April 15, 2009, 8:43am UTC](https://www.ruby-forum.com/t/css-issue/165497 "2009-04-15T08:43:51Z")

</div>

Hello friends I am calling css file from following folder “\<%= stylesheet\_path(”#{RAILS\_ROOT}/public/themes/style.css") %\>" And getting the following error any idea? ActionController::RoutingError (No route matches …

---

## [Plugin or just a zip file](https://www.ruby-forum.com/t/plugin-or-just-a-zip-file/165550)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 6:14am UTC](https://www.ruby-forum.com/t/plugin-or-just-a-zip-file/165550 "2009-04-15T06:14:26Z")

</div>

Hi , I am thinking of having a plugin to provide the updates to a set of around 20 ruby file I ship with my rails application. I plan to place the files in vendor/plugins/test folder… Should I make test as a plugin o…

---

## [Text\_area scroll to bottom](https://www.ruby-forum.com/t/text-area-scroll-to-bottom/165475)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 5:17am UTC](https://www.ruby-forum.com/t/text-area-scroll-to-bottom/165475 "2009-04-15T05:17:08Z")

</div>

Hi, I have a text\_area that fills in the text from a controller and I am using RJS to update the text area content. I want to set the scroll bar to bottom so that the user need not scroll to bottom to get the updated …

---

## [Routing](https://www.ruby-forum.com/t/routing/165516)

<div class="topic-metadata">

**Author:** [@srj](https://www.ruby-forum.com/u/srj)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 5:09am UTC](https://www.ruby-forum.com/t/routing/165516 "2009-04-15T05:09:34Z")

</div>

I have an index page that shows each of my Customers, and each row in the display has an Update link which routes to my update method. That simply does a find on the Customer id from the link and sets an instance var…

---

## [\[JOB\] Vodpod.com needs a Rails Developer](https://www.ruby-forum.com/t/job-vodpod-com-needs-a-rails-developer/165547)

<div class="topic-metadata">

**Author:** [@Spencer\_Miles](https://www.ruby-forum.com/u/Spencer_Miles)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 4:42am UTC](https://www.ruby-forum.com/t/job-vodpod-com-needs-a-rails-developer/165547 "2009-04-15T04:42:39Z")

</div>

I’m one of the engineers Vodpod.com, a community powered video site based in San Francisco. We’re currently a small team of 4, and are looking to add a 5th. Although we are located in SF, working remotely can be arr…

---

## [Can I get multiple applications with different rails versions running on one machine?(can't activat](https://www.ruby-forum.com/t/can-i-get-multiple-applications-with-different-rails-versions-running-on-one-machine-cant-activat/165477)

<div class="topic-metadata">

**Author:** [@hei](https://www.ruby-forum.com/u/hei)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 4:25am UTC](https://www.ruby-forum.com/t/can-i-get-multiple-applications-with-different-rails-versions-running-on-one-machine-cant-activat/165477 "2009-04-15T04:25:41Z")

</div>

I did so, details below: original: gem 1.2.0 rails 2.0.2 one application(call it OLD) running well now: gem 1.3.1(for rails 2.3.2’s needs) rails 2.0.2, 2.3.2(both exists) another application(just a test applicati…

---

## [Has\_many :through question](https://www.ruby-forum.com/t/has-many-through-question/165543)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 2:19am UTC](https://www.ruby-forum.com/t/has-many-through-question/165543 "2009-04-15T02:19:17Z")

</div>

I have 3 models Circuit has\_many :alarms has\_many :dacsports, :through =\> :alarms Alarm belongs\_to :circuit belongs\_to :dacsport Dacsport has\_many :alarms has\_many :circuits, :through =\> :alarms I have the circ…

---

## [Request Resubmitted](https://www.ruby-forum.com/t/request-resubmitted/165532)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 1:20am UTC](https://www.ruby-forum.com/t/request-resubmitted/165532 "2009-04-15T01:20:50Z")

</div>

I am using Ruby 1.8.6 and Rails 1.2.6. The application is deployed to Apache 2.2 using mod\_proxy\_balancer to a cluster of Mongrel 1.1 servers. I have been struggling with a problem that only manifests on the product…

---

## [R6034 error - RMagick](https://www.ruby-forum.com/t/r6034-error-rmagick/165405)

<div class="topic-metadata">

**Author:** [@furrot](https://www.ruby-forum.com/u/furrot)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 12:47am UTC](https://www.ruby-forum.com/t/r6034-error-rmagick/165405 "2009-04-15T00:47:08Z")

</div>

Hi all, I am using RMagick in an application to upload photos. I have installed ImageMagick and RMagick gem ok. But when I try to upload a photo, I get the following error (pop-up): Runtime Error! Program: c:\\ruby\\b…

---

## [Netbiens](https://www.ruby-forum.com/t/netbiens/165531)

<div class="topic-metadata">

**Author:** [@gisat](https://www.ruby-forum.com/u/gisat)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/netbiens/165531 "2009-04-14T23:31:57Z")

</div>

hello would you please advise anyone to set Ruby on rails in netbiens?

---

## [How to implement a status table](https://www.ruby-forum.com/t/how-to-implement-a-status-table/165528)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/how-to-implement-a-status-table/165528 "2009-04-14T23:07:22Z")

</div>

I have a from that will have a status, “approved”, “in process”,denied"… and such. What is the best approach? Status table, One row with each column status type? The form will have only one status so I will have to …

---

## [Apache2 install problem: apt-get can not find/fetch libpq5 pkg from http://us.archive.ubuntu.com](https://www.ruby-forum.com/t/apache2-install-problem-apt-get-can-not-find-fetch-libpq5-pkg-from-http-us-archive-ubuntu-com/165534)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/apache2-install-problem-apt-get-can-not-find-fetch-libpq5-pkg-from-http-us-archive-ubuntu-com/165534 "2009-04-14T23:03:51Z")

</div>

Hello. While i had not hand any problem installing RoR on my Dell Ub 8.10 box previously, when I tried to do the same on my HP Pavilion Ub 8.10 box today (4/14), during the installation of Apache2 (via apt-get or Syn…

---

## [Routing question](https://www.ruby-forum.com/t/routing-question/165499)

<div class="topic-metadata">

**Author:** [@DanC](https://www.ruby-forum.com/u/DanC)\
**Replies:** 1\
**Last updated:** [April 14, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/routing-question/165499 "2009-04-14T22:21:00Z")

</div>

I have a resource for jobs on my application and I am familiar with RESTful routes etc. I am also happy adding some custom routes to my controller. My question is, can I create an alias controller, i.e. instead of ww…

---

## [ActiveRecord and :include](https://www.ruby-forum.com/t/activerecord-and-include/165469)

<div class="topic-metadata">

**Author:** [@slava](https://www.ruby-forum.com/u/slava)\
**Replies:** 2\
**Last updated:** [April 14, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/activerecord-and-include/165469 "2009-04-14T20:14:06Z")

</div>

here is my model class ProductLocation \< ActiveRecord::Base belongs\_to :property has\_many :product\_location\_mappings end I want to load product\_locations along with referenced :product\_location\_mappings and return …

---

## [Newbie Question about script/generate](https://www.ruby-forum.com/t/newbie-question-about-script-generate/165428)

<div class="topic-metadata">

**Author:** [@khagimoto](https://www.ruby-forum.com/u/khagimoto)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 7:34pm UTC](https://www.ruby-forum.com/t/newbie-question-about-script-generate/165428 "2009-04-14T19:34:47Z")

</div>

Hello, I just started learning RoR myself, and I have a few newbie questions. (1) Is it always necessary to use the “script/generate” to start an app? Can it be created from scratch if one wanted to? (Not that I w…

---

## [How to pass data to Javascript variable from Ruby on Rails](https://www.ruby-forum.com/t/how-to-pass-data-to-javascript-variable-from-ruby-on-rails/165011)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 11\
**Last updated:** [April 14, 2009, 7:34pm UTC](https://www.ruby-forum.com/t/how-to-pass-data-to-javascript-variable-from-ruby-on-rails/165011 "2009-04-14T19:34:08Z")

</div>

I wonder on RoR, will there be a need sometimes to pass some data from Ruby to Javascript? var title = \_\_\_\_\_\_\_\_\_\_\_\_\_\_ ; What is the proper way to do it (fill in the code for \_\_\_\_\_\_\_\_\_\_\_\_\_\_ ) if title can have newli…

---

## [Mime::Type.register documentation needs example](https://www.ruby-forum.com/t/mime-type-register-documentation-needs-example/165515)

<div class="topic-metadata">

**Author:** [@Sudhir](https://www.ruby-forum.com/u/Sudhir)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/mime-type-register-documentation-needs-example/165515 "2009-04-14T18:38:26Z")

</div>

$RAILS\_ROOT/config/mime\_types.rb Mime::Type.register “image/jpg”, :jpg, \[“image/jpeg”, “image/pjpeg”\] Above example uses mime type synonyms. Each synonym is a alternative string used to identify the same mime type and …

---

## [Loop and instance variable problem](https://www.ruby-forum.com/t/loop-and-instance-variable-problem/165502)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 5:50pm UTC](https://www.ruby-forum.com/t/loop-and-instance-variable-problem/165502 "2009-04-14T17:50:49Z")

</div>

I have a loop for parsing each rss feed @address.each do |address| @feed = SimpleRSS.parse open(address.feed) end the problem is my my instance variable @feed just gets overwritten so basically it displays the last …

---

## [How to validate a form field sequentially](https://www.ruby-forum.com/t/how-to-validate-a-form-field-sequentially/165500)

<div class="topic-metadata">

**Author:** [@quark](https://www.ruby-forum.com/u/quark)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 5:50pm UTC](https://www.ruby-forum.com/t/how-to-validate-a-form-field-sequentially/165500 "2009-04-14T17:50:20Z")

</div>

First, sorry for my English :S … Hi! I’ve searched about my problem into the forum but I didn’t find any post. When I fill, for example, an email field my model validates the presence, uniqueness, max-length (128) an…

---

## [How to user heywatch](https://www.ruby-forum.com/t/how-to-user-heywatch/165456)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 5:27pm UTC](https://www.ruby-forum.com/t/how-to-user-heywatch/165456 "2009-04-14T17:27:19Z")

</div>

hello: I have deployed a rails app : ######## http://video-encode.herokugarden.com/encode ######## The app uses rss to get raw video link and codes following to discover- encode- transfer videos. #################…

---

## [\[ANN\] Lone Star Ruby Conference 2009 - Now Accepting Talk & Training Submissions](https://www.ruby-forum.com/t/ann-lone-star-ruby-conference-2009-now-accepting-talk-training-submissions/165508)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/ann-lone-star-ruby-conference-2009-now-accepting-talk-training-submissions/165508 "2009-04-14T17:12:03Z")

</div>

Lone Star Ruby Conference 2009 (Thu-Sat) August 27-29, 2009 Norris Conference Center Austin, TX Greetings The third annual Lone Star Ruby Conference is getting under way by opening the call for speakers. This year…

---

## [My sql error: Lock wait timeout](https://www.ruby-forum.com/t/my-sql-error-lock-wait-timeout/165468)

<div class="topic-metadata">

**Author:** [@sriram](https://www.ruby-forum.com/u/sriram)\
**Replies:** 1\
**Last updated:** [April 14, 2009, 4:39pm UTC](https://www.ruby-forum.com/t/my-sql-error-lock-wait-timeout/165468 "2009-04-14T16:39:06Z")

</div>

Hello, I have this application where there are 5 tables. I have the :dependent =\> :destroy clause in such a way that if an entry in the first table is deleted all the “dependent” entries in the next 4 tables are als…

---

## [Ruby 1.8.7 + Rails 2.3.2 + TLS = Where's the documentation?](https://www.ruby-forum.com/t/ruby-1-8-7-rails-2-3-2-tls-wheres-the-documentation/165389)

<div class="topic-metadata">

**Author:** [@dmht81](https://www.ruby-forum.com/u/dmht81)\
**Replies:** 5\
**Last updated:** [April 14, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-rails-2-3-2-tls-wheres-the-documentation/165389 "2009-04-14T16:25:54Z")

</div>

After spending a few hours reading dozens of blogs and tutorials I am still stumped. Numerous sites mention ruby 1.8.7 and rails 2.3 supporting TLS out of the box. However, I can not find any documentation on setting …

---

## [Saving mutliple objects to database](https://www.ruby-forum.com/t/saving-mutliple-objects-to-database/165144)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 1\
**Last updated:** [April 14, 2009, 4:06pm UTC](https://www.ruby-forum.com/t/saving-mutliple-objects-to-database/165144 "2009-04-14T16:06:40Z")

</div>

If i create in memory a hundred or so instances of a model, how do i go about saving them to the database. I have a Task Model and say I have an array of Task obects @tasks = \[…\] how do i save them do i @tasks.eac…

---

## [Deploying rails to apache with mongrel cluster](https://www.ruby-forum.com/t/deploying-rails-to-apache-with-mongrel-cluster/165480)

<div class="topic-metadata">

**Author:** [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Replies:** 2\
**Last updated:** [April 14, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/deploying-rails-to-apache-with-mongrel-cluster/165480 "2009-04-14T16:05:36Z")

</div>

Hi All, Presently i have implemented an application using rails 2.2.2. It has : 1.mongrel 1.1.2 2.apache 1.3 3.rubygems 1.3.1 4.ruby 1.8.6 But i am not using apache so far because i am not worried about load. Usi…

---

## [CSS issue](https://www.ruby-forum.com/t/css-issue/196938)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 1\
**Last updated:** [April 14, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/css-issue/196938 "2009-04-14T16:02:05Z")

</div>

Hello friends I am calling css file from following folder “\<%= stylesheet\_path(”#{RAILS\_ROOT}/public/themes/style.css") %\>" And getting the following error any idea? ActionController::RoutingError (No route matches …

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

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