# Top

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

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

---

## [Installing rspec, cucumber, et al](https://www.ruby-forum.com/t/installing-rspec-cucumber-et-al/153073)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 8\
**Last updated:** [November 11, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/installing-rspec-cucumber-et-al/153073 "2008-11-11T22:58:53Z")

</div>

I have a project that I am returning to after some time away on other issues. When last I worked on it I had rspec and rspec for rails installed as git submodules but I recall that I also had to have rspec installed …

---

## [Feedback para presentacion en Conferencia Rails](https://www.ruby-forum.com/t/feedback-para-presentacion-en-conferencia-rails/140061)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 8\
**Last updated:** [July 25, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/feedback-para-presentacion-en-conferencia-rails/140061 "2008-07-25T17:43:31Z")

</div>

Para la Conferencia Rails de este aÃ±o me gustaria explicar como en las anteriores cosas acerca de como funciona Rails por dentro. Hay algun tema cuya implementacion que te suscite curiosidad? Quisieras saber como fun…

---

## [Tcp/udp source sink?](https://www.ruby-forum.com/t/tcp-udp-source-sink/82417)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://www.ruby-forum.com/u/Josh_B)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/tcp-udp-source-sink/82417 "2007-09-25T22:37:45Z")

</div>

Does the gnu radio project have a udp/tcp/networking source and sink pair? -Josh

---

## [Help parsing simple structured data](https://www.ruby-forum.com/t/help-parsing-simple-structured-data/113247)

<div class="topic-metadata">

