# Rails

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

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

---

## [Strange Problem With Unwanted, Transient Caching](https://www.ruby-forum.com/t/strange-problem-with-unwanted-transient-caching/88004)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/strange-problem-with-unwanted-transient-caching/88004 "2007-03-07T16:26:52Z")

</div>

Hello, I hope somebody can explain to me what’s going on here because I’m baffled! In a controller’s action I want to create a new order for a customer. Because I post back to the same action (not RESTful I know, b…

---

## [Mysql](https://www.ruby-forum.com/t/mysql/88010)

<div class="topic-metadata">

**Author:** [@refaris](https://www.ruby-forum.com/u/refaris)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/mysql/88010 "2007-03-07T15:47:44Z")

</div>

I am looking for a way to access a database without active record. Basically when i call a certain action, I want to delete a customer from the database linked via active record, and insert that customer into another …

---

## [European date format input](https://www.ruby-forum.com/t/european-date-format-input/87856)

<div class="topic-metadata">

**Author:** [@bitterbal](https://www.ruby-forum.com/u/bitterbal)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/european-date-format-input/87856 "2007-03-07T15:32:43Z")

</div>

I have googled a lot on this subject but have not found an easy way to have RoR accept european date format (DD/MM/YYYY) in forms. I looked at globalize plugin but that feels heavy implementation for me because I do n…

---

## [Problems with intl. chars in RoR 1.2.x](https://www.ruby-forum.com/t/problems-with-intl-chars-in-ror-1-2-x/88012)

<div class="topic-metadata">

**Author:** [@Zdenek\_Zavadil](https://www.ruby-forum.com/u/Zdenek_Zavadil)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/problems-with-intl-chars-in-ror-1-2-x/88012 "2007-03-07T15:32:34Z")

</div>

Hello, I’ve tried to upgrade my app to RoR 1.2.2, but it broke regular expressions working with international characters like ‘Ã¡’ or ‘Ã¤’ etc. E.g. /xx: (.+) zz/.match(“xx: aÃ¡Ã¤ zz”)\[1\] returns NoMethodError in scr…

---

## [Using the same action in AJAX calls](https://www.ruby-forum.com/t/using-the-same-action-in-ajax-calls/88006)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 2:53pm UTC](https://www.ruby-forum.com/t/using-the-same-action-in-ajax-calls/88006 "2007-03-07T14:53:34Z")

</div>

Hi \*, I display a form after a link\_to\_remote where I edit some object attributes. Actually I need 2 controller actions, edit (this one displays the form) and do\_edit (this one changes the attributes in the db). I’d …

---

## [Re: Rails on FreeBSD](https://www.ruby-forum.com/t/re-rails-on-freebsd/87922)

<div class="topic-metadata">

**Author:** [@Jordan\_K](https://www.ruby-forum.com/u/Jordan_K)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/re-rails-on-freebsd/87922 "2007-03-07T13:45:19Z")

</div>

On 3/4/07, removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid wrote: Hello everyone. I want to use my server to test my Rails scripts. My server is running with FreeBDS, so my question is what I…

---

## [Migration with mysql reserved word](https://www.ruby-forum.com/t/migration-with-mysql-reserved-word/87943)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/migration-with-mysql-reserved-word/87943 "2007-03-07T13:31:17Z")

</div>

I have a column name called ‘order’ in two of my db tables. I have just realized that it is causing some problems since ‘order’ is a reserved word in mysql. Unfortunately, trying to run a migration that includes… ren…

---

## [When does Rails create a session object?](https://www.ruby-forum.com/t/when-does-rails-create-a-session-object/87991)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/when-does-rails-create-a-session-object/87991 "2007-03-07T13:24:17Z")

</div>

I am trying to simulate multiple users accessing my app from the same development machine. To do so, I am trying to understand when Rails creates a session object and what triggers this. My tests indicate that an emp…

---

## [Link\_to not work?](https://www.ruby-forum.com/t/link-to-not-work/87977)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/link-to-not-work/87977 "2007-03-07T13:09:45Z")

</div>

Hello, I have a problem with link\_to, this is my code \<% if @categories for category in @categories link\_to “test”, “http://www.rubyonrails.org/” end end %\> But this doesn’t output anything to the screen, but wi…

---

## [Rails Models: Validation!](https://www.ruby-forum.com/t/rails-models-validation/87988)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 12:36pm UTC](https://www.ruby-forum.com/t/rails-models-validation/87988 "2007-03-07T12:36:08Z")

</div>

Hi! I’m reading “Agile Web D. with Rails” at the moment, but now I came to a problem that I can not solve myself. In a Model called “Product” I want to validate the presence of a decimal. I do that with “validates\_pr…

---

## [How to Connect PostgreSQL Database in Ruby](https://www.ruby-forum.com/t/how-to-connect-postgresql-database-in-ruby/87965)

<div class="topic-metadata">

**Author:** [@ramakrishna\_reddy](https://www.ruby-forum.com/u/ramakrishna_reddy)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/how-to-connect-postgresql-database-in-ruby/87965 "2007-03-07T12:34:54Z")

</div>

Hello, I try to connect PostgreSQL in Ruby , i am not geeting i got some error in server starting , can u tell me , what is the configuration process Ruby + PostgreSQL . Thanking u Waiting for Reply Ramak…

---

## [Scheduled events and notfications in a Rails application](https://www.ruby-forum.com/t/scheduled-events-and-notfications-in-a-rails-application/87995)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 11:58am UTC](https://www.ruby-forum.com/t/scheduled-events-and-notfications-in-a-rails-application/87995 "2007-03-07T11:58:00Z")

</div>

Hi everyone… OK, I’ve had a look around and I couldn’t find a good answer to this so here goes… I am creating an application that needs to fire off actions based on arbitrary time and date rather than HTTP requests. …

---

## [Link\_to, image\_submit\_tag, "changes only with POST" and "usa](https://www.ruby-forum.com/t/link-to-image-submit-tag-changes-only-with-post-and-usa/87901)

<div class="topic-metadata">

**Author:** [@oliver-peng](https://www.ruby-forum.com/u/oliver-peng)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 11:53am UTC](https://www.ruby-forum.com/t/link-to-image-submit-tag-changes-only-with-post-and-usa/87901 "2007-03-07T11:53:58Z")

</div>

Hello, I want to have the following features in my rails application: the program should have AJAX if Javascript available I want to protect my application described in URIs, Addressability, and the use of HTTP GET a…

---

## [Profiling Tools](https://www.ruby-forum.com/t/profiling-tools/87990)

<div class="topic-metadata">

**Author:** [@e-minenz](https://www.ruby-forum.com/u/e-minenz)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 11:44am UTC](https://www.ruby-forum.com/t/profiling-tools/87990 "2007-03-07T11:44:54Z")

</div>

Is there a profiling tool that will parse my production.log to find out what actions are being called most often, and what actions are taking the longest time to process? I am looking for an easy-to-use profiling tool…

---

## [Using ms access 97 as local db backend for rails on windows](https://www.ruby-forum.com/t/using-ms-access-97-as-local-db-backend-for-rails-on-windows/87781)

<div class="topic-metadata">

**Author:** [@Adrian\_Schmitt](https://www.ruby-forum.com/u/Adrian_Schmitt)\
**Replies:** 6\
**Last updated:** [March 7, 2007, 11:34am UTC](https://www.ruby-forum.com/t/using-ms-access-97-as-local-db-backend-for-rails-on-windows/87781 "2007-03-07T11:34:53Z")

</div>

Hi, I am on a windows 2000 machine and want to use an ms access 97 database (\*.mdb) as db backend. I did a clean install: ruby, gems, rails, odbc-rails. A test rails application connecting to a local mysql server is …

---

## [ODBC Adapter woes](https://www.ruby-forum.com/t/odbc-adapter-woes/87756)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 11:06am UTC](https://www.ruby-forum.com/t/odbc-adapter-woes/87756 "2007-03-07T11:06:48Z")

</div>

Hi All, I am running into a little issue the ODBC adapter: rails: 1.2 ruby: 1.8.4 ODBC ruby binding: .0997 Rails ODBC adapter: 1.4 I have added the ruby bindings to the /ruby/1.8/i386-msvcrt and used gem to instal…

---

## [\[need help\] what is the difference between :action =\> :index](https://www.ruby-forum.com/t/need-help-what-is-the-difference-between-action-index/87967)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 10:48am UTC](https://www.ruby-forum.com/t/need-help-what-is-the-difference-between-action-index/87967 "2007-03-07T10:48:46Z")

</div>

i have read lots of resources about ruby symbol, but i’m still very confused about it! when i write a rails project, i can not distinguish the difference like the subject above and in fact it seems the same when brows…

---

## [Instant rails 1.6, Win98, cookbook app fails](https://www.ruby-forum.com/t/instant-rails-1-6-win98-cookbook-app-fails/87980)

<div class="topic-metadata">

**Author:** [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 10:23am UTC](https://www.ruby-forum.com/t/instant-rails-1-6-win98-cookbook-app-fails/87980 "2007-03-07T10:23:41Z")

</div>

Hi all, have just started dabbling with instant rails over the last couple of nights, and first had some success running the typo and cookbook apps, with version 1.5. Upgraded to version 1.6 and an now getting a redir…

---

## [Updating multiple RESTful records in one request](https://www.ruby-forum.com/t/updating-multiple-restful-records-in-one-request/84625)

<div class="topic-metadata">

**Author:** [@monki](https://www.ruby-forum.com/u/monki)\
**Replies:** 30\
**Last updated:** [March 7, 2007, 10:11am UTC](https://www.ruby-forum.com/t/updating-multiple-restful-records-in-one-request/84625 "2007-03-07T10:11:35Z")

</div>

I like REST, it generally makes sense and is pretty easy to follow. Where I’m having trouble though is when it comes to the point where you need to update multiple records. Say for instance you have an email applicati…

---

## [Undefined method \`class\_name' for #\<AjaxScaffold::ScaffoldCo](https://www.ruby-forum.com/t/undefined-method-class-name-for-ajaxscaffold-scaffoldco/87975)

<div class="topic-metadata">

**Author:** [@neco](https://www.ruby-forum.com/u/neco)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 9:20am UTC](https://www.ruby-forum.com/t/undefined-method-class-name-for-ajaxscaffold-scaffoldco/87975 "2007-03-07T09:20:30Z")

</div>

Hi every body I have a problem with ajax\_scaffold I have a model whic named Branch there aren’t anything about special I want to show all records in grid so the old one working but the newest raise this error Than…

---

## [Validates\_length\_of not working](https://www.ruby-forum.com/t/validates-length-of-not-working/87959)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 9:15am UTC](https://www.ruby-forum.com/t/validates-length-of-not-working/87959 "2007-03-07T09:15:58Z")

</div>

I am attempting to validate a phone number field to assure that it is only 10 digits. I’ve placed the following code in my model: validates\_length\_of :phone, :is =\> 10, :message =\> “should be 10 digits.”, :allow\_nil =\>…

---

## [Edit link id is not passing while doing ajax edit link](https://www.ruby-forum.com/t/edit-link-id-is-not-passing-while-doing-ajax-edit-link/87966)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 9:06am UTC](https://www.ruby-forum.com/t/edit-link-id-is-not-passing-while-doing-ajax-edit-link/87966 "2007-03-07T09:06:36Z")

</div>

hi all, now i am stuggling to pass the edit id to the ajax edit link. please kindly help me to pass the id. here i have put my coding below. company.rhtml file \<% for company in @Edia\_comp\_addr %\> …

---

## [Can't see why my asseet fails in unit test](https://www.ruby-forum.com/t/cant-see-why-my-asseet-fails-in-unit-test/87971)

<div class="topic-metadata">

**Author:** [@jima](https://www.ruby-forum.com/u/jima)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 8:34am UTC](https://www.ruby-forum.com/t/cant-see-why-my-asseet-fails-in-unit-test/87971 "2007-03-07T08:34:27Z")

</div>

I have the following model class Advertisement \< ActiveRecord::Base presence validation code validates\_presence\_of :job\_title, :short\_description, :detail\_description, :contact\_email, :location, :area, :classific…

---

## [Newbie question about mongrel](https://www.ruby-forum.com/t/newbie-question-about-mongrel/87835)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 7\
**Last updated:** [March 7, 2007, 7:59am UTC](https://www.ruby-forum.com/t/newbie-question-about-mongrel/87835 "2007-03-07T07:59:23Z")

</div>

Hello! At the begining i want to say that i am no expert. I had my deployment server configured by my friend. Anyway I am running on VPS on Debian Sarge. I use mongrel & nginx combination. I have the following probl…

---

## [\[ANN\] memcache-client 1.3.0 Released](https://www.ruby-forum.com/t/ann-memcache-client-1-3-0-released/87963)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 6:20am UTC](https://www.ruby-forum.com/t/ann-memcache-client-1-3-0-released/87963 "2007-03-07T06:20:16Z")

</div>

memcache-client version 1.3.0 has been released! dev.robotcoop.com memcache-client is a pure-ruby client to Danga’s memcached. Changes: = 1.3.0 Apply patch #6507, add stats command. Submitted by Tyler K… Apply…

---

## [Unable to Clear a :through Relationship w/ clear or replace](https://www.ruby-forum.com/t/unable-to-clear-a-through-relationship-w-clear-or-replace/87960)

<div class="topic-metadata">

**Author:** [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 5:34am UTC](https://www.ruby-forum.com/t/unable-to-clear-a-through-relationship-w-clear-or-replace/87960 "2007-03-07T05:34:14Z")

</div>

I have the following setup: class NewsItem \< ActiveRecord::Base has\_many :connections, :as =\> :connectable, :dependent =\> :destroy has\_many :ideas, :through =\> :connections end The relationship is a has\_many :throug…

---

## [Rails IDE](https://www.ruby-forum.com/t/rails-ide/87602)

<div class="topic-metadata">

**Author:** [@sandeepcampbell](https://www.ruby-forum.com/u/sandeepcampbell)\
**Replies:** 30\
**Last updated:** [March 7, 2007, 4:52am UTC](https://www.ruby-forum.com/t/rails-ide/87602 "2007-03-07T04:52:12Z")

</div>

Hi I just want to know what IDE’s are being used for Rails development by the people here. I had been using RadRails but it looks like there will be no more releases of it. Regards Sandeep

---

## [Resource with multiple routes](https://www.ruby-forum.com/t/resource-with-multiple-routes/87944)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 3:35am UTC](https://www.ruby-forum.com/t/resource-with-multiple-routes/87944 "2007-03-07T03:35:06Z")

</div>

Hello folks. My application has some resource types which exist at multiple places within the app. For example, for the discussion model, there are general discussions, and discussions specific to a particular group. …

---

## [\[C.L.R\], \[RoR\] Looking for Ruby or Rails based tools to admi](https://www.ruby-forum.com/t/c-l-r-ror-looking-for-ruby-or-rails-based-tools-to-admi/87954)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 3:23am UTC](https://www.ruby-forum.com/t/c-l-r-ror-looking-for-ruby-or-rails-based-tools-to-admi/87954 "2007-03-07T03:23:05Z")

</div>

People, I’m Looking for Ruby or Rails based tools to administer MySQL databases schemas, tables, indexes, … etc. I looked around on rubyforge; nothing leaped out at me. Maybe something exists and people here know abo…

---

## [Crashing when install rails](https://www.ruby-forum.com/t/crashing-when-install-rails/87923)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 2:18am UTC](https://www.ruby-forum.com/t/crashing-when-install-rails/87923 "2007-03-07T02:18:58Z")

</div>

This is the second time that I have got the following error when running gem install rails --include-dependencies +++++ Bulk updating Gem source index for: http://gems.rubyforge.org Successfully installed rails-1.2.2 …

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

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