# Top

**URL:** https://www.ruby-forum.com/top.md?page=1706

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

---

## [Situation in Georgia](https://www.ruby-forum.com/t/situation-in-georgia/145525)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 3\
**Last updated:** [August 11, 2008, 11:20am UTC](https://www.ruby-forum.com/t/situation-in-georgia/145525 "2008-08-11T11:20:04Z")

</div>

Dear friends! We are watching the Great Lie from Internet! The reality is that Saakashvili FIRST bombed Tskhinvali on the Day of the Olympian Games! Georgian soldiers SHOT Russian Peace-making armies, peaceful populat…

---

## [Shebang Warning in Locomotive](https://www.ruby-forum.com/t/shebang-warning-in-locomotive/143142)

<div class="topic-metadata">

**Author:** [@Marie-Anne](https://www.ruby-forum.com/u/Marie-Anne)\
**Replies:** 3\
**Last updated:** [July 18, 2008, 2:36pm UTC](https://www.ruby-forum.com/t/shebang-warning-in-locomotive/143142 "2008-07-18T14:36:13Z")

</div>

I’ve been working with Locomotive (2.0.8) for quite some time without any problems. Today I tried to create a new project and I got the following error: ‘Warning! The Ruby interpreter referenced this Rails applicatio…

---

## [Profiling specs](https://www.ruby-forum.com/t/profiling-specs/143117)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 3\
**Last updated:** [July 16, 2008, 2:08am UTC](https://www.ruby-forum.com/t/profiling-specs/143117 "2008-07-16T02:08:15Z")

</div>

Hi, Is there any simple, easy way to profile the running of my specs? It has recently starting being way slower and I want to know why :slight\_smile: Cheers, Jon

---

## [Radio\_button() problem with collections](https://www.ruby-forum.com/t/radio-button-problem-with-collections/142304)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 3\
**Last updated:** [July 7, 2008, 5:07am UTC](https://www.ruby-forum.com/t/radio-button-problem-with-collections/142304 "2008-07-07T05:07:36Z")

</div>

Hi - I think I’m seeing a bug in rails but am not sure. Maybe I’m just struggling. Could somebody take a look at this? I have a form to enter runner’s times for an ultra marathon. The form has 20 rows so we can en…

---

## [Rails security issue](https://www.ruby-forum.com/t/rails-security-issue/138837)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 10:59am UTC](https://www.ruby-forum.com/t/rails-security-issue/138837 "2008-05-29T10:59:01Z")

</div>

I know this is not a REAL security issue, but I think it could be and this seems very “unrails” like. What’s to keep a user from modifying the post hash they send to the server to set ANY attributes they want for an A…

---

## [Re: File::Separator on win32](https://www.ruby-forum.com/t/re-file-separator-on-win32/99645)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [May 23, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/re-file-separator-on-win32/99645 "2008-05-23T19:51:48Z")

</div>

. this confuses the system so that it cant find the files i need. is there a way round? is this a bug or wanted behaviour? Use File::ALT\_SEPARATOR instead. Regards, Dan This communication is the property of Qwest …

---

## [Accidentally Updated to Bleeding Edge](https://www.ruby-forum.com/t/accidentally-updated-to-bleeding-edge/136868)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [May 7, 2008, 12:29am UTC](https://www.ruby-forum.com/t/accidentally-updated-to-bleeding-edge/136868 "2008-05-07T00:29:48Z")

</div>

Good Afternoon, I recently bought a new imac and decided to give RoR a try. OS X comes standard with it, but in “Agile Web Dev with Rails” it suggested I may want to update. Well, after updating, I can’t get anythin…

---

## [Nest RESTful routes with namespaces?](https://www.ruby-forum.com/t/nest-restful-routes-with-namespaces/132485)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/nest-restful-routes-with-namespaces/132485 "2008-03-21T16:10:46Z")

</div>

Hi all I have the following website structure: In the namespace “music” I have artists, styles and labels, where artists also acts as namespace containing types: map.namespace :music do |music| music.resources :arti…

---

## [Nginx-0.6.27](https://www.ruby-forum.com/t/nginx-0-6-27/131688)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 6:33am UTC](https://www.ruby-forum.com/t/nginx-0-6-27/131688 "2008-03-13T06:33:42Z")

</div>

Changes with nginx 0.6.27 12 Mar 2008 \*) Change: now by default the rtsig method is not built on Linux 2.6.18+. \*) Change: now a request method is not changed while redirectio…

---

## [Mongrel\_rails\_service is not recognized command error](https://www.ruby-forum.com/t/mongrel-rails-service-is-not-recognized-command-error/120193)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 3\
**Last updated:** [November 15, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/mongrel-rails-service-is-not-recognized-command-error/120193 "2007-11-15T19:06:34Z")

</div>

Hi, I am trying to deploy RoR web app on windows server by using apache http server and mongrel (by Brian H.). Mongrel runs ok, but when I was trying to install mongrel as a windows service, I couldn’t execute ‘mongr…

---

## [Update rails aplication (1.1.6 to 1.2.5)](https://www.ruby-forum.com/t/update-rails-aplication-1-1-6-to-1-2-5/117993)

<div class="topic-metadata">

**Author:** [@pauloee](https://www.ruby-forum.com/u/pauloee)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/update-rails-aplication-1-1-6-to-1-2-5/117993 "2007-10-23T13:50:01Z")

</div>

After doing the rails update (gem install rails) what should I do for updating my rails aplication? run rake rails:update command? Thanks, Paulo A.

---

## [Ma faccio domande troppo difficili? ;)](https://www.ruby-forum.com/t/ma-faccio-domande-troppo-difficili/117260)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 3\
**Last updated:** [October 15, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/ma-faccio-domande-troppo-difficili/117260 "2007-10-15T14:35:36Z")

</div>

Ultimamente nessuno mi risponde :frowning: E visto che ci sono, giusto per non fare post inutili :wink: qualcuno sa perchÃ© questo funzia: \<% form\_for :entry, :url =\> { :action =\> :create\_entry } do |f| %\> \<%= render…

---

## [Accessing variable names in ruby](https://www.ruby-forum.com/t/accessing-variable-names-in-ruby/114030)

<div class="topic-metadata">

**Author:** [@Todd\_ASJacobs](https://www.ruby-forum.com/u/Todd_ASJacobs)\
**Replies:** 3\
**Last updated:** [September 11, 2007, 10:46am UTC](https://www.ruby-forum.com/t/accessing-variable-names-in-ruby/114030 "2007-09-11T10:46:58Z")

</div>

I found myself trying to do a bit of ruby debugging, and was going crazy trying to figure out how to display a variable’s name instead of its value in a string. There may be a more elegant way, but I found that symbol…

---

## [Page.replace\_html problem](https://www.ruby-forum.com/t/page-replace-html-problem/105694)

<div class="topic-metadata">

**Author:** [@emiliano](https://www.ruby-forum.com/u/emiliano)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/page-replace-html-problem/105694 "2007-06-01T17:50:33Z")

</div>

Hi all, I tried to use ajax in a simple eshop application, but the page.replace\_html fail in strange mode. Controller code: class mycontroller \< ApplicationController Some code def login # Check user existence in d…

---

## [Utilizzo delle migrazioni](https://www.ruby-forum.com/t/utilizzo-delle-migrazioni/105281)

<div class="topic-metadata">

**Author:** [@nathannever](https://www.ruby-forum.com/u/nathannever)\
**Replies:** 3\
**Last updated:** [May 28, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/utilizzo-delle-migrazioni/105281 "2007-05-28T13:32:08Z")

</div>

Salve a tutti. Ho un problema che riguarda l’utilizzo delle migrazioni: l’applicazione su cui sto lavorando utilizza due tabelle, users e communications, delle quali ho creato il corrispondente modello: ruby script/g…

---

## [Session ID huge, please help](https://www.ruby-forum.com/t/session-id-huge-please-help/103592)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 7:34am UTC](https://www.ruby-forum.com/t/session-id-huge-please-help/103592 "2007-05-08T07:34:45Z")

</div>

I keep getting cookie overflow because my session id is getting huge. Here it is right out of my log: Processing CompanyBranchesController#overview (for 127.0.0.1 at 2007-05-08 04:53:35) \[GET\] Session ID: BAh7CDoRaW…

---

## [Ayuda para un sistema de autentificacion](https://www.ruby-forum.com/t/ayuda-para-un-sistema-de-autentificacion/103433)

<div class="topic-metadata">

**Author:** [@elro](https://www.ruby-forum.com/u/elro)\
**Replies:** 3\
**Last updated:** [May 6, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/ayuda-para-un-sistema-de-autentificacion/103433 "2007-05-06T20:13:04Z")

</div>

hola, soy nuevo por aca, aunque ya tengo un conocimiento basico y he tenido un roce con rails, actualmente estoy en un nuevo proyecto y quiero saber si puedo disponer de un buen sistema de autentificacion para usar, o…

---

## [Resource\_feeder and nested resources](https://www.ruby-forum.com/t/resource-feeder-and-nested-resources/90625)

<div class="topic-metadata">

**Author:** [@crossblaim](https://www.ruby-forum.com/u/crossblaim)\
**Replies:** 3\
**Last updated:** [March 30, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/resource-feeder-and-nested-resources/90625 "2007-03-30T19:23:30Z")

</div>

hi, I’ve a problem with resource\_feeder plugin, basically works fine until we give nested resource url. Basically: /blog/1/posts/2, named route: blog\_post\_url This needs :blog\_id and :id passed as a parameter, otherw…

---

## [Too many session numbers per page request?](https://www.ruby-forum.com/t/too-many-session-numbers-per-page-request/83111)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [January 23, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/too-many-session-numbers-per-page-request/83111 "2007-01-23T20:59:12Z")

</div>

If I view the source on one of my pages I see: I belive that’s five sessions 1168898271 1169242655 1169241657 1169241658 1169575655 When I look at the source for another site, such as this forum, I see: …

---

## [Instantrails.exe process wont shutdown](https://www.ruby-forum.com/t/instantrails-exe-process-wont-shutdown/81916)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 3\
**Last updated:** [January 17, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/instantrails-exe-process-wont-shutdown/81916 "2007-01-17T15:12:41Z")

</div>

Hi Guys, Im really hoping someone can help… I have installed Instantrails onto about 50 Tablet PC’s - some HP TC4200’s and some HP TC1100’s. Installation etc isn’t a problem, but i have noticed that when i shutdown …

---

## [DRY respond\_to](https://www.ruby-forum.com/t/dry-respond-to/73768)

<div class="topic-metadata">

**Author:** [@W\_S](https://www.ruby-forum.com/u/W_S)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:52am UTC](https://www.ruby-forum.com/t/dry-respond-to/73768 "2006-11-07T10:52:11Z")

</div>

Here is how my restful new action look like: def new @foo = @widget.build(params\[:foo\]) raise NoPost unless request.post? @foo.save! respond\_to do |type| type.html { redirect\_to foo\_url } type.js { render :action …

---

## [Doubts in Login - Session](https://www.ruby-forum.com/t/doubts-in-login-session/71492)

<div class="topic-metadata">

**Author:** [@narayana](https://www.ruby-forum.com/u/narayana)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/doubts-in-login-session/71492 "2006-10-09T20:44:35Z")

</div>

Hi Friendz, I am using Login generator in my application. I need clarification: for ex: If a user login to the app. from one system. He shouldnot be allowed to login from another System at the same time. i.e Each Us…

---

## [RoR: Enumerare i controller presenti](https://www.ruby-forum.com/t/ror-enumerare-i-controller-presenti/66919)

<div class="topic-metadata">

**Author:** [@nutsmuggler](https://www.ruby-forum.com/u/nutsmuggler)\
**Replies:** 3\
**Last updated:** [August 30, 2006, 1:30pm UTC](https://www.ruby-forum.com/t/ror-enumerare-i-controller-presenti/66919 "2006-08-30T13:30:56Z")

</div>

Salve a tutti, sto cercando se esiste un metodo in Rails per enumerare i controllers presenti nella applicazione. In pratica devo predisporre una specie di RBAC con una interfaccina di amministrazione, per limitare ad…

---

## [Timer service](https://www.ruby-forum.com/t/timer-service/100246)

<div class="topic-metadata">

**Author:** [@palidanx](https://www.ruby-forum.com/u/palidanx)\
**Replies:** 3\
**Last updated:** [July 28, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/timer-service/100246 "2006-07-28T15:44:50Z")

</div>

hi everyone, I have this case where I need to check some records in the database of a specific data condition every 5 seconds and do some business logic if this scenario is true. Problem is there doesn’t seem to be a…

---

## [0.9.0 Version of Gem installation problem?](https://www.ruby-forum.com/t/0-9-0-version-of-gem-installation-problem/99597)

<div class="topic-metadata">

**Author:** [@kaliem](https://www.ruby-forum.com/u/kaliem)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 8:55pm UTC](https://www.ruby-forum.com/t/0-9-0-version-of-gem-installation-problem/99597 "2006-07-24T20:55:36Z")

</div>

Hi all. I have installed latest INSTANT RAILS i.e 1.3 When i run the following command: c:\\instantRails\\ruby\\bin\>gem -v it returns 0.8.11 I want it to be 0.9.0. I have downloaded gems 0.9.0 but i dont know how to …

---

## [How bad is it to have 7 joins in my find\_by\_sql?](https://www.ruby-forum.com/t/how-bad-is-it-to-have-7-joins-in-my-find-by-sql/98554)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 3\
**Last updated:** [July 16, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/how-bad-is-it-to-have-7-joins-in-my-find-by-sql/98554 "2006-07-16T21:14:12Z")

</div>

My question is whether there’s a more idiomatic rails way of structuring this query or of redoing the underlying models. First, the ugly find\_by\_sql code, which is the method to generate an atom feed: def atom items…

---

## [Accessing the Model class from Controller](https://www.ruby-forum.com/t/accessing-the-model-class-from-controller/98412)

<div class="topic-metadata">

**Author:** [@mclow](https://www.ruby-forum.com/u/mclow)\
**Replies:** 3\
**Last updated:** [July 14, 2006, 5:03pm UTC](https://www.ruby-forum.com/t/accessing-the-model-class-from-controller/98412 "2006-07-14T17:03:36Z")

</div>

Hi, I wonder if there’s an easy way to access the associated Model class from its Controller. Something that would allow me to write snippets like the following: class PeopleController \< ApplicationController def so…

---

## [Search plugin?](https://www.ruby-forum.com/t/search-plugin/97792)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 3\
**Last updated:** [July 13, 2006, 4:52am UTC](https://www.ruby-forum.com/t/search-plugin/97792 "2006-07-13T04:52:59Z")

</div>

All, I know there are 3 or 4 search plugins out there. I’m trying to find one that will allow me to search associated fields. My database content is pretty small, so efficiently is not so critical. On the other hand…

---

## [Re: warning: fork terminates thread at ./application.rb:84](https://www.ruby-forum.com/t/re-warning-fork-terminates-thread-at-application-rb-84/95135)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/re-warning-fork-terminates-thread-at-application-rb-84/95135 "2006-05-22T21:00:24Z")

</div>

Enterprise Linux 4. It’s Ruby 1.8.1 with a bunch of patches. I’m getting a bunch these warnings: warning: fork terminates thread at ./application.rb:84 I searched the archives and Matz said that the warnings would …

---

## [Strange Database Mapping Question](https://www.ruby-forum.com/t/strange-database-mapping-question/60465)

<div class="topic-metadata">

**Author:** [@David\_Latham](https://www.ruby-forum.com/u/David_Latham)\
**Replies:** 3\
**Last updated:** [May 14, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/strange-database-mapping-question/60465 "2006-05-14T17:02:30Z")

</div>

Dear Rails L., I am new on the list so will assume straight away that this question has been answered before. As I can see no immediate way of searching the list, I will ask the question. I apologize in advance fo…

---

## [Rb2c modern](https://www.ruby-forum.com/t/rb2c-modern/94558)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 3\
**Last updated:** [May 8, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/rb2c-modern/94558 "2006-05-08T23:43:23Z")

</div>

Hello all. Is there something like rb2c, but more modern? Last rb2c last version (0.6.1) seems to be intended for Ruby 1.6 :frowning: BTW, have somebody used it for real tasks? Can you share your experience? Victor. …

---

## [Migration: How to make a column the primary key](https://www.ruby-forum.com/t/migration-how-to-make-a-column-the-primary-key/58647)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/migration-how-to-make-a-column-the-primary-key/58647 "2006-04-24T17:39:33Z")

</div>

Hi, I would like to write a migration that creates a table without auto-generating a primary key “id” column, and then make a integer-column of my choice the primary key. How can I do this? Ingo

---

## [Gracefully degrading Ajax AND Drying up actions](https://www.ruby-forum.com/t/gracefully-degrading-ajax-and-drying-up-actions/56589)

<div class="topic-metadata">

**Author:** [@Chris\_T](https://www.ruby-forum.com/u/Chris_T)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 10:19am UTC](https://www.ruby-forum.com/t/gracefully-degrading-ajax-and-drying-up-actions/56589 "2006-04-04T10:19:57Z")

</div>

Still a semi-newbie, but so far I’ve managed to solve most things with a bit of help from the Agile book, some googling around, and a bit of trial-and-error, but I’m really stuck with this one (very much an Ajax newbi…

---

## [List and update values from text\_field\_tag fields](https://www.ruby-forum.com/t/list-and-update-values-from-text-field-tag-fields/54581)

<div class="topic-metadata">

**Author:** [@Jens\_Tinfors](https://www.ruby-forum.com/u/Jens_Tinfors)\
**Replies:** 3\
**Last updated:** [March 9, 2006, 12:06pm UTC](https://www.ruby-forum.com/t/list-and-update-values-from-text-field-tag-fields/54581 "2006-03-09T12:06:34Z")

</div>

Hi, I populate a couple of text\_field\_tag’s with data from an AciveRecord object. Some fields are editable and at the end of the page there’s a submit button. I want the new values to be updated in the DB but by defa…

---

## [Newbe Rails question on Apache](https://www.ruby-forum.com/t/newbe-rails-question-on-apache/72052)

<div class="topic-metadata">

**Author:** [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Replies:** 3\
**Last updated:** [February 22, 2006, 10:20pm UTC](https://www.ruby-forum.com/t/newbe-rails-question-on-apache/72052 "2006-02-22T22:20:40Z")

</div>

Hello, I am new to Rails, like totally new. I am not new to application development having near 10 years experience with data mining and store front development with various Java web severs. I see a ton of power i…

---

## [Question about Lo4R](https://www.ruby-forum.com/t/question-about-lo4r/98585)

<div class="topic-metadata">

**Author:** [@zmoazeni](https://www.ruby-forum.com/u/zmoazeni)\
**Replies:** 3\
**Last updated:** [January 29, 2006, 11:48pm UTC](https://www.ruby-forum.com/t/question-about-lo4r/98585 "2006-01-29T23:48:38Z")

</div>

Hello, I’m having an issue with a Formatter for Log4R. I’m trying to use the %c format directive to display the Line Number of the file and for some reason it keeps throwing an error. I’m using Ubuntu Breezy 5.1, Rub…

---

## [Conditional replacements in rhtml](https://www.ruby-forum.com/t/conditional-replacements-in-rhtml/97327)

<div class="topic-metadata">

**Author:** [@James\_BSByrne](https://www.ruby-forum.com/u/James_BSByrne)\
**Replies:** 3\
**Last updated:** [January 25, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/conditional-replacements-in-rhtml/97327 "2006-01-25T20:18:44Z")

</div>

On Wed, 25 Jan 2006 10:32:23 -0700, Ben R. removed\_email\_address@domain.invalid wrote: To do this with an if statement: \<%if @items.size == 1 -%\>item\<% else -%\>items\<% end -%\> Thanks you. Nonetheless I still remai…

---

## [Re: camelCase vs ruby\_case](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862 "2006-01-24T16:39:27Z")

</div>

There were a LOT of discussions on the subject over time on this list. Please search ruby-talk archive at http://www.ruby-talk.org/ruby/ruby-talk/index.shtml to get an idea. Gennady.

---

## [Create and update with has\_many :through](https://www.ruby-forum.com/t/create-and-update-with-has-many-through/96343)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 3\
**Last updated:** [January 23, 2006, 10:55pm UTC](https://www.ruby-forum.com/t/create-and-update-with-has-many-through/96343 "2006-01-23T22:55:28Z")

</div>

I’m using Edge Rails and the new has\_many :through in my code. What I’m trying to do is modify my create and update code to use the new relationships. I’m using a table called course\_teachers for the joins. Here is wh…

---

## [\[ANN\] SwitchTower 0.10.0](https://www.ruby-forum.com/t/ann-switchtower-0-10-0/87408)

<div class="topic-metadata">

**Author:** [@jamis](https://www.ruby-forum.com/u/jamis)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/ann-switchtower-0-10-0/87408 "2006-01-03T22:09:10Z")

</div>

SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your server…

---

## [Included modules and String](https://www.ruby-forum.com/t/included-modules-and-string/54548)

<div class="topic-metadata">

**Author:** [@rich](https://www.ruby-forum.com/u/rich)\
**Replies:** 3\
**Last updated:** [December 28, 2005, 8:23pm UTC](https://www.ruby-forum.com/t/included-modules-and-string/54548 "2005-12-28T20:23:36Z")

</div>

I looked at the RDoc for the String class and found that the class includes the Enumerable module. I’d have thought that meant that you could call methods like inject or collect on a string, the method would iterate …

---

## [AJAX form Parameters jumbled](https://www.ruby-forum.com/t/ajax-form-parameters-jumbled/100057)

<div class="topic-metadata">

**Author:** [@rails](https://www.ruby-forum.com/u/rails)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/ajax-form-parameters-jumbled/100057 "2005-11-12T12:49:46Z")

</div>

Sorry for the repost but I originally posted this as a response to another thread. I have a text field called ‘phrase’ but the parameter values always come up as nil and when I check the parameters dumped in the erro…

---

## [How to generate database.yml](https://www.ruby-forum.com/t/how-to-generate-database-yml/233055)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 14, 2014, 10:12am UTC](https://www.ruby-forum.com/t/how-to-generate-database-yml/233055 "2014-11-14T10:12:12Z")

</div>

I generate new rails application with --skip-activerecord, because I’m going to use with MongoDB. But right now I want my APP to support MySQL as well. Any solutions?

---

## [404 error with rewriting rule](https://www.ruby-forum.com/t/404-error-with-rewriting-rule/240199)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 2, 2014, 11:12am UTC](https://www.ruby-forum.com/t/404-error-with-rewriting-rule/240199 "2014-04-02T11:12:36Z")

</div>

Hello, With this rule : rewrite ^/(\[^/\])(/.\*) $2?locale=$1&$query\_string last; I get a 404 error when I try go on http://example.org/en/test.php instead of http://example.org/test.php?locale=en Anyone have any idea…

---

## [Finding out if a X Time Zone is in midnight](https://www.ruby-forum.com/t/finding-out-if-a-x-time-zone-is-in-midnight/239995)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 24, 2014, 10:07am UTC](https://www.ruby-forum.com/t/finding-out-if-a-x-time-zone-is-in-midnight/239995 "2014-03-24T10:07:21Z")

</div>

Hello G.s, I am working on scheduler module for which I want to know, if any X time zone is in mid night now ? Is there any library/gem for this purpose ? or if not what would be a good logic to know this ? Thanks, …

---

## [How Rails component works with each other in background?](https://www.ruby-forum.com/t/how-rails-component-works-with-each-other-in-background/237169)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 28, 2013, 9:58am UTC](https://www.ruby-forum.com/t/how-rails-component-works-with-each-other-in-background/237169 "2013-10-28T09:58:04Z")

</div>

Hello All, Please let me know how components works with each other in background? For e.g How objects are called from controller to view ? what actions are performed in background? Please help me. Thanks in advance. …

---

## [Ruby 2.0.0 x64 My programm without interpreter](https://www.ruby-forum.com/t/ruby-2-0-0-x64-my-programm-without-interpreter/236206)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 15, 2013, 6:55pm UTC](https://www.ruby-forum.com/t/ruby-2-0-0-x64-my-programm-without-interpreter/236206 "2013-08-15T18:55:49Z")

</div>

How to compile a program written in Ruby, in my version of Windows 7 is the x64, I tried gem ocra but when you start the computer file cursing components gem not found I use gems … It is very strange, very nice progra…

---

## [Help me about setup RVM in Ubuntu 12.04](https://www.ruby-forum.com/t/help-me-about-setup-rvm-in-ubuntu-12-04/227805)

<div class="topic-metadata">

**Author:** [@haxuanlac](https://www.ruby-forum.com/u/haxuanlac)\
**Replies:** 2\
**Last updated:** [March 29, 2013, 3:25pm UTC](https://www.ruby-forum.com/t/help-me-about-setup-rvm-in-ubuntu-12-04/227805 "2013-03-29T15:25:39Z")

</div>

I 'm setting RVM for programing Ruby On Rails. I tried some instruction and setup successfully.But ruby version is 1.8.7 and Rails 2.3.14. I tried update Ruby by :Uninstall RVM then install curl,setup ruby 1.9.3 p125…

---

## [Save to DB returns false with no error message, how to diagnose it?](https://www.ruby-forum.com/t/save-to-db-returns-false-with-no-error-message-how-to-diagnose-it/225031)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 7, 2012, 5:18pm UTC](https://www.ruby-forum.com/t/save-to-db-returns-false-with-no-error-message-how-to-diagnose-it/225031 "2012-12-07T17:18:26Z")

</div>

Hi. Working along a tutorial, I am trying to create a user for my application, and save it to a User database table. However, when I try to save the user (i.e. add a line to the User table) the Ruby console just retu…

---

## [Integrating event\_add\_timer, am I doing this right?](https://www.ruby-forum.com/t/integrating-event-add-timer-am-i-doing-this-right/221297)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 8, 2012, 9:00am UTC](https://www.ruby-forum.com/t/integrating-event-add-timer-am-i-doing-this-right/221297 "2012-07-08T09:00:29Z")

</div>

Hi, So I have module where I need a certain number of events only to run every 1 second. As of right now I am running them on every request and it’s using a mutex lock. So at 500 requests a second you can see where t…

[Previous page](https://www.ruby-forum.com/top.md?page=1705&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1707&per_page=50)