**Author:** [@Nuby\_R](https://www.ruby-forum.com/u/Nuby_R)\
**Replies:** 8\
**Last updated:** [August 30, 2007, 9:57am UTC](https://www.ruby-forum.com/t/help-parsing-simple-structured-data/113247 "2007-08-30T09:57:34Z")

</div>

I’m rather new to Ruby and am trying to figure out how to parse some structured data… This is pretty much the most common problem I run into and it’d be really helpful to see an example to wrap my head around blocks &…

---

## [It just won't load](https://www.ruby-forum.com/t/it-just-wont-load/189793)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 4\
**Last updated:** [June 8, 2010, 12:11pm UTC](https://www.ruby-forum.com/t/it-just-wont-load/189793 "2010-06-08T12:11:15Z")

</div>

Hey, im trying desperately to load my norwegian translation file here… I’ve set config.i18n.default\_locale = :nb\_NO which should load config/ locales/nb\_NO.yml yeah? it just loads config/locales/en\_US.yml. both local…

---

## [ActionMailer Error ActionView::TemplateError](https://www.ruby-forum.com/t/actionmailer-error-actionview-templateerror/168399)

<div class="topic-metadata">

**Author:** [@railscamper](https://www.ruby-forum.com/u/railscamper)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 12:34pm UTC](https://www.ruby-forum.com/t/actionmailer-error-actionview-templateerror/168399 "2009-05-20T12:34:45Z")

</div>

Hallo Freunde, ich versuche gerade die Daten in eine Email zu bekommen. der AthletMailer sieht so aus \[…\] def welcome\_email(athlet) @recipients = “removed\_email\_address@domain.invalid” @from = "Registri…

---

## [Search engine that works with MS SQL Server](https://www.ruby-forum.com/t/search-engine-that-works-with-ms-sql-server/161299)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 4\
**Last updated:** [February 25, 2009, 5:09pm UTC](https://www.ruby-forum.com/t/search-engine-that-works-with-ms-sql-server/161299 "2009-02-25T17:09:19Z")

</div>

Can anyone recommend a search engine for Rails that works with MS SQL Server? I have good experience in using Sphinx and the Rails plugin UltraSphinx. Unfortunately, it supports only MySQL and PostgreSQL. The newest b…

---

## [Stubbing out ThinkingSphinx for Rspec](https://www.ruby-forum.com/t/stubbing-out-thinkingsphinx-for-rspec/146303)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 11:55am UTC](https://www.ruby-forum.com/t/stubbing-out-thinkingsphinx-for-rspec/146303 "2008-08-21T11:55:19Z")

</div>

Unless someone advises against it, I don’t want my Rspec suite to be dependent on having Thinking Sphinx running, as I can often imagine situations where anyone working on my app would want to run the spec without the…

---

## [Using absolute paths for images](https://www.ruby-forum.com/t/using-absolute-paths-for-images/140222)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 4\
**Last updated:** [June 12, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/using-absolute-paths-for-images/140222 "2008-06-12T12:14:01Z")

</div>

Hi all, I want to make images stored on my filesystem available to a Rails app, even if they are outside the Rails directory. For example, if my app is in /home/adam/rails\_app/my\_app I want to display an image from / …

---

## [Mysql encrypt on rails?](https://www.ruby-forum.com/t/mysql-encrypt-on-rails/131970)

<div class="topic-metadata">

**Author:** [@ReK2](https://www.ruby-forum.com/u/ReK2)\
**Replies:** 4\
**Last updated:** [March 16, 2008, 12:54am UTC](https://www.ruby-forum.com/t/mysql-encrypt-on-rails/131970 "2008-03-16T00:54:47Z")

</div>

Hi sorry, I’m a noob and my first language is not English… I just started with ruby/rails 2 weeks a go, and this is the first time I am working with my mysql db. I have a mysql database were I store all the postfix/co…

---

## [Index keeps changing even though no update or delete](https://www.ruby-forum.com/t/index-keeps-changing-even-though-no-update-or-delete/117575)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 4\
**Last updated:** [November 28, 2007, 9:18am UTC](https://www.ruby-forum.com/t/index-keeps-changing-even-though-no-update-or-delete/117575 "2007-11-28T09:18:08Z")

</div>

Stop mongrel server Delete the index directory ruby script/console production Event.rebuild\_index Get the list of items in the index directory. \_8rs.cfs segments segments\_8rt Start mongrel server cli…

---

## [Attachment\_fu with S3: custom path?](https://www.ruby-forum.com/t/attachment-fu-with-s3-custom-path/90006)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 4\
**Last updated:** [March 25, 2007, 3:02pm UTC](https://www.ruby-forum.com/t/attachment-fu-with-s3-custom-path/90006 "2007-03-25T15:02:04Z")

</div>

Hi, I recently saw the light and have moved my storage from the server to the wonderful Amazon S3 service. I am also using the equally great attachment\_fu plugin. I would like to store the uploaded files in a path su…

---

## [Proc problem](https://www.ruby-forum.com/t/proc-problem/233136)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [November 19, 2014, 2:02pm UTC](https://www.ruby-forum.com/t/proc-problem/233136 "2014-11-19T14:02:30Z")

</div>

\<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"\> Hello, Im trying to do this exercise : Create a method, greeter, that takes no arguments and yi…

---

## [Undefined method \`attributes\_with\_quotes' for class \`ActiveRecord::Base](https://www.ruby-forum.com/t/undefined-method-attributes-with-quotes-for-class-activerecord-base/186269)

<div class="topic-metadata">

**Author:** [@anildigital](https://www.ruby-forum.com/u/anildigital)\
**Replies:** 6\
**Last updated:** [April 3, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/undefined-method-attributes-with-quotes-for-class-activerecord-base/186269 "2010-04-03T21:24:25Z")

</div>

Hi, I am getting following error when I try to run db:migrate I am using jdbcsqlite3 adapter, I have necessary gems installed. $ jruby -S rake db:migrate --trace (in /home/anil/public\_html/planetrails.digitalcodes.or…

---

## [Problemas con el find](https://www.ruby-forum.com/t/problemas-con-el-find/169583)

<div class="topic-metadata">

**Author:** [@Manuel\_P](https://www.ruby-forum.com/u/Manuel_P)\
**Replies:** 6\
**Last updated:** [June 5, 2009, 8:34pm UTC](https://www.ruby-forum.com/t/problemas-con-el-find/169583 "2009-06-05T20:34:21Z")

</div>

Hola a todos! Amigos tengo un problema muy extraÃ±o con el find y que jamas me habia ocurrido, el error me salio porque porque coloque un id que no existe en la tabla articulos de mi BD (lo hice para validar el siste…

---

## [USRP / DBSRX calibration](https://www.ruby-forum.com/t/usrp-dbsrx-calibration/114721)

<div class="topic-metadata">

**Author:** [@Jens\_E](https://www.ruby-forum.com/u/Jens_E)\
**Replies:** 6\
**Last updated:** [December 27, 2007, 12:02am UTC](https://www.ruby-forum.com/t/usrp-dbsrx-calibration/114721 "2007-12-27T00:02:39Z")

</div>

As Eric Matlis a while ago (see link to thread at the bottom), I would like to calibrate my USRP/DBSRX combination for measurements. As noted, the USRP is not a measurement device, but nevertheless I’d like to give it…

---

## [A newbie question about scanf](https://www.ruby-forum.com/t/a-newbie-question-about-scanf/95433)

<div class="topic-metadata">

**Author:** [@kousen](https://www.ruby-forum.com/u/kousen)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 5:00am UTC](https://www.ruby-forum.com/t/a-newbie-question-about-scanf/95433 "2006-06-01T05:00:28Z")

</div>

I tried to get user input by using scanf a = scanf(’%d’) that works, it’s all very nice, until i do this while a \< 100 and a is an array, so i can’t do that. So i did this while a\[0\] \< 100… which works… but is the…

---

## [RRobots (#59)](https://www.ruby-forum.com/t/rrobots-59/80650)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [December 30, 2005, 2:52pm UTC](https://www.ruby-forum.com/t/rrobots-59/80650 "2005-12-30T14:52:53Z")

</div>

The tournament has been run, so let’s begin with the official results. You can find the complete statistics here: http://www.rubyquiz.com/rrobots/tournament.html Briefly though, here are the total wins: +-----------…

---

## [Proxy\_set\_header concatenated value](https://www.ruby-forum.com/t/proxy-set-header-concatenated-value/242964)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 11, 2015, 9:43am UTC](https://www.ruby-forum.com/t/proxy-set-header-concatenated-value/242964 "2015-08-11T09:43:33Z")

</div>

hi, I want to pass the following header to the backend server: name: X-Original-URL value: $scheme://$host$request\_uri but the concatenation of the values for the value above do not seem to work. how can I do that? …

---

## [HTTParty PUT/POST/GET/DELETE Example](https://www.ruby-forum.com/t/httparty-put-post-get-delete-example/226252)

<div class="topic-metadata">

**Author:** [@rubythemystery](https://www.ruby-forum.com/u/rubythemystery)\
**Replies:** 1\
**Last updated:** [December 11, 2011, 8:03pm UTC](https://www.ruby-forum.com/t/httparty-put-post-get-delete-example/226252 "2011-12-11T20:03:29Z")

</div>

Hi all, I need to do POST/PUT operation using httparty. I have a default class as follows require ‘httparty’ class Webclient include HTTParty def intialize(options = {}) parameters to build the url end end with …

---

## [Finding outliers](https://www.ruby-forum.com/t/finding-outliers/252902)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [August 26, 2019, 9:17pm UTC](https://www.ruby-forum.com/t/finding-outliers/252902 "2019-08-26T21:17:59Z")

</div>

Hi , how can i implement finding outlier ? arr = \[1,2,3,4,5,10\] arr \<\< 20 arr\<\< -5 outputs is = -5,20

---

## [Socket read, write when string found](https://www.ruby-forum.com/t/socket-read-write-when-string-found/212551)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 6, 2011, 4:43pm UTC](https://www.ruby-forum.com/t/socket-read-write-when-string-found/212551 "2011-10-06T16:43:51Z")

</div>

I know exactly what i need to do, but i cant do it properly… TCPSocket.open(“209.172.49.193”,6115) {|sock| #send the server my name 01010101010101 sock.print(\[“f71e2d00c50d00300000000000e017090000000101010101010100010…

---

## [MySQL connection extremely slow to respond after firewall disconnect](https://www.ruby-forum.com/t/mysql-connection-extremely-slow-to-respond-after-firewall-disconnect/179576)

<div class="topic-metadata">

**Author:** [@Mark\_Westling](https://www.ruby-forum.com/u/Mark_Westling)\
**Replies:** 2\
**Last updated:** [December 2, 2009, 2:04am UTC](https://www.ruby-forum.com/t/mysql-connection-extremely-slow-to-respond-after-firewall-disconnect/179576 "2009-12-02T02:04:30Z")

</div>

I’m running into a problem with a RoR application (using glassfish v3 gem) that seems to be related to a firewall disconnecting inactive MySQL connections. For the first request after a long period of inactivity, gla…

---

## [Not Sure How to Get My Program to Start Over](https://www.ruby-forum.com/t/not-sure-how-to-get-my-program-to-start-over/245007)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [September 4, 2016, 8:55pm UTC](https://www.ruby-forum.com/t/not-sure-how-to-get-my-program-to-start-over/245007 "2016-09-04T20:55:27Z")

</div>

I am sorry if this is the wrong place. I am a complete noob. I just started a class online and got an idea for my own program. If anyone has time…I can’t figure out how to have my program start over. Everything see…

---

## [Utilizzo delle callbacks in rails](https://www.ruby-forum.com/t/utilizzo-delle-callbacks-in-rails/234326)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [February 25, 2015, 9:06am UTC](https://www.ruby-forum.com/t/utilizzo-delle-callbacks-in-rails/234326 "2015-02-25T09:06:49Z")

</div>

Ciao, sto modificando un’applicazione rails 3.2 grossa e complessa più di quando dovrebbe essere a causa del solito problema che il tempo causa. Un modello ha 16 callbacks, alcune delle quali richiamate in cascata più …

---

## [How to obtain all methods defined in a module (but only those methods!)](https://www.ruby-forum.com/t/how-to-obtain-all-methods-defined-in-a-module-but-only-those-methods/238949)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [February 5, 2014, 2:53pm UTC](https://www.ruby-forum.com/t/how-to-obtain-all-methods-defined-in-a-module-but-only-those-methods/238949 "2014-02-05T14:53:39Z")

</div>

Hi. Consider: module Foo def self.bar end def ble end end I need to get all methods defined in module Foo, including ble() and Foo.bar() But only these, no other methods! With Foo.methods I sadly also get other…

---

## [Another buffer overflow](https://www.ruby-forum.com/t/another-buffer-overflow/246065)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 20, 2013, 9:43am UTC](https://www.ruby-forum.com/t/another-buffer-overflow/246065 "2013-08-20T09:43:01Z")

</div>

Hi guys, i been running a little ruby program lately and this is what happens after a while: -note (did set ulimit -n 20000 and also done more modifications to increase opened files limit) \*\*\* buffer overflow detecte…

---

## [Does unicorn fork like phusion?](https://www.ruby-forum.com/t/does-unicorn-fork-like-phusion/229901)

<div class="topic-metadata">

**Author:** [@S\_Ahmed](https://www.ruby-forum.com/u/S_Ahmed)\
**Replies:** 5\
**Last updated:** [February 9, 2013, 10:55am UTC](https://www.ruby-forum.com/t/does-unicorn-fork-like-phusion/229901 "2013-02-09T10:55:27Z")

</div>

Does unicorn work like phusion in that it automatically forks based on traffic levels? Or is that what thin does also?

---

## [How run JRuby from a Warbler war](https://www.ruby-forum.com/t/how-run-jruby-from-a-warbler-war/181817)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 5\
**Last updated:** [January 22, 2010, 2:16pm UTC](https://www.ruby-forum.com/t/how-run-jruby-from-a-warbler-war/181817 "2010-01-22T14:16:00Z")

</div>

I have a Rails application bundled up via Warbler. I looks like the lib folder contains the JRuby code in jar files. How can I run jruby commands using these jar files so that I can run rake tasks (like db:migrate) on…

---

## [Question about LFTX and RFTX](https://www.ruby-forum.com/t/question-about-lftx-and-rftx/111428)

<div class="topic-metadata">

**Author:** [@ismail\_m](https://www.ruby-forum.com/u/ismail_m)\
**Replies:** 5\
**Last updated:** [October 30, 2007, 11:46am UTC](https://www.ruby-forum.com/t/question-about-lftx-and-rftx/111428 "2007-10-30T11:46:52Z")

</div>

Hi, I have a question about using the LFTX/RX boards to communicate at base band frequencies. At the moment I’m using RFX2400 boards and frequency synchronisation is always an important issue. My question is, with t…

---

## [Correct way to display index](https://www.ruby-forum.com/t/correct-way-to-display-index/117757)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 5\
**Last updated:** [October 20, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/correct-way-to-display-index/117757 "2007-10-20T21:30:42Z")

</div>

I have this app that I have put on my GoDaddy account and while I can get the rails welcome page to display, I can’t get the intro page to my app to display. this is the site: http://www.cottoncandyleague.com/league/ …

---

## [Current State of Merb](https://www.ruby-forum.com/t/current-state-of-merb/85005)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/current-state-of-merb/85005 "2007-09-25T23:04:51Z")

</div>

Hi all, I’ve been looking around for details on Merb and what it’s being used for etc but I can’t find a great deal. Most of the information is “Merb is” style instead of a howto. I’m wondering if it’s because it’s…

---

## [Rest Client POst Timeout](https://www.ruby-forum.com/t/rest-client-post-timeout/244320)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 2:41am UTC](https://www.ruby-forum.com/t/rest-client-post-timeout/244320 "2016-03-22T02:41:42Z")

</div>

Hello Experts, I’ve been trying to use an example I found via a google search however I cannot get it to work for the life of me. Please see my existing code vs the example found. Examples are greatly appreciated Exa…

---

## [Stubbing corner case](https://www.ruby-forum.com/t/stubbing-corner-case/206140)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 2, 2011, 7:52pm UTC](https://www.ruby-forum.com/t/stubbing-corner-case/206140 "2011-05-02T19:52:20Z")

</div>

Hi! I was just talking to @dchelimsky over Twitter about a weird corner case we’ve run into on 1.3.1 (I’ve also been able to reproduce it in 1.3.2) So we’re using this gem called ClassyStruct that’s a higher performin…

---

## [Handling special characters](https://www.ruby-forum.com/t/handling-special-characters/144912)

<div class="topic-metadata">

**Author:** [@sajal](https://www.ruby-forum.com/u/sajal)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 11:57am UTC](https://www.ruby-forum.com/t/handling-special-characters/144912 "2008-08-04T11:57:25Z")

</div>

Hi all. I am very new to Ruby (5 days old) so my question might sound very noobish. I am posting it only cause I couldn’t find a solution. I am using ruby to scrape content of a site. To be precise I am having proble…

---

## [Money gem](https://www.ruby-forum.com/t/money-gem/69162)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 3\
**Last updated:** [September 19, 2006, 3:19am UTC](https://www.ruby-forum.com/t/money-gem/69162 "2006-09-19T03:19:37Z")

</div>

Ok, I know I’m missing something obvious here, but I can’t spot it. I installed the money gem. I’ve got this in my model: composed\_of :unit\_price\_object, :class\_name =\> “Money”, :mapping =\> \[ %w(unit\_price, cents) \] …

---

## [How to access a model from application.rb](https://www.ruby-forum.com/t/how-to-access-a-model-from-application-rb/97738)

<div class="topic-metadata">

**Author:** [@jgeggatt](https://www.ruby-forum.com/u/jgeggatt)\
**Replies:** 3\
**Last updated:** [July 10, 2006, 7:52am UTC](https://www.ruby-forum.com/t/how-to-access-a-model-from-application-rb/97738 "2006-07-10T07:52:55Z")

</div>

Hi All How do I access a model from within the application.rb? What im tying to do is pull some data from a model (news in this case) that must be displayed on each page within the entire application. I know I could…

---

## [Ruby IPC](https://www.ruby-forum.com/t/ruby-ipc/98176)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 3\
**Last updated:** [February 1, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/ruby-ipc/98176 "2006-02-01T22:45:25Z")

</div>

Hello all, I’m very new to Ruby, so excuse me if this is a newbie question. I’ve can’t seem to find much information on different types of IPC in Ruby. I realize there’s sockets, but what about shared memory, mess…

---

## [Find that number is repeated more and less times in an array](https://www.ruby-forum.com/t/find-that-number-is-repeated-more-and-less-times-in-an-array/221301)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 9, 2012, 11:58am UTC](https://www.ruby-forum.com/t/find-that-number-is-repeated-more-and-less-times-in-an-array/221301 "2012-07-09T11:58:57Z")

</div>

Hi all. I’m trying to find a function to find the number that is repeated over and the least is repeated within an array. I tried a lot of things but I can not make it work. For example: a = \[1 2 2 3 5 4 6 2 6 5 4\] …

---

## [RMagick, ImageMagick, Passenger and Dreamhost](https://www.ruby-forum.com/t/rmagick-imagemagick-passenger-and-dreamhost/167422)

<div class="topic-metadata">

**Author:** [@Daniel2Surf](https://www.ruby-forum.com/u/Daniel2Surf)\
**Replies:** 7\
**Last updated:** [March 31, 2010, 10:05pm UTC](https://www.ruby-forum.com/t/rmagick-imagemagick-passenger-and-dreamhost/167422 "2010-03-31T22:05:14Z")

</div>

I need to use the newest version of RMagick, so i did everything as they say on this wiki: http://wiki.dreamhost.com/index.php/RMagick But, my Rails app isn’t working, here is the error: This installation of RMagick w…

---

## [PostgreSQL gem for Ruby (pg) problem!](https://www.ruby-forum.com/t/postgresql-gem-for-ruby-pg-problem/150648)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 2:22pm UTC](https://www.ruby-forum.com/t/postgresql-gem-for-ruby-pg-problem/150648 "2008-10-19T14:22:19Z")

</div>

Hi there. I’m having a problem here: I’m trying to install pg-0.7.9.2008.10.05 (The last version), but I get this… PATH=/opt/PostgreSQL/8.3/bin:$PATH gem install pg Building native extensions. This could take a whil…

---

## [Wer fÃ¤hrt zur RailsConf Europe 08?](https://www.ruby-forum.com/t/wer-fa-hrt-zur-railsconf-europe-08/147351)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 7\
**Last updated:** [September 2, 2008, 10:53am UTC](https://www.ruby-forum.com/t/wer-fa-hrt-zur-railsconf-europe-08/147351 "2008-09-02T10:53:11Z")

</div>

Hallo Liste, wollte mal anfragen, wer denn diese Woche in Berlin sein und an der Konferenz teilnehmen wird. Ich werde auch dort sein und würde mich freuen, mal einige von dieser List in ‘echt’ kennenzulernen. -Alex

---

## [What is difference between form\_for and form\_tag?](https://www.ruby-forum.com/t/what-is-difference-between-form-for-and-form-tag/114182)

<div class="topic-metadata">

**Author:** [@mmnmm7](https://www.ruby-forum.com/u/mmnmm7)\
**Replies:** 1\
**Last updated:** [September 9, 2007, 10:39am UTC](https://www.ruby-forum.com/t/what-is-difference-between-form-for-and-form-tag/114182 "2007-09-09T10:39:34Z")

</div>

Hello! The many answers of this question are not appropriated for me. What is the BIG difference between form\_for and form\_tag? In several web pages, i read like below… form\_for method is used for specificated wrappe…

---

## [Starting XMLRPC server on virtual host returns EADDRNOTAVAIL](https://www.ruby-forum.com/t/starting-xmlrpc-server-on-virtual-host-returns-eaddrnotavail/78380)

<div class="topic-metadata">

**Author:** [@Rene\_T](https://www.ruby-forum.com/u/Rene_T)\
**Replies:** 7\
**Last updated:** [December 6, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/starting-xmlrpc-server-on-virtual-host-returns-eaddrnotavail/78380 "2006-12-06T12:35:14Z")

</div>

Dear ruby experts, I tried to start a Ruby XMLRPC server on a linux-based virtual host (using OpenVZ). Here is the code: $server = { “host” =\> “my.host.name”, “port” =\> 73726 } XMLRPC::Server.new(port=$server\[‘po…

---

## [GSOC 14 proposal for project "Vector Network Analyzer"](https://www.ruby-forum.com/t/gsoc-14-proposal-for-project-vector-network-analyzer/239767)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [March 14, 2014, 2:58pm UTC](https://www.ruby-forum.com/t/gsoc-14-proposal-for-project-vector-network-analyzer/239767 "2014-03-14T14:58:21Z")

</div>

Hi Here’s the link for my proposal for the project “Vector Network Analyzer” https://docs.google.com/file/d/0B5wp9A\_w2B5scmVKOTlGbVFISm8/edit?pli=1 You can post comment on google doc also. I am all ears to any sugge…

---

## [Help with convert .htaccess to nginx :(](https://www.ruby-forum.com/t/help-with-convert-htaccess-to-nginx/213264)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 21, 2012, 8:55pm UTC](https://www.ruby-forum.com/t/help-with-convert-htaccess-to-nginx/213264 "2012-03-21T20:55:04Z")

</div>

Hi guys, It’s me again :frowning: I was trying to install siwapp on my webserver but I couldn’t make it work with nginx, here is the .htaccess file content: Options +FollowSymLinks +ExecCGI AddDefaultCharset utf-8 …

---

## [Ruby "Save Game" function](https://www.ruby-forum.com/t/ruby-save-game-function/183525)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 4\
**Last updated:** [February 18, 2010, 1:21am UTC](https://www.ruby-forum.com/t/ruby-save-game-function/183525 "2010-02-18T01:21:23Z")

</div>

Hello! I am currently working on a text-based RPG and I wanted to implement a function that allowed the user to save their game at any point, so that it could be resumed later. Of course, this would need to be complim…

---

## [IronPython & Silverlight 2 Tutorial with Demos and	Downloads](https://www.ruby-forum.com/t/ironpython-silverlight-2-tutorial-with-demos-and-downloads/132666)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 4\
**Last updated:** [March 23, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/ironpython-silverlight-2-tutorial-with-demos-and-downloads/132666 "2008-03-23T18:26:11Z")

</div>

Hello all, My first post to the IronRuby list, sorry it is mainly about IronPython (and sorry for the HTML in the post - I plead special circumstances and won’t do it again). I’ve just put up articles and demos based…

---

## [Cutting off a Character from a String](https://www.ruby-forum.com/t/cutting-off-a-character-from-a-string/126855)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/cutting-off-a-character-from-a-string/126855 "2008-01-22T21:49:31Z")

</div>

Hello, I just have a small question - how can I cut off the leading character of a string? For example, in my case, I have a list of telephone numbers with a 1 at the beginning… I need to say that if the string is 11 …

---

## [How to use SslRequirement plugin?](https://www.ruby-forum.com/t/how-to-use-sslrequirement-plugin/87877)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/how-to-use-sslrequirement-plugin/87877 "2007-03-06T21:20:26Z")

</div>

Hi all, I need to use the SslRequirement plugin for a login page. The plugin is installed, the code is normally correct (comes straight from AWWRoR) class LoginController \< ApplicationController include SslRequireme…

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

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