# Top

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

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

---

## [Http\_mp4\_module broken in v1.0.8?](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 30, 2011, 2:04am UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309 "2011-10-30T02:04:04Z")

</div>

Hello list, the new mp4 module (–with-http\_mp4\_module) doesn’t work for me at all in v1.0.8 (JWPlayer just stalls and keeps buffering after seeking), but it works great with nginx v1.1.6. Same configuration, same mp4 …

---

## [Using something like 'load' on IO Stream?](https://www.ruby-forum.com/t/using-something-like-load-on-io-stream/200239)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [December 8, 2010, 9:16am UTC](https://www.ruby-forum.com/t/using-something-like-load-on-io-stream/200239 "2010-12-08T09:16:42Z")

</div>

Hello, Is there a way to load a Ruby script in text, not a .so or .dll, from an IO Stream or a StringIO ? Thanks. Lucas

---

## [Confuse about initialize hash](https://www.ruby-forum.com/t/confuse-about-initialize-hash/179289)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 8\
**Last updated:** [November 22, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/confuse-about-initialize-hash/179289 "2009-11-22T14:20:00Z")

</div>

def in(options ={} ) p options end in(:say =\> “somehting”) # {:say =\> “something”} but under the hood of it, doesn’t that process equivalent to options = {} options = :say =\> “something” or options = :say =\> “someth…

---

## [Passing id array as option in find\_by\_solr](https://www.ruby-forum.com/t/passing-id-array-as-option-in-find-by-solr/177137)

<div class="topic-metadata">

