# Rails

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

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

---

## [FeedTools/FeedUpdater and Rails1.2 Problem](https://www.ruby-forum.com/t/feedtools-feedupdater-and-rails1-2-problem/87712)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/feedtools-feedupdater-and-rails1-2-problem/87712 "2007-03-05T17:43:30Z")

</div>

FeedUpdater has stopped working now that I have upgrade to Rails 1.2.2 When I run script/feed\_updater start I get: /usr/local/lib/site\_ruby/1.8/rubygems.rb:196:in activate': can't activate activesupport (= 1.3.1), alre…

---

## [DRY question - image\_tag :alt and :title the same](https://www.ruby-forum.com/t/dry-question-image-tag-alt-and-title-the-same/87127)

<div class="topic-metadata">

**Author:** [@oliver-peng](https://www.ruby-forum.com/u/oliver-peng)\
**Replies:** 6\
**Last updated:** [March 5, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/dry-question-image-tag-alt-and-title-the-same/87127 "2007-03-05T17:43:12Z")

</div>

Hello, I have the following: image\_tag(‘show.png’, :alt =\> ‘show article’, :title =\> ‘show article’, :border =\> 0) Is it possible that I don´t need to have “=\> ‘show article’” twice in this row? e.g. something simil…

---

## [FastCGI isn't beeing nice to me :(](https://www.ruby-forum.com/t/fastcgi-isnt-beeing-nice-to-me/87733)

<div class="topic-metadata">

**Author:** [@F.BSten\_Kate](https://www.ruby-forum.com/u/F.BSten_Kate)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/fastcgi-isnt-beeing-nice-to-me/87733 "2007-03-05T17:24:37Z")

</div>

I followed the following guide: http://wiki.rubyonrails.com/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP Now my apache and everything is working, how ever the moment i turn on fastcgi (by changing RewriteRule ^(.)$…

---

## [Bug in encoding: utf8?](https://www.ruby-forum.com/t/bug-in-encoding-utf8/87062)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/bug-in-encoding-utf8/87062 "2007-03-05T17:06:03Z")

</div>

Hello, Today, I had to show some of the work done to my supervisor. When I wanted to show that all the tests ran correctly iI just ‘raked’ as usual. However, every single unit test had an error. Off course that only …

---

## [Using closures, continuations in real life](https://www.ruby-forum.com/t/using-closures-continuations-in-real-life/87682)

<div class="topic-metadata">

**Author:** [@Fefo](https://www.ruby-forum.com/u/Fefo)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/using-closures-continuations-in-real-life/87682 "2007-03-05T16:45:55Z")

</div>

Hi all !! I’m fairly new to Rails programming and finding somewhat different n the approach than .NET programming I did previosuly. I found this blog post : http://deadprogrammersociety.blogspot.com/2007/02/ruby-block…

---

## [Globalize or gettext?](https://www.ruby-forum.com/t/globalize-or-gettext/102571)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/globalize-or-gettext/102571 "2007-03-05T16:45:24Z")

</div>

Hey all, I’m starting a new rails app, I have both used globalize and rgettext in the past and they’re both great. So I would like to know which one of the two scales better or if any of you know from experience which …

---

## [Form you need to place on all your pages](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/form-you-need-to-place-on-all-your-pages/87704 "2007-03-05T16:40:54Z")

</div>

Hi all, I’ wondering how you handle your login/logout form for your website. A login/logout form is something you sometimes place on almost all pages. How do you handle this? Do you make a shared partial or is there…

---

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

<div class="topic-metadata">

**Author:** [@stemey](https://www.ruby-forum.com/u/stemey)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/mongrel-cluster/87727 "2007-03-05T16:38:54Z")

</div>

Hi, i have deployed 3 mongrels on three differnet app servers. up front i have an apache with mod\_balancer. Do I have to use the database as session storage, or is there some mechanism to forward a request for a cert…

---

## [Trouble running my app](https://www.ruby-forum.com/t/trouble-running-my-app/87628)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 5\
**Last updated:** [March 5, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/trouble-running-my-app/87628 "2007-03-05T16:14:50Z")

</div>

I tried posting this message earlier on the normal rails message board and was advised to post it on here. Never knew this forum existed but am glad to have found it. Anyways… Im having trouble running my app :frowni…

---

## [Reload](https://www.ruby-forum.com/t/reload/87706)

<div class="topic-metadata">

**Author:** [@prabu](https://www.ruby-forum.com/u/prabu)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 3:52pm UTC](https://www.ruby-forum.com/t/reload/87706 "2007-03-05T15:52:46Z")

</div>

whats the use for reload? and how it works ?

---

## [Lib folders and application controllers](https://www.ruby-forum.com/t/lib-folders-and-application-controllers/85850)

<div class="topic-metadata">

**Author:** [@treybean](https://www.ruby-forum.com/u/treybean)\
**Replies:** 24\
**Last updated:** [March 5, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/lib-folders-and-application-controllers/85850 "2007-03-05T15:39:06Z")

</div>

What’s the best way to handle items in your engine’s lib folder? I have a couple of support files I would normally place in my lib folder and then include in my application controller. In developing my engine, I pla…

---

## [Login\_engine for Rails 1.2](https://www.ruby-forum.com/t/login-engine-for-rails-1-2/87714)

<div class="topic-metadata">

**Author:** [@Tiago\_F](https://www.ruby-forum.com/u/Tiago_F)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/login-engine-for-rails-1-2/87714 "2007-03-05T15:15:27Z")

</div>

Hi, I have an app that uses login\_engine and the hosting company upgraded to Rails 1.2. Does anyone knows a good alternative, if possible to reuse the existing data in the database from the login\_engine? Thanks, Ti…

---

## [Browser caching of js and css](https://www.ruby-forum.com/t/browser-caching-of-js-and-css/87573)

<div class="topic-metadata">

**Author:** [@giaco](https://www.ruby-forum.com/u/giaco)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/browser-caching-of-js-and-css/87573 "2007-03-05T14:55:38Z")

</div>

I’m running https connection to apache 2.2 proxying to mongrel running rails 1.2. The browser never caches my js and css files. Is there some way to tell it to cache them. Jack

---

## [ActMethods has been removed from the module tree?](https://www.ruby-forum.com/t/actmethods-has-been-removed-from-the-module-tree/87492)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 1:46pm UTC](https://www.ruby-forum.com/t/actmethods-has-been-removed-from-the-module-tree/87492 "2007-03-05T13:46:47Z")

</div>

Hello, I wrote a light weight version of acts\_as\_attachment and this has been working fine for some time now (about a week). Now i get the title error: ActMethods has been removed from the module tree but is still ac…

---

## [Validate not working?](https://www.ruby-forum.com/t/validate-not-working/87708)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/validate-not-working/87708 "2007-03-05T13:43:27Z")

</div>

Hello, My validate is not working, I don’t know why, it just stopped working? Model: class User \< ActiveRecord::Base validates\_presence\_of :nickname, :email, :password validates\_confirmation\_of :password validates\_…

---

## [Cannot get scaffolding to save dates as Null](https://www.ruby-forum.com/t/cannot-get-scaffolding-to-save-dates-as-null/87684)

<div class="topic-metadata">

**Author:** [@LitFuse](https://www.ruby-forum.com/u/LitFuse)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/cannot-get-scaffolding-to-save-dates-as-null/87684 "2007-03-05T12:58:17Z")

</div>

I’m using the rails scaffolding with SQL Server. Even though my date fields are defined as nullable, there seems to be no way to set them to Null in the Edit\\Create scaffold forms. The nullable fields display find i…

---

## [How can I intercept AR creates/updates to automatically set](https://www.ruby-forum.com/t/how-can-i-intercept-ar-creates-updates-to-automatically-set/87616)

<div class="topic-metadata">

**Author:** [@builderchad](https://www.ruby-forum.com/u/builderchad)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/how-can-i-intercept-ar-creates-updates-to-automatically-set/87616 "2007-03-05T12:52:17Z")

</div>

I would like to add functionality like the update\_on/created\_on etc fields and intercept updates and creates so that I can drop in data into certain fields at the last minute. I am not sure what the best Railer approa…

---

## [Login in and out](https://www.ruby-forum.com/t/login-in-and-out/87652)

<div class="topic-metadata">

**Author:** [@Uzi](https://www.ruby-forum.com/u/Uzi)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/login-in-and-out/87652 "2007-03-05T12:26:53Z")

</div>

I have to create an online auction using radrails, can any one help me? I need to be able to create loggin in and out accounts? cheers

---

## [Image Control Javascript as in dpreview.com](https://www.ruby-forum.com/t/image-control-javascript-as-in-dpreview-com/87630)

<div class="topic-metadata">

**Author:** [@e-minenz](https://www.ruby-forum.com/u/e-minenz)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 11:41am UTC](https://www.ruby-forum.com/t/image-control-javascript-as-in-dpreview-com/87630 "2007-03-05T11:41:08Z")

</div>

Anyone knows of a Rails Plugin or Javascript that would easily place an image control box around an image? Please look here: http://forums.dpreview.com/forums/readflat.asp?forum=1006&thread=20988504 Look for an image …

---

## [Many-to-many-to-many examples / tutorials / best practice](https://www.ruby-forum.com/t/many-to-many-to-many-examples-tutorials-best-practice/87442)

<div class="topic-metadata">

**Author:** [@macarthy](https://www.ruby-forum.com/u/macarthy)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 10:30am UTC](https://www.ruby-forum.com/t/many-to-many-to-many-examples-tutorials-best-practice/87442 "2007-03-05T10:30:59Z")

</div>

Has anyone got or seen a “many to many to many” example/ tutorial anywhere ? E.g. a model to handle , teacher , room , period So teacherA is in room 1 at 11-12 oclock or teacherA and B is in room 2 at 12 - 1 …

---

## [\[ANN\] Plugin: Find Resource](https://www.ruby-forum.com/t/ann-plugin-find-resource/87421)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 10:25am UTC](https://www.ruby-forum.com/t/ann-plugin-find-resource/87421 "2007-03-05T10:25:58Z")

</div>

Find Resource This Rails plugin creates a finder method in your controller, based on the controller name. For instance, if your controller was called PostsController, a find\_post method would be created. A before\_filt…

---

## [Passing Arguments to an Action](https://www.ruby-forum.com/t/passing-arguments-to-an-action/87645)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 9:20am UTC](https://www.ruby-forum.com/t/passing-arguments-to-an-action/87645 "2007-03-05T09:20:48Z")

</div>

I have spent a fair amount of time searching to find information on how one would pass arguments to an action (presumably some sort of URL appendage). It would seem to me that that would be something that would be do…

---

## [Redirection problem help me](https://www.ruby-forum.com/t/redirection-problem-help-me/87391)

<div class="topic-metadata">

**Author:** [@vijayendra](https://www.ruby-forum.com/u/vijayendra)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 8:34am UTC](https://www.ruby-forum.com/t/redirection-problem-help-me/87391 "2007-03-05T08:34:48Z")

</div>

Hi i have a controler from which i has to redirect to two or many pages . i used redirect\_to . but it giving error as it considering the all redirection

---

## [Routing Error when using "Net::HTTP.start" but doesn't occur](https://www.ruby-forum.com/t/routing-error-when-using-net-http-start-but-doesnt-occur/87687)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 8:31am UTC](https://www.ruby-forum.com/t/routing-error-when-using-net-http-start-but-doesnt-occur/87687 "2007-03-05T08:31:42Z")

</div>

Hi all, I’m stuck on a Routing Error I’m getting when calling my application (App2) from a test/stub application (App1), however when I enter the same request to App2 via the browser I do NOT get this routing issue …

---

## [Ajax requests logged to log file](https://www.ruby-forum.com/t/ajax-requests-logged-to-log-file/87691)

<div class="topic-metadata">

**Author:** [@hemanth](https://www.ruby-forum.com/u/hemanth)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 7:52am UTC](https://www.ruby-forum.com/t/ajax-requests-logged-to-log-file/87691 "2007-03-05T07:52:13Z")

</div>

hi, when there is an ajax request from a view , everything is working fine but i can see the request written to the logfile. HomeController#get\_speakers HomeController#get\_speakernames are the ajax requests …

---

## [\[RoR\] Edge rails having problems with cookies and sessions?](https://www.ruby-forum.com/t/ror-edge-rails-having-problems-with-cookies-and-sessions/87690)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 7:42am UTC](https://www.ruby-forum.com/t/ror-edge-rails-having-problems-with-cookies-and-sessions/87690 "2007-03-05T07:42:39Z")

</div>

Rails people, I just installed edge rails 6334 Script/server comes up okay but when I try to connect to my site the browser spits out a 500. I see this in the console: =\> Booting lighttpd (use ‘script/server webrick…

---

## [Canst thou guess what p 'Slaves'.singularize produceth?](https://www.ruby-forum.com/t/canst-thou-guess-what-p-slaves-singularize-produceth/87662)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 4:29am UTC](https://www.ruby-forum.com/t/canst-thou-guess-what-p-slaves-singularize-produceth/87662 "2007-03-05T04:29:27Z")

</div>

Railsters: ‘Slafe’. :slight\_smile: (I know I know - add a custom inflection to the Inflector: Inflector.inflections do |inflect| inflect.singular /^(slave)s$/i, ‘\\1’ end !) – Phlip http://www.greencheese.us/Zee…

---

## [Convert to method call?](https://www.ruby-forum.com/t/convert-to-method-call/87680)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 4:18am UTC](https://www.ruby-forum.com/t/convert-to-method-call/87680 "2007-03-05T04:18:07Z")

</div>

Hi all, I would like to store a method call in a database, yet once saved I don’t know how to convert it from a string back to a method call. example: distance\_of\_time\_in\_words(order.created\_at, order.created\_at + o…

---

## [How to select postgres for usage instead postgres-pr?](https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 3:22am UTC](https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674 "2007-03-05T03:22:23Z")

</div>

Hi, I am using pgRails which came pre-installed with postgres-pr and I now wish to use the native driver called ‘postgres’. I have done the following: ‘gem install postgres’ I now have both postgres-0.7.1 and postgr…

---

## [Asynchronous calls to web services](https://www.ruby-forum.com/t/asynchronous-calls-to-web-services/87672)

<div class="topic-metadata">

**Author:** [@justin](https://www.ruby-forum.com/u/justin)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 2:48am UTC](https://www.ruby-forum.com/t/asynchronous-calls-to-web-services/87672 "2007-03-05T02:48:19Z")

</div>

Is there a method using Ruby on Rails to call an external web service and be able to continue processing your request without having received a response? What I am trying to find out is: if the web service is busy and…

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

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