# Top

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

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

---

## [How to use set\_primary\_key?](https://www.ruby-forum.com/t/how-to-use-set-primary-key/156219)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 3\
**Last updated:** [December 24, 2008, 5:11am UTC](https://www.ruby-forum.com/t/how-to-use-set-primary-key/156219 "2008-12-24T05:11:12Z")

</div>

We are trying to use set\_primary\_key to cause an existing rails db to use a different primary key. This works find for accessing existing data, but gives an error when we try to add a new record, as it seems to still …

---

## [Testing for ruby 1.9 in extension code](https://www.ruby-forum.com/t/testing-for-ruby-1-9-in-extension-code/153042)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 3\
**Last updated:** [November 12, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/testing-for-ruby-1-9-in-extension-code/153042 "2008-11-12T16:40:08Z")

</div>

Hi In C extension code, what’s the canonical way to test whether the ruby being compiled against is 1.8 or 1.9? I’ve been using ways like #ifdef RUBY\_RUBY\_H … 1.9 code #endif But this seems accidental. However I d…

---

## [Frustrrated - Simple Drop Down](https://www.ruby-forum.com/t/frustrrated-simple-drop-down/135665)

<div class="topic-metadata">

**Author:** [@rushnosh](https://www.ruby-forum.com/u/rushnosh)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 2:40am UTC](https://www.ruby-forum.com/t/frustrrated-simple-drop-down/135665 "2008-04-24T02:40:30Z")

</div>

i have an array @item = \[ \[name1, value1\] \[name2, value2\] \[name3, value4\] \] which comes from the controller i want to put this into a drop down menu where the item chosen goes to :enter\_by i also need to go back to …

---

## [Consuming .Net Web Services?](https://www.ruby-forum.com/t/consuming-net-web-services/132273)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 3\
**Last updated:** [March 18, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/consuming-net-web-services/132273 "2008-03-18T18:20:28Z")

</div>

Ok… Anyone have any experience with .NET webservices? We have a site that we’re re-doing in Rails, that was done in .NET, and there’s a desktop application to it that we want to keep using for awhile during the switc…

---

## [\[ANN\] Resurrection of the Login Engine](https://www.ruby-forum.com/t/ann-resurrection-of-the-login-engine/125542)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 0\
**Last updated:** [January 10, 2008, 1:15am UTC](https://www.ruby-forum.com/t/ann-resurrection-of-the-login-engine/125542 "2008-01-10T01:15:49Z")

</div>

I have posted some code that is an attempt to resurrect the Login Engine after it’s death about a year ago\[1\]. You can find it in the following two plugins: http://loginui.rubyforge.org/ http://authentication.rubyfor…

---

## [Procesar pagos con tarjeta de crÃ©dito](https://www.ruby-forum.com/t/procesar-pagos-con-tarjeta-de-cra-dito/119441)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 3\
**Last updated:** [November 7, 2007, 12:27pm UTC](https://www.ruby-forum.com/t/procesar-pagos-con-tarjeta-de-cra-dito/119441 "2007-11-07T12:27:15Z")

</div>

Me encuentro ante la necesidad de realizar pagos mediante la pasarela de 4B, he estado mirando active merchant pero por lo que veo solo acepta sistemas de USA, GB, Canada i algun otro paÃ­s, pero no EspaÃ±a. Ya habÃ­a…

---

## [Codegolf: Pascal's Triangle](https://www.ruby-forum.com/t/codegolf-pascals-triangle/83362)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/codegolf-pascals-triangle/83362 "2007-09-25T22:37:16Z")

</div>

Hi all! I’ve been quite addicted to www.codegolf.com for a while and I’m trying to skim down my Pascal’s Triangle program. The challenge description is here: http://codegolf.com/pascals-triangle. I’m currently at 84 b…

---

## [Different decimation rates on one USRP](https://www.ruby-forum.com/t/different-decimation-rates-on-one-usrp/113742)

<div class="topic-metadata">

**Author:** [@Brent\_MSLedvina](https://www.ruby-forum.com/u/Brent_MSLedvina)\
**Replies:** 3\
**Last updated:** [September 4, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/different-decimation-rates-on-one-usrp/113742 "2007-09-04T23:10:37Z")

</div>

Hi, I am running into a USB bandwidth issue. I’m sampling data simultaneously from 2 daughter boards at a decimation rate of 10. This produces 2\*6.4 MS/s \* 4 bytes/I and Q sample = 48 MB/s. My application requires on…

---

## [Detecting the end of a text file](https://www.ruby-forum.com/t/detecting-the-end-of-a-text-file/110358)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 25, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/detecting-the-end-of-a-text-file/110358 "2007-07-25T20:21:01Z")

</div>

I’m just beginning to learn the Ruby progamming language, although I have some previous programming experience in Java. I would like to know if how I can detect the end of a file when parsing a text file in Ruby. I do…

---

## [Deleting ALL info for a user in many tables?](https://www.ruby-forum.com/t/deleting-all-info-for-a-user-in-many-tables/109556)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [July 16, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/deleting-all-info-for-a-user-in-many-tables/109556 "2007-07-16T22:28:47Z")

</div>

I have this model called “User.” In the user model I have many relations hips such as: has\_many :creditcards has\_many :airlinememberships and in my airlinemembership model I have belongs\_to :user Now, what I would l…

---

## [\[BUG\] queue 0x424010 freed with live thread(s) waiting](https://www.ruby-forum.com/t/bug-queue-0x424010-freed-with-live-thread-s-waiting/89444)

<div class="topic-metadata">

**Author:** [@Masatoshi\_SEKI](https://www.ruby-forum.com/u/Masatoshi_SEKI)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 10:05am UTC](https://www.ruby-forum.com/t/bug-queue-0x424010-freed-with-live-thread-s-waiting/89444 "2007-06-20T10:05:45Z")

</div>

e$B31$H$$$$$^$9!#e(B e$B=PCY$l$F$7$^$$$^$7$?$,!"$d$C$He(Bsvne$BHG$r;n$7;O$a$^$7$?!#e(B 1.8e$B7O$N%V%i%s%A$Oe(Bruby\_1\_8e$B$G$h$$$N$G$7$?$C$1e(B? e$B\<!$N%9%/%j%W%H$N$h$&$Je(BQueuee$B$rBT$C$F$k%9%l%C%I$,$"$k\>uBV$Ge(B e$…

---

## [Sortie officielle du premier bouquin sur textmate](https://www.ruby-forum.com/t/sortie-officielle-du-premier-bouquin-sur-textmate/86807)

<div class="topic-metadata">

**Author:** [@Renaud\_Morvan](https://www.ruby-forum.com/u/Renaud_Morvan)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/sortie-officielle-du-premier-bouquin-sur-textmate/86807 "2007-03-01T15:18:21Z")

</div>

Coucou, Pour les railsters sur mac uniquement :slight\_smile: http://www.pragmaticprogrammer.com/titles/textmate/ Je l’ai commencé et si le début ne devrait pas révolutionner l’usage de textmate chez les habitués, il …

---

## [Problem with local variable in partial template](https://www.ruby-forum.com/t/problem-with-local-variable-in-partial-template/86430)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 22, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/problem-with-local-variable-in-partial-template/86430 "2007-02-22T22:44:27Z")

</div>

I am quite new at Ruby and Rails and this is stumping me: I have in my rhtml file: \<%= render(:partial =\> "owner", :collection =\> @business.owners, :locals =\> { :that\_value=\> @params\[:that\_value\] } ) %\> then in my pa…

---

## [Missing required 'path' module?](https://www.ruby-forum.com/t/missing-required-path-module/76472)

<div class="topic-metadata">

**Author:** [@Mike\_ASKenny](https://www.ruby-forum.com/u/Mike_ASKenny)\
**Replies:** 3\
**Last updated:** [November 20, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/missing-required-path-module/76472 "2006-11-20T14:45:53Z")

</div>

Hi, I hope this is the coorect list to post this type of query to. If not please let me know to where it should be directed. I am running Ubuntu 6.06 with ruby 1.8.4, rails 1.1.6 and gem 0.8.11 I have created an empt…

---

## [Url\_for , controller routing error](https://www.ruby-forum.com/t/url-for-controller-routing-error/67718)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [October 6, 2006, 8:14pm UTC](https://www.ruby-forum.com/t/url-for-controller-routing-error/67718 "2006-10-06T20:14:54Z")

</div>

I have an ‘account\_controller.rb’ in an ‘admin’ module I list the accounts with : http://0.0.0.0:3000/admin/accounts/list, and get my table trying to sort it, I use the follwoing sort\_link\_helper : def sort\_link\_h…

---

## [Trying to make things nicer](https://www.ruby-forum.com/t/trying-to-make-things-nicer/71139)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 3\
**Last updated:** [October 5, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/trying-to-make-things-nicer/71139 "2006-10-05T20:17:09Z")

</div>

I have a Project model, which has a status property. Status can either be 0, 1, 2, or 3 - and complies with the array Project.statuses = \[ :hidden, :available, :in\_progress, :complete \]. This works well in all of my a…

---

## [Reading in files, keeping \*ALL\* info from file](https://www.ruby-forum.com/t/reading-in-files-keeping-all-info-from-file/65076)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 3\
**Last updated:** [August 16, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/reading-in-files-keeping-all-info-from-file/65076 "2006-08-16T22:52:01Z")

</div>

Hi, I am trying to read in a file and parse it. It uses hex values, such as 0x0000 to identify certain tags. When I read this into Ruby(IO.read), it simply gives me a blank string: “” However, I need to be able to …

---

## [Saving to\_xml to a file](https://www.ruby-forum.com/t/saving-to-xml-to-a-file/99730)

<div class="topic-metadata">

**Author:** [@sdpurtill](https://www.ruby-forum.com/u/sdpurtill)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/saving-to-xml-to-a-file/99730 "2006-07-25T22:04:46Z")

</div>

Ok, one more question… I can dump the database to xml by doing User.to\_xml I’m wondering if I can save it to a .xml file. I’m having trouble finding documentation on this. Thanks!!

---

## [Weird forking/rejoining issue](https://www.ruby-forum.com/t/weird-forking-rejoining-issue/60797)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 3\
**Last updated:** [May 17, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/weird-forking-rejoining-issue/60797 "2006-05-17T19:18:58Z")

</div>

I’m a Unix admin at a research lab in the technion, and use (and loooove) Ruby for all kinds of useful applications I wrote for use in the lab. One of them is the Matlab Application Server, a queue/batch manager for …

---

## [Migration d'un site PHP (50K LOC) a un site Rails (5K LOC)](https://www.ruby-forum.com/t/migration-dun-site-php-50k-loc-a-un-site-rails-5k-loc/54992)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 3\
**Last updated:** [March 16, 2006, 10:46am UTC](https://www.ruby-forum.com/t/migration-dun-site-php-50k-loc-a-un-site-rails-5k-loc/54992 "2006-03-16T10:46:05Z")

</div>

Bonsoir, IntÃ©ressant retour d’expÃ©rience d’un site web communautaire originellement codÃ© en PHP (50 000 lignes de code), qui a migrÃ© vers Rails (5 000 lignes de code). Avec des jolis schemas Ã l’appui. http://po…

---

## [Probleme avec generate scaffold](https://www.ruby-forum.com/t/probleme-avec-generate-scaffold/79116)

<div class="topic-metadata">

**Author:** [@Olivier\_AUDRY](https://www.ruby-forum.com/u/Olivier_AUDRY)\
**Replies:** 3\
**Last updated:** [March 10, 2006, 10:36am UTC](https://www.ruby-forum.com/t/probleme-avec-generate-scaffold/79116 "2006-03-10T10:36:02Z")

</div>

Bonjour, je crÃ©e une table : posts par exemple. Ensuite je crÃ©e mon modÃ¨le ./script/generate models Post puis un controller ./script/generate controller Post puis je veux crÃ©er mon echaffaudage ./script/generate …

---

## [ROR setup problems with Suse + apache](https://www.ruby-forum.com/t/ror-setup-problems-with-suse-apache/52037)

<div class="topic-metadata">

**Author:** [@higazi](https://www.ruby-forum.com/u/higazi)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/ror-setup-problems-with-suse-apache/52037 "2006-01-10T16:15:40Z")

</div>

hello, I am tying to run ROR on apache 2 with suse linux 9.3, and I do not succeed with it. I set rubby und rails and all scripts are running fine. my Document root : /srv/rails/demo/public I did not setup FastCGI …

---

## [Re: Is there shape drawing tool (like PHP) in Ruby? I don't](https://www.ruby-forum.com/t/re-is-there-shape-drawing-tool-like-php-in-ruby-i-dont/48714)

<div class="topic-metadata">

**Author:** [@sskim.box](https://www.ruby-forum.com/u/sskim.box)\
**Replies:** 3\
**Last updated:** [November 23, 2005, 9:00pm UTC](https://www.ruby-forum.com/t/re-is-there-shape-drawing-tool-like-php-in-ruby-i-dont/48714 "2005-11-23T21:00:48Z")

</div>

It was a great information that it is possible to use SVG in Ruby. Thanks for that. :slight\_smile: But, I don’t want to require users to install plug-ins. And I don’t need any vector feature. What I need is a simple …

---

## [File\_column 0.3.1 with SVN repository](https://www.ruby-forum.com/t/file-column-0-3-1-with-svn-repository/72422)

<div class="topic-metadata">

**Author:** [@ol1barn3s](https://www.ruby-forum.com/u/ol1barn3s)\
**Replies:** 3\
**Last updated:** [November 19, 2005, 1:27pm UTC](https://www.ruby-forum.com/t/file-column-0-3-1-with-svn-repository/72422 "2005-11-19T13:27:01Z")

</div>

glad to be of help, thanks for the quick fix. so, I installed this update and adapted the models and views accordingly. When I try to render a view using the new url\_for\_file\_column url\_for\_file\_column(“user”, “photo…

---

## [(JOB) Ruby on Rails Developers- Strongmail , Redwood Shores, CA](https://www.ruby-forum.com/t/job-ruby-on-rails-developers-strongmail-redwood-shores-ca/201591)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 12, 2011, 10:56pm UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-developers-strongmail-redwood-shores-ca/201591 "2011-01-12T22:56:40Z")

</div>

Ruby on Rails Developers Dreaming about working on next generation products with a social media aspect where you get to truly innovate? Stop dreaming and start doing. As part of a collaborative team working on a 2 wee…

---

## [Jobs: 2x Ruby on Rails Developer â€“ DotCom Start-up, London](https://www.ruby-forum.com/t/jobs-2x-ruby-on-rails-developer-a-dotcom-start-up-london/186086)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 6\
**Last updated:** [April 7, 2010, 12:30pm UTC](https://www.ruby-forum.com/t/jobs-2x-ruby-on-rails-developer-a-dotcom-start-up-london/186086 "2010-04-07T12:30:10Z")

</div>

Hi all, here is a new Ruby on Rails opportunity I have at the moment: Anyone interested can message me. 2x Ruby on Rails Developers are required by DotCom Startup. Funded by a leading publishing company this Greenfiel…

---

## [How many worker\_process do you like?](https://www.ruby-forum.com/t/how-many-worker-process-do-you-like/185385)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 19, 2010, 8:57am UTC](https://www.ruby-forum.com/t/how-many-worker-process-do-you-like/185385 "2010-03-19T08:57:44Z")

</div>

The number of worker\_process seems to be relative with amount of CPUs? – Ren Xiaolei

---

## [How would I extract data from this hash?](https://www.ruby-forum.com/t/how-would-i-extract-data-from-this-hash/162228)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 6\
**Last updated:** [March 7, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/how-would-i-extract-data-from-this-hash/162228 "2009-03-07T13:35:35Z")

</div>

I’m trying to convert a simple: @teams = Team.all into this form: @teams\_created = { 1.day.ago =\> { :teams\_created =\> 100 }, 2.day.ago =\> { :teams\_created =\> 200 } } Know how I would do it? I’m googling for the an…

---

## [Advanced arrays](https://www.ruby-forum.com/t/advanced-arrays/153083)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 6\
**Last updated:** [November 12, 2008, 4:41am UTC](https://www.ruby-forum.com/t/advanced-arrays/153083 "2008-11-12T04:41:57Z")

</div>

Hi all, I have a quick brain teaser. I have an array full of data broken down into indivdual entries. I running a simple if statement to check for an entry in the array, if my if statement finds that entry its prints…

---

## [Count the Split up Tag values](https://www.ruby-forum.com/t/count-the-split-up-tag-values/141903)

<div class="topic-metadata">

**Author:** [@Marra](https://www.ruby-forum.com/u/Marra)\
**Replies:** 6\
**Last updated:** [July 14, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/count-the-split-up-tag-values/141903 "2008-07-14T16:57:39Z")

</div>

Hello! I have in my database the tags for a specific entry separated by commas and I’m using a SQL statement that pulls all the tags for a bunch of entries and the ruby code on the page: \<%- for notes in @tags\_sql do…

---

## [Parameter passing](https://www.ruby-forum.com/t/parameter-passing/137980)

<div class="topic-metadata">

**Author:** [@prionko](https://www.ruby-forum.com/u/prionko)\
**Replies:** 6\
**Last updated:** [May 21, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/parameter-passing/137980 "2008-05-21T12:46:04Z")

</div>

I have this 2 models in the rails application. class Project has\_many :comments class Comments belongs\_to :Project i.e in the Comment table I have column name project\_id. The model is such that for each projects th…

---

## [Problem with files comparing](https://www.ruby-forum.com/t/problem-with-files-comparing/137417)

<div class="topic-metadata">

**Author:** [@cheyne](https://www.ruby-forum.com/u/cheyne)\
**Replies:** 6\
**Last updated:** [May 13, 2008, 7:53pm UTC](https://www.ruby-forum.com/t/problem-with-files-comparing/137417 "2008-05-13T19:53:40Z")

</div>

Hi, there My problem is to compare two files in the same directory as the program does. the code is: require ‘ftools’ def fcmp from = ‘my\_log.txt’ to = ‘my\_log\_e.txt’ if compare(from,to, verbose = false) then pu…

---

## [Loading libraries and passing objects between actions](https://www.ruby-forum.com/t/loading-libraries-and-passing-objects-between-actions/136241)

<div class="topic-metadata">

**Author:** [@brownerthanu](https://www.ruby-forum.com/u/brownerthanu)\
**Replies:** 6\
**Last updated:** [April 30, 2008, 9:42pm UTC](https://www.ruby-forum.com/t/loading-libraries-and-passing-objects-between-actions/136241 "2008-04-30T21:42:14Z")

</div>

hello all, i’m starting on a rails app that will hopefully make machine maintenance much easier at my work. i have a few general questions about what approach to take in the design. for each machine the app maintain…

---

## [Refreshing the view from the controller](https://www.ruby-forum.com/t/refreshing-the-view-from-the-controller/134453)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 6\
**Last updated:** [April 11, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/refreshing-the-view-from-the-controller/134453 "2008-04-11T22:56:23Z")

</div>

Hello, I was wondering if it was possible to do this… I have a really long task that is written in the controller. I’d like to update the user viewing the webpage by printing out things like “initializing…” then afte…

---

## [\[RSC\] Ruby Social Club Milano - 30 Jan 2008](https://www.ruby-forum.com/t/rsc-ruby-social-club-milano-30-jan-2008/126930)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 6\
**Last updated:** [January 26, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/rsc-ruby-social-club-milano-30-jan-2008/126930 "2008-01-26T19:01:33Z")

</div>

On 1/21/08, Sergio ramazzina Rama removed\_email\_address@domain.invalid wrote: Chiaro Scuro wrote: Pensavamo di organizzare un RSC una sera a milano verso fine gennaio/primi di febbraio (a seconda che vogliamo o men…

---

## [P()#=\>\[\]](https://www.ruby-forum.com/t/p/110113)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 6\
**Last updated:** [August 24, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/p/110113 "2007-08-24T16:54:06Z")

</div>

e$B\>\>Hx$H$$$$$^$9!#e(B 1.9e$B$G%a%=%C%Ie(Bpe$B$NJV$jCM$,$=$N0z?t$NCM$K$J$j$^$7$?$,!"e(B rer = p p rer # =\> \[\] rer = p() p rer # =\> \[\] rer = p(()) # =\> nil p rer # =\> nil e$B0z?t$J$7$N;~e(B \[ \] e$B$rJV$9$N$O0U?^$7…

---

## [List image](https://www.ruby-forum.com/t/list-image/108537)

<div class="topic-metadata">

**Author:** [@abdulKamel](https://www.ruby-forum.com/u/abdulKamel)\
**Replies:** 6\
**Last updated:** [July 4, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/list-image/108537 "2007-07-04T16:30:18Z")

</div>

Hi, i’m trying to list an image taking the url from the DB. The code is: \<img src=’\<%= image.image\_url %\>’ width="50"height=“75”\> but it doesn’t show nothing… Can somebody help me?? thanks in advance

---

## [Has\_many/belongs\_to and DRY](https://www.ruby-forum.com/t/has-many-belongs-to-and-dry/67020)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 6\
**Last updated:** [August 31, 2006, 1:14am UTC](https://www.ruby-forum.com/t/has-many-belongs-to-and-dry/67020 "2006-08-31T01:14:34Z")

</div>

Can someone tell me whether the fact that ActiveRecord requires both has\_many and belongs\_to isn’t really a violation of DRY is a necessary violation of DRY is an unnecessary violation of DRY, which (will/won’t…

---

## [Ajouter des effets scriptaculous](https://www.ruby-forum.com/t/ajouter-des-effets-scriptaculous/64850)

<div class="topic-metadata">

**Author:** [@Zambra](https://www.ruby-forum.com/u/Zambra)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/ajouter-des-effets-scriptaculous/64850 "2006-08-15T14:20:08Z")

</div>

Salut, Un utilisateur se plaint d’un manque de visibilité/lisibilité des messages flash\[:notice\]générés par rails, du coup, je pensais ajouter un effet Highlight histoire de tester un peu d’Ajax mais j’ignore ou est …

---

## [Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem](https://www.ruby-forum.com/t/rails-mongrel-lighthttpd-ruby-sendfile-problem/98711)

<div class="topic-metadata">

**Author:** [@Feurio](https://www.ruby-forum.com/u/Feurio)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 11:43am UTC](https://www.ruby-forum.com/t/rails-mongrel-lighthttpd-ruby-sendfile-problem/98711 "2006-07-18T11:43:26Z")

</div>

Hello, I have a working mongrel cluster and want to use Lighty as the frontend webserver. I want ligthttpd to deliver the static content. So I did gem install sendfile --remote Everything installed. But if I run th…

---

## [Naming Convention for Controllers?](https://www.ruby-forum.com/t/naming-convention-for-controllers/96578)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 6\
**Last updated:** [June 30, 2006, 3:42am UTC](https://www.ruby-forum.com/t/naming-convention-for-controllers/96578 "2006-06-30T03:42:39Z")

</div>

Hello! I just read DHH’s presentation pdf. In his examples, he wrote PeopleController instead of PersonController. I’ve been using singular words in controller’s name. Which is more common? Thanks. Sam

---

## [Concurrency question](https://www.ruby-forum.com/t/concurrency-question/59530)

<div class="topic-metadata">

**Author:** [@Trish\_Ball](https://www.ruby-forum.com/u/Trish_Ball)\
**Replies:** 6\
**Last updated:** [May 4, 2006, 7:58pm UTC](https://www.ruby-forum.com/t/concurrency-question/59530 "2006-05-04T19:58:20Z")

</div>

I am new to concurrency issues, and am working with DRb (also new to this). My DRb class assigns a value to an instance variable that will be accessed by my client. Is there a possibility with a concurrency issue if…

---

## [Having trouble getting Edge Rails running](https://www.ruby-forum.com/t/having-trouble-getting-edge-rails-running/54190)

<div class="topic-metadata">

**Author:** [@madscene](https://www.ruby-forum.com/u/madscene)\
**Replies:** 6\
**Last updated:** [March 5, 2006, 5:04am UTC](https://www.ruby-forum.com/t/having-trouble-getting-edge-rails-running/54190 "2006-03-05T05:04:05Z")

</div>

Hello, I’ve been playing with this for hours, and got through a couple glitches (e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b skills. When trying to run script/server I get: ./script/…/config/…/v…

---

## [Rails Best Practices Page](https://www.ruby-forum.com/t/rails-best-practices-page/52648)

<div class="topic-metadata">

**Author:** [@adamdorsey](https://www.ruby-forum.com/u/adamdorsey)\
**Replies:** 6\
**Last updated:** [January 18, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/rails-best-practices-page/52648 "2006-01-18T23:29:28Z")

</div>

Hey, I have been progressively learning more and more rails each day (from both a current project, reading the agile book, and this list). Does anybody think it would be beneficial to have kind of like a rails “Best …

---

## [Ruby-gnome2: catching middle clicks on tabs](https://www.ruby-forum.com/t/ruby-gnome2-catching-middle-clicks-on-tabs/50027)

<div class="topic-metadata">

**Author:** [@Clayton\_Smith](https://www.ruby-forum.com/u/Clayton_Smith)\
**Replies:** 6\
**Last updated:** [December 13, 2005, 12:50am UTC](https://www.ruby-forum.com/t/ruby-gnome2-catching-middle-clicks-on-tabs/50027 "2005-12-13T00:50:29Z")

</div>

What I am trying to do is capture the button-press-event when a person middle-clicks on a tab(similar to how Firefox tabs work). As I learned in #gtk+ using the EventBox should be able to do this After a quick scouti…

---

## [Dir](https://www.ruby-forum.com/t/dir/93285)

<div class="topic-metadata">

**Author:** [@wes.monk](https://www.ruby-forum.com/u/wes.monk)\
**Replies:** 6\
**Last updated:** [November 21, 2005, 10:44am UTC](https://www.ruby-forum.com/t/dir/93285 "2005-11-21T10:44:45Z")

</div>

Dir.foreach(“c:/wes/photos/Bike/\*.JPG”) {|x| puts “Got#{x}” } This does not seem to work on my windows xp machine? Should it? I am trying to get a list of files with the .JPG extension. If I take the \*.JPG out, I get…

---

## [Ngx.shared.dict - locking mechanism?](https://www.ruby-forum.com/t/ngx-shared-dict-locking-mechanism/233038)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 13, 2014, 1:04am UTC](https://www.ruby-forum.com/t/ngx-shared-dict-locking-mechanism/233038 "2014-11-13T01:04:12Z")

</div>

Hi guys, I was wondering what happens when multiple workers access the ngx.shared.dict in the http lua module ? Are there conflicts/locking that could potentially impact performance of nginx? We are talking about 32 …

---

## [Hi, agentzh, the chunkin-nginx-module is not compatible with nginx 1.5.x](https://www.ruby-forum.com/t/hi-agentzh-the-chunkin-nginx-module-is-not-compatible-with-nginx-1-5-x/237223)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 30, 2013, 8:28pm UTC](https://www.ruby-forum.com/t/hi-agentzh-the-chunkin-nginx-module-is-not-compatible-with-nginx-1-5-x/237223 "2013-10-30T20:28:27Z")

</div>

Hi,agentzh, the chunkin-nginx-module is not compatible with nginx 1.5.x In nginx 1.5.3, the error when making is as follows: cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -DNDK\_SET\_VAR -DN…

---

## [XCVR2450 Gain Calculations: AD8132 Low Cost High Speed Differential Amplifier](https://www.ruby-forum.com/t/xcvr2450-gain-calculations-ad8132-low-cost-high-speed-differential-amplifier/222338)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/xcvr2450-gain-calculations-ad8132-low-cost-high-speed-differential-amplifier/222338 "2012-08-27T14:01:25Z")

</div>

Hi All, I’m looking at the parts of the XCVR2450 trying to do theoretical gain / noise calcs. My first question is… has anyone else done these? Do my numbers seem reasonable? Secondly… I don’t know what gain the AD8…

---

## [Error with select helper](https://www.ruby-forum.com/t/error-with-select-helper/211921)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [September 18, 2011, 9:37am UTC](https://www.ruby-forum.com/t/error-with-select-helper/211921 "2011-09-18T09:37:17Z")

</div>

Hi everyone, Maybe you guys can help me with a question. I am getting an error with an instance variable in a view and a select list. \<%=select(“sub\_season”,“id”,@sub\_seasons.collect {|s| \[s.sub\_season\_type,s.id\]})…

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

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