# Top

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

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

---

## [Future\_email\_address problem](https://www.ruby-forum.com/t/future-email-address-problem/112510)

<div class="topic-metadata">

**Author:** [@riddlemaster](https://www.ruby-forum.com/u/riddlemaster)\
**Replies:** 1\
**Last updated:** [August 30, 2007, 11:29pm UTC](https://www.ruby-forum.com/t/future-email-address-problem/112510 "2007-08-30T23:29:34Z")

</div>

Hi, I’ve just installed RForum. When I try to register new user, or log-in I get an error about undefined “future\_email\_address method”. Commenting out any occurences of it in the code, solve the problem but it doesn’…

---

## [Convert string to time](https://www.ruby-forum.com/t/convert-string-to-time/78738)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 8, 2006, 6:19am UTC](https://www.ruby-forum.com/t/convert-string-to-time/78738 "2006-12-08T06:19:51Z")

</div>

Hi, How do i convert a string to Time ? Is there a function like “10/10/07 14:33:05”.to\_time ? The reason I need to do this is because I want to use the Time() methods such as asctime etc. Cheers, Petr

---

## [Ruby Versions and other languages performane comparison](https://www.ruby-forum.com/t/ruby-versions-and-other-languages-performane-comparison/98152)

<div class="topic-metadata">

**Author:** [@stephanwehner](https://www.ruby-forum.com/u/stephanwehner)\
**Replies:** 1\
**Last updated:** [July 13, 2006, 2:43am UTC](https://www.ruby-forum.com/t/ruby-versions-and-other-languages-performane-comparison/98152 "2006-07-13T02:43:37Z")

</div>

I ran this simple ruby script max = 5000 z = 0 1.upto(max) do |x| 1.upto(max) do |y| z = (x+y-z) % 32000 end end puts 'Got z = ’ + z.to\_s on different ruby implementations and translations to bash, bc, Java, pe…

---

## [SignToken](https://www.ruby-forum.com/t/signtoken/77443)

<div class="topic-metadata">

**Author:** [@nelson](https://www.ruby-forum.com/u/nelson)\
**Replies:** 1\
**Last updated:** [March 23, 2006, 2:30am UTC](https://www.ruby-forum.com/t/signtoken/77443 "2006-03-23T02:30:06Z")

</div>

hi, I’m working in extending the login engine to use a signed token to login in addition to user and password. The idea is that a random token is presented, the user click the ‘sign & login’ button, choose the certi…

---

## ["D" errors after flowgraph runs for some time](https://www.ruby-forum.com/t/d-errors-after-flowgraph-runs-for-some-time/242936)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 8, 2015, 9:19pm UTC](https://www.ruby-forum.com/t/d-errors-after-flowgraph-runs-for-some-time/242936 "2015-08-08T21:19:09Z")

</div>

I am playing with a slightly modified version of Chris K.'s channelizer example for NOAA radio stations (my version attached). I’m using 3.7.6.1. The program runs just fine for the first 20-30 minutes on my I7-4710HQ …

---

## [Mixing FormHelper methods with other methods](https://www.ruby-forum.com/t/mixing-formhelper-methods-with-other-methods/242811)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 31, 2015, 8:42pm UTC](https://www.ruby-forum.com/t/mixing-formhelper-methods-with-other-methods/242811 "2015-07-31T20:42:33Z")

</div>

Hi, I have a simple form using form\_for but I need to have a field in the form that uses select\_time which is not part of the FormHelper and there lies the issue. \<%= form\_for \[:admin, @restaurant, @opening\_hour\] do…

---

## [Nginx cache expire settings issue.Can anyone help?](https://www.ruby-forum.com/t/nginx-cache-expire-settings-issue-can-anyone-help/234876)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [December 11, 2014, 2:58pm UTC](https://www.ruby-forum.com/t/nginx-cache-expire-settings-issue-can-anyone-help/234876 "2014-12-11T14:58:19Z")

</div>

Hi I am new to Nginx. I need to add expire -1 for my JSON files in the below urls https://siteaddress/foldername /default.htm#/dashboard/ui.json location /foldername { index default.html default.htm; proxy\_pass …

---

## [Website with login button, redirect to intranet?](https://www.ruby-forum.com/t/website-with-login-button-redirect-to-intranet/230262)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 7, 2014, 4:54pm UTC](https://www.ruby-forum.com/t/website-with-login-button-redirect-to-intranet/230262 "2014-06-07T16:54:38Z")

</div>

Hi everyone, I would like to check whether this is possible with nginx (on ubuntu 12.04 LTS 64 bits). I have a website www.mywebpage.com.my this is just another website. There is a login button. When someone click…

---

## [Duplicare 2 database in ruby](https://www.ruby-forum.com/t/duplicare-2-database-in-ruby/240004)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 5:47pm UTC](https://www.ruby-forum.com/t/duplicare-2-database-in-ruby/240004 "2014-03-27T17:47:32Z")

</div>

Ciao a tutti.Dispongo di 2 database sqlite e devo copiare alcune tabelle da uno sull’altro.La prima versione di script che ho fatto consiste nell’avere i doppi model, uno per tabella e per db, e li ciclo leggendo dal …

---

## [Test a method which starts a Rack App](https://www.ruby-forum.com/t/test-a-method-which-starts-a-rack-app/239274)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 20, 2014, 7:31am UTC](https://www.ruby-forum.com/t/test-a-method-which-starts-a-rack-app/239274 "2014-02-20T07:31:11Z")

</div>

Hey folks! Just added some tests for my first gem (GitHub - tak1n/rack-blogengine: Rack Blogengine Application). Played a little bit with TestUnit, MiniTest Unit/Spec, RSpec and Cucumber/Capybara For Unit testing i …

---

## [Hier blocks with message output pads](https://www.ruby-forum.com/t/hier-blocks-with-message-output-pads/238804)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 30, 2014, 10:11pm UTC](https://www.ruby-forum.com/t/hier-blocks-with-message-output-pads/238804 "2014-01-30T22:11:33Z")

</div>

Hi there, I am having the following problem: I create a simple hier block in grc and one of the outputs is a message. I added an output pad with message port, but I see two issues: the colour of the pad connection …

---

## [Mailing list software that plays nice with nginx](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 9, 2011, 3:51pm UTC](https://www.ruby-forum.com/t/mailing-list-software-that-plays-nice-with-nginx/213676 "2011-11-09T15:51:05Z")

</div>

Hi everyone, Looking for s script (preferably PHP) that plays nice with nginx “out of the box” i.e. doesn’t require rewriting .htaccess files into nginx rules, etc. Just lloking for something that will let me send o…

---

## [Array con tamaÃ±o 10 dice You have a nil object when you didn](https://www.ruby-forum.com/t/array-con-tamaa-o-10-dice-you-have-a-nil-object-when-you-didn/173840)

<div class="topic-metadata">

**Author:** [@kikekabron](https://www.ruby-forum.com/u/kikekabron)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 11:32am UTC](https://www.ruby-forum.com/t/array-con-tamaa-o-10-dice-you-have-a-nil-object-when-you-didn/173840 "2009-08-28T11:32:30Z")

</div>

Hola, en primer lugar daos las gracias por el trabajo que hace la gente en el foro,realmente increible y es de muchisima ayuda a los que empezamos en esto. Bueno, basicamente mi problema es que tengo un array, con 10 …

---

## [Active record doesn't seem to see jdbc adapter](https://www.ruby-forum.com/t/active-record-doesnt-seem-to-see-jdbc-adapter/163383)

<div class="topic-metadata">

**Author:** [@moredip](https://www.ruby-forum.com/u/moredip)\
**Replies:** 2\
**Last updated:** [March 19, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/active-record-doesnt-seem-to-see-jdbc-adapter/163383 "2009-03-19T21:27:10Z")

</div>

I have a problem that I can’t quite get to the bottom of. I have a DB that cannot handle the LIMIT clause on the SQL generated in Rails. No worries because I already have a modified rb file that should handle it. I…

---

## [Capistrano en Mac OSX](https://www.ruby-forum.com/t/capistrano-en-mac-osx/154759)

<div class="topic-metadata">

**Author:** [@Ceritium](https://www.ruby-forum.com/u/Ceritium)\
**Replies:** 2\
**Last updated:** [December 3, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/capistrano-en-mac-osx/154759 "2008-12-03T19:44:14Z")

</div>

Hola a todos! Antes de ayer volvÃ­ a instalar mi Leopard desde 0, tenÃ­a demasiada basura para mi gusto, supongo que por eso de instalar progamas y mas programas con eso de que era nueva en Mac. Bueno la cosa es qu…

---

## [One model with lots of tables in Rails](https://www.ruby-forum.com/t/one-model-with-lots-of-tables-in-rails/152704)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 2\
**Last updated:** [November 7, 2008, 1:00am UTC](https://www.ruby-forum.com/t/one-model-with-lots-of-tables-in-rails/152704 "2008-11-07T01:00:52Z")

</div>

On a forum I discovered this. That was intended for to use on just one model: module SharedStuff self.abstract\_class = true self.table\_name = ‘footable’ self.table\_name = ‘bartable’ end class Foo \< ActiveRecord::B…

---

## [Where do I copy my RoR application](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724 "2008-10-18T23:34:41Z")

</div>

Hi all I have a questions about how to deploy my RoR application. In my server I already have an html applicaiotn, and one of these pages needs to call the RoR. Currently my pages are inside the public\_html folder W…

---

## [Render :update vs. render :partial -\> need :update help](https://www.ruby-forum.com/t/render-update-vs-render-partial-need-update-help/139641)

<div class="topic-metadata">

**Author:** [@djconcepcion](https://www.ruby-forum.com/u/djconcepcion)\
**Replies:** 2\
**Last updated:** [June 5, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/render-update-vs-render-partial-need-update-help/139641 "2008-06-05T18:40:55Z")

</div>

I am trying to make a render :update work, and couldn’t find anything on the forums or in books on what I am doing wrong: def index render :update do |page| page.replace\_html ‘asection’, :text =\> ‘99’ (or :partial =\> …

---

## [Why/when does the DRb server rebuild the index (when I don't](https://www.ruby-forum.com/t/why-when-does-the-drb-server-rebuild-the-index-when-i-dont/109958)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 2\
**Last updated:** [March 28, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/why-when-does-the-drb-server-rebuild-the-index-when-i-dont/109958 "2008-03-28T20:25:44Z")

</div>

Hi, I’m using DRb server, and sometimes it starts rebuilding the index for no - apparent - reason (no model nor DB schema change). As this blocks the computer for more that an hour, I must fix this problem before I p…

---

## [Marshaling ActiveRecord objects: how to unload associations?](https://www.ruby-forum.com/t/marshaling-activerecord-objects-how-to-unload-associations/129953)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 2\
**Last updated:** [March 4, 2008, 8:51pm UTC](https://www.ruby-forum.com/t/marshaling-activerecord-objects-how-to-unload-associations/129953 "2008-03-04T20:51:19Z")

</div>

I’m marshaling ActiveRecord objects, and I want them to be as small as possible. How can I unload everything that can be reloaded from the database? If they’re marshaled before any of the associations are referenced …

---

## [Content-Disposition: attachment um Download von Bildern zu erzwingen](https://www.ruby-forum.com/t/content-disposition-attachment-um-download-von-bildern-zu-erzwingen/123742)

<div class="topic-metadata">

**Author:** [@spiderware](https://www.ruby-forum.com/u/spiderware)\
**Replies:** 2\
**Last updated:** [December 20, 2007, 8:51am UTC](https://www.ruby-forum.com/t/content-disposition-attachment-um-download-von-bildern-zu-erzwingen/123742 "2007-12-20T08:51:17Z")

</div>

Hi Liste, ok, das ist jetzt nur halb eine Rails-Frage. aber vielleicht fällt ja doch jemandem was dazu ein: Wir haben ein Verzeichnis mit hochauflösenden Bildern, die eigentlich nicht zur Ansicht, sondern zum Downloa…

---

## [Questions about rails 2.0](https://www.ruby-forum.com/t/questions-about-rails-2-0/122577)

<div class="topic-metadata">

**Author:** [@mix](https://www.ruby-forum.com/u/mix)\
**Replies:** 2\
**Last updated:** [December 12, 2007, 1:16am UTC](https://www.ruby-forum.com/t/questions-about-rails-2-0/122577 "2007-12-12T01:16:12Z")

</div>

Hi, i’ve found some questions on the rails blog which haven’t any answer. Because i’m interested too i paste them here: gonzo on 07 Dec 22:10: Does CSRF protection work with forms that are fully cached? rugal on 08 De…

---

## [Winxp multicast socket reading problem](https://www.ruby-forum.com/t/winxp-multicast-socket-reading-problem/114058)

<div class="topic-metadata">

**Author:** [@akifusenet](https://www.ruby-forum.com/u/akifusenet)\
**Replies:** 2\
**Last updated:** [December 7, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/winxp-multicast-socket-reading-problem/114058 "2007-12-07T21:38:18Z")

</div>

Hi I am trying to read some data from a multicast address. So I googled and found this example. require ‘socket’ require ‘ipaddr’ MULTICAST\_ADDR = “225.4.5.6” PORT = 5000 ip = IPAddr.new(MULTICAST\_ADDR).hton + IP…

---

## [Class Help - Accessing Parent Methods from Child](https://www.ruby-forum.com/t/class-help-accessing-parent-methods-from-child/121933)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 2\
**Last updated:** [December 3, 2007, 7:59am UTC](https://www.ruby-forum.com/t/class-help-accessing-parent-methods-from-child/121933 "2007-12-03T07:59:21Z")

</div>

Hello everyone, I’m working on an API for Google Reader, and I’m having some trouble with classes and inheritance and the like. I’ve got my main class, Reader, and then two children classes, Subscription \< Reader and …

---

## [FileNotFoundError](https://www.ruby-forum.com/t/filenotfounderror/116063)

<div class="topic-metadata">

**Author:** [@morten](https://www.ruby-forum.com/u/morten)\
**Replies:** 2\
**Last updated:** [October 2, 2007, 8:55am UTC](https://www.ruby-forum.com/t/filenotfounderror/116063 "2007-10-02T08:55:24Z")

</div>

Hi, I saw someone else have this earlier. The recommendation is still to downgrade to 0.11.3? Oct 01 19:56:09 ey01-s00116 rails\[3175\]: Ferret::FileNotFoundError (File Not Found Error occured at \<except.c\>:117 in xpop\_…

---

## [\[ANN\] R-Bus, a native Ruby implementation of D-Bus](https://www.ruby-forum.com/t/ann-r-bus-a-native-ruby-implementation-of-d-bus/90116)

<div class="topic-metadata">

**Author:** [@stoffe](https://www.ruby-forum.com/u/stoffe)\
**Replies:** 2\
**Last updated:** [March 27, 2007, 8:00am UTC](https://www.ruby-forum.com/t/ann-r-bus-a-native-ruby-implementation-of-d-bus/90116 "2007-03-27T08:00:47Z")

</div>

Hello, just put the source code up at the project page at Rubyforge. Finally found the time to clean it up a bit and polish the docs a little. R-Bus is a native Ruby implementation of the D-Bus protocol, with these g…

---

## [Problem with Table in a ScrolledWindow in a Notebook](https://www.ruby-forum.com/t/problem-with-table-in-a-scrolledwindow-in-a-notebook/89453)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/problem-with-table-in-a-scrolledwindow-in-a-notebook/89453 "2007-03-20T17:01:53Z")

</div>

Hi, In the following script when I select ‘page 2’ in the notebook, the hello button isn’t shown. If I switch tabs, then show ‘page 2’, for a second time, the button is shown. Am I doing something wrong? Martin. r…

---

## [Plus sign not passed in parameters](https://www.ruby-forum.com/t/plus-sign-not-passed-in-parameters/70000)

<div class="topic-metadata">

**Author:** [@Peter\_De\_Berdt](https://www.ruby-forum.com/u/Peter_De_Berdt)\
**Replies:** 2\
**Last updated:** [September 26, 2006, 11:40am UTC](https://www.ruby-forum.com/t/plus-sign-not-passed-in-parameters/70000 "2006-09-26T11:40:21Z")

</div>

Hi Running Rails 1.1.6. This is what’s being passed to rails through a GET request: Parameters: {“month”=\>“10”, “title”=\>“Jurassic 5 The Compositive Two”, “action”=\>“index”, “controller”=\>“events”, “day”=\>“8”, “ye…

---

## [How to generate dynamic image on ROR?](https://www.ruby-forum.com/t/how-to-generate-dynamic-image-on-ror/64505)

<div class="topic-metadata">

**Author:** [@YuYuYu](https://www.ruby-forum.com/u/YuYuYu)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/how-to-generate-dynamic-image-on-ror/64505 "2006-08-15T14:19:46Z")

</div>

Hello, i am very new to ROR. i want to use ROR to generate a dynamic image which is a combinationn of some other images and some strings. and then people can use tag to display that image. like the web page counters,…

---

## [Gem install mysql \*\*\*extconf.rb failed\*\*\*](https://www.ruby-forum.com/t/gem-install-mysql-extconf-rb-failed/97466)

<div class="topic-metadata">

**Author:** [@jmvbxx](https://www.ruby-forum.com/u/jmvbxx)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 9:53pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-extconf-rb-failed/97466 "2006-07-07T21:53:53Z")

</div>

I’ve installed rails (and it works) and now I want to be able to connect to a mysql database. The database.yml file tells me to install the mysql drivers by typing: gem install mysql This is the error I receive: Cou…

---

## [Weird problem with script/server, lighttpd, and FreeBSD](https://www.ruby-forum.com/t/weird-problem-with-script-server-lighttpd-and-freebsd/99797)

<div class="topic-metadata">

**Author:** [@HSWade\_M](https://www.ruby-forum.com/u/HSWade_M)\
**Replies:** 2\
**Last updated:** [June 21, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/weird-problem-with-script-server-lighttpd-and-freebsd/99797 "2006-06-21T17:36:25Z")

</div>

I installed lighttpd from ports on my FreeBSD-5 system last night, wanting to play with that instead of WEBrick for development work. I installed it, and ran script/server, and got this: \[minter@carlton discostu\]$ sc…

---

## [Article on screen scraping w HTree+REXML, RubyfulSoup, WWW::](https://www.ruby-forum.com/t/article-on-screen-scraping-w-htree-rexml-rubyfulsoup-www/63343)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/article-on-screen-scraping-w-htree-rexml-rubyfulsoup-www/63343 "2006-06-14T16:02:07Z")

</div>

Hello all, I am investigating the possibilities of screen scraping/web extraction/ automated web navigation/wrapper generation in Ruby. I have been working with these technologies for several years, (unfortunately) in…

---

## [Rescue error with custom exception](https://www.ruby-forum.com/t/rescue-error-with-custom-exception/245346)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 29, 2017, 5:57pm UTC](https://www.ruby-forum.com/t/rescue-error-with-custom-exception/245346 "2017-04-29T17:57:01Z")

</div>

I would like to rescue some code with a custom exception class. Here some code: class CustomError \< StandardError end begin ‘foo’.bar(:baz) rescue CustomError THIS IS FINE end However, my class is not able to re…

---

## [Time taken by page to load](https://www.ruby-forum.com/t/time-taken-by-page-to-load/182234)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 8\
**Last updated:** [January 27, 2010, 3:40pm UTC](https://www.ruby-forum.com/t/time-taken-by-page-to-load/182234 "2010-01-27T15:40:00Z")

</div>

Champs, Is there any way to find out that how much time a page had taken to load itself ? Googled for it but no luck… :’(

---

## [How to see if a variable matches an array element?](https://www.ruby-forum.com/t/how-to-see-if-a-variable-matches-an-array-element/64522)

<div class="topic-metadata">

**Author:** [@johnf](https://www.ruby-forum.com/u/johnf)\
**Replies:** 8\
**Last updated:** [August 15, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/how-to-see-if-a-variable-matches-an-array-element/64522 "2006-08-15T14:22:11Z")

</div>

Hey folks, I’m knocking together a Rock, Paper, Scissors Ruby script to teach myself more Ruby deliciousness, and I’ve got it working, except I want to compare a variable to an array element (one of \[“R”, “P”, “S”\])…

---

## [How to remove a record if it is duplicate end sum values :val](https://www.ruby-forum.com/t/how-to-remove-a-record-if-it-is-duplicate-end-sum-values-val/221880)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 3, 2012, 2:39pm UTC](https://www.ruby-forum.com/t/how-to-remove-a-record-if-it-is-duplicate-end-sum-values-val/221880 "2012-08-03T14:39:20Z")

</div>

I have a hash like so: list=\[ {:cod =\> “0001”, :name =\> “name1”, :val =\> 10}, {:cod =\> “0001”, :name =\> “name1”, :val =\> 12}, {:cod =\> “0002”, :name =\> “name2”, :val =\> 13}, {:cod =\> “0002”, :name =\> “name2”, :val =\>…

---

## [Having difficulty processing text files - some techniques?](https://www.ruby-forum.com/t/having-difficulty-processing-text-files-some-techniques/221886)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 3, 2012, 12:07pm UTC](https://www.ruby-forum.com/t/having-difficulty-processing-text-files-some-techniques/221886 "2012-08-03T12:07:24Z")

</div>

I am trying to extract information from a po-ker hand history text file as an exercise in learning RegExp and ruby file manipulation classes IO and File. The way the hand history text file is set out is like so: Hand…

---

## [New to Ruby - Scope Question](https://www.ruby-forum.com/t/new-to-ruby-scope-question/220820)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 21, 2012, 10:30am UTC](https://www.ruby-forum.com/t/new-to-ruby-scope-question/220820 "2012-06-21T10:30:34Z")

</div>

x = 10 y = 5 def square(x) puts "within the method x is " + x.to\_s puts x\*x end In the above when defining the method, the x that is being referenced in “x.to\_s” and puts x\*x is by default the variable x, defined …

---

## [Block access to a file!](https://www.ruby-forum.com/t/block-access-to-a-file/220349)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 6, 2012, 4:32pm UTC](https://www.ruby-forum.com/t/block-access-to-a-file/220349 "2012-06-06T16:32:23Z")

</div>

Hi, it must be a piece of cake but i can not find a soloution… the problem is " location admin.php". you can check it below… i just want to allow access to admin.php to some ip address and deny others. if i remove a…

---

## [Undefined symbol on starting grc](https://www.ruby-forum.com/t/undefined-symbol-on-starting-grc/217046)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 21, 2012, 7:46pm UTC](https://www.ruby-forum.com/t/undefined-symbol-on-starting-grc/217046 "2012-02-21T19:46:41Z")

</div>

Hi guys, First time poster… I wrote a block to read Matlab files, similar to the Wav file importer, and finally got around to getting all compile errors solved. I receive up to 50 350 MB Matlab data files per day, an…

---

## [Metaprograming question about initialize](https://www.ruby-forum.com/t/metaprograming-question-about-initialize/217038)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 20, 2012, 5:41pm UTC](https://www.ruby-forum.com/t/metaprograming-question-about-initialize/217038 "2012-02-20T17:41:16Z")

</div>

How many times have we seen this: class X attr\_accessor :arg1, :arg2, :arg3, :arg4 def initialize(arg1, arg2, arg3, arg4) @arg1, @arg2, @arg3, @arg4 = arg1, arg2, arg3, arg4 end end Wouldn’t it be nice if we (ok, …

---

## [Why do I receive this error?](https://www.ruby-forum.com/t/why-do-i-receive-this-error/216013)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 22, 2012, 7:35pm UTC](https://www.ruby-forum.com/t/why-do-i-receive-this-error/216013 "2012-01-22T19:35:38Z")

</div>

So I’ve returned today with a new problem… I get this error, and I know it’s probably something very easy to fix, but I can’t seem to figure it out… Here is my code: And here is the error I get: C:\\Users\\Paetilium\\…

---

## [Update of nginx](https://www.ruby-forum.com/t/update-of-nginx/214821)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 14, 2011, 7:58am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821 "2011-12-14T07:58:14Z")

</div>

Hello, I am encountering a problem while updating my nginx server. I first configured and built the new version 1.1.11. I then stopped the server, checked it has been done, executed the make install and checked the c…

---

## [Rails on Netbeans 6.9.1](https://www.ruby-forum.com/t/rails-on-netbeans-6-9-1/212353)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 1, 2011, 4:42pm UTC](https://www.ruby-forum.com/t/rails-on-netbeans-6-9-1/212353 "2011-10-01T16:42:06Z")

</div>

I installed ruby 1.9.2 using RVM and then used Netbeans to install the latest rails and gems etc. However when I create a new rails application and click finish i get the following error http://old.nabble.com/file/p…

---

## [Making fibers enumerable](https://www.ruby-forum.com/t/making-fibers-enumerable/207095)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 18, 2011, 5:50pm UTC](https://www.ruby-forum.com/t/making-fibers-enumerable/207095 "2011-05-18T17:50:45Z")

</div>

Hi, Most of the Enumerable methods can be used for fiber based generators if Fiber is made enumerable. class Fiber include Enumerable def each loop { yield self.resume } end end def fib\_gen Fiber.new { a, b =…

---

## [Know of a Linux or Windows editor / IDE with support for TDD for RoR?](https://www.ruby-forum.com/t/know-of-a-linux-or-windows-editor-ide-with-support-for-tdd-for-ror/193856)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 5\
**Last updated:** [August 25, 2010, 9:39pm UTC](https://www.ruby-forum.com/t/know-of-a-linux-or-windows-editor-ide-with-support-for-tdd-for-ror/193856 "2010-08-25T21:39:27Z")

</div>

I saw a demo of VisualStudio’s support for TDD for C++ (or C#, I can’t recall which) this past weekend and was impressed. Anybody know of an editor or IDE for Linux (Ubuntu specifically) or Windows that has built-in …

---

## [Syncronous data aquisition using multiple USRP2 boards](https://www.ruby-forum.com/t/syncronous-data-aquisition-using-multiple-usrp2-boards/183689)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [February 23, 2010, 4:12pm UTC](https://www.ruby-forum.com/t/syncronous-data-aquisition-using-multiple-usrp2-boards/183689 "2010-02-23T16:12:44Z")

</div>

I am trying to syncronise data acquisition for 3 USRP2 boxes at 2.4GHz to aquire say 1M samples from each board and write to a text file. So far I have managed to modify the firmware to output the USRP2 clock to the …

---

## [Test tarballs for 3.3git](https://www.ruby-forum.com/t/test-tarballs-for-3-3git/181748)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 5\
**Last updated:** [January 25, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/test-tarballs-for-3-3git/181748 "2010-01-25T18:23:24Z")

</div>

Test tarball distribution files have been created for the current 3.3git release under development: http://gnuradio.org/releases/gnuradio/gnuradio-3.3git-594-g02616cf8.tar.gz http://gnuradio.org/releases/gnuradio/gr-h…

---

## [Boson 0.1 - Initial Release](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671)

<div class="topic-metadata">

**Author:** [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Replies:** 5\
**Last updated:** [October 23, 2009, 10:43am UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671 "2009-10-23T10:43:34Z")

</div>

Hi, I’m introducing Boson, a command/task framework similar to rake and thor which executes commands from the commandline and irb. To install: gem install boson Features: Commands are just methods on main which mea…

---

## [Tagging recommendation - acts\_as\_taggable\_on\_steroids best?](https://www.ruby-forum.com/t/tagging-recommendation-acts-as-taggable-on-steroids-best/175206)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [September 10, 2009, 11:43am UTC](https://www.ruby-forum.com/t/tagging-recommendation-acts-as-taggable-on-steroids-best/175206 "2009-09-10T11:43:31Z")

</div>

hey all What’s the most popular tagging plugin/gem these days? Is it acts\_as\_taggable\_on\_steroids? Or is something else better? I’d like to basically replicate flickr’s tagging as much as possible, eg allowing mult…

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

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