# Rails

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

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

---

## [\[ANN\] Installing Ruby Rails and PostgreSQL on OS X](https://www.ruby-forum.com/t/ann-installing-ruby-rails-and-postgresql-on-os-x/107294)

<div class="topic-metadata">

**Author:** [@robby247365](https://www.ruby-forum.com/u/robby247365)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/ann-installing-ruby-rails-and-postgresql-on-os-x/107294 "2007-06-20T21:34:37Z")

</div>

Hey all! Earlier today, I posted an article on my blog, which will walk you through the process of setting up a professional development environment for working with Ruby on Rails. It also walks through the process of …

---

## [Trouble with capistrano "disable\_web" task on litespeed](https://www.ruby-forum.com/t/trouble-with-capistrano-disable-web-task-on-litespeed/107356)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 9:33pm UTC](https://www.ruby-forum.com/t/trouble-with-capistrano-disable-web-task-on-litespeed/107356 "2007-06-20T21:33:37Z")

</div>

Hi, When I run the capistrano “disable\_web” task, the file maintenance.html is copied into #{shared\_path}/system directory. The symlink in application’s public directory that points to a #{shared\_path}/system directo…

---

## [Grabbing associated value from database](https://www.ruby-forum.com/t/grabbing-associated-value-from-database/107338)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/grabbing-associated-value-from-database/107338 "2007-06-20T21:32:37Z")

</div>

i’m posting a promo code from a form and need to grab the relavant information from the database to apply it properly to the amount be paid so that the discount is applied. the value posted is params\[:promo\_code\]\[:cod…

---

## [Restful route url help](https://www.ruby-forum.com/t/restful-route-url-help/107271)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/restful-route-url-help/107271 "2007-06-20T21:06:34Z")

</div>

I’m just getting started using the RESTful routes generated by map.resources. I’m specifically trying to find documentation on the magic URL methods generated thereby - e.g. new\_resouce\_url, resource\_url, resource\_pa…

---

## [What is the role of the controllers? (Advanced question)](https://www.ruby-forum.com/t/what-is-the-role-of-the-controllers-advanced-question/107250)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/what-is-the-role-of-the-controllers-advanced-question/107250 "2007-06-20T21:04:33Z")

</div>

I am not a noob, and this is actually I pretty “deep” question and it’s been really kicking my ass. I wanted to get some feedback from other experienced rails developers. Any help would be greatly appreciated. I would…

---

## [Problem with RoR Installation on Mac OSX](https://www.ruby-forum.com/t/problem-with-ror-installation-on-mac-osx/107345)

<div class="topic-metadata">

**Author:** [@donnyverdian](https://www.ruby-forum.com/u/donnyverdian)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/problem-with-ror-installation-on-mac-osx/107345 "2007-06-20T21:00:33Z")

</div>

Hi mates! I just need your help … I have tried to install RoR on my IBook G4 by Hivelogic method ( Dan Benjamin) And i’ve got a trouble when i ready to install Ruby on Rails. Here is below a captured text from my iB…

---

## [Rails and localization](https://www.ruby-forum.com/t/rails-and-localization/107347)

<div class="topic-metadata">

**Author:** [@dracko](https://www.ruby-forum.com/u/dracko)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/rails-and-localization/107347 "2007-06-20T20:41:30Z")

</div>

I’ve started to learn Rails about a month ago. It seems wonderful, except for one major issue: localization! It’s too complicated to develop a serious application in Brazil with Rails (or whatever other country with …

---

## [Save info to database when user clicks on button or link](https://www.ruby-forum.com/t/save-info-to-database-when-user-clicks-on-button-or-link/107351)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/save-info-to-database-when-user-clicks-on-button-or-link/107351 "2007-06-20T20:20:51Z")

</div>

I’m working on a web app where users can record a video from their webcam using flash. They click record, then view… after clicking view they can playback the video they just recorded in the browser. At this point I …

---

## [Where to get help about the Rails framework structure](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107349)

<div class="topic-metadata">

**Author:** [@dracko](https://www.ruby-forum.com/u/dracko)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 7:47pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107349 "2007-06-20T19:47:20Z")

</div>

Hi, I would like to understand better how Rails work… I mean how the framework is structured. For instance, what happens when an address is requested for Apache or Webrick or any other? Which application is called fir…

---

## [Does acts\_as\_taggable work with Oracle?](https://www.ruby-forum.com/t/does-acts-as-taggable-work-with-oracle/105971)

<div class="topic-metadata">

**Author:** [@Duane](https://www.ruby-forum.com/u/Duane)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/does-acts-as-taggable-work-with-oracle/105971 "2007-06-20T19:28:17Z")

</div>

I’m using acts\_as\_taggable just fine with my Oracle database using the oci driver, until I try to either use the tags\_count, or tagged\_related. For tags\_count I can get the default hash table fine, but if I try to pro…

---

## [Bypass "public html" and go straight to a controller, or not](https://www.ruby-forum.com/t/bypass-public-html-and-go-straight-to-a-controller-or-not/107343)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/bypass-public-html-and-go-straight-to-a-controller-or-not/107343 "2007-06-20T19:05:15Z")

</div>

I’m wondering what the general consensus is for utilizing Apache for the static content and only using Mongrel/WEBrick/etc for the Ruby code. From the resource perspective, it’s a rather obvious choice. From the dev…

---

## [How to get radio\_button's value in link\_to\_remote](https://www.ruby-forum.com/t/how-to-get-radio-buttons-value-in-link-to-remote/107315)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/how-to-get-radio-buttons-value-in-link-to-remote/107315 "2007-06-20T18:27:10Z")

</div>

My Code is here \<% for category in @categories %\> \<% end %\> \<%= radio\_button 'category', 'id', category.id %\>\<%= h category.name %\> \<%= link\_to\_remote 'Edit', :update =\> 'category', :url =\> { :act…

---

## [Is "target" a reserved word?](https://www.ruby-forum.com/t/is-target-a-reserved-word/93989)

<div class="topic-metadata">

**Author:** [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Replies:** 4\
**Last updated:** [June 20, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/is-target-a-reserved-word/93989 "2007-06-20T18:01:03Z")

</div>

I’m working on a cost estimation tool, that allows each estimate created to override base assumptions of price, cost, etc. Everything was fine, until we said, “Let’s add a ‘target net revenue’ property.” So, the res…

---

## [Unicode trouble (incredibly clueless)](https://www.ruby-forum.com/t/unicode-trouble-incredibly-clueless/107247)

<div class="topic-metadata">

**Author:** [@taro](https://www.ruby-forum.com/u/taro)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/unicode-trouble-incredibly-clueless/107247 "2007-06-20T18:00:02Z")

</div>

I bought Agile Web D. With Rails, and followed most of it’s directions on setting up the database to accept and decipher utf-8. Up to this point, it works wonderfully (especially for a website with some Japanese trans…

---

## [Gnarly permission issue using fcgi](https://www.ruby-forum.com/t/gnarly-permission-issue-using-fcgi/107339)

<div class="topic-metadata">

**Author:** [@sbeam](https://www.ruby-forum.com/u/sbeam)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/gnarly-permission-issue-using-fcgi/107339 "2007-06-20T17:51:02Z")

</div>

deploying a Rails app for the first time on a mediatemple (dv) server using capistrano and fcgi everything looks OK but when I go to access the app, I get 500 errors with things like /usr/lib/ruby/1.8/fileutils.rb:12…

---

## [C programms with RoR](https://www.ruby-forum.com/t/c-programms-with-ror/107331)

<div class="topic-metadata">

**Author:** [@Franz\_RSSSSmy](https://www.ruby-forum.com/u/Franz_RSSSSmy)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/c-programms-with-ror/107331 "2007-06-20T17:34:14Z")

</div>

Hello, I had develop in an other project some C programms and now I’m developing a website in RoR. I want to have a page where I can upload files and with those files, execute my C programms (I made a bash script to …

---

## [One item in a return list](https://www.ruby-forum.com/t/one-item-in-a-return-list/107334)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/one-item-in-a-return-list/107334 "2007-06-20T17:10:55Z")

</div>

I have a find\_by\_sql that returns a list of only one object. What is the best way to get that object out of the list? Is there a way other than a for loop?

---

## [Installing RubyGems 0.0.4 on Solaris 2.6](https://www.ruby-forum.com/t/installing-rubygems-0-0-4-on-solaris-2-6/107322)

<div class="topic-metadata">

**Author:** [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Replies:** 4\
**Last updated:** [June 20, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/installing-rubygems-0-0-4-on-solaris-2-6/107322 "2007-06-20T16:59:54Z")

</div>

Hi all, Just wondering if anyone can assist here - Have installed Ruby 1.8.6 on Solaris 2.6 (Sparc), and that seemed to install ok. I then went to install RubyGems (as the good book suggests) and found that I encoun…

---

## [Logo Design and Web Design in USA](https://www.ruby-forum.com/t/logo-design-and-web-design-in-usa/107282)

<div class="topic-metadata">

**Author:** [@Logo\_Design](https://www.ruby-forum.com/u/Logo_Design)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/logo-design-and-web-design-in-usa/107282 "2007-06-20T16:56:54Z")

</div>

Logo Design in USA http://www.logodezign.com Toll Free: 800-311-4947 Why Choose Our Logo Designer! Truly great brands are far more than just labels for products or service; they are symbols that encapsulate the desi…

---

## [How do I pass a variable to a query in a url (noob question)](https://www.ruby-forum.com/t/how-do-i-pass-a-variable-to-a-query-in-a-url-noob-question/107257)

<div class="topic-metadata">

**Author:** [@lyntaff](https://www.ruby-forum.com/u/lyntaff)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/how-do-i-pass-a-variable-to-a-query-in-a-url-noob-question/107257 "2007-06-20T16:42:53Z")

</div>

I am a noobie to rails and have just started building my own rails project. I successfully built a simple crud admin and added all the records into a mysql database ready to build a public product catalouge. I have d…

---

## [Nil object for nested resource](https://www.ruby-forum.com/t/nil-object-for-nested-resource/107332)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/nil-object-for-nested-resource/107332 "2007-06-20T16:39:52Z")

</div>

Hi all, I have 2 models with a standard 1 to many relationship. I’m also using REST on the two models and have added the appropriate code to the routes.rb file. scorecard.rb: class Scorecard \< ActiveRecord::Base h…

---

## [Installing RubyGems 0.9.4 on Solaris 2.6](https://www.ruby-forum.com/t/installing-rubygems-0-9-4-on-solaris-2-6/107323)

<div class="topic-metadata">

**Author:** [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/installing-rubygems-0-9-4-on-solaris-2-6/107323 "2007-06-20T16:36:52Z")

</div>

Hi all, Just wondering if anyone can assist here - Have installed Ruby 1.8.6 on Solaris 2.6 (Sparc), and that seemed to install ok. I then went to install RubyGems 0.9.4 (as the good book suggests) and found that I …

---

## [Interact with the database from a simple ruby script](https://www.ruby-forum.com/t/interact-with-the-database-from-a-simple-ruby-script/107244)

<div class="topic-metadata">

**Author:** [@Jean-Francois](https://www.ruby-forum.com/u/Jean-Francois)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/interact-with-the-database-from-a-simple-ruby-script/107244 "2007-06-20T16:30:51Z")

</div>

Hi, I have a simple rails application with a model. The data that needs to be entered in the database comes from an external application which I can parse using a standard ruby script. What would be the proper way to…

---

## [Remove session string from css and js file?](https://www.ruby-forum.com/t/remove-session-string-from-css-and-js-file/107325)

<div class="topic-metadata">

**Author:** [@nickmenow](https://www.ruby-forum.com/u/nickmenow)\
**Replies:** 4\
**Last updated:** [June 20, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/remove-session-string-from-css-and-js-file/107325 "2007-06-20T16:21:34Z")

</div>

How do you remove the session string from the css and js file? I have already set the ApplicationController session :disabled =\> true Any suggestions or a site that already has this solution? Thank you, Nickmenow

---

## [Redirect root](https://www.ruby-forum.com/t/redirect-root/107330)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/redirect-root/107330 "2007-06-20T16:19:50Z")

</div>

Hi all, Can I redirect the root of my page to a contrroller/action? When I type www.example.com/ I don’t want to see the Rails welcome screen but want a redirect to a controller. I found. map.index ‘’, :controller =\> …

---

## [ActionView::TemplateError](https://www.ruby-forum.com/t/actionview-templateerror/105449)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/actionview-templateerror/105449 "2007-06-20T16:18:50Z")

</div>

Hi, I have a strange problem that only occurs on the production server. I’ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::T…

---

## [Painless Guide to installing RMagick on Mac OS Tiger](https://www.ruby-forum.com/t/painless-guide-to-installing-rmagick-on-mac-os-tiger/107329)

<div class="topic-metadata">

**Author:** [@macournoyer](https://www.ruby-forum.com/u/macournoyer)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/painless-guide-to-installing-rmagick-on-mac-os-tiger/107329 "2007-06-20T16:02:08Z")

</div>

Hey all, I’ve been struggling with RMagick installation each time I setup a new computer and never found a tutorial that just worked. So I put one up, and tested on freshly installed Mac OS Tiger. http://digg.com/sof…

---

## [\[RE-ANN/ADV\] Rails Routing 'short cut' (Addison-Wesley)](https://www.ruby-forum.com/t/re-ann-adv-rails-routing-short-cut-addison-wesley/107316)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [June 20, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/re-ann-adv-rails-routing-short-cut-addison-wesley/107316 "2007-06-20T15:51:44Z")

</div>

Hi – The link I gave in my announcement of my Rails Routing ‘short cut’ from Addison-Wesley was to the Safari subscription page. If you want to buy it as a PDF, you can do so at: http://www.awprofessional.com/title/0…

---

## [\[ADV\] Ruby Hoedown (the southeastern Ruby conference) update](https://www.ruby-forum.com/t/adv-ruby-hoedown-the-southeastern-ruby-conference-update/107327)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/adv-ruby-hoedown-the-southeastern-ruby-conference-update/107327 "2007-06-20T15:31:38Z")

</div>

Hello all, Since registration opened, we’ve been hard at work to get the details nailed down for the Hoedown, and here are some updates: CHARITY WORKSHOP The charity workshop has been (basically) finalized. It will …

---

## [Remote Development?](https://www.ruby-forum.com/t/remote-development/107302)

<div class="topic-metadata">

**Author:** [@Jables](https://www.ruby-forum.com/u/Jables)\
**Replies:** 2\
**Last updated:** [June 20, 2007, 2:49pm UTC](https://www.ruby-forum.com/t/remote-development/107302 "2007-06-20T14:49:29Z")

</div>

I have a server that I am logging into to do my rails development. The problem is that I can’t view my application over the web. I have tried script/server as well as monrel\_rails start and am I wrong to say that the…

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

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