# Rails

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

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

---

## [Invite from Carl Woodward (cjwoodward@gmail.com)](https://www.ruby-forum.com/t/invite-from-carl-woodward-cjwoodward-gmail-com/113975)

<div class="topic-metadata">

**Author:** [@carlwenrich](https://www.ruby-forum.com/u/carlwenrich)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/invite-from-carl-woodward-cjwoodward-gmail-com/113975 "2007-09-25T23:07:45Z")

</div>

CarlWoodward (removed\_email\_address@domain.invalid) has invited you as a friend on Quechup… …the social networking platform sweeping the globe Go to: to accept Carl’s invite You can use Quechup to meet new people, …

---

## [Moving from VPS to dedicated box. Thoughts re Xen?](https://www.ruby-forum.com/t/moving-from-vps-to-dedicated-box-thoughts-re-xen/83903)

<div class="topic-metadata">

**Author:** [@christ](https://www.ruby-forum.com/u/christ)\
**Replies:** 10\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/moving-from-vps-to-dedicated-box-thoughts-re-xen/83903 "2007-09-25T23:07:44Z")

</div>

I’m going to be moving from a VPS to a dedicated box in the next few weeks and am thinking about configuring it with Xen, and wondered if anyone had any thoughts about this and specifically how the various instances s…

---

## [Update\_attributes](https://www.ruby-forum.com/t/update-attributes/86230)

<div class="topic-metadata">

**Author:** [@namwob](https://www.ruby-forum.com/u/namwob)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/update-attributes/86230 "2007-09-25T23:07:41Z")

</div>

I am trying to do a simple update to a model. I think that I am making the call correctly, however the update is not made. Looking at the development.log, I see that when I try to make an update\_attributes call, the…

---

## [Memcache client very slow?](https://www.ruby-forum.com/t/memcache-client-very-slow/114689)

<div class="topic-metadata">

**Author:** [@marcbey](https://www.ruby-forum.com/u/marcbey)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/memcache-client-very-slow/114689 "2007-09-25T23:07:19Z")

</div>

Case 1: Ruby + Ruby-MemCache + onboard memcache (the cache) - 10.5 seconds Case 2: Python + REMOTE memcache (the same cache as the other) - 0.2seconds Please please tell me I’m doing something very wrong… - and exa…

---

## [Update\_attributes](https://www.ruby-forum.com/t/update-attributes/49595)

<div class="topic-metadata">

**Author:** [@Marc.Love](https://www.ruby-forum.com/u/Marc.Love)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/update-attributes/49595 "2007-09-25T23:07:17Z")

</div>

Is there a way to find out why an update\_attributes command returned false? After upgrade to 0.14.3, one of my update\_attributes commands is no longer working, but I don’t know of any way to find out why. Marc =====…

---

## [More RESTlessness: "unbalanced" routes](https://www.ruby-forum.com/t/more-restlessness-unbalanced-routes/112583)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/more-restlessness-unbalanced-routes/112583 "2007-09-25T23:07:13Z")

</div>

I’m working on an application (on Edge Rails) that has a really long user profile page - viewed, of course, with a GET to /users/:id. The editing side of things needs to be broken up into four logically-grouped scree…

---

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

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/godaddy-deployment/114741 "2007-09-25T23:06:59Z")

</div>

I’m not sure why people still want to, but every once in a while I get a question emailed to me about how I was able to deploy a rails app to GoDaddy. I went ahead and wrote up a step by step tutorial on how to do it.…

---

## [Form select box from association](https://www.ruby-forum.com/t/form-select-box-from-association/88682)

<div class="topic-metadata">

**Author:** [@Trochalakis\_C](https://www.ruby-forum.com/u/Trochalakis_C)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/form-select-box-from-association/88682 "2007-09-25T23:05:48Z")

</div>

Hello there, I have the following models class Bibliography \< ActiveRecord::Base has\_and\_belongs\_to\_many :gthemes, :join\_table =\> “gthemes\_bibliographies” end class Gtheme \< ActiveRecord::Base has\_and\_belongs\_to\_m…

---

## [Simple rails website design question](https://www.ruby-forum.com/t/simple-rails-website-design-question/114481)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/simple-rails-website-design-question/114481 "2007-09-25T23:05:47Z")

</div>

I want to make a simple website with rails, but I’m confused about how to setup my controllers. Here’s what I want: 5 pages: Home, Products & Services, Press Center, White Papers & About us So, I’m confused about how…

---

## [Update from 1.1.6 to 1.2.3](https://www.ruby-forum.com/t/update-from-1-1-6-to-1-2-3/112656)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/update-from-1-1-6-to-1-2-3/112656 "2007-09-25T23:05:43Z")

</div>

Does anyone know of a good walkthrough of what to look for with updating an app from 1.1.6 to 1.2.3?

---

## [Products by Category](https://www.ruby-forum.com/t/products-by-category/114716)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 13\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/products-by-category/114716 "2007-09-25T23:05:40Z")

</div>

Hi, I am trying to create a view where I can see all products that belong to a certain category. My models have the following relationships: Category: has\_many :products Product: belongs\_to :category Both category\_…

---

## [Displaying Time drop down](https://www.ruby-forum.com/t/displaying-time-drop-down/107108)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/displaying-time-drop-down/107108 "2007-09-25T23:05:39Z")

</div>

Hi everybody, I’m newbie to rails. And I want to display a drop down like. Hours : Minutes : AM\\PM where, Hours - 00 , 01 … 12, Minutes - 00, 15, 30, 45 AM/PM Is it possible. But I tried like. \<%= time\_select (:ob…

---

## [Still, big session problem](https://www.ruby-forum.com/t/still-big-session-problem/92131)

<div class="topic-metadata">

**Author:** [@jcontonio](https://www.ruby-forum.com/u/jcontonio)\
**Replies:** 10\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/still-big-session-problem/92131 "2007-09-25T23:05:39Z")

</div>

I am still having a rather bad sesssion problem on my production server. /tmp is getting loaded with ruby\_sess files and eventually (probably takes 2 weeks) crashes out my application. Can someone point me to an arti…

---

## [Bad Smells sing in a rails application](https://www.ruby-forum.com/t/bad-smells-sing-in-a-rails-application/107952)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/bad-smells-sing-in-a-rails-application/107952 "2007-09-25T23:05:39Z")

</div>

Hi all, Sometime ago, i read the slides “when V is for Vexing: Patterns to DRY Up Your Views” (Bruce W. railsconf). They are not online anymore. I post one slide in my\[1}… But only the bad smells sign in the view,…

---

## [Order a Find Based on Attribute of Related Table](https://www.ruby-forum.com/t/order-a-find-based-on-attribute-of-related-table/114710)

<div class="topic-metadata">

**Author:** [@ebrad](https://www.ruby-forum.com/u/ebrad)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/order-a-find-based-on-attribute-of-related-table/114710 "2007-09-25T23:05:37Z")

</div>

I have two tables in a one-to-one relationship. Let’s call them orders and invoices. In the “list” page for “invoices”, how do I setup my find so I can display them in order of “created\_at” dates of the “orders” tabl…

---

## [Export/save csv-file to desktop of user?](https://www.ruby-forum.com/t/export-save-csv-file-to-desktop-of-user/87194)

<div class="topic-metadata">

**Author:** [@rudy](https://www.ruby-forum.com/u/rudy)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/export-save-csv-file-to-desktop-of-user/87194 "2007-09-25T23:05:36Z")

</div>

Hi, looking for something that simple, but can’t find it. I got: outfile = File.open(‘teams.txt’, ‘wb’) CSV::Writer.generate(outfile) do |csv| for team in @teams csv \<\< \[team.id, team.name\] end end outfile.close …

---

## [Unable to access fireruby lib](https://www.ruby-forum.com/t/unable-to-access-fireruby-lib/114743)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/unable-to-access-fireruby-lib/114743 "2007-09-25T23:05:36Z")

</div>

I am getting the following controller exception when trying to access my newly installed Firebird DB (to replace MySQL) from my app. libfbclient.so.1: cannot open shared object file: No such file or directory - /usr/…

---

## [AJAX - weird display](https://www.ruby-forum.com/t/ajax-weird-display/87120)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ajax-weird-display/87120 "2007-09-25T23:05:34Z")

</div>

Hi, I have a tabular (it’s a form actually) with text\_fields and buttons. I wanted to diplay a particular row when a button is set to ‘yes’. Everything’s working fine except, that my new row is diplayed at the top of…

---

## [Can't run any tests at all](https://www.ruby-forum.com/t/cant-run-any-tests-at-all/114728)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/cant-run-any-tests-at-all/114728 "2007-09-25T23:05:33Z")

</div>

Hi all, I’ve been playing around with Rails off and on for a while now, and suddenly I am unable to run any unit tests of any kind under Rails. Or perhaps more specifically, using the Rake task test\_units in a rails …

---

## [How to make a web data entry form look spiffy](https://www.ruby-forum.com/t/how-to-make-a-web-data-entry-form-look-spiffy/114758)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/how-to-make-a-web-data-entry-form-look-spiffy/114758 "2007-09-25T23:05:31Z")

</div>

Nooby wants to know how the real coders make a web data entry page look spiffy. Or at least more like a form in an application. What libs and some tips or “How-tos” Thanks

---

## [Rad Rails](https://www.ruby-forum.com/t/rad-rails/90340)

<div class="topic-metadata">

**Author:** [@rails.impaired](https://www.ruby-forum.com/u/rails.impaired)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/rad-rails/90340 "2007-09-25T23:05:31Z")

</div>

Anyone know the story with www.radrails.org ?? I haven’t been able to access the site for the past couple of days. Where can I get RadRails?? Thanks, Rails Impaired

---

## [The final hangup before this site goes to live beta and it i](https://www.ruby-forum.com/t/the-final-hangup-before-this-site-goes-to-live-beta-and-it-i/225945)

<div class="topic-metadata">

**Author:** [@wheresdave](https://www.ruby-forum.com/u/wheresdave)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/the-final-hangup-before-this-site-goes-to-live-beta-and-it-i/225945 "2007-09-25T23:05:30Z")

</div>

Ok everyone. I appreciate your time if you are looking at this, as this site is being setup to assist veterans who are having trouble with the health care system through the VA. And as I said, we are pretty close at t…

---

## [IBM Article: DB2 on Rails](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ibm-article-db2-on-rails/105052 "2007-09-25T23:05:04Z")

</div>

I often forward IBM DeveloperWorks articles about RoR to this list. This is a new well-written ‘Intermediate’ article using DB2 with Rails: Hope this helps. Cheers Mohit.

---

## [How to use options in radio botton](https://www.ruby-forum.com/t/how-to-use-options-in-radio-botton/114532)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/how-to-use-options-in-radio-botton/114532 "2007-09-25T23:04:58Z")

</div>

Hi I am using radio botton,I am struggling to use options…following is my code… \<%= radio\_button(‘community’,‘default’,0,options={:checked,:onClick=\>“javascript:set\_default(this);”})%\> If i am using without checked o…

---

## [Ignore a route?](https://www.ruby-forum.com/t/ignore-a-route/114730)

<div class="topic-metadata">

**Author:** [@ahab](https://www.ruby-forum.com/u/ahab)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/ignore-a-route/114730 "2007-09-25T23:04:57Z")

</div>

Is it possible to have rails ignore a given route? http://mysite.com # =\> This is my rails app http://mysite.com/blog # =\> This is my wordpress blog Can I map a route so that rails will ignore, or not handle, the …

---

## [Method undefined in integration test](https://www.ruby-forum.com/t/method-undefined-in-integration-test/112472)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/method-undefined-in-integration-test/112472 "2007-09-25T23:04:51Z")

</div>

Hello list, I’m having problems with the following integration test (tests for the authentication aspects of the application): require “#{File.dirname(FILE)}/…/test\_helper” class AuthenticationTest \< ActionController…

---

## [Cannot generate a model?](https://www.ruby-forum.com/t/cannot-generate-a-model/112581)

<div class="topic-metadata">

**Author:** [@krystianf](https://www.ruby-forum.com/u/krystianf)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/cannot-generate-a-model/112581 "2007-09-25T23:04:50Z")

</div>

So I have installed Instant Rails on my computer, and I’ve been following some RoR tutorials from lynda.com. I created a new app called music\_library, and then when trying to create a model, I get something weird, ty…

---

## [Deploying on shared host](https://www.ruby-forum.com/t/deploying-on-shared-host/112080)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/deploying-on-shared-host/112080 "2007-09-25T23:04:49Z")

</div>

how do you make rails run in production mode when deploying in a shared hosting environment? thanks in advance -mike

---

## [How to build report in rails](https://www.ruby-forum.com/t/how-to-build-report-in-rails/104273)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 18\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/how-to-build-report-in-rails/104273 "2007-09-25T23:04:30Z")

</div>

Hi there, We are building web application in ruby. we want to build some reports. I have read that ruport is the tool which helps to build reports. but while installing ruport using command sudo gem install ruport -…

---

## [Problem with recognize\_path](https://www.ruby-forum.com/t/problem-with-recognize-path/114688)

<div class="topic-metadata">

**Author:** [@DeathWolf](https://www.ruby-forum.com/u/DeathWolf)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/problem-with-recognize-path/114688 "2007-09-25T23:04:26Z")

</div>

Hello, I am experiencing a weird problem on one of the 3 test servers I’m using: There is a controller named admin/statistics and I am trying to access /admin/statistics The matching rule is: map.connect ‘:controlle…

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

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