# Top

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

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

---

## [Multiple databases and fixtures problems](https://www.ruby-forum.com/t/multiple-databases-and-fixtures-problems/92914)

<div class="topic-metadata">

**Author:** [@lodestone](https://www.ruby-forum.com/u/lodestone)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/multiple-databases-and-fixtures-problems/92914 "2007-04-25T17:33:30Z")

</div>

I’m working on a Rails app which makes use of two distinct (i.e. not master-slave) databases, one ours and the other a central data store which holds the core data we’re using. We have two sets of model classes, and t…

---

## [Re: Engines still the best option for vertical slice code re](https://www.ruby-forum.com/t/re-engines-still-the-best-option-for-vertical-slice-code-re/80733)

<div class="topic-metadata">

**Author:** [@wybo](https://www.ruby-forum.com/u/wybo)\
**Replies:** 0\
**Last updated:** [December 30, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/re-engines-still-the-best-option-for-vertical-slice-code-re/80733 "2006-12-30T19:06:41Z")

</div>

I agree with you. Engines are a good thing (also for code-sharing), and a much better way than code-generators for anything but the most simple functionality. Wybo

---

## [Ruby Weekly News 30th January - 5th February 2006](https://www.ruby-forum.com/t/ruby-weekly-news-30th-january-5th-february-2006/101935)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 7, 2006, 10:54am UTC](https://www.ruby-forum.com/t/ruby-weekly-news-30th-january-5th-february-2006/101935 "2006-02-07T10:54:45Z")

</div>

http://www.rubyweeklynews.org/20060205.html Ruby Weekly News 30th January - 5th February 2006 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list / the comp.lang.ruby newsgroup / Ruby fo…

---

## [What's wrong with this code?](https://www.ruby-forum.com/t/whats-wrong-with-this-code/214349)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 29, 2011, 4:28pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-this-code/214349 "2011-11-29T16:28:07Z")

</div>

I made a program to motivate me for the last day of NaNoWriMo, but it keeps getting ‘enemy.rb:7: syntax error, unexpected kELSE, expecting $end’ Please tell me what’s wrong with the code. Yes, it’s pretty rough, beca…

---

## [Regular expression match](https://www.ruby-forum.com/t/regular-expression-match/214106)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 22, 2011, 9:14am UTC](https://www.ruby-forum.com/t/regular-expression-match/214106 "2011-11-22T09:14:30Z")

</div>

Hi, Can anyone explain to me this regular expression, please: str\[/\\A(\[a-z\]\\w\*)/, 1\] what’s the use of 1 in this expression regards,

---

## [Flv](https://www.ruby-forum.com/t/flv/212203)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 26, 2011, 9:06am UTC](https://www.ruby-forum.com/t/flv/212203 "2011-09-26T09:06:37Z")

</div>

Hi My question is about FLV Module NGINX documentation mentions that FLV module supports time-based offsets\* “This module provides the ability to seek within FLV (Flash) files using time-based offsets.”\* http://wik…

---

## [Help me understand this code](https://www.ruby-forum.com/t/help-me-understand-this-code/211177)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 29, 2011, 5:04am UTC](https://www.ruby-forum.com/t/help-me-understand-this-code/211177 "2011-08-29T05:04:41Z")

</div>

Can anyone explain the syntax for the following code? It worked in rails 3.1/1.9.2 but fails to work in 2.3.4/1.8.7. It’s defined in a model if it pertains. What’s the 1.8.7 equivalent? Many thanks. digital? ? :digita…

---

## [YARV bytecode switch loop](https://www.ruby-forum.com/t/yarv-bytecode-switch-loop/205081)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 30, 2011, 2:29pm UTC](https://www.ruby-forum.com/t/yarv-bytecode-switch-loop/205081 "2011-03-30T14:29:45Z")

</div>

Hello, I am somewhat new at this and a bit of a neophyte. I am wondering where I would find the main YARV bytecode interpreter loop that processes the bytecodes for YARV. Regards, Carter.

---

## [\_wordpress-cache in server name](https://www.ruby-forum.com/t/wordpress-cache-in-server-name/199899)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 1, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/wordpress-cache-in-server-name/199899 "2010-12-01T18:20:33Z")

</div>

I saw this example for setting up nginx to run wordpress and wp-super cache server\_name \_wordpress-cache mydomain.com; root /var/www/wordpress\_dir; server\_name\_in\_redirect off; Can anyone explain to me what the “\_wo…

---

## [Cache output issue](https://www.ruby-forum.com/t/cache-output-issue/195098)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 4\
**Last updated:** [September 17, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/cache-output-issue/195098 "2010-09-17T21:10:51Z")

</div>

I am using memcached… and have the folllowing in my partial. \<%CACHE.fetch ‘all\_categories’ do %\> Category.all.each do |c| \<%= c.name %\> end \<%end %\> When I check in the irb console the “all\_categories” key does get …

---

## [Hash problem](https://www.ruby-forum.com/t/hash-problem/194252)

<div class="topic-metadata">

**Author:** [@capi](https://www.ruby-forum.com/u/capi)\
**Replies:** 4\
**Last updated:** [September 2, 2010, 12:20pm UTC](https://www.ruby-forum.com/t/hash-problem/194252 "2010-09-02T12:20:52Z")

</div>

Hi all, I’m sure that there is somewhere an explanation on how this works but I can’t find it by myself. I need to have a hash like this one: {“name”:“Admiral Ackbar”},{“name”:“Bail Organa”} so I need a hash with ha…

---

## [Ngwsx-0.8.36](https://www.ruby-forum.com/t/ngwsx-0-8-36/188652)

<div class="topic-metadata">

**Author:** [@ngwsx](https://www.ruby-forum.com/u/ngwsx)\
**Replies:** 4\
**Last updated:** [May 18, 2010, 12:17pm UTC](https://www.ruby-forum.com/t/ngwsx-0-8-36/188652 "2010-05-18T12:17:20Z")

</div>

features: native porting of nginx on windows. single process mode. windows service supported. iocp event method. file aio. zlib-1.2.3. (statically link) pcre-7.9. (statically link) using configure to build the binary o…

---

## ["ubygems" load error](https://www.ruby-forum.com/t/ubygems-load-error/183863)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 4\
**Last updated:** [February 22, 2010, 4:06am UTC](https://www.ruby-forum.com/t/ubygems-load-error/183863 "2010-02-22T04:06:51Z")

</div>

Hi,I was installing a gem and got this error: /usr/bin/ruby1.8: no such file to load – ubygems (LoadError) thanks Brian

---

## [FastCGI Param](https://www.ruby-forum.com/t/fastcgi-param/179651)

<div class="topic-metadata">

**Author:** [@nt001](https://www.ruby-forum.com/u/nt001)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/fastcgi-param/179651 "2009-12-19T15:25:26Z")

</div>

Hi there, I have problem, but I sloved 50% of it. Need a little help. So my problem before is when I try to load php pages, nginx got “No input file specified.” So I have sloved this by looking at fastcgi\_param. … my …

---

## [Passing a method reference and then calling it](https://www.ruby-forum.com/t/passing-a-method-reference-and-then-calling-it/171128)

<div class="topic-metadata">

**Author:** [@himdel](https://www.ruby-forum.com/u/himdel)\
**Replies:** 4\
**Last updated:** [June 26, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/passing-a-method-reference-and-then-calling-it/171128 "2009-06-26T20:36:26Z")

</div>

How do you pass a method reference and call it on a particular object? I know I can pass it as a string and call eval, but I’m trying to avoid that performance hit.

---

## [{ActionController\] Default route naming](https://www.ruby-forum.com/t/actioncontroller-default-route-naming/169587)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [June 8, 2009, 3:49pm UTC](https://www.ruby-forum.com/t/actioncontroller-default-route-naming/169587 "2009-06-08T15:49:14Z")

</div>

I have discovered that if a named resources entry does not have a plural form then ActionController::Routing uses route\_name\_index instead. However, I cannot seem to find any place in the API where this is mentioned. …

---

## [Find query](https://www.ruby-forum.com/t/find-query/154527)

<div class="topic-metadata">

**Author:** [@golf](https://www.ruby-forum.com/u/golf)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/find-query/154527 "2008-12-01T12:28:30Z")

</div>

Hi, I have user table (last\_activity, last\_activity\_at, …) and friendships table (many to many). What I am trying to do is to show to the user the last actions of his/her friends. @activities = User.find\_by\_username…

---

## [\[JOBS\] Excellent Job Opportunity: Lead Engineering (Ruby on Rails), New Delhi](https://www.ruby-forum.com/t/jobs-excellent-job-opportunity-lead-engineering-ruby-on-rails-new-delhi/154090)

<div class="topic-metadata">

**Author:** [@Jitendra\_Singh](https://www.ruby-forum.com/u/Jitendra_Singh)\
**Replies:** 4\
**Last updated:** [November 25, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/jobs-excellent-job-opportunity-lead-engineering-ruby-on-rails-new-delhi/154090 "2008-11-25T18:52:14Z")

</div>

We are looking for motivated Ruby on Rails/Java technology professionals with 3+ years of relevant experience and a strong background in computer science, in particular Internet technologies. The role would involve bo…

---

## [Eruby: problem defining a new method for Array](https://www.ruby-forum.com/t/eruby-problem-defining-a-new-method-for-array/150021)

<div class="topic-metadata">

**Author:** [@dmjb](https://www.ruby-forum.com/u/dmjb)\
**Replies:** 4\
**Last updated:** [October 3, 2008, 11:30am UTC](https://www.ruby-forum.com/t/eruby-problem-defining-a-new-method-for-array/150021 "2008-10-03T11:30:38Z")

</div>

Hello, I installed eruby yesterday and I spend all night programming… I’m trying to define a new method for class Array but apache2+mod\_ruby can’t find the method! A create a simple example: error \<% class Ar…

---

## [Gsub HELP](https://www.ruby-forum.com/t/gsub-help/146627)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 4\
**Last updated:** [August 23, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/gsub-help/146627 "2008-08-23T16:16:09Z")

</div>

Hi all I am not Expert at Rails or Ruby I have a string …it contains text and images also… from that string i want to replace the images into empty space…that is images Has to Be Removed. I tried to solve By using s…

---

## [Link\_to\_remote](https://www.ruby-forum.com/t/link-to-remote/144540)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [July 31, 2008, 10:53am UTC](https://www.ruby-forum.com/t/link-to-remote/144540 "2008-07-31T10:53:11Z")

</div>

view: \<%= link\_to\_remote “Remove”, :url =\> { :controller =\> “auth\_user”, :action =\> :remove\_req }, :id =\> “post.requirement\_id” %\> controller: def remove\_req redirect\_to :action =\> :index end When I click on the l…

---

## [Real-time video receiving?](https://www.ruby-forum.com/t/real-time-video-receiving/140847)

<div class="topic-metadata">

**Author:** [@Brook\_L](https://www.ruby-forum.com/u/Brook_L)\
**Replies:** 4\
**Last updated:** [June 23, 2008, 4:24am UTC](https://www.ruby-forum.com/t/real-time-video-receiving/140847 "2008-06-23T04:24:05Z")

</div>

Hi All, I am using benchmark\_tx.py and benchmark\_rx.py to transmit and receive video file. For now, I have a video file to transmit, and at the receiver side, I save the received data to a file, then use a media pla…

---

## [Resultset empty?](https://www.ruby-forum.com/t/resultset-empty/138529)

<div class="topic-metadata">

**Author:** [@joel](https://www.ruby-forum.com/u/joel)\
**Replies:** 4\
**Last updated:** [May 25, 2008, 12:41am UTC](https://www.ruby-forum.com/t/resultset-empty/138529 "2008-05-25T00:41:39Z")

</div>

Hello people, still a newbie and just wanted to know how to actually test if resultset from find method is empty or net. Regards, Joel

---

## [Ruby Class documentation](https://www.ruby-forum.com/t/ruby-class-documentation/136581)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 4\
**Last updated:** [May 5, 2008, 2:36pm UTC](https://www.ruby-forum.com/t/ruby-class-documentation/136581 "2008-05-05T14:36:18Z")

</div>

Hi, I noticed that when I save an internet resource to my local disk, ruby keeps the file open until the program terminates. After some searching I noticed that close method should be called after you’re done with the …

---

## [Both records must have an id in order to create the has\_many](https://www.ruby-forum.com/t/both-records-must-have-an-id-in-order-to-create-the-has-many/136077)

<div class="topic-metadata">

**Author:** [@der\_guido](https://www.ruby-forum.com/u/der_guido)\
**Replies:** 4\
**Last updated:** [April 28, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/both-records-must-have-an-id-in-order-to-create-the-has-many/136077 "2008-04-28T21:36:53Z")

</div>

Hi there, my problem is to add an object to another object through the-\>through-statement. I tried it with an easy sample from this site: http://wiki.rubyonrails.org/rails/pages/ThroughAssociations and I got the sam…

---

## [Overriding find](https://www.ruby-forum.com/t/overriding-find/133226)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 4\
**Last updated:** [March 30, 2008, 9:11am UTC](https://www.ruby-forum.com/t/overriding-find/133226 "2008-03-30T09:11:06Z")

</div>

Hi, I am using single table inheritance which looks something like this: class Employee \< ActiveRecord::Base belongs\_to :employee\_type end Manager \< Employee Programmer \< Employee When I call Manager.find(…) or Pr…

---

## [Operator |=](https://www.ruby-forum.com/t/operator/130626)

<div class="topic-metadata">

**Author:** [@chinnakaruppan](https://www.ruby-forum.com/u/chinnakaruppan)\
**Replies:** 4\
**Last updated:** [March 1, 2008, 1:01am UTC](https://www.ruby-forum.com/t/operator/130626 "2008-03-01T01:01:53Z")

</div>

Hi, I am trying to under this operator |=.Has anybody got some documentation / online link to explain this… THnks Chinna

---

## [Getting one of multiple inputs](https://www.ruby-forum.com/t/getting-one-of-multiple-inputs/123224)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [December 15, 2007, 8:10am UTC](https://www.ruby-forum.com/t/getting-one-of-multiple-inputs/123224 "2007-12-15T08:10:14Z")

</div>

Say I had many inputs with ids and names in this format: object\_#, where # is any number. Each input is inside its own form with its own submit button. How can I make the controller get the @params\[object\_#\]?

---

## [Looking for comments on a rails patch, lazy association instantiation](https://www.ruby-forum.com/t/looking-for-comments-on-a-rails-patch-lazy-association-instantiation/118234)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 4\
**Last updated:** [October 27, 2007, 3:03am UTC](https://www.ruby-forum.com/t/looking-for-comments-on-a-rails-patch-lazy-association-instantiation/118234 "2007-10-27T03:03:51Z")

</div>

Prompted by some discussion on rails-talk last week, I worked up a patch to add an option to ActiveRecord::Base#find which allows associations to be :included for purposes of the where clause, but defers instantiatin…

---

## [Unit testing add extra command line parameters](https://www.ruby-forum.com/t/unit-testing-add-extra-command-line-parameters/116100)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 4\
**Last updated:** [October 25, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/unit-testing-add-extra-command-line-parameters/116100 "2007-10-25T18:07:48Z")

</div>

Hi, I the the following code: #!/usr/bin/ruby require ‘test/unit’ some ruby code class TestSomeClass \< Test::Unit::TestCase def setup # some setup end def test\_01\_firstTest # some assertion end def test\_02\_sec…

---

## [\[OT\] Good Flash Training for Programmers?](https://www.ruby-forum.com/t/ot-good-flash-training-for-programmers/83905)

<div class="topic-metadata">

**Author:** [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ot-good-flash-training-for-programmers/83905 "2007-09-25T23:10:20Z")

</div>

I’m hoping to tap the collective intelligence here… I’m a Rails programmer looking for some Flash training. Ideally it would be something of as high quality as a Pragmatic Studio class… I’m not a designer by trade but…

---

## [Newb question:](https://www.ruby-forum.com/t/newb-question/110205)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 24, 2007, 9:27am UTC](https://www.ruby-forum.com/t/newb-question/110205 "2007-07-24T09:27:20Z")

</div>

Hi all, Another newb online… trying belongs\_to and has\_one constructs for the first time. table Location defined as: nickname, street, city, … , contact\_id the model includes “belongs\_to :contact” table Contact def…

---

## [A film](https://www.ruby-forum.com/t/a-film/106360)

<div class="topic-metadata">

**Author:** [@fossil](https://www.ruby-forum.com/u/fossil)\
**Replies:** 4\
**Last updated:** [June 10, 2007, 12:04am UTC](https://www.ruby-forum.com/t/a-film/106360 "2007-06-10T00:04:59Z")

</div>

http://video.google.pl/videoplay?docid=942420882392857412&q=the+kh's+obsession

---

## [Testing a query result](https://www.ruby-forum.com/t/testing-a-query-result/86697)

<div class="topic-metadata">

**Author:** [@mrom](https://www.ruby-forum.com/u/mrom)\
**Replies:** 4\
**Last updated:** [February 25, 2007, 1:09am UTC](https://www.ruby-forum.com/t/testing-a-query-result/86697 "2007-02-25T01:09:46Z")

</div>

Hello every body, It’s a very basic question, i want just to test if this query did return any result. @BookDetails = Book.find(params\[:id\]) I tried “nil”, but it seems that even if there isn’t any book with tha…

---

## [Pattern matching](https://www.ruby-forum.com/t/pattern-matching/85935)

<div class="topic-metadata">

**Author:** [@jbhruby](https://www.ruby-forum.com/u/jbhruby)\
**Replies:** 4\
**Last updated:** [February 21, 2007, 3:07am UTC](https://www.ruby-forum.com/t/pattern-matching/85935 "2007-02-21T03:07:35Z")

</div>

Hi! I recently got engaged in a thread on comp.lang.functional about ML and Lisp. I posted some simple but efficient OCaml code that is difficult to translate into Lisp: let rec ( +: ) f g = match f, g with | Q n,Q …

---

## [Tips and Tricks](https://www.ruby-forum.com/t/tips-and-tricks/81991)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 4\
**Last updated:** [January 17, 2007, 2:02am UTC](https://www.ruby-forum.com/t/tips-and-tricks/81991 "2007-01-17T02:02:28Z")

</div>

Hi, I have successfully implemented my first Ruby on Rails application! Now, my users are of course wanting piddly little things like: \*\* Pressing “enter” to save the form - currently when they press enter it does …

---

## [Rails Book 2nd Edition now shipping](https://www.ruby-forum.com/t/rails-book-2nd-edition-now-shipping/79731)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 4\
**Last updated:** [December 28, 2006, 5:42am UTC](https://www.ruby-forum.com/t/rails-book-2nd-edition-now-shipping/79731 "2006-12-28T05:42:59Z")

</div>

It’s been a long time coming, but we’re very pleased to announced that Agile Web D. with Rails, 2nd Edition, is now in stock and shipping. Get 'em while they’re hot :slight\_smile: For details, please visit http://pra…

---

## [Inserting surrounding scope into singelton method definition](https://www.ruby-forum.com/t/inserting-surrounding-scope-into-singelton-method-definition/79076)

<div class="topic-metadata">

**Author:** [@Sebastia](https://www.ruby-forum.com/u/Sebastia)\
**Replies:** 4\
**Last updated:** [December 12, 2006, 3:23am UTC](https://www.ruby-forum.com/t/inserting-surrounding-scope-into-singelton-method-definition/79076 "2006-12-12T03:23:02Z")

</div>

I have a sorted array (in this case, an ActiveRecord result set) that i want to give awareness of its sorting state. I defined a singelton method on the array but i can’t figure out how to insert a value from the surr…

---

## [Ruby Tk and Threads error](https://www.ruby-forum.com/t/ruby-tk-and-threads-error/77808)

<div class="topic-metadata">

**Author:** [@jorge\_santiago](https://www.ruby-forum.com/u/jorge_santiago)\
**Replies:** 4\
**Last updated:** [December 5, 2006, 2:47am UTC](https://www.ruby-forum.com/t/ruby-tk-and-threads-error/77808 "2006-12-05T02:47:59Z")

</div>

Hi, I’m coding an application with Ruby and RubyTk that draws a huge amount of lines on a TkcCanvas. I split the drawing code in a new thread so the main interface remains responsive to the user to cancel the operati…

---

## [Model not found?](https://www.ruby-forum.com/t/model-not-found/71365)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [October 7, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/model-not-found/71365 "2006-10-07T22:18:43Z")

</div>

I have a view template “list\_users.rhtml”. On one line, I have \<% @users = User.find(:all) %\> in my models directory I have a file user.rb which starts with the line class User \< ActiveRecord::Base Problem: When I in…

---

## [AP4R, Asynchronous Processing for Ruby, initial release](https://www.ruby-forum.com/t/ap4r-asynchronous-processing-for-ruby-initial-release/67218)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 4, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/ap4r-asynchronous-processing-for-ruby-initial-release/67218 "2006-09-04T14:44:04Z")

</div>

We are pleased to announce the FIRST release of AP4R. http://rubyforge.org/projects/ap4r/ == DESCRIPTION AP4R, Asynchronous Processing for Ruby, is the implementation of reliable asynchronous message processing. It p…

---

## [NewB question on data structure ruby](https://www.ruby-forum.com/t/newb-question-on-data-structure-ruby/63319)

<div class="topic-metadata">

**Author:** [@psethi2000](https://www.ruby-forum.com/u/psethi2000)\
**Replies:** 4\
**Last updated:** [June 14, 2006, 9:19am UTC](https://www.ruby-forum.com/t/newb-question-on-data-structure-ruby/63319 "2006-06-14T09:19:40Z")

</div>

Hi, I am trying to parse variables from a simple data structure/class… I am using a web service and it returns a data structure. Here is the code: @result = ws.HelloWorld(nil) puts @result.inspect # line 15 puts @re…

---

## [Question about Associations](https://www.ruby-forum.com/t/question-about-associations/58368)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [April 21, 2006, 12:17am UTC](https://www.ruby-forum.com/t/question-about-associations/58368 "2006-04-21T00:17:27Z")

</div>

Hi all. Got a stupid-simple question about associations. I have two models - school and course. There are a fixed number of schools (set up in the migration). Each course is assigned a school and a school will be asso…

---

## [RE: Newbie Question about Custom Classes](https://www.ruby-forum.com/t/re-newbie-question-about-custom-classes/84294)

<div class="topic-metadata">

**Author:** [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Replies:** 4\
**Last updated:** [March 21, 2006, 3:39am UTC](https://www.ruby-forum.com/t/re-newbie-question-about-custom-classes/84294 "2006-03-21T03:39:46Z")

</div>

It’s the beauty of Rails… You can develop on WEBRICK and SQLite and deploy to Apache + MySQL or Lighttpd + Oracle without worrying about anything breaking. We use WEBrick for day-to-day development, stage to Apache to…

---

## [Ruby Path](https://www.ruby-forum.com/t/ruby-path/75347)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 2, 2006, 5:05am UTC](https://www.ruby-forum.com/t/ruby-path/75347 "2006-03-02T05:05:31Z")

</div>

My ruby applications have suddenly stopped running on my PC. It looks like the gem libraries are no longer in the path. My gems are installed to this directory C:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\ I never had to setup a …

---

## [Case/when question](https://www.ruby-forum.com/t/case-when-question/75450)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 1, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/case-when-question/75450 "2006-03-01T22:26:00Z")

</div>

I was intrigued by the post that \_why put up a few days/weeks ago about using case/when for testing arrays \[1\]. I thought I’d give it a try but I can’t make it work. What am I doing wrong? irb(main):001:0\> r1 = (0…12)…

---

## [Multiple keys table](https://www.ruby-forum.com/t/multiple-keys-table/74739)

<div class="topic-metadata">

**Author:** [@shiko](https://www.ruby-forum.com/u/shiko)\
**Replies:** 4\
**Last updated:** [March 1, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/multiple-keys-table/74739 "2006-03-01T14:58:06Z")

</div>

probablly a newbie question: Rails does not support a table with multiple keys ??? it seems that the ActiveRecord set\_primary\_key method can only set the column name… (hope i’m wrong there) example: table A - P.K id…

---

## [Looping](https://www.ruby-forum.com/t/looping/72394)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 4\
**Last updated:** [February 23, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/looping/72394 "2006-02-23T17:27:15Z")

</div>

I have a form that prints fine for one particular criteria… facility\_id = “X” controller code looks like this… def fac\_log @facility = Facility.find(params\[:report\]\[:facility\_id\]) @placement = Placement.find(:all, …

---

## [IDE List](https://www.ruby-forum.com/t/ide-list/210266)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 6, 2011, 12:09am UTC](https://www.ruby-forum.com/t/ide-list/210266 "2011-08-06T00:09:20Z")

</div>

Hey Everyone, I’m working through on the tutorial mentioned in my documentation proposal\[1\], and am trying to put together the installation part. One of the things I’d like to include is a list of IDEs that support Ru…

---

## [Speeding up TCP](https://www.ruby-forum.com/t/speeding-up-tcp/185499)

<div class="topic-metadata">

**Author:** [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Replies:** 5\
**Last updated:** [March 25, 2010, 9:44am UTC](https://www.ruby-forum.com/t/speeding-up-tcp/185499 "2010-03-25T09:44:06Z")

</div>

I have a script that opens a TCP socket and then sends an XML request using SSL over the socket, it then receives an answer back from the server. The whole send and receive is taking between 160 and 175 milliseconds t…

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

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