# Rails

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

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

---

## [If I like to start a Rails Project, looking for developer, where do i start?](https://www.ruby-forum.com/t/if-i-like-to-start-a-rails-project-looking-for-developer-where-do-i-start/116024)

<div class="topic-metadata">

**Author:** [@pacochin](https://www.ruby-forum.com/u/pacochin)\
**Replies:** 2\
**Last updated:** [October 2, 2007, 4:49am UTC](https://www.ruby-forum.com/t/if-i-like-to-start-a-rails-project-looking-for-developer-where-do-i-start/116024 "2007-10-02T04:49:06Z")

</div>

Hi People, If I like to start Rails project, and I am not a developer, but I am a Industry Consultant, where do i start to recruit passionate developers ? Please advise. thks

---

## [Loading a fixture clobbers a global variable](https://www.ruby-forum.com/t/loading-a-fixture-clobbers-a-global-variable/116060)

<div class="topic-metadata">

**Author:** [@zenlinuxnh](https://www.ruby-forum.com/u/zenlinuxnh)\
**Replies:** 2\
**Last updated:** [October 2, 2007, 4:20am UTC](https://www.ruby-forum.com/t/loading-a-fixture-clobbers-a-global-variable/116060 "2007-10-02T04:20:24Z")

</div>

I’m making use of a global variable to do dynamic scoping in my models. For example, here is how one model is defined: class Invitation \< ActiveRecord::Base belongs\_to :site Scope all find calls to the current site\_i…

---

## [Mutiple models in one single view?](https://www.ruby-forum.com/t/mutiple-models-in-one-single-view/116071)

<div class="topic-metadata">

**Author:** [@hebertodelrio](https://www.ruby-forum.com/u/hebertodelrio)\
**Replies:** 1\
**Last updated:** [October 2, 2007, 3:10am UTC](https://www.ruby-forum.com/t/mutiple-models-in-one-single-view/116071 "2007-10-02T03:10:00Z")

</div>

Hi, I am a newbie in RoR, really newbie, I have followed some of the tutorials, and now it is time for me to start one of my own. To simplify the set-up, I have a client that has let us say a pharmacy, the problem boi…

---

## [Show / hide partial \*plus\* update database](https://www.ruby-forum.com/t/show-hide-partial-plus-update-database/116058)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 2\
**Last updated:** [October 2, 2007, 1:10am UTC](https://www.ruby-forum.com/t/show-hide-partial-plus-update-database/116058 "2007-10-02T01:10:39Z")

</div>

Hello, I have a partial that I would like to allow users to either display or not display a partial, by clicking a gif. I want it so that when they click an “x”, the partial is hidden, and the “x” becomes a check mar…

---

## [Administrative Functions: Best Practices?](https://www.ruby-forum.com/t/administrative-functions-best-practices/115899)

<div class="topic-metadata">

**Author:** [@sebacipo](https://www.ruby-forum.com/u/sebacipo)\
**Replies:** 7\
**Last updated:** [October 2, 2007, 12:42am UTC](https://www.ruby-forum.com/t/administrative-functions-best-practices/115899 "2007-10-02T00:42:32Z")

</div>

I haven’t come across an obvious best way to write my administrative functions. Some candidates are: Put the admin functions amongst the standard authenticated user functionality of the site, following the REST appr…

---

## [Company = params\[:person\].delete(:company) nil object error on nil.delete](https://www.ruby-forum.com/t/company-params-person-delete-company-nil-object-error-on-nil-delete/116039)

<div class="topic-metadata">

**Author:** [@riles01](https://www.ruby-forum.com/u/riles01)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/company-params-person-delete-company-nil-object-error-on-nil-delete/116039 "2007-10-01T23:57:54Z")

</div>

I am using the Rails 2.0 pre-release and trying to replicate the method used by Jamis to create a company, person, and then display the nested xml using .to\_xml as shown here: Buckblog: Web services, Rails-style. How…

---

## [ActiveRecord and legacy oracle tables](https://www.ruby-forum.com/t/activerecord-and-legacy-oracle-tables/116045)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/activerecord-and-legacy-oracle-tables/116045 "2007-10-01T23:57:07Z")

</div>

I’m trying to connect to an existing oracle database. Some tables in this database do not have a standard “id” field, or any other primary keys. As I understand it, I can specify which table a model refers to: clas…

---

## [Toggle password field type](https://www.ruby-forum.com/t/toggle-password-field-type/115837)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 6\
**Last updated:** [October 1, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/toggle-password-field-type/115837 "2007-10-01T23:06:11Z")

</div>

I want to have a text field that displays some text, but when the person clicks that text field that text disapears but also, I want to switch the type to a “password” field. I can do something close with straight for…

---

## [Getting the "to be rendered" html w/o rendering it!](https://www.ruby-forum.com/t/getting-the-to-be-rendered-html-w-o-rendering-it/116051)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/getting-the-to-be-rendered-html-w-o-rendering-it/116051 "2007-10-01T22:39:44Z")

</div>

Hi all. My code is in a controller I want to be able to call “render” (or something else) to be able to get well formatted HTML from a very special :partial that I have. This HTML will not go to the user. I will su…

---

## [Rails not loading properly when gems are frozen](https://www.ruby-forum.com/t/rails-not-loading-properly-when-gems-are-frozen/116043)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/rails-not-loading-properly-when-gems-are-frozen/116043 "2007-10-01T21:45:00Z")

</div>

I have a app that works fine with Rails 1.1.6 with unfrozen gems. But when I freeze them, I get a bunch of errors about uninitialized constants. I also tried just creating the vendor/rails directory manually, and gett…

---

## [Need suggestion for groups of related options](https://www.ruby-forum.com/t/need-suggestion-for-groups-of-related-options/116025)

<div class="topic-metadata">

**Author:** [@schof](https://www.ruby-forum.com/u/schof)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/need-suggestion-for-groups-of-related-options/116025 "2007-10-01T21:03:43Z")

</div>

I’m working on a rails based e-commerce plugin. I have a situation where I have a single product and I want to present either multiple groups of radio buttons or a series of combo boxes for each of the product variat…

---

## [User Created Tables](https://www.ruby-forum.com/t/user-created-tables/116030)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/user-created-tables/116030 "2007-10-01T20:04:39Z")

</div>

I have a situation that is a little more complicated than I’m used to dealing with. I thought I would see what others thought before I made a decision spent a few days and realized I had done something stupid and had…

---

## [\[ANN\] Rails 2.0: Preview Release](https://www.ruby-forum.com/t/ann-rails-2-0-preview-release/115962)

<div class="topic-metadata">

**Author:** [@DHH](https://www.ruby-forum.com/u/DHH)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/ann-rails-2-0-preview-release/115962 "2007-10-01T18:27:49Z")

</div>

Extra, extra. This just in: Rails 2.0 has gone preview release. Read all about it on Ruby on Rails — Rails 2.0: Preview Release.

---

## [Controller namespace causes wrong views to be rendered?](https://www.ruby-forum.com/t/controller-namespace-causes-wrong-views-to-be-rendered/116023)

<div class="topic-metadata">

**Author:** [@Greg\_Lappen](https://www.ruby-forum.com/u/Greg_Lappen)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/controller-namespace-causes-wrong-views-to-be-rendered/116023 "2007-10-01T18:21:56Z")

</div>

I am having a strange problem on a couple sites I’ve built on Rails 1.2. The issue is that I have two controllers with the same name, but in different namespaces. I have a controller called “PressReleasesController”…

---

## [Stringify\_keys!](https://www.ruby-forum.com/t/stringify-keys/116010)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/stringify-keys/116010 "2007-10-01T18:21:47Z")

</div>

I have seen this numerious times and still have no idea what it means: undefined method \`stringify\_keys!’ for “blah22”:String I am tring to change a password. My code looks like: def change\_password @user = User.find…

---

## [S3 Rake - "Don't know how to build task s3:backup:db"](https://www.ruby-forum.com/t/s3-rake-dont-know-how-to-build-task-s3db/115957)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/s3-rake-dont-know-how-to-build-task-s3db/115957 "2007-10-01T17:58:27Z")

</div>

Hi there, I added Adam G.'s S3 Rake script to my rails app. and it works great on my local box under development but after ‘cap deploy’ on the production server it wont run saying, rake RAILS\_ENV=production s3:backup…

---

## [Where can a person learn about server setup?](https://www.ruby-forum.com/t/where-can-a-person-learn-about-server-setup/116016)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/where-can-a-person-learn-about-server-setup/116016 "2007-10-01T17:54:56Z")

</div>

I have a .net history where deploying apps was a lot less involved. Does anyone have any recommendations on books, sites, etc where a person could become more familiar with Load Balancers, reverse proxies, etc that ar…

---

## [Article](https://www.ruby-forum.com/t/article/116017)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/article/116017 "2007-10-01T17:24:27Z")

</div>

Just noticed a nice RoR compilation up on Mashable this morning, and thought I would share it along: Cheers, Matt Sterger

---

## [Fallback to a default controller action](https://www.ruby-forum.com/t/fallback-to-a-default-controller-action/115993)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/fallback-to-a-default-controller-action/115993 "2007-10-01T17:23:57Z")

</div>

What is the proper way to have any invalid request fall back to a specific action and controller? That is, instead of seeing an error like those below, I would like control to pass to my main controller action. The e…

---

## [Fragment cache expiry problem](https://www.ruby-forum.com/t/fragment-cache-expiry-problem/116012)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/fragment-cache-expiry-problem/116012 "2007-10-01T17:03:40Z")

</div>

Hi, I’ve been wrestling with various different caching options for the last couple of days and am stuck with one specific problem, to which I can’t find any clues anywhere. Here is the essence of it: What would caus…

---

## [Rails + XSLT](https://www.ruby-forum.com/t/rails-xslt/115246)

<div class="topic-metadata">

**Author:** [@shafi](https://www.ruby-forum.com/u/shafi)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/rails-xslt/115246 "2007-10-01T16:25:01Z")

</div>

hey all, i wanna learn how to use and integrate XSLT with RoR but i don’t find any resources so if any one know any good resources i will be appreciated thanks – Mohamed S. software engineer

---

## [Problems with time\_select after migrating to new server](https://www.ruby-forum.com/t/problems-with-time-select-after-migrating-to-new-server/116006)

<div class="topic-metadata">

**Author:** [@kusako](https://www.ruby-forum.com/u/kusako)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/problems-with-time-select-after-migrating-to-new-server/116006 "2007-10-01T16:18:06Z")

</div>

Hi, I just migrated my ruby on rails application to a new server. After doing this, time\_select doesn’t work anymore, I call time\_select with the following line: \<%= time\_select “tournament\_template”, “scheduling\_tim…

---

## [MMORPG on Rails](https://www.ruby-forum.com/t/mmorpg-on-rails/115769)

<div class="topic-metadata">

**Author:** [@Rav](https://www.ruby-forum.com/u/Rav)\
**Replies:** 4\
**Last updated:** [October 1, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/mmorpg-on-rails/115769 "2007-10-01T16:12:09Z")

</div>

Is Ruby on Rails good platform for a web browser MMORPG? Server push is a good oportunity to solve this idea.

---

## [How to model user-ticket + staff-ticket relationship?](https://www.ruby-forum.com/t/how-to-model-user-ticket-staff-ticket-relationship/115855)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/how-to-model-user-ticket-staff-ticket-relationship/115855 "2007-10-01T16:01:35Z")

</div>

I’m planning out an application that will involve creating tickets and assigning one or more staff to handle them, but I have a question about the correct way to structure the relationships in Activerecord The applica…

---

## [Regexp and email list](https://www.ruby-forum.com/t/regexp-and-email-list/115990)

<div class="topic-metadata">

**Author:** [@fcruxen](https://www.ruby-forum.com/u/fcruxen)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/regexp-and-email-list/115990 "2007-10-01T14:38:14Z")

</div>

IÂ´ll have to validate a form containing an email list (just like that: removed\_email\_address@domain.invalid,removed\_email\_address@domain.invalid,removed\_email\_address@domain.invalid). WhatÂ´s the regexp for this case?…

---

## [Render partial only if it exists](https://www.ruby-forum.com/t/render-partial-only-if-it-exists/115988)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/render-partial-only-if-it-exists/115988 "2007-10-01T14:16:52Z")

</div>

Hi, Currently, my application.rhtml does this: render :partial =\> ‘menu’ which renders a different file based on the controller. Not all views will have this partial so I want the render to only happen if the templa…

---

## [Uploading images](https://www.ruby-forum.com/t/uploading-images/115950)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 12:40pm UTC](https://www.ruby-forum.com/t/uploading-images/115950 "2007-10-01T12:40:28Z")

</div>

I am building an e-commerce site and would like to give my users the ability to upload images. What is the best way to do this? What other features should I offer in uploading images? image manipulation…etc.?

---

## [Problem with read file and write into the database](https://www.ruby-forum.com/t/problem-with-read-file-and-write-into-the-database/115779)

<div class="topic-metadata">

**Author:** [@vidyagayathri](https://www.ruby-forum.com/u/vidyagayathri)\
**Replies:** 2\
**Last updated:** [October 1, 2007, 11:09am UTC](https://www.ruby-forum.com/t/problem-with-read-file-and-write-into-the-database/115779 "2007-10-01T11:09:00Z")

</div>

Hi All, now i am facing one new problem, the problem is i have to check a specified directory for any number of files that the program will read and load into the database one file at a time. when the program finishes …

---

## [Session / name error](https://www.ruby-forum.com/t/session-name-error/115952)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 11:08am UTC](https://www.ruby-forum.com/t/session-name-error/115952 "2007-10-01T11:08:50Z")

</div>

Hi folks. I am storing some objects in session. Those classes are defined in /lib/graphalg.rb. So I am requiring it automaticaly. But when computing next request, following error is occured: Session contains objects …

---

## [Where to write code for ruby](https://www.ruby-forum.com/t/where-to-write-code-for-ruby/115978)

<div class="topic-metadata">

**Author:** [@tehseen](https://www.ruby-forum.com/u/tehseen)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 10:28am UTC](https://www.ruby-forum.com/t/where-to-write-code-for-ruby/115978 "2007-10-01T10:28:03Z")

</div>

Hi, I am very new to Ruby. I’ve download ‘Instant Ruby’ from the site. I’ve a question that “where to write of Ruby?”. Is there any IDE or editor to write its code , please guide me. Thanks, Tehseen

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

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