# Top

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

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

---

## [Why can't I post in the JRuby mailing list?](https://www.ruby-forum.com/t/why-cant-i-post-in-the-jruby-mailing-list/174526)

<div class="topic-metadata">

**Author:** [@AlwaysCharging](https://www.ruby-forum.com/u/AlwaysCharging)\
**Replies:** 3\
**Last updated:** [August 31, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/why-cant-i-post-in-the-jruby-mailing-list/174526 "2009-08-31T21:10:49Z")

</div>

Man I know this is in the wrong forum, so first let me apologize. However, I can’t figure out why I am unable to post in the JRuby google group. I have tried on two separate occasions (12 hours apart) and it’s now ap…

---

## [Interactive Commands](https://www.ruby-forum.com/t/interactive-commands/174227)

<div class="topic-metadata">

**Author:** [@norwat](https://www.ruby-forum.com/u/norwat)\
**Replies:** 3\
**Last updated:** [August 24, 2009, 12:34am UTC](https://www.ruby-forum.com/t/interactive-commands/174227 "2009-08-24T00:34:04Z")

</div>

Hey So im trying to write an irc bot for my clan but mostly just to train my ruby skills a bit more. Anyhow some of the functions of the bot require to execute commands on the server itself, managed to do fine using …

---

## [Plugin and YAML configuration file](https://www.ruby-forum.com/t/plugin-and-yaml-configuration-file/173777)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [August 15, 2009, 11:08am UTC](https://www.ruby-forum.com/t/plugin-and-yaml-configuration-file/173777 "2009-08-15T11:08:47Z")

</div>

Hello, Using an external YAML file for storing static datas is cool. And doing so in a basic Rails application is easy using in config/initializers/load\_config.rb such: CONFIG = YAML.load\_file("#{RAILS\_ROOT}/config/…

---

## [C extension: VALUEs being collected too early](https://www.ruby-forum.com/t/c-extension-values-being-collected-too-early/170217)

<div class="topic-metadata">

**Author:** [@edenli](https://www.ruby-forum.com/u/edenli)\
**Replies:** 3\
**Last updated:** [June 14, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/c-extension-values-being-collected-too-early/170217 "2009-06-14T18:34:46Z")

</div>

I’m writing a C extension which passes around structs that refer to Ruby VALUEs. During the course of execution, these VALUEs are assigned new Ruby strings, hashes or arrays (via the rb\_{str,hash,ary) \_new functions)…

---

## [Using proxy\_store under heavy load](https://www.ruby-forum.com/t/using-proxy-store-under-heavy-load/168427)

<div class="topic-metadata">

**Author:** [@zepolen](https://www.ruby-forum.com/u/zepolen)\
**Replies:** 3\
**Last updated:** [May 27, 2009, 5:25am UTC](https://www.ruby-forum.com/t/using-proxy-store-under-heavy-load/168427 "2009-05-27T05:25:21Z")

</div>

I’m using proxy\_store to act as a frontend mirror/cache to amazon s3 for my sites photos. Response times are slow, iotop reports ~10-15MB/s being written to disk by nginx. The website implements a ‘latest’ feature,…

---

## [OT : SQLite or another database engine with a small application?](https://www.ruby-forum.com/t/ot-sqlite-or-another-database-engine-with-a-small-application/165833)

<div class="topic-metadata">

**Author:** [@cesarstafe](https://www.ruby-forum.com/u/cesarstafe)\
**Replies:** 3\
**Last updated:** [April 20, 2009, 11:01am UTC](https://www.ruby-forum.com/t/ot-sqlite-or-another-database-engine-with-a-small-application/165833 "2009-04-20T11:01:58Z")

</div>

People, I have been thinking at this for long time and I do not know if SQLite is sufficient for my application. I developed an inventory system in Rails -v 2.2.2 and I do not know if SQLite is the best choice or if …

---

## [Has\_many :through, expects "through" model to be belongs\_to](https://www.ruby-forum.com/t/has-many-through-expects-through-model-to-be-belongs-to/161640)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 0\
**Last updated:** [February 28, 2009, 7:20am UTC](https://www.ruby-forum.com/t/has-many-through-expects-through-model-to-be-belongs-to/161640 "2009-02-28T07:20:46Z")

</div>

Hi, I’m using has\_many and through relationship between two models Profile and User Profile.rb has\_and\_belongs\_to\_many :users belongs\_to :community User.rb has\_and\_belongs\_to\_many :profiles has\_many :communities, :…

---

## [Secure but elegant destruction method](https://www.ruby-forum.com/t/secure-but-elegant-destruction-method/161336)

<div class="topic-metadata">

**Author:** [@vahagn](https://www.ruby-forum.com/u/vahagn)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 1:14pm UTC](https://www.ruby-forum.com/t/secure-but-elegant-destruction-method/161336 "2009-02-26T13:14:01Z")

</div>

Hi,- I am looking for a clean and secure way for an ActiveRecord instance to delete itself. Say I have a User model in my app. Then the destructive action would be /users/user\_id/destroy. If this action is not secured…

---

## [Undefined method \`table\_name' for REXML::Comment:Class](https://www.ruby-forum.com/t/undefined-method-table-name-for-rexml-class/149612)

<div class="topic-metadata">

**Author:** [@neetinforum](https://www.ruby-forum.com/u/neetinforum)\
**Replies:** 3\
**Last updated:** [January 23, 2009, 5:42pm UTC](https://www.ruby-forum.com/t/undefined-method-table-name-for-rexml-class/149612 "2009-01-23T17:42:39Z")

</div>

i am using rexml and try to find id from Comment table i got the error my code is like this… XPath.each(new\_article, ‘comments’) do |comments| XPath.each(comments, ‘comment’) do |new\_comment| c\_oldid = XmlMigratedDa…

---

## [User + author in one model or not](https://www.ruby-forum.com/t/user-author-in-one-model-or-not/155674)

<div class="topic-metadata">

**Author:** [@golf](https://www.ruby-forum.com/u/golf)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/user-author-in-one-model-or-not/155674 "2008-12-15T16:44:00Z")

</div>

Hi everybody, I am building some kind of social networking web. I have implemented user registration and now I would like to add another type of registration (authors). I dont know whether to keep the registration si…

---

## [Removing row from a table using link\_to\_remote](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 3\
**Last updated:** [November 6, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/removing-row-from-a-table-using-link-to-remote/152639 "2008-11-06T15:22:34Z")

</div>

i have a table of values that are presented in a regular html table. what i would like to do is: when DELETE is selected in a row, use link\_to\_remote to do some processing on the selected record… once this data is is…

---

## [Setting session id for first visit](https://www.ruby-forum.com/t/setting-session-id-for-first-visit/151536)

<div class="topic-metadata">

**Author:** [@gwgeller](https://www.ruby-forum.com/u/gwgeller)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/setting-session-id-for-first-visit/151536 "2008-10-22T18:40:39Z")

</div>

I am logging web visits with a before\_filter on the application controller. The issue I’m having is that the initial visit does not return a session id. I’m using the SqlSessionStore and the function MysqlSession.find…

---

## [Question regarding sub!()](https://www.ruby-forum.com/t/question-regarding-sub/150177)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 3\
**Last updated:** [October 5, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/question-regarding-sub/150177 "2008-10-05T13:34:21Z")

</div>

Hi, Please excuse the newbie question, but I am confused by something I see with sub!() (this seems to be true with other “!” operations as well): irb(main):001:0\> string1 = “hello” =\> “hello” irb(main):002:0\> stri…

---

## [Save http response file attachment](https://www.ruby-forum.com/t/save-http-response-file-attachment/149633)

<div class="topic-metadata">

**Author:** [@twerth](https://www.ruby-forum.com/u/twerth)\
**Replies:** 0\
**Last updated:** [September 27, 2008, 12:59am UTC](https://www.ruby-forum.com/t/save-http-response-file-attachment/149633 "2008-09-27T00:59:46Z")

</div>

I’m looking for some samples on saving off an attached file from a response to an HTTPS Post. Here’s what I got so far. I was hoping that read\_body would be able to use the block keep pulling the data but all I get …

---

## [Executable ruby](https://www.ruby-forum.com/t/executable-ruby/146736)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 3\
**Last updated:** [August 25, 2008, 2:37am UTC](https://www.ruby-forum.com/t/executable-ruby/146736 "2008-08-25T02:37:50Z")

</div>

hi all I am trying to make the ruby Hello.rb executable in mac os X this is the Hello.rb #!/usr/bin/ruby print “Hello World” chmod +x Hello.rb whe I type: Hello.rb I get the following error: tcsh: Hello.rb: Comma…

---

## [Theory Question](https://www.ruby-forum.com/t/theory-question/146284)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 3\
**Last updated:** [August 21, 2008, 12:11pm UTC](https://www.ruby-forum.com/t/theory-question/146284 "2008-08-21T12:11:45Z")

</div>

I have a scenario where there is list of things (a list of chores for example) that have two parts, task and description. On an ongoing basis we assign a group of chores to people. Each assigned chore can be tweaked –…

---

## [Searching for an existant entry in the Model](https://www.ruby-forum.com/t/searching-for-an-existant-entry-in-the-model/143403)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 3\
**Last updated:** [July 18, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/searching-for-an-existant-entry-in-the-model/143403 "2008-07-18T21:46:35Z")

</div>

Hi, I have a form for two models, a Requirement has\_many Posts @requirement = Requirement.new(params\[:requirement\]) @post = @requirement.posts.build(params\[:post\]) That’s what I have so far to save the requirement. I c…

---

## [Stampare una stringa dopo 15 secondi](https://www.ruby-forum.com/t/stampare-una-stringa-dopo-15-secondi/141487)

<div class="topic-metadata">

**Author:** [@rasitux](https://www.ruby-forum.com/u/rasitux)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 11:05am UTC](https://www.ruby-forum.com/t/stampare-una-stringa-dopo-15-secondi/141487 "2008-06-26T11:05:02Z")

</div>

Sapete per caso come si fa a stampare un stringa dopo qualche secondo? in pratica io vorrei che dopo 15 che abbia scritto un nome a caso mi appaia una scritta. si puo fare?

---

## [Nginx status output](https://www.ruby-forum.com/t/nginx-status-output/137425)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 2:31am UTC](https://www.ruby-forum.com/t/nginx-status-output/137425 "2008-05-14T02:31:02Z")

</div>

Active connections: 6 server accepts handled requests 1161356 1161356 1160523 Reading: 2 Writing: 4 Waiting: 0 What are those 3 numbers? server accepts handled requests ?

---

## [Ayuda por favor](https://www.ruby-forum.com/t/ayuda-por-favor/134446)

<div class="topic-metadata">

**Author:** [@wilian](https://www.ruby-forum.com/u/wilian)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/ayuda-por-favor/134446 "2008-04-10T23:05:02Z")

</div>

Bueno, mil disculpas por lo del texto de esa manera. Mira la cuestion es que en mi log no hay errores pero no se por que no se me carga con apache. La cuestion es que cuando lo hago correr con el servidor del WEBrick …

---

## [RESTful updates, redirects and context](https://www.ruby-forum.com/t/restful-updates-redirects-and-context/133551)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 3\
**Last updated:** [April 2, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/restful-updates-redirects-and-context/133551 "2008-04-02T18:52:31Z")

</div>

Dear group, Currently I am working on (surprise, surprise) a webshop with a shopping cart. Now I really like the whole REST thing but I constantly run into the same problem. As a user I am browsing the site and add p…

---

## [Autenticazione utente con vari privilegi](https://www.ruby-forum.com/t/autenticazione-utente-con-vari-privilegi/132997)

<div class="topic-metadata">

**Author:** [@menestra](https://www.ruby-forum.com/u/menestra)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/autenticazione-utente-con-vari-privilegi/132997 "2008-03-26T18:08:16Z")

</div>

Ciao ragazzi, ho letto qualche post a riguardo ma mi sembra un pÃ² datato nel tempo. Secondo voi quale il miglior modo per descrivere e Users-Groups-Roles, quali plugin avete utilizzato e quali preferite? Utilizzare …

---

## [+ redcloth 3.274 gems (win32 and src)](https://www.ruby-forum.com/t/redcloth-3-274-gems-win32-and-src/132196)

<div class="topic-metadata">

**Author:** [@why\_the\_lucky\_stiff](https://www.ruby-forum.com/u/why_the_lucky_stiff)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/redcloth-3-274-gems-win32-and-src/132196 "2008-03-17T20:28:50Z")

</div>

Okay, you can get some gems of the latest: gem install RedCloth --source http://code.whytheluckystiff.net Don’t take these as a decision on how Jason should name or package the RedCloth 4 gem, this is just to get the …

---

## [Refreshing a page gives a "stack level too deep" error](https://www.ruby-forum.com/t/refreshing-a-page-gives-a-stack-level-too-deep-error/131829)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/refreshing-a-page-gives-a-stack-level-too-deep-error/131829 "2008-03-13T17:55:53Z")

</div>

I’m converting our app into restful rails. A couple of my classes (Resource and Asset) have a has\_many relationship with each other - here’s the routes: map.resources :assets, :has\_many=\>\[:resources\] map.resources :…

---

## [How to DRY REST admin path in URLs?](https://www.ruby-forum.com/t/how-to-dry-rest-admin-path-in-urls/130558)

<div class="topic-metadata">

**Author:** [@yannis](https://www.ruby-forum.com/u/yannis)\
**Replies:** 3\
**Last updated:** [February 29, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/how-to-dry-rest-admin-path-in-urls/130558 "2008-02-29T14:15:16Z")

</div>

Hi everyone… For almost all of my objects I put a series of classic REST admin links in views. For example, for a ‘user’, I have \<%= link\_to “Show”, user\_path(user) %\> \<%= link\_to “Edit”, edit\_user\_path(user) %\> \<%=…

---

## [Collabora con HTML.it, per divulgare Ruby](https://www.ruby-forum.com/t/collabora-con-html-it-per-divulgare-ruby/130200)

<div class="topic-metadata">

**Author:** [@martignoni-a](https://www.ruby-forum.com/u/martignoni-a)\
**Replies:** 3\
**Last updated:** [February 27, 2008, 9:40am UTC](https://www.ruby-forum.com/t/collabora-con-html-it-per-divulgare-ruby/130200 "2008-02-27T09:40:36Z")

</div>

Salve a tutti, Come annunciato da Simone C., HTML.it sta per lanciare un nuovo sito tematico interamente dedicato a Ruby e Rails. Il sito conterrÃ guide, articoli di approfondimento, una FAQ, una sezione di snippet e …

---

## [Configure routes.rb](https://www.ruby-forum.com/t/configure-routes-rb/126997)

<div class="topic-metadata">

**Author:** [@TheDuckman](https://www.ruby-forum.com/u/TheDuckman)\
**Replies:** 3\
**Last updated:** [January 24, 2008, 5:46am UTC](https://www.ruby-forum.com/t/configure-routes-rb/126997 "2008-01-24T05:46:03Z")

</div>

Just wondering if this is possible and how to configure routes.rb Let’s say in routes.rb I have: map.resources :products this would allow me to use: new\_product\_path and the url would be /product/new edit\_product\_pa…

---

## [Counting Cards (#152)](https://www.ruby-forum.com/t/counting-cards-152/126397)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 3\
**Last updated:** [January 18, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/counting-cards-152/126397 "2008-01-18T13:15:10Z")

</div>

Denis H. put it very well when explained that there are two challenges to this quiz. The first was to implement a card counter. That’s the easy bit. Here’s the library Denis submitted for counting cards: CARDS = %…

---

## [Not catching my exception](https://www.ruby-forum.com/t/not-catching-my-exception/126224)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [January 16, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/not-catching-my-exception/126224 "2008-01-16T19:06:59Z")

</div>

Hello begin if(nil|pattern.match(details)) then id=$1 rec=Scans.find(id) rec.scannable=MARKTRUE rec.save else badpattern=true end rescue RecordNotFound badpattern=true end I still get the prog stopping and p…

---

## [Getting params from one view into another](https://www.ruby-forum.com/t/getting-params-from-one-view-into-another/125815)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 3\
**Last updated:** [January 12, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/getting-params-from-one-view-into-another/125815 "2008-01-12T18:44:11Z")

</div>

Hi Ruby Forum, I have a situation that I have never run into before. I need to pass a param from one view into a different section of my controller. I’m having a bit of trouble passing a variable from my view into ano…

---

## [AJAX + degradable way to delete an record](https://www.ruby-forum.com/t/ajax-degradable-way-to-delete-an-record/125436)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 10, 2008, 8:05am UTC](https://www.ruby-forum.com/t/ajax-degradable-way-to-delete-an-record/125436 "2008-01-10T08:05:36Z")

</div>

Hi all! So, following the guides on the depot app, you learn that a good way to create ‘Delete’ links for records is using link\_to and the :method =\> post so that the request is sent as POST instead of GET, thus not …

---

## [Destructor not guaranteed in m-blocks?](https://www.ruby-forum.com/t/destructor-not-guaranteed-in-m-blocks/125529)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 3\
**Last updated:** [January 10, 2008, 12:00am UTC](https://www.ruby-forum.com/t/destructor-not-guaranteed-in-m-blocks/125529 "2008-01-10T00:00:57Z")

</div>

Hi all, Is the destructor of classes instantiated in m-blocks not guaranteed when using shutdown\_all()? George

---

## [Simple has\_many :through question](https://www.ruby-forum.com/t/simple-has-many-through-question/123689)

<div class="topic-metadata">

**Author:** [@JonathanB](https://www.ruby-forum.com/u/JonathanB)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/simple-has-many-through-question/123689 "2007-12-19T21:05:45Z")

</div>

Ok, I have 2 very simple has\_many :through associations I need to create and, despite bashing my brain and my computer against this problem repeatedly for 2 days, I cannot figure out what I am doing wrong as I cannot …

---

## [Why I can't update data, but I can insert data into new mode](https://www.ruby-forum.com/t/why-i-cant-update-data-but-i-can-insert-data-into-new-mode/117753)

<div class="topic-metadata">

**Author:** [@zlai](https://www.ruby-forum.com/u/zlai)\
**Replies:** 3\
**Last updated:** [October 20, 2007, 1:50am UTC](https://www.ruby-forum.com/t/why-i-cant-update-data-but-i-can-insert-data-into-new-mode/117753 "2007-10-20T01:50:27Z")

</div>

why I can’t update data, but I can insert data into new model. like this: if File.find\_by\_id(id) file=File.find\_by\_id(id) else file=File.new file.name=name file.save there is a problem, when there don’t find id, …

---

## [Testing - Network Layer Fault Injection in Ruby](https://www.ruby-forum.com/t/testing-network-layer-fault-injection-in-ruby/117218)

<div class="topic-metadata">

**Author:** [@axees335](https://www.ruby-forum.com/u/axees335)\
**Replies:** 3\
**Last updated:** [October 15, 2007, 2:28am UTC](https://www.ruby-forum.com/t/testing-network-layer-fault-injection-in-ruby/117218 "2007-10-15T02:28:02Z")

</div>

Hi all, I’ve yet to find something that fills this hole in my test cases. Does anyone do this, and if so, what tools do they use? Thanks, James.

---

## [Uploading images](https://www.ruby-forum.com/t/uploading-images/115950)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 12:40pm UTC](https://www.ruby-forum.com/t/uploading-images/115950 "2007-10-01T12:40:28Z")

</div>

I am building an e-commerce site and would like to give my users the ability to upload images. What is the best way to do this? What other features should I offer in uploading images? image manipulation…etc.?

---

## [Block parameter complete?](https://www.ruby-forum.com/t/block-parameter-complete/107727)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/block-parameter-complete/107727 "2007-09-25T23:04:31Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!%V%m%C%/%Q%i%a!\<%?$K$D$$$F!"\<+J,$,GD0.$7$F$$$kJ,$K$D$$$F$O\<Be(B e$BAu$7$^$7$?!#$J$s$+H4$1$,$"$C$?$i65$($F$/$@$5$$!#e(B e$B!!e(B1.8 e$B$H$NAj0cE@$O!"$?$V$s$3$s$J$H$3$m$G$9!'e(B e$B!&J#?t0z?t$…

---

## [Eager Loading](https://www.ruby-forum.com/t/eager-loading/112658)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 22, 2007, 7:06am UTC](https://www.ruby-forum.com/t/eager-loading/112658 "2007-08-22T07:06:34Z")

</div>

is there a way to always eagerly load an associated object so that you don’t have to put :include into every finder? class Product \<ActiveRecord::Base belongs\_to :user #always load user when product is loaded end Pr…

---

## [Fastcgi issue on production](https://www.ruby-forum.com/t/fastcgi-issue-on-production/112473)

<div class="topic-metadata">

**Author:** [@Brien](https://www.ruby-forum.com/u/Brien)\
**Replies:** 3\
**Last updated:** [August 20, 2007, 8:18am UTC](https://www.ruby-forum.com/t/fastcgi-issue-on-production/112473 "2007-08-20T08:18:48Z")

</div>

I just deployed my rails app to my production server. It’s all working locally, but when I switched it over to the production server (at dreamhost) I get this error: Logfile created on Sun Aug 19 15:22:48 -0700 2007 b…

---

## [Subversion & multiple developers how to manage files?](https://www.ruby-forum.com/t/subversion-multiple-developers-how-to-manage-files/112342)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 3\
**Last updated:** [August 18, 2007, 11:56am UTC](https://www.ruby-forum.com/t/subversion-multiple-developers-how-to-manage-files/112342 "2007-08-18T11:56:40Z")

</div>

Hi We are using eclipse as a common IDE for developing a rails project using radrails. Developers work on a number of differing OS’s, win xp Pro, win xp pro x64, unix (various flavours). On one unix system we have …

---

## [Validation for multiple tables](https://www.ruby-forum.com/t/validation-for-multiple-tables/225961)

<div class="topic-metadata">

**Author:** [@Jack\_W\_Jennings](https://www.ruby-forum.com/u/Jack_W_Jennings)\
**Replies:** 3\
**Last updated:** [August 3, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/validation-for-multiple-tables/225961 "2007-08-03T21:30:56Z")

</div>

I have a single for that needs to save to separate tables in my database, and create referential IDs for my has\_many and belongs\_to models (everything belongs\_to the ‘entry’). The code that I have written is below. WA…

---

## [Reading an email from an mbox file and resending to a differ](https://www.ruby-forum.com/t/reading-an-email-from-an-mbox-file-and-resending-to-a-differ/110683)

<div class="topic-metadata">

**Author:** [@jballanc](https://www.ruby-forum.com/u/jballanc)\
**Replies:** 0\
**Last updated:** [July 29, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/reading-an-email-from-an-mbox-file-and-resending-to-a-differ/110683 "2007-07-29T16:25:35Z")

</div>

Greetings, I’m trying to emulate the “Redirect” function of some email clients but am not having much success. I am sending messages with ActionMailer templates just fine so I’m pretty sure my environment is set up c…

---

## [How to conditionally replace an element using RJS template](https://www.ruby-forum.com/t/how-to-conditionally-replace-an-element-using-rjs-template/108265)

<div class="topic-metadata">

**Author:** [@mikel](https://www.ruby-forum.com/u/mikel)\
**Replies:** 3\
**Last updated:** [July 1, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/how-to-conditionally-replace-an-element-using-rjs-template/108265 "2007-07-01T13:31:14Z")

</div>

I have an RJS template that looks like this: page.replace “id\_#{@foo.id}”, :partial =\> “row” But I only want it to execute if “id\_#{@foo.id}” is an element on the current page? something like: if page.exists?(“id\_#{@…

---

## [Ruby standard library contribution?](https://www.ruby-forum.com/t/ruby-standard-library-contribution/106979)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 12:09am UTC](https://www.ruby-forum.com/t/ruby-standard-library-contribution/106979 "2007-06-19T00:09:00Z")

</div>

I’m sorry, I know I’ve asked this before, but I’ve just been googling it and I’m not sure of the answer. I just went through irb.rb, and corrected the spelling in one of the comments. No code changes at all, just obse…

---

## [Problem with REXML](https://www.ruby-forum.com/t/problem-with-rexml/104962)

<div class="topic-metadata">

**Author:** [@bigjimmyk3](https://www.ruby-forum.com/u/bigjimmyk3)\
**Replies:** 3\
**Last updated:** [May 24, 2007, 1:22pm UTC](https://www.ruby-forum.com/t/problem-with-rexml/104962 "2007-05-24T13:22:10Z")

</div>

I have a problem when reading out strings from xml documents. The problem is that special characters such as Ã¥Ã¤Ã¶ comes out wierd. When reading these characters from text files the problem doesn’t exist. Can someone…

---

## [Named\_route\_url broken in 1.2?](https://www.ruby-forum.com/t/named-route-url-broken-in-1-2/103581)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 8:25am UTC](https://www.ruby-forum.com/t/named-route-url-broken-in-1-2/103581 "2007-05-08T08:25:32Z")

</div>

Wow, I sure have wasted a lot of time trying to get my named routes to work in Rails 1.2. Everything worked fine in 1.1. I’m ready to kill whoever rewrote the routing and broke BC. My routes: #map.item ‘item/:id’, :co…

---

## [\[OT\] Who to register a domain with?](https://www.ruby-forum.com/t/ot-who-to-register-a-domain-with/85498)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 3\
**Last updated:** [February 14, 2007, 6:04am UTC](https://www.ruby-forum.com/t/ot-who-to-register-a-domain-with/85498 "2007-02-14T06:04:36Z")

</div>

Hi all, I’ve never registered a domain before. Can anyone recomend someone to service my needs :wink: Cheers

---

## [Maintaining order when I call Video.find("3", "1", "2")](https://www.ruby-forum.com/t/maintaining-order-when-i-call-video-find-3-1-2/84556)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [February 6, 2007, 12:57am UTC](https://www.ruby-forum.com/t/maintaining-order-when-i-call-video-find-3-1-2/84556 "2007-02-06T00:57:36Z")

</div>

If I call Video.find(“3”, “1”, “2”), it’ll give me all the videos but the orders will be with ids 1, 2, and 3. I want to maintain the order that I pass it in. Is there a quick easy way to do that? Either sorting in…

---

## [Fastthread-0.6.3](https://www.ruby-forum.com/t/fastthread-0-6-3/83440)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 3\
**Last updated:** [January 31, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/fastthread-0-6-3/83440 "2007-01-31T21:19:03Z")

</div>

Quick note! fastthread 0.6.3 has been released to address a minor compatibility issue with ConditionVariable – as with the original thread.rb, ConditionVariable can now be used with any mutex class implementing Mutex…

---

## [Newbie alert! Need help in extracting parameters from the po](https://www.ruby-forum.com/t/newbie-alert-need-help-in-extracting-parameters-from-the-po/83400)

<div class="topic-metadata">

**Author:** [@newtorails](https://www.ruby-forum.com/u/newtorails)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/newbie-alert-need-help-in-extracting-parameters-from-the-po/83400 "2007-01-25T19:58:44Z")

</div>

Could somebody please help me with the following? I have following browser dump from the post request which errors in my controller Parameters: {“commit”=\>“Find”, “item”=\>{“id”=\>“1”}} I want to extract parameter item…

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

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