# Rails

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

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

---

## [Mongrel allow concurrency](https://www.ruby-forum.com/t/mongrel-allow-concurrency/115584)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 9\
**Last updated:** [September 27, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/mongrel-allow-concurrency/115584 "2007-09-27T18:25:32Z")

</div>

Hi, Does anyone knows how to set concurrency=true for mongrel. For webrick we can set that in lib/webrick\_server.rb at line 80 : REQUEST\_MUTEX.lock unless ActionController::Base.allow\_concurrency Is there something …

---

## [Ignoring column on save](https://www.ruby-forum.com/t/ignoring-column-on-save/114944)

<div class="topic-metadata">

**Author:** [@andre123](https://www.ruby-forum.com/u/andre123)\
**Replies:** 5\
**Last updated:** [September 27, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/ignoring-column-on-save/114944 "2007-09-27T18:14:20Z")

</div>

How can I tell Rails to completely ignore one specific column when INSERTing using the save method? I want the database’s default value to be used, but currently Rails is setting it to NULL.

---

## [Obtaining a model name](https://www.ruby-forum.com/t/obtaining-a-model-name/115577)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/obtaining-a-model-name/115577 "2007-09-27T17:52:01Z")

</div>

Dear user community, I know that I can access the controller that is called by using params\[:controller\] . I need to obtain the model name for a find command and I was wondering if there was a built in way of obtaini…

---

## [Observe Field :with Parameter Lost on Quick Re-Select](https://www.ruby-forum.com/t/observe-field-with-parameter-lost-on-quick-re-select/115686)

<div class="topic-metadata">

**Author:** [@christian](https://www.ruby-forum.com/u/christian)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/observe-field-with-parameter-lost-on-quick-re-select/115686 "2007-09-27T17:40:52Z")

</div>

I am using an :observe\_field on a series of select elements. It is pretty successful. There is one bug with it that is killing me though. When I change the option in a select, the :with parameter is sent, the next …

---

## [Mocking request.remote\_ip for testing](https://www.ruby-forum.com/t/mocking-request-remote-ip-for-testing/114837)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/mocking-request-remote-ip-for-testing/114837 "2007-09-27T17:39:56Z")

</div>

Hello, I'm writing test for some geo-location methods which are all very IP dependent. Is there a good way to mock a request.remote\_ip? Thanks for any help, Clem C

---

## [Quick and Simple: How do I get rid of the subdir for my railsapp? (Making it root dir)](https://www.ruby-forum.com/t/quick-and-simple-how-do-i-get-rid-of-the-subdir-for-my-railsapp-making-it-root-dir/115680)

<div class="topic-metadata">

**Author:** [@ARARAR](https://www.ruby-forum.com/u/ARARAR)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/quick-and-simple-how-do-i-get-rid-of-the-subdir-for-my-railsapp-making-it-root-dir/115680 "2007-09-27T17:09:10Z")

</div>

Ok, I created my rails application called “word”. It consists of: controllers/application.rb (empty, whatever the default is) controllers/word.rb (my project) views/index.rhtml (my view) If I go to localhost:3000, I…

---

## [Page cache is ignoring pagination params](https://www.ruby-forum.com/t/page-cache-is-ignoring-pagination-params/115681)

<div class="topic-metadata">

**Author:** [@hitertan](https://www.ruby-forum.com/u/hitertan)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/page-cache-is-ignoring-pagination-params/115681 "2007-09-27T16:43:53Z")

</div>

My app’s homepage uses pagination. I would like to page cache each page of that pagination but i’m having difficulty getting rails to generate different files for each page, instead it tries to create index.html regar…

---

## [Locomotive startupitem](https://www.ruby-forum.com/t/locomotive-startupitem/115679)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 4:37pm UTC](https://www.ruby-forum.com/t/locomotive-startupitem/115679 "2007-09-27T16:37:26Z")

</div>

Hello all, Is anyone using locomotive for the MAC? I have to set it up as a service, startupitem, that would start up at boot time. But I am having difficulties. To create a startupitem script I need to be able to…

---

## [JRuby on a huge project](https://www.ruby-forum.com/t/jruby-on-a-huge-project/111335)

<div class="topic-metadata">

**Author:** [@Dafi-Duck](https://www.ruby-forum.com/u/Dafi-Duck)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/jruby-on-a-huge-project/111335 "2007-09-27T16:20:12Z")

</div>

Hi, I am working on a new project built on websphere portal. I need to be able to have about 2 million concurrent users. If I use JRuby, will it work? Can JRuby work well on websphere portal? Can JRuby work with por…

---

## [Authenticate](https://www.ruby-forum.com/t/authenticate/115638)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/authenticate/115638 "2007-09-27T15:56:05Z")

</div>

I have been struggling with this for a while and am at a loss. I have a form allowing current users to log in and new users to create an account. Upon hitting the submit buttons (one for each action) a method gets cal…

---

## [ActiveRecord XML backend](https://www.ruby-forum.com/t/activerecord-xml-backend/115675)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/activerecord-xml-backend/115675 "2007-09-27T15:26:56Z")

</div>

Does an XML adapter for ActiveRecord exist? Don’t know if it would be useful or what I would use it for, but does it exist? (Adapter as in using XML as a database) Christian…

---

## [How to change the default naming schema for indeces in the '](https://www.ruby-forum.com/t/how-to-change-the-default-naming-schema-for-indeces-in-the/115677)

<div class="topic-metadata">

**Author:** [@mauricefaeh](https://www.ruby-forum.com/u/mauricefaeh)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/how-to-change-the-default-naming-schema-for-indeces-in-the/115677 "2007-09-27T15:10:42Z")

</div>

Hi all I’m using rails on a legacy environment with Oracle 10g. Now I want to move to the database based session store. BUT I’m running into a problem: a) I’m using rails table\_name prefixes: config.active\_record.ta…

---

## [Active\_record\_context, optimistic locking and object reload](https://www.ruby-forum.com/t/active-record-context-optimistic-locking-and-object-reload/115594)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 5\
**Last updated:** [September 27, 2007, 3:04pm UTC](https://www.ruby-forum.com/t/active-record-context-optimistic-locking-and-object-reload/115594 "2007-09-27T15:04:03Z")

</div>

It seems that active\_record\_context (by Rick O.) and optimistic locking don’t play too well together. When I enable active\_record\_context for the entire design, objects don’t properly reload. This is more or less wha…

---

## [Globalize tuning](https://www.ruby-forum.com/t/globalize-tuning/68273)

<div class="topic-metadata">

**Author:** [@eduard](https://www.ruby-forum.com/u/eduard)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 2:34pm UTC](https://www.ruby-forum.com/t/globalize-tuning/68273 "2007-09-27T14:34:09Z")

</div>

Hi, I am using Globalize plug-in extensively and I made some “tuning” to it. First I have added a method to search for strings that should be translated (not visiting every page from the site). Then I added a new met…

---

## [How to do this with Rails + jQuery (or Prototype)](https://www.ruby-forum.com/t/how-to-do-this-with-rails-jquery-or-prototype/115663)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 1:47pm UTC](https://www.ruby-forum.com/t/how-to-do-this-with-rails-jquery-or-prototype/115663 "2007-09-27T13:47:21Z")

</div>

Hey all, I’d like to do the following: .) Initially I have a page with a form containing a single input field. .) I enter an URL into the input field, the page is loaded and placed inside a div (or an iframe, or what…

---

## [RESTful interfaces... question](https://www.ruby-forum.com/t/restful-interfaces-question/115553)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 7\
**Last updated:** [September 27, 2007, 1:19pm UTC](https://www.ruby-forum.com/t/restful-interfaces-question/115553 "2007-09-27T13:19:44Z")

</div>

\*\*\* I’m going to preface this comment/question with a disclaimer: I’m really annoyed at this particular second with the buzzwordy-nature of “REST”, at least in the context of the information I’ve found about it online…

---

## [Form with definitions and actuals - undefined method unless dummy field used](https://www.ruby-forum.com/t/form-with-definitions-and-actuals-undefined-method-unless-dummy-field-used/115667)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 1:16pm UTC](https://www.ruby-forum.com/t/form-with-definitions-and-actuals-undefined-method-unless-dummy-field-used/115667 "2007-09-27T13:16:14Z")

</div>

I’m trying to build a form, but haven’t quite got it sorted. Here’s the background: There are form\_templates (e.g. questionnaires) and related questions. The form\_template model basically contains header information a…

---

## [In\_place\_edit\_for and nil objects](https://www.ruby-forum.com/t/in-place-edit-for-and-nil-objects/115457)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 11:52am UTC](https://www.ruby-forum.com/t/in-place-edit-for-and-nil-objects/115457 "2007-09-27T11:52:37Z")

</div>

I have a setup with an admin\_controller that allows the editing of details for users on the site with a manage\_user method. This I have set up to use in-place editing in the same manner as “Rails Recipes.”, also inclu…

---

## [Upload\_column problems on post after validation error](https://www.ruby-forum.com/t/upload-column-problems-on-post-after-validation-error/105332)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 11:25am UTC](https://www.ruby-forum.com/t/upload-column-problems-on-post-after-validation-error/105332 "2007-09-27T11:25:01Z")

</div>

Hi to all the crew ! I’ve a little (big ?) problem. I’m using upload\_column plugin, it works very well but it throws an exception when I try to repost the form after a validation error. Here some details: Model: (ho…

---

## [Caches\_action not generating full parameter route](https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 10:50am UTC](https://www.ruby-forum.com/t/caches-action-not-generating-full-parameter-route/115509 "2007-09-27T10:50:39Z")

</div>

Hi there, I have a URL like this: /artworks/show/4 I’ve turned on caching in development mode, and my controller says: caches\_action :index, :list, :show as well as def show @artwork = @artist.artworks.find(params…

---

## [ORA-01858: a non-numeric character was found where a numeric was expected](https://www.ruby-forum.com/t/ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected/115654)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 5\
**Last updated:** [September 27, 2007, 10:14am UTC](https://www.ruby-forum.com/t/ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected/115654 "2007-09-27T10:14:25Z")

</div>

Hi Experts, When i execute this statement i got an error called ORA-01858 mobile\_number = ‘1234567890’ email = “removed\_email\_address@domain.invalid” secret\_question = “whats your name” secret\_answer = “crystal” da…

---

## [Permission denied on my app/controller/account](https://www.ruby-forum.com/t/permission-denied-on-my-app-controller-account/115655)

<div class="topic-metadata">

**Author:** [@dureza](https://www.ruby-forum.com/u/dureza)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 9:16am UTC](https://www.ruby-forum.com/t/permission-denied-on-my-app-controller-account/115655 "2007-09-27T09:16:29Z")

</div>

hi, good day, i am trying to change the codes in my app/controller/account and also to my view/account/login but it is so happen that if i save the changes the ‘permission denied’ will appear, how could I solve this… …

---

## [Extensible Verifications](https://www.ruby-forum.com/t/extensible-verifications/115622)

<div class="topic-metadata">

**Author:** [@Florian\_ASSSSmann](https://www.ruby-forum.com/u/Florian_ASSSSmann)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 8:34am UTC](https://www.ruby-forum.com/t/extensible-verifications/115622 "2007-09-27T08:34:08Z")

</div>

Hi everybody, 1 month ago or so I wrote a small authentication plugin for my current Rails project. I had some reasons behind this so you don’t need to question that. :slight\_smile: On the other hand I realized that…

---

## [Problem with https in instant rails](https://www.ruby-forum.com/t/problem-with-https-in-instant-rails/115648)

<div class="topic-metadata">

**Author:** [@vidyagayathri](https://www.ruby-forum.com/u/vidyagayathri)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 7:17am UTC](https://www.ruby-forum.com/t/problem-with-https-in-instant-rails/115648 "2007-09-27T07:17:44Z")

</div>

Hi All, Now I am facing a big problem in https, i hope i will get solution through this forum, actually i have to install https in instantrails, but my admin said, we can’t install https in instant rails , because in …

---

## [Looking forward to learning](https://www.ruby-forum.com/t/looking-forward-to-learning/115647)

<div class="topic-metadata">

**Author:** [@jennweller](https://www.ruby-forum.com/u/jennweller)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 7:06am UTC](https://www.ruby-forum.com/t/looking-forward-to-learning/115647 "2007-09-27T07:06:19Z")

</div>

Hi everybody! We look forward to sharing some Ruby knowledge and learn some. Also I wanted to give you the heads-up and let you know about ADS (techcfl.com). If you are looking for Ruby Developement please check us o…

---

## [Can't connect to local MySQL server](https://www.ruby-forum.com/t/cant-connect-to-local-mysql-server/115549)

<div class="topic-metadata">

**Author:** [@jalal](https://www.ruby-forum.com/u/jalal)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 6:32am UTC](https://www.ruby-forum.com/t/cant-connect-to-local-mysql-server/115549 "2007-09-27T06:32:00Z")

</div>

hello everyone, i am new to ROR. i am just trying to run a simple application which will show some data from database, i have done it in my local machine. But when i tried to do the same thing in my “Dreamhost” shared…

---

## [Great new site](https://www.ruby-forum.com/t/great-new-site/115642)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 5:17am UTC](https://www.ruby-forum.com/t/great-new-site/115642 "2007-09-27T05:17:12Z")

</div>

http://spielwelt6.knightfight.de/?ac=vid&vid=121044096

---

## [String concatenation with symbol](https://www.ruby-forum.com/t/string-concatenation-with-symbol/115637)

<div class="topic-metadata">

**Author:** [@fede](https://www.ruby-forum.com/u/fede)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 4:22am UTC](https://www.ruby-forum.com/t/string-concatenation-with-symbol/115637 "2007-09-27T04:22:25Z")

</div>

I’m trying to make this work: @targets = Targets.find(:all, :conditions =\> 'description LIKE :id ') I know it can’t work having the :id in there just like that but I can’t find a way to embed that in there. Thanks in …

---

## [\[n00b\] Having problems with find() results](https://www.ruby-forum.com/t/n00b-having-problems-with-find-results/115632)

<div class="topic-metadata">

**Author:** [@olie](https://www.ruby-forum.com/u/olie)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 4:06am UTC](https://www.ruby-forum.com/t/n00b-having-problems-with-find-results/115632 "2007-09-27T04:06:35Z")

</div>

I’ve just recently started learning rails, and everything is going well for my find(:all) situations. I’m now trying to do limited find, vis: def bug\_table @Bug\_list = Bug.find(:all, :conditions =\> \[ "bug\_…

---

## [Pingsta is seeking senior software geeks with ninja RoR+PHP+AJAX+Algorithms skills - to apply email](https://www.ruby-forum.com/t/pingsta-is-seeking-senior-software-geeks-with-ninja-ror-php-ajax-algorithms-skills-to-apply-email/115631)

<div class="topic-metadata">

**Author:** [@eninja](https://www.ruby-forum.com/u/eninja)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 1:46am UTC](https://www.ruby-forum.com/t/pingsta-is-seeking-senior-software-geeks-with-ninja-ror-php-ajax-algorithms-skills-to-apply-email/115631 "2007-09-27T01:46:12Z")

</div>

Are you interested in working for a fast-growing technology company with lots of energy, passion and excitement? At Pingsta, we place utmost emphasis on hiring smart and talented people that see every challenge as an …

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

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