# Top

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

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

---

## [Petri Net workflow engine for Rails](https://www.ruby-forum.com/t/petri-net-workflow-engine-for-rails/254367)

<div class="topic-metadata">

**Author:** [@hoooopo](https://www.ruby-forum.com/u/hoooopo)\
**Replies:** 0\
**Last updated:** [February 8, 2020, 12:16am UTC](https://www.ruby-forum.com/t/petri-net-workflow-engine-for-rails/254367 "2020-02-08T00:16:31Z")

</div>

Petri Flow Workflow engine for Rails. Features Full petri net features support (seq, parallel, iterative, timed, automitic etc.) Both approval workflow and business workflow. Simple web admin for workflow definition an…

---

## [Is SSL and Compression never secure in nginx?](https://www.ruby-forum.com/t/is-ssl-and-compression-never-secure-in-nginx/242794)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [July 27, 2015, 7:36pm UTC](https://www.ruby-forum.com/t/is-ssl-and-compression-never-secure-in-nginx/242794 "2015-07-27T19:36:28Z")

</div>

Hi, I am working in a project where a password-protected extranet application is behind an nginx proxy using ssl. Now I asked the admin to enable server-side http-compression because we tend to have rather lengthy j…

---

## [Using get text in gem and code](https://www.ruby-forum.com/t/using-get-text-in-gem-and-code/232589)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 16, 2014, 9:25pm UTC](https://www.ruby-forum.com/t/using-get-text-in-gem-and-code/232589 "2014-10-16T21:25:27Z")

</div>

I recently converted a large Rails 3 application into a gem. Localization is part of the original code base. I modified the gettext:find task to look in the gem and in any app that uses the gem to find potential tr…

---

## [How to attach window as notebook page](https://www.ruby-forum.com/t/how-to-attach-window-as-notebook-page/202495)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 31, 2011, 10:26am UTC](https://www.ruby-forum.com/t/how-to-attach-window-as-notebook-page/202495 "2011-01-31T10:26:39Z")

</div>

Dear all, I am making a business application here with ruby gtk and want to use MDI After I look into tutorial on web, It seems with gtk we achieve MDI using gtk::notebook problem is, gtk::notebook cannot use gtk::…

---

## [How do i cofigure in mongrel's http\_request.rb](https://www.ruby-forum.com/t/how-do-i-cofigure-in-mongrels-http-request-rb/197290)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [October 6, 2010, 10:47am UTC](https://www.ruby-forum.com/t/how-do-i-cofigure-in-mongrels-http-request-rb/197290 "2010-10-06T10:47:59Z")

</div>

Hi all , Am looking to configure mongrels’s http\_request.rb in order to delete mongrel temporary file after upload .This is what i would like to have def initialize(params, socket, dispatchers) @params = params @s…

---

## [Passing user id to spec | error](https://www.ruby-forum.com/t/passing-user-id-to-spec-error/168084)

<div class="topic-metadata">

**Author:** [@manoah](https://www.ruby-forum.com/u/manoah)\
**Replies:** 3\
**Last updated:** [May 16, 2009, 7:44am UTC](https://www.ruby-forum.com/t/passing-user-id-to-spec-error/168084 "2009-05-16T07:44:55Z")

</div>

\-----Controller -------------- def update @user = User.find\_by\_id( user.id ) if request.post? unless params\[ :user \].nil? if @user.update\_attributes( params\[ :user \] ) redirect\_to :action =\> :show e…

---

## [Extraer datos](https://www.ruby-forum.com/t/extraer-datos/107153)

<div class="topic-metadata">

**Author:** [@laber](https://www.ruby-forum.com/u/laber)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/extraer-datos/107153 "2007-06-19T17:25:00Z")

</div>

Buenas tardes lista, tengo un problemilla, en un proceso tengo que consutlar una pagia web la cual me devuelve esto 31Paquito y necesito extraer los datos que hay entre cada etiqueta, he intendado pasarlo con las fun…

---

## [Numbers on stylesheet\_link\_tag and image\_tag](https://www.ruby-forum.com/t/numbers-on-stylesheet-link-tag-and-image-tag/85988)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 19, 2007, 7:04am UTC](https://www.ruby-forum.com/t/numbers-on-stylesheet-link-tag-and-image-tag/85988 "2007-02-19T07:04:49Z")

</div>

Can anyone explain to me exactly what are those numbers that rails appends to stylesheets and images when using stylesheet\_link\_tag or image\_tag? At first I thought it would be so the browser wouldn’t cache the styles…

---

## [Execute as a service](https://www.ruby-forum.com/t/execute-as-a-service/230622)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 5\
**Last updated:** [June 27, 2014, 8:38am UTC](https://www.ruby-forum.com/t/execute-as-a-service/230622 "2014-06-27T08:38:22Z")

</div>

Hello, I am new in this mail list. I want to ask about the execution of the Rails service. I normally execute the rails process this way: rails server This way I can not log out and keep the service running. Is ther…

---

## [Why does Ruby do 'str\_replace' when storing values in an hash?](https://www.ruby-forum.com/t/why-does-ruby-do-str-replace-when-storing-values-in-an-hash/240323)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 9, 2014, 10:40am UTC](https://www.ruby-forum.com/t/why-does-ruby-do-str-replace-when-storing-values-in-an-hash/240323 "2014-04-09T10:40:26Z")

</div>

Dear list, some days ago I wrote a script that stored values in an Hashtable with different buckets. It was some string-parsing grunt work. I noticed that Ruby became pretty slow when the hashtable grew to ~10 Mio e…

---

## [Newrelic doesn't log in daemon mode](https://www.ruby-forum.com/t/newrelic-doesnt-log-in-daemon-mode/238799)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [January 31, 2014, 7:22am UTC](https://www.ruby-forum.com/t/newrelic-doesnt-log-in-daemon-mode/238799 "2014-01-31T07:22:16Z")

</div>

Hello All, I have integrated Newrelic with my rails application. It is working fine in “rails s -e production” mode, but not in “rails s -e production -d” mode. How can I fix the problem? Thanks, Avi

---

## [Maven\_gemify.rb can't find ruby-maven?](https://www.ruby-forum.com/t/maven-gemify-rb-cant-find-ruby-maven/221904)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 11, 2012, 10:15am UTC](https://www.ruby-forum.com/t/maven-gemify-rb-cant-find-ruby-maven/221904 "2012-08-11T10:15:18Z")

</div>

Hello all, I’m not sure if this is actually a bug or my misunderstanding of the feature. I’m trying to use the maven\_gemify.rb code (“borrowing” some of the in-process integration with Maven to do some cool stuff, act…

---

## [Beginner's questions](https://www.ruby-forum.com/t/beginners-questions/219707)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 13, 2012, 6:54am UTC](https://www.ruby-forum.com/t/beginners-questions/219707 "2012-05-13T06:54:21Z")

</div>

Hello everyone. I’ve recently picked up programming languages yet again, and since I’ve spent some time on Ruby in the past already, I’ve decided to start from here. However, I’ve encountered some problems. I’ve gone …

---

## [Fastcgi\_cache Key Length Bug](https://www.ruby-forum.com/t/fastcgi-cache-key-length-bug/205457)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 8, 2011, 3:45am UTC](https://www.ruby-forum.com/t/fastcgi-cache-key-length-bug/205457 "2011-04-08T03:45:52Z")

</div>

When using fastcgi\_cache, if the key you are using is too long, say over 255 characters, it appears that fastcgi\_cache breaks, and you get errors that look like this: \*18 upstream sent unsupported FastCGI protocol ver…

---

## [Is GServer the best to use?](https://www.ruby-forum.com/t/is-gserver-the-best-to-use/162025)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 5\
**Last updated:** [March 5, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/is-gserver-the-best-to-use/162025 "2009-03-05T13:54:33Z")

</div>

I am in need of a TCP Server, basically something multithreaded that I can use to pass through data to a database from clients that will connect to the Server. I started playing with an example from the O’Reilly Lear…

---

## [Can't read more than one message from a socket](https://www.ruby-forum.com/t/cant-read-more-than-one-message-from-a-socket/158314)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 5\
**Last updated:** [January 23, 2009, 1:57am UTC](https://www.ruby-forum.com/t/cant-read-more-than-one-message-from-a-socket/158314 "2009-01-23T01:57:26Z")

</div>

I am connecting to a server and then waiting to receive messages over the socket. For each message received I wish to then execute some code. I have tried recv, gets, and readpartial all with no luck. I tried somethin…

---

## [Offtopic (Maquetar una web en css liquida)](https://www.ruby-forum.com/t/offtopic-maquetar-una-web-en-css-liquida/157269)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 5\
**Last updated:** [January 18, 2009, 6:13pm UTC](https://www.ruby-forum.com/t/offtopic-maquetar-una-web-en-css-liquida/157269 "2009-01-18T18:13:58Z")

</div>

Hola, bueno recurro a ustedes ya como ultimo recurso, resulta de que estoy desarrollando un sitio, el cual debe ajustarse al ancho del navegador, si lo maqueto en tablas no me presenta inconvenientes, pero al maquetar…

---

## [Insert key/value pair into hash, then read it out](https://www.ruby-forum.com/t/insert-key-value-pair-into-hash-then-read-it-out/152723)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 5\
**Last updated:** [November 7, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/insert-key-value-pair-into-hash-then-read-it-out/152723 "2008-11-07T13:11:50Z")

</div>

Hi there, I’ve been trying to figure out if/how the following is possible… @books: array of books @books.each do |book| do stuff… do stuff… do stuff… book\[“number\_of\_pages”\] = 123 #this is supposed to “inject” t…

---

## [Net::FTP](https://www.ruby-forum.com/t/net-ftp/147295)

<div class="topic-metadata">

**Author:** [@andrewdon](https://www.ruby-forum.com/u/andrewdon)\
**Replies:** 5\
**Last updated:** [August 30, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/net-ftp/147295 "2008-08-30T23:18:25Z")

</div>

I have setup an ftp script to fetch all files from a directory on my ftp server… my bit of code looks like this, files = ftp.chdir(‘folder’) files\_list = ftp.dir log.info “found files, #{files\_list}” log.info “Maki…

---

## [Fckeditor on ruby on rails](https://www.ruby-forum.com/t/fckeditor-on-ruby-on-rails/124910)

<div class="topic-metadata">

**Author:** [@rabarama](https://www.ruby-forum.com/u/rabarama)\
**Replies:** 5\
**Last updated:** [May 14, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/fckeditor-on-ruby-on-rails/124910 "2008-05-14T17:52:02Z")

</div>

Where can i find a guide to use the fckeditor gem with a ruby on rails application? Thanks

---

## [PrÃ©sentation Internationalisation Ã  Pari s on Rails](https://www.ruby-forum.com/t/pra-sentation-internationalisation-a-pari-s-on-rails/123630)

<div class="topic-metadata">

**Author:** [@Yann\_KLIS](https://www.ruby-forum.com/u/Yann_KLIS)\
**Replies:** 5\
**Last updated:** [December 20, 2007, 12:13am UTC](https://www.ruby-forum.com/t/pra-sentation-internationalisation-a-pari-s-on-rails/123630 "2007-12-20T00:13:48Z")

</div>

Salut à tous, Je regardais la page 29 des slides de la présentation sur l’internationalisation à Paris on Rails, et je suis resté coincé sur l’exemple qui devrait pourtant fonctionner. Je suis en Rails 1.2.6 et j’ai …

---

## [Mongrel Cluster vs. Apache-FCGI](https://www.ruby-forum.com/t/mongrel-cluster-vs-apache-fcgi/91390)

<div class="topic-metadata">

**Author:** [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Replies:** 5\
**Last updated:** [April 9, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-vs-apache-fcgi/91390 "2007-04-09T16:38:01Z")

</div>

Hi folks, I recently got my rails app to serve with a mongrel cluster with a balancer in front of it and Apache Proxying in front of that. That app used to run on rails-Apache-FCGI straight and I really can’t tell the …

---

## [Reading variables in a file](https://www.ruby-forum.com/t/reading-variables-in-a-file/73845)

<div class="topic-metadata">

**Author:** [@ogrecio](https://www.ruby-forum.com/u/ogrecio)\
**Replies:** 5\
**Last updated:** [October 27, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/reading-variables-in-a-file/73845 "2006-10-27T16:27:44Z")

</div>

I’m thinking of migrating from Fortran to Ruby. Do you think i should go ahead?? First problem i have. How to read a file with several fields? This means: Imagine a file: Peter4 1990 Sam 3 1980 Grac6 1991 I would…

---

## [Migrations suddenly broken: undefined method autoload\_paths](https://www.ruby-forum.com/t/migrations-suddenly-broken-undefined-method-autoload-paths/102107)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 5\
**Last updated:** [August 14, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/migrations-suddenly-broken-undefined-method-autoload-paths/102107 "2006-08-14T23:42:46Z")

</div>

I really need some help here because I am at a loss. I have been using migrations just fine now for a while and I suddenly started getting a very bizarre error when migrations are run: undefined method \`autoload\_path…

---

## [Implementing HTTPS with WEBrick?](https://www.ruby-forum.com/t/implementing-https-with-webrick/62003)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [May 30, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/implementing-https-with-webrick/62003 "2006-05-30T19:34:05Z")

</div>

All, I would like to test some secure pages that I’m developing in my WEBrick-based development environment. I’ve done some research and it appears that I need to create a new command that will start a HTTPS based WE…

---

## [Restricting view to source code with RDOC?](https://www.ruby-forum.com/t/restricting-view-to-source-code-with-rdoc/59364)

<div class="topic-metadata">

**Author:** [@phallstrom](https://www.ruby-forum.com/u/phallstrom)\
**Replies:** 5\
**Last updated:** [May 3, 2006, 7:02pm UTC](https://www.ruby-forum.com/t/restricting-view-to-source-code-with-rdoc/59364 "2006-05-03T19:02:26Z")

</div>

Hi - I’d like to generate some docuementation using RDOC, but don’t want any of the “source” links available. I’ve seen some existing rdoc that does this, but don’t see an option within rdoc itself to exclude them. …

---

## [Why is this variable here?](https://www.ruby-forum.com/t/why-is-this-variable-here/259522)

<div class="topic-metadata">

**Author:** [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Replies:** 2\
**Last updated:** [May 9, 2020, 2:20am UTC](https://www.ruby-forum.com/t/why-is-this-variable-here/259522 "2020-05-09T02:20:31Z")

</div>

Why is this variable here? And should I put ‘word’ there as well ? Rubocop wants me to.

---

## [Namespacing and variables](https://www.ruby-forum.com/t/namespacing-and-variables/259164)

<div class="topic-metadata">

**Author:** [@xaxazak](https://www.ruby-forum.com/u/xaxazak)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 5:31pm UTC](https://www.ruby-forum.com/t/namespacing-and-variables/259164 "2020-04-07T17:31:23Z")

</div>

I’m new to Ruby. I hear modules can be used similar to namespaces. I want to place a variable (value does vary so not a constant) inside a “namespace” and have it accessible from outside. Searching, I find there’s a f…

---

## [Math with Huge (infinite) numbers](https://www.ruby-forum.com/t/math-with-huge-infinite-numbers/243417)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 21, 2015, 4:12pm UTC](https://www.ruby-forum.com/t/math-with-huge-infinite-numbers/243417 "2015-10-21T16:12:12Z")

</div>

require ‘bigdecimal’ x=(Math.sqrt(9999999999999999\*9999999999999999)) =\> 100000000000000.0. #wrong! Should be 9999999999999999 Puts x\*x =\> 1.0e+32 Puts “%d” % (x\*x) =\> 1000000000000009999999988654363748 I have bee…

---

## [OFDM Transmitter GRC Example](https://www.ruby-forum.com/t/ofdm-transmitter-grc-example/238028)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 12, 2013, 4:02pm UTC](https://www.ruby-forum.com/t/ofdm-transmitter-grc-example/238028 "2013-12-12T16:02:52Z")

</div>

Dear all, In OFDM transmitter example there is “Stream to Tagged Stream” block with packet length value 96. What it’s mean? And whether the value claim specific standard? Thanks, Ahmad

---

## [Rvm install](https://www.ruby-forum.com/t/rvm-install/210986)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 22, 2011, 10:03pm UTC](https://www.ruby-forum.com/t/rvm-install/210986 "2011-08-22T22:03:42Z")

</div>

i am fixing ‘rvm install ironruby-head’ , not much left to do. If someone can upload to rubyforge files ( http://rubyforge.org/frs/?group\_id=4359 ) ironruby-1.1.3.zip i can also fix ‘rvm install ironruby-1.1.3’

---

## [Clob Handling](https://www.ruby-forum.com/t/clob-handling/196473)

<div class="topic-metadata">

**Author:** [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Replies:** 2\
**Last updated:** [September 21, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/clob-handling/196473 "2007-09-21T12:04:32Z")

</div>

Hello In an oracle table, I hava a field of CLOB type (named “VXML”). This column have a XML text and i would like to parse it to extract several informations. In ruby when i access to this column, and for exemple, i…

---

## [Why isnt my simple counter working?](https://www.ruby-forum.com/t/why-isnt-my-simple-counter-working/84830)

<div class="topic-metadata">

**Author:** [@Kristen](https://www.ruby-forum.com/u/Kristen)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 4:27am UTC](https://www.ruby-forum.com/t/why-isnt-my-simple-counter-working/84830 "2007-02-08T04:27:48Z")

</div>

Hello, Im on chapter 8 of the agile book and I cant get this simple counter to work. Its suppose to count how many times a person visited the home page and display it when its more than 5. store\_controller.rb: def …

---

## [Add rtl css to refinery cms](https://www.ruby-forum.com/t/add-rtl-css-to-refinery-cms/250909)

<div class="topic-metadata">

**Author:** [@hadi](https://www.ruby-forum.com/u/hadi)\
**Replies:** 1\
**Last updated:** [November 7, 2018, 12:22pm UTC](https://www.ruby-forum.com/t/add-rtl-css-to-refinery-cms/250909 "2018-11-07T12:22:30Z")

</div>

Hi, recently I install refinery cms and start to use this . in fact it’s perfect for the English language but I want to translate to Persian. I’ve no idea what should do? Do I have to write a CSS file or make changes to …

---

## [Problems passing the control between blocks - message passing](https://www.ruby-forum.com/t/problems-passing-the-control-between-blocks-message-passing/223768)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 23, 2012, 4:06am UTC](https://www.ruby-forum.com/t/problems-passing-the-control-between-blocks-message-passing/223768 "2012-10-23T04:06:05Z")

</div>

Hi All, I’m working with 2 blocks that I’ve created using “UHD\_AMsg\_Source” as a reference model. In these blocks, I am passing pmt\_dict type as messages, ie: this-\>post\_msg(0, AMSG\_KEY, dictionary,\_id); Where, dic…

---

## [IPv6 Issues / Question](https://www.ruby-forum.com/t/ipv6-issues-question/206945)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [May 13, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/ipv6-issues-question/206945 "2011-05-13T21:49:53Z")

</div>

Last night I had my provider (Linode) add IPv6 support for my server. I also had them assign me an IPv6 pool to use. I have Nginx 1.0.2 compiled with IPv6 support, restarted my Nginx and everything was fine all night…

---

## [Inflection working everywhere but not propogating to AR table name?](https://www.ruby-forum.com/t/inflection-working-everywhere-but-not-propogating-to-ar-table-name/206706)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [May 7, 2011, 10:01pm UTC](https://www.ruby-forum.com/t/inflection-working-everywhere-but-not-propogating-to-ar-table-name/206706 "2011-05-07T22:01:59Z")

</div>

I added this rule to inflections: inflect.uncountable ‘data’ My table name use to be AuthDatas and I want it to be AuthData. I migrated the db to change the table name and verified in the debugger that in fact “dat…

---

## [Testing named\_scope](https://www.ruby-forum.com/t/testing-named-scope/181769)

<div class="topic-metadata">

**Author:** [@Nin](https://www.ruby-forum.com/u/Nin)\
**Replies:** 7\
**Last updated:** [August 14, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/testing-named-scope/181769 "2010-08-14T17:44:16Z")

</div>

Hi! I’m new to rspec and was wondering how named\_scopes are usually tested? Is it enough to test that it’s defined? or do you need to test the behavior as well? I’ve been reading around and this seems to be the tester…

---

## [Good practices on spec'ing views?](https://www.ruby-forum.com/t/good-practices-on-specing-views/187845)

<div class="topic-metadata">

**Author:** [@stefankroes](https://www.ruby-forum.com/u/stefankroes)\
**Replies:** 7\
**Last updated:** [May 21, 2010, 9:29pm UTC](https://www.ruby-forum.com/t/good-practices-on-specing-views/187845 "2010-05-21T21:29:24Z")

</div>

Hey guys. I’ve been doing RSpec for more than a year by now, yet I cannot help but feel that I’ve never got a single view spec right. I can see that I have very few view specs and that my views tend be a lot messier t…

---

## [Unit testing problem](https://www.ruby-forum.com/t/unit-testing-problem/164723)

<div class="topic-metadata">

**Author:** [@neubyr](https://www.ruby-forum.com/u/neubyr)\
**Replies:** 7\
**Last updated:** [April 5, 2009, 4:20am UTC](https://www.ruby-forum.com/t/unit-testing-problem/164723 "2009-04-05T04:20:00Z")

</div>

Hello list, I am having following problem while running unit tests. The test file contains: require File.dirname(FILE) + ‘/…/test\_helper’ class RegionTest \< Test::Unit::TestCase I receive following error when runn…

---

## [Newbie need help with installing gnuradio 3.1.3](https://www.ruby-forum.com/t/newbie-need-help-with-installing-gnuradio-3-1-3/160356)

<div class="topic-metadata">

**Author:** [@Pete\_Kay](https://www.ruby-forum.com/u/Pete_Kay)\
**Replies:** 7\
**Last updated:** [February 17, 2009, 3:23pm UTC](https://www.ruby-forum.com/t/newbie-need-help-with-installing-gnuradio-3-1-3/160356 "2009-02-17T15:23:10Z")

</div>

Hi, I am just getting started with gnuradio on Fedora 9. While running ./bootstrap, I am getting the following error: \[root@fodora gnuradio-3.1.3\]# ./bootstrap gr-trellis/doc/Makefile.am:51: \`%’-style pattern rules a…

---

## [Setup up svn on my server](https://www.ruby-forum.com/t/setup-up-svn-on-my-server/159508)

<div class="topic-metadata">

**Author:** [@ankitparekh](https://www.ruby-forum.com/u/ankitparekh)\
**Replies:** 7\
**Last updated:** [February 5, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/setup-up-svn-on-my-server/159508 "2009-02-05T18:42:09Z")

</div>

Hi all Here is the thing that I want to do. What I want is that As soon as I commit the changes to my svn which resides on beanstalk i want those changes to get reflected to my website too. Can any one tell me a step…

---

## [Stripping characters off a string](https://www.ruby-forum.com/t/stripping-characters-off-a-string/151450)

<div class="topic-metadata">

**Author:** [@chriscauser](https://www.ruby-forum.com/u/chriscauser)\
**Replies:** 7\
**Last updated:** [October 22, 2008, 12:40am UTC](https://www.ruby-forum.com/t/stripping-characters-off-a-string/151450 "2008-10-22T00:40:21Z")

</div>

Hi everyone, I know this is an easy question, but I want to know the best way to do this (i.e. the most Rubyesque). How do I strip the last four characters off a string of undetermined length? I’m sure it is a one …

---

## [\[ANN\] Free Ruby In Steel IDE includes free Visual Studio](https://www.ruby-forum.com/t/ann-free-ruby-in-steel-ide-includes-free-visual-studio/150236)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 1\
**Last updated:** [October 7, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/ann-free-ruby-in-steel-ide-includes-free-visual-studio/150236 "2008-10-07T16:37:05Z")

</div>

Windows users may find this of interest… SapphireSteel Software today released a free edition of Ruby In Steel, the Ruby and Rails IDE for Microsoft Visual Studio 2008. Ruby In Steel Personal Edition (PE) 2008 provide…

---

## [Lambda/procs and dynamically generated methods](https://www.ruby-forum.com/t/lambda-procs-and-dynamically-generated-methods/129136)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 7\
**Last updated:** [February 14, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/lambda-procs-and-dynamically-generated-methods/129136 "2008-02-14T20:27:40Z")

</div>

I’m not sure one way is technically better than the other, so if anyone has any input, I’d be glad to hear it. class Job def initialize(file = nil) raise “need file or block” if fil.nil? || !block\_given? @action = b…

---

## [Snippets](https://www.ruby-forum.com/t/snippets/124422)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 7\
**Last updated:** [December 29, 2007, 3:54am UTC](https://www.ruby-forum.com/t/snippets/124422 "2007-12-29T03:54:04Z")

</div>

Does anyone know why whenever I edit a snippet it doesn’t show up on the site until I open the layout its used in and save that file again?

---

## [Ways to change the behavior of a block](https://www.ruby-forum.com/t/ways-to-change-the-behavior-of-a-block/93266)

<div class="topic-metadata">

**Author:** [@Brian\_Guthrie](https://www.ruby-forum.com/u/Brian_Guthrie)\
**Replies:** 7\
**Last updated:** [April 30, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/ways-to-change-the-behavior-of-a-block/93266 "2007-04-30T17:43:59Z")

</div>

I’d like to be able to change the behavior of a call to a block (I’m working on a design-by-contract system and would like to be able to check the block’s signature, filtering each call through some contract check) an…

---

## [Rcov 0.8.0: new output modes, fix for RSpec woes, superior E](https://www.ruby-forum.com/t/rcov-0-8-0-new-output-modes-fix-for-rspec-woes-superior-e/87135)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 7\
**Last updated:** [February 28, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/rcov-0-8-0-new-output-modes-fix-for-rspec-woes-superior-e/87135 "2007-02-28T23:23:35Z")

</div>

Source code, additional information, screenshots… available at eigenclass.org Release information: eigenclass.org Sample fully cross-referenced report at eigenclass.org This release includes two RubyGems packages: …

---

## [Hardware loadbalancer + apache 2.2. proxy + mongrels](https://www.ruby-forum.com/t/hardware-loadbalancer-apache-2-2-proxy-mongrels/78770)

<div class="topic-metadata">

**Author:** [@phillipoertel](https://www.ruby-forum.com/u/phillipoertel)\
**Replies:** 7\
**Last updated:** [December 9, 2006, 11:16am UTC](https://www.ruby-forum.com/t/hardware-loadbalancer-apache-2-2-proxy-mongrels/78770 "2006-12-09T11:16:24Z")

</div>

hi, we’re currently planning the deployment of a new rails application. everything will be behind a hardware load balancer (existing infrastructure). now the question is which setup to use: hardware load balancer t…

---

## [Modelling money](https://www.ruby-forum.com/t/modelling-money/68855)

<div class="topic-metadata">

**Author:** [@creativetags](https://www.ruby-forum.com/u/creativetags)\
**Replies:** 7\
**Last updated:** [September 15, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/modelling-money/68855 "2006-09-15T23:19:27Z")

</div>

hi i’m trying to write an app to keep track of expenses and invoices etc. for my small business. it’s mainly an excuse to learn ROR but in doing so i’ve hit upon a problem: money. I need to store monetary values in t…

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

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