# Top

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

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

---

## [Mongrel Randomly getting TERM](https://www.ruby-forum.com/t/mongrel-randomly-getting-term/96845)

<div class="topic-metadata">

**Author:** [@Hampton](https://www.ruby-forum.com/u/Hampton)\
**Replies:** 3\
**Last updated:** [July 2, 2006, 4:41pm UTC](https://www.ruby-forum.com/t/mongrel-randomly-getting-term/96845 "2006-07-02T16:41:32Z")

</div>

Has anyone ever experienced this problem? Every 12-24 hours one of my mongrel processes gets a TERM signal and quits. There is all I get in my mongrel log… \*\* Mongrel available at 0.0.0.0:8003 \*\* TERM signal received…

---

## [Drb test failures](https://www.ruby-forum.com/t/drb-test-failures/64123)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [June 23, 2006, 3:40am UTC](https://www.ruby-forum.com/t/drb-test-failures/64123 "2006-06-23T03:40:42Z")

</div>

e$B$5$F!“e(B"abc”\[3\] e$B$,JRIU$$$Fe(B test\_IOReader\_s\_create\_binmode(TestCSV) e$B$Ge(B timeout e$B$9$k$N$,e(B e$BD\>$C$?7k2L!"\<!$K=P$F$-$?LdBj$Oe(B drb e$B$G$9!#e(B http://www.rubyist.net/~akr/chkbuild/debian-sarge/rub…

---

## [Integrate with php-script](https://www.ruby-forum.com/t/integrate-with-php-script/61115)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 3\
**Last updated:** [June 6, 2006, 12:51pm UTC](https://www.ruby-forum.com/t/integrate-with-php-script/61115 "2006-06-06T12:51:50Z")

</div>

I have built a webshop in rails, now it’s time for invoice handling through a third party. The communication will be done by xml-rpc. The built in ruby xml-rpc doesnt seem to be compatible with the third party so I ha…

---

## [First try with lighttpd](https://www.ruby-forum.com/t/first-try-with-lighttpd/61179)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 3\
**Last updated:** [May 21, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/first-try-with-lighttpd/61179 "2006-05-21T21:12:53Z")

</div>

Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd …

---

## [Permission denied creating ruby sessions](https://www.ruby-forum.com/t/permission-denied-creating-ruby-sessions/56617)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 5:35am UTC](https://www.ruby-forum.com/t/permission-denied-creating-ruby-sessions/56617 "2006-05-10T05:35:27Z")

</div>

My code was working, and I upgraded to Rails 1.1, and it seemed to be working after that, but then I suddenly started seeing the following error: Permission denied - /home/will/office/public/…/config/…/tmp/sessions//…

---

## [Drop downs](https://www.ruby-forum.com/t/drop-downs/94246)

<div class="topic-metadata">

**Author:** [@bcnice99](https://www.ruby-forum.com/u/bcnice99)\
**Replies:** 3\
**Last updated:** [April 27, 2006, 4:24am UTC](https://www.ruby-forum.com/t/drop-downs/94246 "2006-04-27T04:24:58Z")

</div>

I’m having trouble getting a second drop down populated based on the value from the first drop down. I’ve tried following some of the examples posted, but haven’t had any success. I’m new to RoR so any help would be a…

---

## [Slow-down with Capistrano?](https://www.ruby-forum.com/t/slow-down-with-capistrano/93983)

<div class="topic-metadata">

**Author:** [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/slow-down-with-capistrano/93983 "2006-04-19T15:45:14Z")

</div>

This could be entirely my imagination, but it feels like my apps are ever so slightly less responsive after deploying with Capistrano. Is that even possible?

---

## [Updateform with a has\_many relationship?](https://www.ruby-forum.com/t/updateform-with-a-has-many-relationship/57805)

<div class="topic-metadata">

**Author:** [@Gerard\_de\_Brieder](https://www.ruby-forum.com/u/Gerard_de_Brieder)\
**Replies:** 3\
**Last updated:** [April 17, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/updateform-with-a-has-many-relationship/57805 "2006-04-17T22:22:03Z")

</div>

Hello all, I would like to be able to update the “amount” of a certain item in me order list. The problem I run into is how to define the text\_field element. @order is the current order, which has\_many :order\_item wh…

---

## [Determine image width of png, gif or jpg?](https://www.ruby-forum.com/t/determine-image-width-of-png-gif-or-jpg/56582)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [April 5, 2006, 10:18am UTC](https://www.ruby-forum.com/t/determine-image-width-of-png-gif-or-jpg/56582 "2006-04-05T10:18:45Z")

</div>

Hi all In PHP I have a neat function: http://ch2.php.net/function.getimagesize With it I can easily determine the dimensions of an image file. How can I do that in RoR? Thanks for help. Greets, Josh

---

## [Mongrel on AIX](https://www.ruby-forum.com/t/mongrel-on-aix/93525)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 4:53pm UTC](https://www.ruby-forum.com/t/mongrel-on-aix/93525 "2006-04-04T16:53:35Z")

</div>

Trying to get fcgi and apache to play nicely on AIX has turned nasty, so I’m switching my hopes to mongrel for a solution. I’ve managed to get all the gems and dependancies and everything set up, Or think I have. Ther…

---

## [RJS templates outputting bloated code?](https://www.ruby-forum.com/t/rjs-templates-outputting-bloated-code/56549)

<div class="topic-metadata">

**Author:** [@Yariv\_S](https://www.ruby-forum.com/u/Yariv_S)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 1:07am UTC](https://www.ruby-forum.com/t/rjs-templates-outputting-bloated-code/56549 "2006-04-01T01:07:30Z")

</div>

I’m an RJS newbie. I just did the tutorial at http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and then used wget to look at the output the RJS template generates. This is what I got: try { new Ins…

---

## [Self-referential join model does not work](https://www.ruby-forum.com/t/self-referential-join-model-does-not-work/54903)

<div class="topic-metadata">

**Author:** [@marcora](https://www.ruby-forum.com/u/marcora)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/self-referential-join-model-does-not-work/54903 "2006-03-29T18:47:21Z")

</div>

I have been trying to model a labeled graph using ActiveRecord (trunk version). Basically, I have a ‘Node’ model which represents a node linking to other nodes. Links (aka edges) are labeled (i.e., have a ‘label’ att…

---

## [Problem updating mulitple divs with ajax](https://www.ruby-forum.com/t/problem-updating-mulitple-divs-with-ajax/80378)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [March 14, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/problem-updating-mulitple-divs-with-ajax/80378 "2006-03-14T17:17:24Z")

</div>

i’m having some issues updating multiple divs via ajax. perhaps someone can lend some assistance. i’ve got 2 divs: user\_list and user\_form. when a person clicks the “edit this user” or “add new user” link the user…

---

## [SwitchTower: Two development environments](https://www.ruby-forum.com/t/switchtower-two-development-environments/75351)

<div class="topic-metadata">

**Author:** [@lopmx](https://www.ruby-forum.com/u/lopmx)\
**Replies:** 3\
**Last updated:** [March 1, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/switchtower-two-development-environments/75351 "2006-03-01T20:20:54Z")

</div>

Hi I have a problem here. I am developing an application which has a local development environment (on my harddisk), a second one for my customer (for testing new features) and a production environment which runs act…

---

## [Getting Rid of Accidental Controller](https://www.ruby-forum.com/t/getting-rid-of-accidental-controller/63571)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/getting-rid-of-accidental-controller/63571 "2006-01-20T23:27:10Z")

</div>

I accidentally created a controller with the wrong name. Obviously I don’t want to have this useless controller hanging around - is there a prescribed way to delete the controller or can I just delete the controller …

---

## [Any one know this problem?](https://www.ruby-forum.com/t/any-one-know-this-problem/52856)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 1:12am UTC](https://www.ruby-forum.com/t/any-one-know-this-problem/52856 "2006-01-20T01:12:33Z")

</div>

i install ruby-1.8.4, seems everything is ok but, when i do this: irb(main):001:0\> require ‘URI’ LoadError: no such file to load – URI from (irb):1:in \`require’ from (irb):1 is something i missed?

---

## [Scaffolding - disabling Create, Edit, Destroy for some user](https://www.ruby-forum.com/t/scaffolding-disabling-create-edit-destroy-for-some-user/60654)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 2:19am UTC](https://www.ruby-forum.com/t/scaffolding-disabling-create-edit-destroy-for-some-user/60654 "2006-01-10T02:19:47Z")

</div>

People, I am using: before\_filter :login\_required in my Controllers and this works fine. For some tables I am happy to use the output of eg: ruby script/generate scaffold Author but is there some way that I can di…

---

## [ANN: new rails site/RoR praise](https://www.ruby-forum.com/t/ann-new-rails-site-ror-praise/51534)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 3\
**Last updated:** [January 2, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/ann-new-rails-site-ror-praise/51534 "2006-01-02T23:33:40Z")

</div>

Hi, From idea to launch in less than 48 hours (those 48 hours including the new year party :wink: , rails once again showed its effectiveness. Last friday I read the news about a guy who sold a million pixels for 1…

---

## [Understanding session fixation attacks](https://www.ruby-forum.com/t/understanding-session-fixation-attacks/54314)

<div class="topic-metadata">

**Author:** [@Onur\_T](https://www.ruby-forum.com/u/Onur_T)\
**Replies:** 3\
**Last updated:** [December 26, 2005, 6:23am UTC](https://www.ruby-forum.com/t/understanding-session-fixation-attacks/54314 "2005-12-26T06:23:22Z")

</div>

is there a way that, our application can understand wheteher the session id sent from the browser is forged or created by rails? I understand that if the attacker guesses session id, theres nothing we can do about it…

---

## [Unable to call method in same class](https://www.ruby-forum.com/t/unable-to-call-method-in-same-class/97190)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 3\
**Last updated:** [December 11, 2005, 6:33pm UTC](https://www.ruby-forum.com/t/unable-to-call-method-in-same-class/97190 "2005-12-11T18:33:26Z")

</div>

Hi, I have the following two methods in my class: def self.decrease\_credits(amount, user\_id) user = User.find(user\_id) company = Company.find(user.company\_id) credits\_new\_saldo = company.credits - amount company.up…

---

## [One Liner Please](https://www.ruby-forum.com/t/one-liner-please/93853)

<div class="topic-metadata">

**Author:** [@leonleslie](https://www.ruby-forum.com/u/leonleslie)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/one-liner-please/93853 "2005-11-12T12:49:47Z")

</div>

Hi Railers, I have the following code which attempts to find missing years in a list of active records. It creates a range of years for which filing documents are required. Then deletes all the years for which there …

---

## [Profile data](https://www.ruby-forum.com/t/profile-data/215422)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 4, 2012, 2:10am UTC](https://www.ruby-forum.com/t/profile-data/215422 "2012-01-04T02:10:19Z")

</div>

Decided this evening to grab some quick profile data for a uhd\_fft.py, running at 50Msps from a USRP2. The kernel was occupied 41% of the time–no great surprise. Handling interrupts, doing the network stack “stuff”. …

---

## [Logical operator ||](https://www.ruby-forum.com/t/logical-operator/213905)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 29, 2011, 9:43am UTC](https://www.ruby-forum.com/t/logical-operator/213905 "2011-12-29T09:43:26Z")

</div>

Ey guys. Look at this: a = “mom” if a == ( “dad” || “mom” ) puts “Hi” end Very simple. I saw a kind of this exercise in a book that I’m studing( yes…I’m noob in this ), and I gave it by understood, but now when I’m …

---

## [Recommended SOAP library](https://www.ruby-forum.com/t/recommended-soap-library/212604)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 12, 2011, 4:43am UTC](https://www.ruby-forum.com/t/recommended-soap-library/212604 "2011-10-12T04:43:50Z")

</div>

Hi guys, I have to deal with SOAP web services. I’ve been googleing around a bit, and I can see 3 major topics: Savon, 'soap/wsdlDriver and SOAP4R. All points that Savon is the one, but I just wanted to be sure. Doe…

---

## [How to merge routing constraints based on objects?](https://www.ruby-forum.com/t/how-to-merge-routing-constraints-based-on-objects/211774)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 13, 2011, 2:56pm UTC](https://www.ruby-forum.com/t/how-to-merge-routing-constraints-based-on-objects/211774 "2011-09-13T14:56:07Z")

</div>

Hi, I’ve got routes similar to this: scope :constraints =\> Subdomain.new do root :to =\> “something#index”, :constraints =\> Authenticated.new(true) root :to =\> “other#index” end The problem is that the constraint in…

---

## [Strange view problem](https://www.ruby-forum.com/t/strange-view-problem/207299)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 23, 2011, 9:13am UTC](https://www.ruby-forum.com/t/strange-view-problem/207299 "2011-05-23T09:13:08Z")

</div>

I’m working with a Struct that I mapped from a raw sql query for a report. I finally get the search page to work and display my results, however the view when rendered not only displays the expected output; it also s…

---

## [Question about RFX2400](https://www.ruby-forum.com/t/question-about-rfx2400/201310)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 24, 2011, 8:31pm UTC](https://www.ruby-forum.com/t/question-about-rfx2400/201310 "2011-02-24T20:31:15Z")

</div>

Hi, I am testing a transceiver link in ISM band using two USRP2+RFX2400, one configured as TX and the other one as RX. I would like to test my own FPGA program, so for now I have your FPGA codes in which I only change…

---

## [AutoComplete (auto\_complete\_for)](https://www.ruby-forum.com/t/autocomplete-auto-complete-for/194990)

<div class="topic-metadata">

**Author:** [@luke](https://www.ruby-forum.com/u/luke)\
**Replies:** 4\
**Last updated:** [September 16, 2010, 1:39pm UTC](https://www.ruby-forum.com/t/autocomplete-auto-complete-for/194990 "2010-09-16T13:39:24Z")

</div>

Where is this functionality moved to for Rails 3? I assume I’m no longer supposed to script/install this… More importantly, how should I have been able to figure this out on my own? – Luke

---

## [Ruby contractors](https://www.ruby-forum.com/t/ruby-contractors/189463)

<div class="topic-metadata">

**Author:** [@jung](https://www.ruby-forum.com/u/jung)\
**Replies:** 4\
**Last updated:** [June 2, 2010, 12:08pm UTC](https://www.ruby-forum.com/t/ruby-contractors/189463 "2010-06-02T12:08:21Z")

</div>

I apologize in advance if its not appropriate to post here. I found a pretty cool community site which aims to connect talented ruby programmers. Thought I’d voice it in case its helpful to someone: It’s a communi…

---

## [Importing config files](https://www.ruby-forum.com/t/importing-config-files/186569)

<div class="topic-metadata">

**Author:** [@dlucci](https://www.ruby-forum.com/u/dlucci)\
**Replies:** 4\
**Last updated:** [April 9, 2010, 12:05pm UTC](https://www.ruby-forum.com/t/importing-config-files/186569 "2010-04-09T12:05:38Z")

</div>

Hi everyone, I am writing a program for my research that uses configuration files. I was curious how to import these files into my ruby program. Any help would be appreciated. If it helps, I am running ruby 1.9. Ch…

---

## [Question about updating files in production / Mongrel restart](https://www.ruby-forum.com/t/question-about-updating-files-in-production-mongrel-restart/178572)

<div class="topic-metadata">

**Author:** [@MJFuzz](https://www.ruby-forum.com/u/MJFuzz)\
**Replies:** 4\
**Last updated:** [November 7, 2009, 4:34pm UTC](https://www.ruby-forum.com/t/question-about-updating-files-in-production-mongrel-restart/178572 "2009-11-07T16:34:17Z")

</div>

Hello, I just completed my first real rails application. I successfully deployed it, configured apache/mongrel clusters, etc. However, I do need to make code changes on the site often. I noticed the only time the cha…

---

## [Rendered as needed](https://www.ruby-forum.com/t/rendered-as-needed/173931)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 4\
**Last updated:** [August 18, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/rendered-as-needed/173931 "2009-08-18T20:49:52Z")

</div>

Is there a way to get a link to a partial to open in a div, which I can open with the prototype .toggle() ? What I want is to put a link on a page, which, when clicked, renders the partial in a div in that page. Howe…

---

## [RoR not responding via command line](https://www.ruby-forum.com/t/ror-not-responding-via-command-line/170304)

<div class="topic-metadata">

**Author:** [@rikki123s](https://www.ruby-forum.com/u/rikki123s)\
**Replies:** 4\
**Last updated:** [June 15, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/ror-not-responding-via-command-line/170304 "2009-06-15T20:00:58Z")

</div>

Hey all, Now here’s the problem, it is probably something simple but this problem is preventing my productivity. I have installed RoR on my xp machine, and it is now installed, however, any ruby on rails commands are…

---

## [\[JOBS\] FOSS remote monitoring system is searching for Rails developers](https://www.ruby-forum.com/t/jobs-foss-remote-monitoring-system-is-searching-for-rails-developers/163889)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/jobs-foss-remote-monitoring-system-is-searching-for-rails-developers/163889 "2009-03-25T22:39:12Z")

</div>

Hey everybody, this is my second message regarding this topic to rubyonrails-talk. My first message is from last year. There has been a lot of progress since then so I am asking again: ScopePort is a free open source…

---

## [HABTM \<\< Behavior](https://www.ruby-forum.com/t/habtm-behavior/152647)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 6, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/habtm-behavior/152647 "2008-11-06T15:45:26Z")

</div>

Lets say you have a relationship like post has and belongs to many categories. If I were to do something like the following: category \<\< post category \<\< post category \<\< post I’ve basically assigned the post to th…

---

## [Trying to use RJS, raw Try(my javascript) catch is displayed on page](https://www.ruby-forum.com/t/trying-to-use-rjs-raw-try-my-javascript-catch-is-displayed-on-page/130760)

<div class="topic-metadata">

**Author:** [@sweiss](https://www.ruby-forum.com/u/sweiss)\
**Replies:** 4\
**Last updated:** [September 23, 2008, 9:25am UTC](https://www.ruby-forum.com/t/trying-to-use-rjs-raw-try-my-javascript-catch-is-displayed-on-page/130760 "2008-09-23T09:25:07Z")

</div>

def index redirect\_to(:action =\> ‘test’) end def test render :update do |page| page \<\< ’ ’ end end mozilla just displayes the following, my function is defined in the layout and my goal is just to call this java…

---

## [Virtual host throughput](https://www.ruby-forum.com/t/virtual-host-throughput/132843)

<div class="topic-metadata">

**Author:** [@Benny\_Frishberg](https://www.ruby-forum.com/u/Benny_Frishberg)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 10:08am UTC](https://www.ruby-forum.com/t/virtual-host-throughput/132843 "2008-03-25T10:08:03Z")

</div>

Hi all, I need to find a way to get the throughput of each virtualhost. Any ideas? Benny

---

## [Unit Testing Conditional Validation](https://www.ruby-forum.com/t/unit-testing-conditional-validation/131054)

<div class="topic-metadata">

**Author:** [@sjglazer](https://www.ruby-forum.com/u/sjglazer)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/unit-testing-conditional-validation/131054 "2008-03-05T18:31:24Z")

</div>

Hi there, I have the following conditional validation in my model: validates\_presence\_of :ext\_name, :if =\> :is\_ext? def is\_ext? ext end ext is a boolean value in the database. If it is true the ext\_name need to b…

---

## [Webby 0.8.0](https://www.ruby-forum.com/t/webby-0-8-0/130544)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 1, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/webby-0-8-0/130544 "2008-03-01T20:05:24Z")

</div>

Webby version 0.8.0 (Apocalypse Cow) by Tim P. http://webby.rubyforge.org/ (the “Apocalypse Cow” release) == DESCRIPTION Webby is a super fantastic little website management system. It would be called a content man…

---

## [Link\_to ---- articles detail - basic help](https://www.ruby-forum.com/t/link-to-articles-detail-basic-help/129062)

<div class="topic-metadata">

**Author:** [@liam](https://www.ruby-forum.com/u/liam)\
**Replies:** 4\
**Last updated:** [February 14, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/link-to-articles-detail-basic-help/129062 "2008-02-14T21:03:17Z")

</div>

I have a basic blog with images - and in the index.rhtml view file I have the following: \<% @contents.each do |content| -%\> \<%= content.title %\> \<%= content.summary %\> \<%= link\_to image\_tag(content.image.publi…

---

## [Recursive array bug?](https://www.ruby-forum.com/t/recursive-array-bug/128656)

<div class="topic-metadata">

**Author:** [@steenslag](https://www.ruby-forum.com/u/steenslag)\
**Replies:** 4\
**Last updated:** [February 10, 2008, 2:00am UTC](https://www.ruby-forum.com/t/recursive-array-bug/128656 "2008-02-10T02:00:17Z")

</div>

I’ve just reinvented the recursive array. a = \["a rose is "\] a \<\< a Expecting the end of the world, or at least my ruby session, I did: a.flatten! But flatten! was just waiting for idiots like me and returned a poli…

---

## [Handling Illegal Dates When User Enters Date](https://www.ruby-forum.com/t/handling-illegal-dates-when-user-enters-date/127529)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 4\
**Last updated:** [January 30, 2008, 6:12am UTC](https://www.ruby-forum.com/t/handling-illegal-dates-when-user-enters-date/127529 "2008-01-30T06:12:57Z")

</div>

For my website when a user creates an account they have to fill out their birthdate using pulldown menus. If a user enters an illegal date the system throws an error before I even get the opportunity to validate the…

---

## [Ruby win32-process](https://www.ruby-forum.com/t/ruby-win32-process/121006)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 4\
**Last updated:** [November 22, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/ruby-win32-process/121006 "2007-11-22T16:56:18Z")

</div>

Hi guys, I’ve being using win32-utils package, more specifically win32-process. I’ve used it windows XP but now I’ve some servers running Windows Server 2008, and when I execute the require ‘win32/process’ I get the…

---

## [Quick Guide for Ruby Programming](https://www.ruby-forum.com/t/quick-guide-for-ruby-programming/119804)

<div class="topic-metadata">

**Author:** [@Waleed\_H](https://www.ruby-forum.com/u/Waleed_H)\
**Replies:** 4\
**Last updated:** [November 12, 2007, 7:26am UTC](https://www.ruby-forum.com/t/quick-guide-for-ruby-programming/119804 "2007-11-12T07:26:29Z")

</div>

Hello All, I am looking for some websites and links to find quick ruby guide, I worked on Perl and Bash. if you have useful links or fast track books online I appreciate you for your help.

---

## [Dbase query performance vs. iterating over large result arra](https://www.ruby-forum.com/t/dbase-query-performance-vs-iterating-over-large-result-arra/110289)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 4\
**Last updated:** [July 25, 2007, 6:04pm UTC](https://www.ruby-forum.com/t/dbase-query-performance-vs-iterating-over-large-result-arra/110289 "2007-07-25T18:04:17Z")

</div>

Hello Folks. Please excuse my beginner’s ignorance … My question regards database query performance vs. iterating over nested results in an array. In the example below, a Project has many Tasks. Tasks have a due date.…

---

## [Capitalizing words](https://www.ruby-forum.com/t/capitalizing-words/108487)

<div class="topic-metadata">

**Author:** [@raghus](https://www.ruby-forum.com/u/raghus)\
**Replies:** 4\
**Last updated:** [July 4, 2007, 5:54am UTC](https://www.ruby-forum.com/t/capitalizing-words/108487 "2007-07-04T05:54:09Z")

</div>

I am trying to write a function that converts something like “It’s a dog’s life” to “It’s A Dog’s Life”. I am doing this with string.gsub(/ \\b\\w/) {$&.upcase} but this gives me “It’S A Dog’S Life” - how can I tell the…

---

## [Ruby enums in C](https://www.ruby-forum.com/t/ruby-enums-in-c/78708)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 4\
**Last updated:** [December 8, 2006, 1:39am UTC](https://www.ruby-forum.com/t/ruby-enums-in-c/78708 "2006-12-08T01:39:33Z")

</div>

Each instance of Joe has a MOOD which can be HAPPY, SAD, or NEUTRAL. The Joe class is written in C. In C, what’s the appropriate way for setting MOOD to one of the appropriate values? Thanks, An instantiated Joe obj…

---

## [Duda con sintaxis \<% -%\>](https://www.ruby-forum.com/t/duda-con-sintaxis/76210)

<div class="topic-metadata">

**Author:** [@Miguel\_ESZ](https://www.ruby-forum.com/u/Miguel_ESZ)\
**Replies:** 4\
**Last updated:** [November 16, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/duda-con-sintaxis/76210 "2006-11-16T19:23:00Z")

</div>

Hola cual es el objetivo de al cerrar el tag de codigo Ror poner el signo menos ej:\<% -%\> ??? salu2 miguel\_e

---

## [One to Many help](https://www.ruby-forum.com/t/one-to-many-help/75664)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 4\
**Last updated:** [November 13, 2006, 10:28am UTC](https://www.ruby-forum.com/t/one-to-many-help/75664 "2006-11-13T10:28:51Z")

</div>

I’m new to Ruby on Rails. I have two tables defined as Table 1 - Leagues id primary key - autonum txtLeagueName Table 2 - Divisions id primary key - autonum leag…

---

## [Flash persisting for two requests](https://www.ruby-forum.com/t/flash-persisting-for-two-requests/71560)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [October 10, 2006, 9:52am UTC](https://www.ruby-forum.com/t/flash-persisting-for-two-requests/71560 "2006-10-10T09:52:02Z")

</div>

I’m developing on Mac OS X and stuff I’m sticking in flash is sticking around for two requests. For example: /foo \<- sets flash\[:notice\] /bar \<- flash\[:notice\] is displayed on /baz \<- flash\[:notice\] is also displayed…

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

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