# Rails

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

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

---

## [Css serving slow?](https://www.ruby-forum.com/t/css-serving-slow/105845)

<div class="topic-metadata">

**Author:** [@andreim](https://www.ruby-forum.com/u/andreim)\
**Replies:** 4\
**Last updated:** [June 4, 2007, 5:28am UTC](https://www.ruby-forum.com/t/css-serving-slow/105845 "2007-06-04T05:28:32Z")

</div>

I’m using WEBrick (in development mode) to serve a very simple page. The browser receives from the server two things: the html a css file What’s strange is that it takes the server almost ten times longer to send th…

---

## [www.OutpatientSurgicare.com/video/](https://www.ruby-forum.com/t/www-outpatientsurgicare-com-video/105867)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 4:47am UTC](https://www.ruby-forum.com/t/www-outpatientsurgicare-com-video/105867 "2007-06-04T04:47:30Z")

</div>

www.OutpatientSurgicare.com/video/ Outpatient Doctors Surgery Center is committed to offering the healthcare the community needs. We offer patients a meaningful alternative to traditional surgery. This state-of-the-ar…

---

## [Resource routes where singular and plural are the same](https://www.ruby-forum.com/t/resource-routes-where-singular-and-plural-are-the-same/105852)

<div class="topic-metadata">

**Author:** [@Parker\_T](https://www.ruby-forum.com/u/Parker_T)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 4:27am UTC](https://www.ruby-forum.com/t/resource-routes-where-singular-and-plural-are-the-same/105852 "2007-06-04T04:27:29Z")

</div>

I have a question regarding routes for resources that have the same name in the singular and plural. For example, if I have: map.resources :series do |series| series.resources :characters end then ‘new\_series\_url’ …

---

## [Mongrel process specific logging](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 2:36am UTC](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669 "2007-06-04T02:36:19Z")

</div>

All, I have a client who has deployed an app. against 3 Mongrel processes. I have not been involved in the deployment at all, so if these question are naive, I apologize in advance. Are there Mongrel process-speci…

---

## [Can I use template to assemble a html page in an controller](https://www.ruby-forum.com/t/can-i-use-template-to-assemble-a-html-page-in-an-controller/105846)

<div class="topic-metadata">

**Author:** [@fanz](https://www.ruby-forum.com/u/fanz)\
**Replies:** 5\
**Last updated:** [June 4, 2007, 2:20am UTC](https://www.ruby-forum.com/t/can-i-use-template-to-assemble-a-html-page-in-an-controller/105846 "2007-06-04T02:20:19Z")

</div>

Hi,all! I want to assemble a html page and put it into flash and redirect to another controller ,for example: flash\[:aaa\]=“ hi” but what I need is to assemble some more complicate html page,so I want to read the rend…

---

## [Odd behavior with acts\_as\_authenticated](https://www.ruby-forum.com/t/odd-behavior-with-acts-as-authenticated/105856)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 2:14am UTC](https://www.ruby-forum.com/t/odd-behavior-with-acts-as-authenticated/105856 "2007-06-04T02:14:19Z")

</div>

following the instructions on Peak Obsession I got it all working, except I can’t see how to make my currently logged in user’s info appear on the /account/index page. I replaced the poem that comes default from the …

---

## [Mongrel cluster w/ apache](https://www.ruby-forum.com/t/mongrel-cluster-w-apache/105851)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [June 4, 2007, 1:42am UTC](https://www.ruby-forum.com/t/mongrel-cluster-w-apache/105851 "2007-06-04T01:42:18Z")

</div>

hi all, i’m working on deploying my app w/ apache and a mongrel cluster. i’ve started by copying the instructions and code from the agile rails book and everything seems to be working fine but apache isn’t forwarding …

---

## [Possible to get month names as values when using date:select](https://www.ruby-forum.com/t/possible-to-get-month-names-as-values-when-using-date-select/105862)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 12:31am UTC](https://www.ruby-forum.com/t/possible-to-get-month-names-as-values-when-using-date-select/105862 "2007-06-04T00:31:50Z")

</div>

I’m working on a project where a user will be entering a date from a form, and that date will be compared to a date that’s being pulled from an RSS feed. The RSS feed date format is 03 Jun 2007 so I was hoping to get…

---

## [Update a lot of objects](https://www.ruby-forum.com/t/update-a-lot-of-objects/105857)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 1\
**Last updated:** [June 3, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/update-a-lot-of-objects/105857 "2007-06-03T23:02:08Z")

</div>

can i update in one query a group of objects? i’ve something like: objs = Model.find(:all, :conditions =\> …)…can i do something like objs.update\_attribute(:active, true) ? i can’t do a objs.each do |obj| obj.update\_at…

---

## [Install rails version](https://www.ruby-forum.com/t/install-rails-version/105853)

<div class="topic-metadata">

**Author:** [@gino](https://www.ruby-forum.com/u/gino)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/install-rails-version/105853 "2007-06-03T22:08:59Z")

</div>

how about if I don’t want the latest realese of rails, and want an older version, how do I do that ? unistalling current version, and installing a version that I want

---

## [Flash messages gets lost](https://www.ruby-forum.com/t/flash-messages-gets-lost/105858)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/flash-messages-gets-lost/105858 "2007-06-03T21:51:59Z")

</div>

Hi, I´m using form\_remote\_tag to submit a query, but the flash messages returned from the controller is lost somewhere. loading.gif is displayed as it should be. What am I doing wrong? :slight\_smile: Should form\_remo…

---

## [Asserting scope in a model method](https://www.ruby-forum.com/t/asserting-scope-in-a-model-method/105818)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 1\
**Last updated:** [June 3, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/asserting-scope-in-a-model-method/105818 "2007-06-03T19:39:44Z")

</div>

lets say this is a comments model, acts\_as\_tree used like this @post.comments.find\_roots def self.find\_roots(options = {}) with\_scope :find =\> options do self.find(:conditions =\> \[‘parent\_id IS NULL’\], :order =\> :pos…

---

## [â—â—A.MrsLove.com, Multi-Million Dollar Ho mepage. Who are](https://www.ruby-forum.com/t/a-a-a-mrslove-com-multi-million-dollar-ho-mepage-who-are/105849)

<div class="topic-metadata">

**Author:** [@Thomas.HI](https://www.ruby-forum.com/u/Thomas.HI)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/a-a-a-mrslove-com-multi-million-dollar-ho-mepage-who-are/105849 "2007-06-03T19:36:39Z")

</div>

¡ñ¡ñA.MrsLove.com, Multi-Million Dollar Homepage. Who are the Rich people /companies and at the Top? The bigger amount of promotion /payment will be arranged in topper position of Multi-Million Dollar Homepage. To re…

---

## [Cnames with amazons s3 service? noob question](https://www.ruby-forum.com/t/cnames-with-amazons-s3-service-noob-question/105830)

<div class="topic-metadata">

**Author:** [@palmnj](https://www.ruby-forum.com/u/palmnj)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/cnames-with-amazons-s3-service-noob-question/105830 "2007-06-03T16:07:30Z")

</div>

hi, i have a domain name registered with 1and1. now ive read that in order to have my images stored on s3 and have my domain name in the url of the image address, i need to create a cname. now do i create a subdomain …

---

## [Storing strings outside the ruby code](https://www.ruby-forum.com/t/storing-strings-outside-the-ruby-code/105770)

<div class="topic-metadata">

**Author:** [@jsd](https://www.ruby-forum.com/u/jsd)\
**Replies:** 6\
**Last updated:** [June 3, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/storing-strings-outside-the-ruby-code/105770 "2007-06-03T14:42:00Z")

</div>

Hello, I would like to store my strings, messages, etc. in some “property” file like in Java. Is there any way how to store these messages outside the ruby code?

---

## [Why the need for ajax multi-image uploads?](https://www.ruby-forum.com/t/why-the-need-for-ajax-multi-image-uploads/105831)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/why-the-need-for-ajax-multi-image-uploads/105831 "2007-06-03T14:38:07Z")

</div>

why not just redisplay the page after an upload? if bandwidth is the concern, bandwidth is cheap and most of the time, all the images are already cached on the clients computer? true?

---

## [Flash.now, why not just use an instance variable instead?](https://www.ruby-forum.com/t/flash-now-why-not-just-use-an-instance-variable-instead/105809)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/flash-now-why-not-just-use-an-instance-variable-instead/105809 "2007-06-03T14:32:30Z")

</div>

Hi, me again with another silly question. If flash.now only lasts for the request on which it was set, what makes it different than a plain old instance variable? Wouldn’t, def action @message = “message” end \<%= @…

---

## [YARB - Yet Another Rails Blog](https://www.ruby-forum.com/t/yarb-yet-another-rails-blog/105643)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 1\
**Last updated:** [June 3, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/yarb-yet-another-rails-blog/105643 "2007-06-03T14:32:04Z")

</div>

Hey all, I’ve started another rails blog over at madhatted.com. The inaugural post talks about geocoding a visitors IP while still using action\_caches. Give it a poke. Maybe I’ll give you one back. Yes, geocode, b…

---

## [Trouble in Array sort?](https://www.ruby-forum.com/t/trouble-in-array-sort/105817)

<div class="topic-metadata">

**Author:** [@selvaraj](https://www.ruby-forum.com/u/selvaraj)\
**Replies:** 3\
**Last updated:** [June 3, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/trouble-in-array-sort/105817 "2007-06-03T14:29:59Z")

</div>

Hi I have very silly doubt in Array and hash? My hash value is – ‘community’=\>{“108”=\>"", “94”=\>“12345204”, “95”=\>“removed\_email\_address@domain.invalid”, “96”=\>“blore”} After that i have taken only keys from this h…

---

## [Before\_filter symbol with params](https://www.ruby-forum.com/t/before-filter-symbol-with-params/105828)

<div class="topic-metadata">

**Author:** [@shaper](https://www.ruby-forum.com/u/shaper)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/before-filter-symbol-with-params/105828 "2007-06-03T13:57:54Z")

</div>

I had a need to do something like: before\_filter :require\_permissions, :slot =\> :forums, :only =\> :edit where I wanted require\_permissions to be able to access the non-filter- config-related hash params. However, unl…

---

## [How do you auto-start your Rails Development Environment?](https://www.ruby-forum.com/t/how-do-you-auto-start-your-rails-development-environment/105826)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/how-do-you-auto-start-your-rails-development-environment/105826 "2007-06-03T13:54:54Z")

</div>

Hi, I’m keen in understanding & seeing scripts (applescripts?) for how most RoR developers auto-start their environment? \[Mac OS X\] Currently I’m: starting Locomotive using this to trigger iTerm sessions (as it se…

---

## [\[acts\_as\_solr\] Result scores](https://www.ruby-forum.com/t/acts-as-solr-result-scores/105825)

<div class="topic-metadata">

**Author:** [@sellittf](https://www.ruby-forum.com/u/sellittf)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/acts-as-solr-result-scores/105825 "2007-06-03T13:45:46Z")

</div>

Hallo everybody I’m wondering to know how to display the score of each result item returned by a search query. With the acts\_as\_ferret there is a ferret\_score() instance method, but with acts\_as\_solr I don’t find a s…

---

## [Fixtures outside of rails](https://www.ruby-forum.com/t/fixtures-outside-of-rails/105823)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/fixtures-outside-of-rails/105823 "2007-06-03T13:11:45Z")

</div>

Hi, Is anyone using fixtures in unit tests for applications using ActiveRecord outside of rails? I found an example to do this from some old threads. They cite as an example: http://opensvn.csie.org/ezra/rails/ez\_w…

---

## [PCI Hosting](https://www.ruby-forum.com/t/pci-hosting/105706)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/pci-hosting/105706 "2007-06-03T13:07:48Z")

</div>

It looks like I will have to be level 4 PCI DSS compliant for my current app. As I will be needing a hosting server anyhow, does anyone know of any hosting option that is PCI compliant. Does PCI compliant hosting exi…

---

## [\[ActiveRecord with Rails\] sqlite3-ruby installed, but can't](https://www.ruby-forum.com/t/activerecord-with-rails-sqlite3-ruby-installed-but-cant/105820)

<div class="topic-metadata">

**Author:** [@StSSSSphane\_Wirtel](https://www.ruby-forum.com/u/StSSSSphane_Wirtel)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 11:24am UTC](https://www.ruby-forum.com/t/activerecord-with-rails-sqlite3-ruby-installed-but-cant/105820 "2007-06-03T11:24:37Z")

</div>

Hi all, platform: win32 I try to use rails with a sqlite3 backend, but I have got an error with rake db:migrate. It seems that can not find the Init\_sqlite3. the sqlite3-ruby(win32) gem is installed in the gem repos…

---

## [That problem with Sessions on IE6](https://www.ruby-forum.com/t/that-problem-with-sessions-on-ie6/105708)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 5\
**Last updated:** [June 3, 2007, 11:05am UTC](https://www.ruby-forum.com/t/that-problem-with-sessions-on-ie6/105708 "2007-06-03T11:05:28Z")

</div>

Does anyone know how to fix this problem? I’ve seen only a few people who have worked on this problem, but no-one has posted what exactly is happening and how to fix it. Basically, I lose my session randomly while o…

---

## [.html.erb](https://www.ruby-forum.com/t/html-erb/105811)

<div class="topic-metadata">

**Author:** [@gino](https://www.ruby-forum.com/u/gino)\
**Replies:** 3\
**Last updated:** [June 3, 2007, 10:50am UTC](https://www.ruby-forum.com/t/html-erb/105811 "2007-06-03T10:50:24Z")

</div>

Today I did some updates, rails, and gems update, the problem is that now, insted of .rhtml files I get html.erb, it looks that they work the same, but, I’m using radrails, and It’s not doing the color syntax is there…

---

## [Nested resource routes with members](https://www.ruby-forum.com/t/nested-resource-routes-with-members/105814)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 9:57am UTC](https://www.ruby-forum.com/t/nested-resource-routes-with-members/105814 "2007-06-03T09:57:25Z")

</div>

hi, lets say I have a Project that can have many Pages Pages are acts\_as\_list so I have extra actions to move one “higher” or “lower” in the list I have this in routes.rb map.resources :pages, :member =\> { :higher …

---

## [SSL with InstantRails - possible?](https://www.ruby-forum.com/t/ssl-with-instantrails-possible/105816)

<div class="topic-metadata">

**Author:** [@chris\_johnson](https://www.ruby-forum.com/u/chris_johnson)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 9:24am UTC](https://www.ruby-forum.com/t/ssl-with-instantrails-possible/105816 "2007-06-03T09:24:23Z")

</div>

Has anyone been able to get SSL with InstantRails working? Paypal requires a secure connection, and using my dev machine, I cannot connect due to lack of SSL in InstantRails. Any suggestions are appreciated! -Chris

---

## [Unit tests breaks with sqlite](https://www.ruby-forum.com/t/unit-tests-breaks-with-sqlite/105775)

<div class="topic-metadata">

**Author:** [@Nexos](https://www.ruby-forum.com/u/Nexos)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 9:19am UTC](https://www.ruby-forum.com/t/unit-tests-breaks-with-sqlite/105775 "2007-06-03T09:19:23Z")

</div>

Hi, I’m using an sqlite3 database with Rails and have some trouble running unit tests What I’ve done is rails my\_app edited database.yml to use sqlite3 adapter, db/my\_app\_development and db/my\_app\_test ruby …

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

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