**Author:** [@adedip](https://www.ruby-forum.com/u/adedip)\
**Replies:** 3\
**Last updated:** [October 15, 2009, 4:52pm UTC](https://www.ruby-forum.com/t/passing-id-array-as-option-in-find-by-solr/177137 "2009-10-15T16:52:16Z")

</div>

Needs: I wan’to apply the solr query by keyword to a subgroups of documents. I’m putting on the index only title and content of each, is it possibile to do something like this: @articles = Article.find\_by\_solr(params…

---

## [Security considerations with REST calls](https://www.ruby-forum.com/t/security-considerations-with-rest-calls/175511)

<div class="topic-metadata">

**Author:** [@sktib](https://www.ruby-forum.com/u/sktib)\
**Replies:** 3\
**Last updated:** [September 16, 2009, 4:01pm UTC](https://www.ruby-forum.com/t/security-considerations-with-rest-calls/175511 "2009-09-16T16:01:47Z")

</div>

Folks, I have joined a development group where developers have created a “REST” interface that passes username and password as parameters (with every call) though the call is made over https e.g. https://?user=&pwd=.…

---

## [Ignore F1-F12 keys when user enters text input on console](https://www.ruby-forum.com/t/ignore-f1-f12-keys-when-user-enters-text-input-on-console/172863)

<div class="topic-metadata">

**Author:** [@dr\_dunno](https://www.ruby-forum.com/u/dr_dunno)\
**Replies:** 3\
**Last updated:** [July 29, 2009, 8:21am UTC](https://www.ruby-forum.com/t/ignore-f1-f12-keys-when-user-enters-text-input-on-console/172863 "2009-07-29T08:21:36Z")

</div>

I am writing a Ruby script to accept a user’s input which will be used as a password later on. The user input it taken using STDIN.getc. Since it is a password input, when the user enters the characters on the keyboar…

---

## [\[ANNOUNCE\] cucumber in italiano + blog post](https://www.ruby-forum.com/t/announce-cucumber-in-italiano-blog-post/153112)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 3\
**Last updated:** [June 25, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/announce-cucumber-in-italiano-blog-post/153112 "2009-06-25T15:52:58Z")

</div>

Ciao, la mia localizzazione di cucumber in italiano è stata integrata nell’ultima gem, potete trovarla su github ( GitHub: Let’s build from here · GitHub ). Per chi usa textmate, c’è anche il syntax highlighting nell…

---

## [Default values for new table entry](https://www.ruby-forum.com/t/default-values-for-new-table-entry/166227)

<div class="topic-metadata">

**Author:** [@cbnewman](https://www.ruby-forum.com/u/cbnewman)\
**Replies:** 3\
**Last updated:** [April 27, 2009, 6:39am UTC](https://www.ruby-forum.com/t/default-values-for-new-table-entry/166227 "2009-04-27T06:39:09Z")

</div>

All, I would like a new record that is created with the new.html.erb page to always populate a specific variable with a default value. The simplest way would be to have a check\_box that defaults to checked when the p…

---

## [Create custom jruby-complete.jar](https://www.ruby-forum.com/t/create-custom-jruby-complete-jar/166116)

<div class="topic-metadata">

**Author:** [@roytruelove](https://www.ruby-forum.com/u/roytruelove)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 8:36am UTC](https://www.ruby-forum.com/t/create-custom-jruby-complete-jar/166116 "2009-04-22T08:36:50Z")

</div>

Hello all, I’ve read rumors that this is possible, but I haven’t been able to find instructions: how do I build a custom jruby-complete.jar (i.e. including gems that are not part of the standard jruby-complete.jar). T…

---

## [Problema helpers :all](https://www.ruby-forum.com/t/problema-helpers-all/164582)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 3\
**Last updated:** [April 2, 2009, 7:30pm UTC](https://www.ruby-forum.com/t/problema-helpers-all/164582 "2009-04-02T19:30:04Z")

</div>

Veamos, tengo el siguiente cÃ³digo en mi ApplicationHelper: def redirect\_back\_or\_default(default) redirect\_to(session\[:return\_to\] || default) session\[:return\_to\] = nil end En mi ApplicationController tengo el siguie…

---

## [Ruby monitoring websites, databases and more on windows](https://www.ruby-forum.com/t/ruby-monitoring-websites-databases-and-more-on-windows/163273)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 3\
**Last updated:** [March 22, 2009, 12:27am UTC](https://www.ruby-forum.com/t/ruby-monitoring-websites-databases-and-more-on-windows/163273 "2009-03-22T00:27:10Z")

</div>

Im happy now, hehe, the company im working only using .net technology and i convinced my boss to give me a small project to prove how can ruby could help the company. Now the project! I need keep track of the status…

---

## [Per presentare un form con i dati gia' presenti](https://www.ruby-forum.com/t/per-presentare-un-form-con-i-dati-gia-presenti/160649)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 3\
**Last updated:** [February 18, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/per-presentare-un-form-con-i-dati-gia-presenti/160649 "2009-02-18T14:52:16Z")

</div>

Nel senso…nella pagina principale dell’applicazione voglio presentare all’utente un form per ricercare dei dati. Ho quindi creato il layout della main page, non la view ma il layout. Nel layout ci metto un form all’in…

---

## [Ffi-ncurses version 0.3.1](https://www.ruby-forum.com/t/ffi-ncurses-version-0-3-1/160447)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 3\
**Last updated:** [February 17, 2009, 5:18pm UTC](https://www.ruby-forum.com/t/ffi-ncurses-version-0-3-1/160447 "2009-02-17T17:18:34Z")

</div>

ffi-ncurses version 0.3.1 by Sean O’Halpin GitHub - seanohalpin/ffi-ncurses: Interface to ncurses using Ruby FFI (Foreign Function Interface) == DESCRIPTION A wrapper for ncurses 5.x. Tested on Mac OS X 10.4 (Tiger) …

---

## [Problem calling CLR method](https://www.ruby-forum.com/t/problem-calling-clr-method/157167)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/problem-calling-clr-method/157167 "2009-01-08T18:06:39Z")

</div>

Hello, I can’t call the object’s method, thought it exists. My ruby script: Let’s dump .Net methods far.get\_type.get\_methods.each { |m| p m.name } Try to call ‘RegisterTool’ method begin far.register\_tool rescue =\>…

---

## [Installing a branched gem from git?](https://www.ruby-forum.com/t/installing-a-branched-gem-from-git/156400)

<div class="topic-metadata">

**Author:** [@Teedub](https://www.ruby-forum.com/u/Teedub)\
**Replies:** 3\
**Last updated:** [December 28, 2008, 2:12am UTC](https://www.ruby-forum.com/t/installing-a-branched-gem-from-git/156400 "2008-12-28T02:12:12Z")

</div>

Happy Holidays, This question happens to be about juggernaut, but the problem is generic. I am waiting to be accepted to the juggernaut google group or I would post there. I am playing with juggernaut and I see that …

---

## [Unit test of sequel column value](https://www.ruby-forum.com/t/unit-test-of-sequel-column-value/155611)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 12:15am UTC](https://www.ruby-forum.com/t/unit-test-of-sequel-column-value/155611 "2008-12-15T00:15:18Z")

</div>

I’m trying to do a simple assert of the value of a column returned from MySQL using the sequel gem. However, the type is an Array, rather than a String. Code snippet: cur\_user = @db\[:users\].where(:username =\> ‘test…

---

## [How to invoke Windows program with a Ruby command](https://www.ruby-forum.com/t/how-to-invoke-windows-program-with-a-ruby-command/151813)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 9:25am UTC](https://www.ruby-forum.com/t/how-to-invoke-windows-program-with-a-ruby-command/151813 "2008-10-28T09:25:11Z")

</div>

Hi, I’ve got a command that works in the Command Window of WinXP-Pro/SP3: F:\\Docume~1\\AllUse~1\\StartM~1\\Programs\_Microsoft \\Micros~3\\Micros~2.lnk K:\_Projects\\Ruby\_Rails\_Apps\\PayrollLoader\\TestSheet.xls As I write th…

---

## [Has and belongs to many, join table id included in query](https://www.ruby-forum.com/t/has-and-belongs-to-many-join-table-id-included-in-query/150934)

<div class="topic-metadata">

**Author:** [@chrisjo](https://www.ruby-forum.com/u/chrisjo)\
**Replies:** 3\
**Last updated:** [October 15, 2008, 11:15am UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-join-table-id-included-in-query/150934 "2008-10-15T11:15:42Z")

</div>

I’m using a habtm association for the first time and I’m having some trouble when inserting several rows. The id of the join table seems to be set to an already existing id causing the insert to fail. class ClassA \< A…

---

## [Mod\_rails y Ajax](https://www.ruby-forum.com/t/mod-rails-y-ajax/149749)

<div class="topic-metadata">

**Author:** [@fesplugas](https://www.ruby-forum.com/u/fesplugas)\
**Replies:** 3\
**Last updated:** [September 29, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/mod-rails-y-ajax/149749 "2008-09-29T13:00:47Z")

</div>

En una aplicaciÃ³n para uso interno de una empresa que he puesto en producciÃ³n con mod\_rails hemos tenido un “pequeÃ±o” problema con los formularios en Ajax y otros efectos. Para solucionarlo hemos aÃ±adido el “Allow…

---

## [Logging empty.gif](https://www.ruby-forum.com/t/logging-empty-gif/148758)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 3\
**Last updated:** [September 18, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/logging-empty-gif/148758 "2008-09-18T15:59:28Z")

</div>

I have built a small stand alone nginx server, all it is doing is serving up one empty.gif. I want to use this server to get up to the minute logs for my main site. Each page on the main site has an image tag for the…

---

## [RubyZipFIleSystem - help with simple task](https://www.ruby-forum.com/t/rubyzipfilesystem-help-with-simple-task/144132)

<div class="topic-metadata">

**Author:** [@nathandelane](https://www.ruby-forum.com/u/nathandelane)\
**Replies:** 3\
**Last updated:** [August 7, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/rubyzipfilesystem-help-with-simple-task/144132 "2008-08-07T13:51:06Z")

</div>

I am new to Ruby, but am doing my best. I have a zip file that I’m trying to open, go to directory “word” and read one of the files out. Here is what I have so far: require ‘rubygems’ require ‘zip/zipfilesystem’ Zi…

---

## [OpenSSL private key error](https://www.ruby-forum.com/t/openssl-private-key-error/143661)

<div class="topic-metadata">

**Author:** [@traceyz](https://www.ruby-forum.com/u/traceyz)\
**Replies:** 0\
**Last updated:** [July 21, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/openssl-private-key-error/143661 "2008-07-21T17:30:09Z")

</div>

I am trying to use some ruby library code to sign some material with my private key,. and I am encountering an error. I have a private key as part of my SSL credentials from GoDaddy.com. I try key = OpenSSL::PKey::RSA…

---

## [Repeat a method inside a string](https://www.ruby-forum.com/t/repeat-a-method-inside-a-string/143515)

<div class="topic-metadata">

**Author:** [@zoephoenix](https://www.ruby-forum.com/u/zoephoenix)\
**Replies:** 3\
**Last updated:** [July 20, 2008, 4:00am UTC](https://www.ruby-forum.com/t/repeat-a-method-inside-a-string/143515 "2008-07-20T04:00:32Z")

</div>

I have a method that will generate a random HTML link, but I need to have it repeat inside a string interpolation. I need to generate a number of random links at the bottom of HTML pages that are being generated. I …

---

## [Heavy queries stall application](https://www.ruby-forum.com/t/heavy-queries-stall-application/134828)

<div class="topic-metadata">

**Author:** [@kusako](https://www.ruby-forum.com/u/kusako)\
**Replies:** 8\
**Last updated:** [April 15, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/heavy-queries-stall-application/134828 "2008-04-15T17:51:21Z")

</div>

Hi, I have a ruby application where part of the functionality means that the application has to run very time-consuming queries against a db slave. My problem is that when these queries are ran, the application stalls …

---

## [Disable keepalive for internet-explorer?](https://www.ruby-forum.com/t/disable-keepalive-for-internet-explorer/129209)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_Farkas](https://www.ruby-forum.com/u/GSSSSbor_Farkas)\
**Replies:** 3\
**Last updated:** [February 18, 2008, 11:50am UTC](https://www.ruby-forum.com/t/disable-keepalive-for-internet-explorer/129209 "2008-02-18T11:50:40Z")

</div>

Hi, is there a way to do this in nginx: if the browser is internet-explorer (any version), don’t do keepalive? i found the $msie variable, but the keepalive\_timeout cannot be used in an “if()” construct… so i do not …

---

## [Actualizar fila de una join table](https://www.ruby-forum.com/t/actualizar-fila-de-una-join-table/128040)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 3\
**Last updated:** [February 4, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/actualizar-fila-de-una-join-table/128040 "2008-02-04T17:54:47Z")

</div>

Hola lista, tengo un modelo Documento que es una join table, documentos: (tipo\_documento\_id, modelo\_id, nombre, file, imagen) class Documento \< ActiveRecord::Base belongs\_to :tipo\_documento belongs\_to :documento end …

---

## [String concat person's name](https://www.ruby-forum.com/t/string-concat-persons-name/125059)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 3\
**Last updated:** [January 5, 2008, 12:25am UTC](https://www.ruby-forum.com/t/string-concat-persons-name/125059 "2008-01-05T00:25:02Z")

</div>

Hi, If I have person’s name and I want to concatenate last name only, how do I do that?(They are separated by space.) ex)first\_name last\_name ex)first\_name middle\_name last\_name thanks,

---

## [Mongrel\_rails: command not found](https://www.ruby-forum.com/t/mongrel-rails-command-not-found/115598)

<div class="topic-metadata">

**Author:** [@aitor](https://www.ruby-forum.com/u/aitor)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/mongrel-rails-command-not-found/115598 "2007-09-27T21:32:28Z")

</div>

Hola, sabe alguien a que se debe el error jailshell: mongrel\_rails: command not found me aparece tras introducir la contraseÃ±a 2 veces correctamente en el servidor al tratar de acceder a este mediante “vlad the depl…

---

## [Ne laissez pas mourir RadRails!](https://www.ruby-forum.com/t/ne-laissez-pas-mourir-radrails/88041)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ne-laissez-pas-mourir-radrails/88041 "2007-09-25T23:10:03Z")

</div>

Help ! RadRails est en danger d’abandon http://cwilliams.textdriven.com/articles/2007/03/06/radrails-dying-off http://www.radrails.org/blog/2007/3/5/radrails-future\_1173078407 Ce serai vraiment trop bÃªte que parce q…

---

## [Testbench problem](https://www.ruby-forum.com/t/testbench-problem/111129)

<div class="topic-metadata">

**Author:** [@Zhuocheng\_Y](https://www.ruby-forum.com/u/Zhuocheng_Y)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/testbench-problem/111129 "2007-08-02T23:28:25Z")

</div>

Hi Everyone: This is a follow up of yesterday’s start/end of burst issues. I have created a testbench to test my code. See attachment for details(only 4 files). when simulating the code, the datain register in the fi…

---

## [DB.config - Radiant defaults](https://www.ruby-forum.com/t/db-config-radiant-defaults/106537)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 3\
**Last updated:** [June 13, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/db-config-radiant-defaults/106537 "2007-06-13T20:20:44Z")

</div>

Any chance “defaults.page.filter” could be added to the config DB table? That would be quite helpful.

---

## [GNU Radio Wikis](https://www.ruby-forum.com/t/gnu-radio-wikis/76448)

<div class="topic-metadata">

**Author:** [@Berndt\_Josef\_W](https://www.ruby-forum.com/u/Berndt_Josef_W)\
**Replies:** 8\
**Last updated:** [February 25, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/gnu-radio-wikis/76448 "2007-02-25T18:07:19Z")

</div>

G’day, where did the old GNU Radio Wiki go? I’m looking for the pages containing information on user applications, sample data files, howto files etc. I can’t find them on www.gnuradio.org/trac/wiki anymore. cheeri…

---

## [Mysql-ruby module errors](https://www.ruby-forum.com/t/mysql-ruby-module-errors/67985)

<div class="topic-metadata">

**Author:** [@merrua](https://www.ruby-forum.com/u/merrua)\
**Replies:** 3\
**Last updated:** [November 2, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/mysql-ruby-module-errors/67985 "2006-11-02T15:58:58Z")

</div>

Im trying to install mysql-ruby on windows 2000. I thought version 2.7.1 installed properly even when I got a failed installation of 2.7.0 the command I used was “gem install mysql”. That seemed to work perfectly so …

---

## [How to verify cgi.params values?](https://www.ruby-forum.com/t/how-to-verify-cgi-params-values/99783)

<div class="topic-metadata">

**Author:** [@carl\_mcdade](https://www.ruby-forum.com/u/carl_mcdade)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 8:40pm UTC](https://www.ruby-forum.com/t/how-to-verify-cgi-params-values/99783 "2006-07-25T20:40:59Z")

</div>

Hi I am running Ruby as CGI and have a form that returns a simple string. The porblem I am having is that if nothing is entered in the form the use of .empty does not work. There must be a carriage return or a space …

---

## [\[Slightly OT\] CSS with wildcard?](https://www.ruby-forum.com/t/slightly-ot-css-with-wildcard/99229)

<div class="topic-metadata">

**Author:** [@jamiequint](https://www.ruby-forum.com/u/jamiequint)\
**Replies:** 3\
**Last updated:** [July 21, 2006, 11:38am UTC](https://www.ruby-forum.com/t/slightly-ot-css-with-wildcard/99229 "2006-07-21T11:38:25Z")

</div>

Sorry if this is a simple question, I’m a CSS noob. I have a rails app that is displaying posts, I am having it generate each post with its own div like “post\_19”, “post\_20”, etc. I could make it so it puts another di…

---

## [Determining screen size and/or resolution?](https://www.ruby-forum.com/t/determining-screen-size-and-or-resolution/58234)

<div class="topic-metadata">

**Author:** [@nathandelane](https://www.ruby-forum.com/u/nathandelane)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/determining-screen-size-and-or-resolution/58234 "2006-04-19T22:26:25Z")

</div>

What’s the easiest or best way to determine the screen size from within a controller or view in Rails? My “divs” look great at 1280x800, but not so hot on 800x600. I want to dynamically alter the layout based on the…

---

## [HABTM: two habtm's between the same two tables](https://www.ruby-forum.com/t/habtm-two-habtms-between-the-same-two-tables/80194)

<div class="topic-metadata">

**Author:** [@gaudimila](https://www.ruby-forum.com/u/gaudimila)\
**Replies:** 3\
**Last updated:** [March 15, 2006, 1:53am UTC](https://www.ruby-forum.com/t/habtm-two-habtms-between-the-same-two-tables/80194 "2006-03-15T01:53:50Z")

</div>

Imagine I want to track people, and the clubs that they belong to. table people with columns person\_id, person\_name table clubs with columns club\_id, club\_name And I have the association table: table clubs\_people wit…

---

## [Test data life cycle confusion](https://www.ruby-forum.com/t/test-data-life-cycle-confusion/100029)

<div class="topic-metadata">

**Author:** [@evronm](https://www.ruby-forum.com/u/evronm)\
**Replies:** 3\
**Last updated:** [February 2, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/test-data-life-cycle-confusion/100029 "2006-02-02T18:46:49Z")

</div>

Hi, It states on page 140 of Agile Web D. with Rails: Here?s the bottom line: even if a test method updates the test database, the database is put back to its default state before the next test method is run. This i…

---

## [Error install. What should I do?](https://www.ruby-forum.com/t/error-install-what-should-i-do/244953)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 18, 2016, 3:30pm UTC](https://www.ruby-forum.com/t/error-install-what-should-i-do/244953 "2016-07-18T15:30:49Z")

</div>

I am Japanese juner high school student. rails server ↓ https://i.gyazo.com/454f7d4980aabd2d0e022f4139dc1ee6.png this error. What should I do?

---

## [Problem in creating an OOT module](https://www.ruby-forum.com/t/problem-in-creating-an-oot-module/234622)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 18, 2015, 1:37am UTC](https://www.ruby-forum.com/t/problem-in-creating-an-oot-module/234622 "2015-03-18T01:37:50Z")

</div>

Hello everyone, I was wondering if anyone can help me with a small issue. I want to use the tagged\_file\_sink block in gnuradio companion, but with a couple of additional features suitable for my application needs. So…

---

## [Storage of Compound Data Type](https://www.ruby-forum.com/t/storage-of-compound-data-type/233979)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 28, 2015, 9:36am UTC](https://www.ruby-forum.com/t/storage-of-compound-data-type/233979 "2015-01-28T09:36:34Z")

</div>

Hi folks. I need to store an array. I need to use it later, but want to store it into a field in a record for now. Here’s the original: a = \[1, 2, 3, \["alpha", "bravo"\], "six", 8.55\] Can I somehow do this? require…

---

## [Help using NET::HTTP POST](https://www.ruby-forum.com/t/help-using-net-http-post/240820)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 1, 2014, 10:55pm UTC](https://www.ruby-forum.com/t/help-using-net-http-post/240820 "2014-05-01T22:55:47Z")

</div>

Team, I would like to use NET::HTTP to POST an xml file to a site. I am having some difficulties getting it to work. I know the remote site works as other people using Java reported it working fine. I have the follo…

---

## [Newbie question about classes](https://www.ruby-forum.com/t/newbie-question-about-classes/240449)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 15, 2014, 5:03am UTC](https://www.ruby-forum.com/t/newbie-question-about-classes/240449 "2014-04-15T05:03:22Z")

</div>

Is there any special way to define a class in Ruby that will have just one instance object? I do not need even a class name. I mean something simple like that obj = class { def foo; puts “Foo”; end }.new obj.foo

---

## [Fwd: New Defects reported by Coverity Scan for GNURadio](https://www.ruby-forum.com/t/fwd-new-defects-reported-by-coverity-scan-for-gnuradio/239536)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 4, 2014, 1:20pm UTC](https://www.ruby-forum.com/t/fwd-new-defects-reported-by-coverity-scan-for-gnuradio/239536 "2014-03-04T13:20:44Z")

</div>

The latest Coverity scan showed these new items. We should probably double check them. The Null dereference is likely related to the order in which some class methods get called. The compare against zero of an unsigne…

---

## [Hard-disk util% got higher on enabling aio for nginx-1.2.1](https://www.ruby-forum.com/t/hard-disk-util-got-higher-on-enabling-aio-for-nginx-1-2-1/229464)

<div class="topic-metadata">

**Author:** [@shahzaib12](https://www.ruby-forum.com/u/shahzaib12)\
**Replies:** 2\
**Last updated:** [February 5, 2013, 8:15am UTC](https://www.ruby-forum.com/t/hard-disk-util-got-higher-on-enabling-aio-for-nginx-1-2-1/229464 "2013-02-05T08:15:50Z")

</div>

Hello, I followed this post to optimize nginx for large static files i.e (flv,mp4) and enabled aio on nginx config which you can see below, and after enabling aio, directio, and output\_buffers, i could notic…

---

## [Jruby 1.7.0 not defaulting to 1.9 mode on win7](https://www.ruby-forum.com/t/jruby-1-7-0-not-defaulting-to-1-9-mode-on-win7/223897)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 23, 2012, 12:38am UTC](https://www.ruby-forum.com/t/jruby-1-7-0-not-defaulting-to-1-9-mode-on-win7/223897 "2012-10-23T00:38:41Z")

</div>

JRuby 1.7.0 appears to be defaulting to 1.8 mode on my Win7 32bit system, but not my Arch system. C:\\Users\\Jon\>set j JAVA\_HOME=C:\\Program Files\\Java\\jdk1.7.0\_07 JRE\_HOME=C:\\Program Files\\Java\\jre7 C:\\Users\\Jon\>jruby…

---

## [Rspec Nested Resources: Can someone offer an 'update' example?](https://www.ruby-forum.com/t/rspec-nested-resources-can-someone-offer-an-update-example/201904)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 18, 2011, 1:08am UTC](https://www.ruby-forum.com/t/rspec-nested-resources-can-someone-offer-an-update-example/201904 "2011-01-18T01:08:05Z")

</div>

Hi folks, I’ve just spent a day trying to write up a basic update spec for a nested resource - all without avail. I’m quite new to RSpec & not sure what I’m doing wrong. I can’t seem to get a stub that recognises the …

---

## [Install from source on CentOS question](https://www.ruby-forum.com/t/install-from-source-on-centos-question/187945)

<div class="topic-metadata">

**Author:** [@cameronsharpe](https://www.ruby-forum.com/u/cameronsharpe)\
**Replies:** 2\
**Last updated:** [May 3, 2010, 9:49am UTC](https://www.ruby-forum.com/t/install-from-source-on-centos-question/187945 "2010-05-03T09:49:00Z")

</div>

I am attempting to install 1.9.1 from source on CentOS 5.4 and am running into an issue. after unpacking the archive and cd-ing into the ruby-1.9.1-p376 I run: ./configure --with-openssl-dir=/usr/lib/openssl but the …

---

## [Is there a way to list the classes defined in a module?](https://www.ruby-forum.com/t/is-there-a-way-to-list-the-classes-defined-in-a-module/182274)

<div class="topic-metadata">

**Author:** [@dezrtdude](https://www.ruby-forum.com/u/dezrtdude)\
**Replies:** 2\
**Last updated:** [January 26, 2010, 5:20am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-list-the-classes-defined-in-a-module/182274 "2010-01-26T05:20:49Z")

</div>

Suppose I have a module that’s essentially used as a namespace, like this: module Castle class King \< Royalty; end class Queen \< Royalty; end class Guard \< Commoner; end class Dragon\_keeper \< Commoner; end end Is…

---

## [\[Cucumber\] How Do You Use Cucumber?](https://www.ruby-forum.com/t/cucumber-how-do-you-use-cucumber/159345)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 2\
**Last updated:** [November 5, 2009, 10:49am UTC](https://www.ruby-forum.com/t/cucumber-how-do-you-use-cucumber/159345 "2009-11-05T10:49:11Z")

</div>

I’m using Cucumber on my current project and it’s causing me to wonder what other people’s experience has been. I’ve read discussions about speeding up Cucumber and a basically everything else I can. Also, the rSpec b…

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

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