# Top

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

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

---

## [How to connect to microsoft sql server 6.5](https://www.ruby-forum.com/t/how-to-connect-to-microsoft-sql-server-6-5/195995)

<div class="topic-metadata">

**Author:** [@totosbien](https://www.ruby-forum.com/u/totosbien)\
**Replies:** 3\
**Last updated:** [October 6, 2010, 2:52pm UTC](https://www.ruby-forum.com/t/how-to-connect-to-microsoft-sql-server-6-5/195995 "2010-10-06T14:52:46Z")

</div>

Hi all, i’m beginner in rails world…i try to connect my rails application on a db sql server 6.5 without success, ca you help me? i try odbc driver, jtds e activerecord-sqlserver-adapter but nothing… what are the ri…

---

## [How to avoid \\ escaping when using "= \<\<-EOF"?](https://www.ruby-forum.com/t/how-to-avoid-escaping-when-using-eof/180832)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [December 30, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/how-to-avoid-escaping-when-using-eof/180832 "2009-12-30T23:56:22Z")

</div>

Hi, the following code banner = \<\<-EOF // EOF puts banner produces: // How could I avoid the “” scaping so the text appears verbatim? Thanks a lot.

---

## [Strange Active::Record behavior, StatementInvalid exception thrown twice?](https://www.ruby-forum.com/t/strange-active-record-behavior-statementinvalid-exception-thrown-twice/174427)

<div class="topic-metadata">

**Author:** [@anr](https://www.ruby-forum.com/u/anr)\
**Replies:** 3\
**Last updated:** [August 26, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/strange-active-record-behavior-statementinvalid-exception-thrown-twice/174427 "2009-08-26T22:46:08Z")

</div>

Hi, I’m a bit puzzled with an ActiveRecord::StatementInvalid exception that’s apparently being thrown twice. I’m using Rails 2.3.3 and Postgres, and inside the Feed Model I have something like: has\_many :entries, :d…

---

## [ActiveRecord : plusieurs colonnes](https://www.ruby-forum.com/t/activerecord-plusieurs-colonnes/173299)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 3\
**Last updated:** [August 10, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/activerecord-plusieurs-colonnes/173299 "2009-08-10T15:52:52Z")

</div>

Salut, J’ai une question Ã propose de ActiveRecord. Je souhaite effectuer une requete qui le recupere les infos d’un champ d’une table. J’ai le code suivant : ActiveRecord::Base.connection.select\_values(“describe ta…

---

## [Difference between spec:server and autospec](https://www.ruby-forum.com/t/difference-between-spec-server-and-autospec/169476)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 3\
**Last updated:** [June 4, 2009, 10:17am UTC](https://www.ruby-forum.com/t/difference-between-spec-server-and-autospec/169476 "2009-06-04T10:17:03Z")

</div>

What’s the difference between spec:server and autospec? I understand spec:server is only for a Rails project while autospec can work with any projects. I read http://wiki.github.com/dchelimsky/rspec/spec\_server-autos…

---

## [Remote\_form\_for et redirect\_to](https://www.ruby-forum.com/t/remote-form-for-et-redirect-to/141448)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 8:13am UTC](https://www.ruby-forum.com/t/remote-form-for-et-redirect-to/141448 "2008-06-26T08:13:58Z")

</div>

Bonjour, J’ai encore un petit problème. Sur une page j’affiche un formulaire de saisie via un fichier rjs. Ce formulaire de saisie est de la forme \<% remote\_form\_for :user, :url =\> building\_users\_path(@building) do | …

---

## [Patch to add a defauls.page.filter config](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 3\
**Last updated:** [June 23, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218 "2008-06-23T20:05:12Z")

</div>

I sent a pull request to the GitHub “radiant” user, but I’m not sure that goes anywhere just yet. I have whipped up a quick and simple patch to allow you set a default filter for pages. On a freshly bootsrapped intan…

---

## [Problema con documentos pdf](https://www.ruby-forum.com/t/problema-con-documentos-pdf/135872)

<div class="topic-metadata">

**Author:** [@Omar\_J](https://www.ruby-forum.com/u/Omar_J)\
**Replies:** 3\
**Last updated:** [April 25, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/problema-con-documentos-pdf/135872 "2008-04-25T21:37:42Z")

</div>

buenas pues teng un pequeÃ±o problema aqui, lo que pasa es que antes creaba los pdf en una carpeta publica y en un iframe se mostraba el pdf, y todo iba bien pero no lo puedo dejar asi pues un usuario no debe ver l…

---

## [Merging two REXML element-lists](https://www.ruby-forum.com/t/merging-two-rexml-element-lists/97942)

<div class="topic-metadata">

**Author:** [@ejepsen](https://www.ruby-forum.com/u/ejepsen)\
**Replies:** 3\
**Last updated:** [July 12, 2006, 1:22am UTC](https://www.ruby-forum.com/t/merging-two-rexml-element-lists/97942 "2006-07-12T01:22:15Z")

</div>

Hello, I have two xml files which are identical almost identical. #1 holds all possible values to the application. #2 holds a selected subset of values which should overwrite the values of the first where identical. i…

---

## [SSL Ciphers](https://www.ruby-forum.com/t/ssl-ciphers/234646)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 19, 2015, 1:51pm UTC](https://www.ruby-forum.com/t/ssl-ciphers/234646 "2015-03-19T13:51:49Z")

</div>

Hello, I have nginx linked openssl 1.0.2 and nginx and configured with ssl\_protocols TLSv1 TLSv1.1 TLSv1.2; ssl\_ciphers “EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EE…

---

## [RSpec file name with non-ASCII characters](https://www.ruby-forum.com/t/rspec-file-name-with-non-ascii-characters/213715)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 10, 2011, 3:52pm UTC](https://www.ruby-forum.com/t/rspec-file-name-with-non-ascii-characters/213715 "2011-11-10T15:52:44Z")

</div>

On Mac OS X 10.6.8 with Ruby 1.9.3, using a spec file name containing a non-ASCII character (an em-dash) I’m getting the error "in '=~': invalid byte sequence in US-ASCII (ArgumentError)" on this line self\[:caller\].d…

---

## [Collection\_select with has\_one association](https://www.ruby-forum.com/t/collection-select-with-has-one-association/184713)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 1\
**Last updated:** [March 7, 2010, 9:33am UTC](https://www.ruby-forum.com/t/collection-select-with-has-one-association/184713 "2010-03-07T09:33:15Z")

</div>

Hi, I try to create a select menu with all the city available in my shop form. I’ve been able to populate the select menu but the city\_id isn’t stored in the shop table. There must be an error in my view regarding th…

---

## [Java ByteArrayOutputStream to Ruby String](https://www.ruby-forum.com/t/java-bytearrayoutputstream-to-ruby-string/180086)

<div class="topic-metadata">

**Author:** [@Paul\_F\_Fraser](https://www.ruby-forum.com/u/Paul_F_Fraser)\
**Replies:** 1\
**Last updated:** [December 11, 2009, 3:20pm UTC](https://www.ruby-forum.com/t/java-bytearrayoutputstream-to-ruby-string/180086 "2009-12-11T15:20:19Z")

</div>

Hi, If coded as follows:- str = String.from\_java\_bytes(byte\_array\_output\_stream.to\_byte\_array) Presumably, the output stream is copied to a java byte array, and the byte array is either cast or copied to the ruby str…

---

## [Set Default Radio Button Value (html)](https://www.ruby-forum.com/t/set-default-radio-button-value-html/162291)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [March 8, 2009, 9:19pm UTC](https://www.ruby-forum.com/t/set-default-radio-button-value-html/162291 "2009-03-08T21:19:45Z")

</div>

Is there a way to set the default value of a radio button that is coded in html with the value from an object? I am trying to set up an edit view for this object and am using submit\_to\_remote, so I cannot use the rai…

---

## [Rails 2 - scaffold problem: ambiguous routes](https://www.ruby-forum.com/t/rails-2-scaffold-problem-ambiguous-routes/125761)

<div class="topic-metadata">

**Author:** [@Torsten\_F](https://www.ruby-forum.com/u/Torsten_F)\
**Replies:** 1\
**Last updated:** [January 14, 2008, 7:59pm UTC](https://www.ruby-forum.com/t/rails-2-scaffold-problem-ambiguous-routes/125761 "2008-01-14T19:59:30Z")

</div>

servus in die Runde, ich habe ein kleines Problem mit rails 2: Nur zu Testzwecken erstelle ich ein neues Projekt: rails testseite Ich passe database.yml an und erstelle (weil ich es noch nicht anders kann und weil ic…

---

## [Lazy.rb 0.2](https://www.ruby-forum.com/t/lazy-rb-0-2/97140)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 1\
**Last updated:** [December 11, 2005, 9:04am UTC](https://www.ruby-forum.com/t/lazy-rb-0-2/97140 "2005-12-11T09:04:18Z")

</div>

Now that I’m done asking stupid questions about iterators, it’s time for another release of lazy.rb! == WHAT IS THIS THING? == lazy.rb is a library which provides lazy evaluation for Ruby. It allows you to optimisti…

---

## [Server name rewrite](https://www.ruby-forum.com/t/server-name-rewrite/235396)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [June 20, 2013, 7:02am UTC](https://www.ruby-forum.com/t/server-name-rewrite/235396 "2013-06-20T07:02:00Z")

</div>

Hi, guys! E.g. I have server new\_server\_name.com and want to rewrite requests to www.new\_server\_name.com and old\_server\_name.com to present server. From Pitfalls and Common Mistakes | NGINX I use two server’s {} direc…

---

## [Errore nella destroy](https://www.ruby-forum.com/t/errore-nella-destroy/218546)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 4, 2012, 10:51am UTC](https://www.ruby-forum.com/t/errore-nella-destroy/218546 "2012-04-04T10:51:00Z")

</div>

Ciao a tutti, non riesco a cancellare dei record. Ogni suggerimento sarà vivamente apprezzato Ecco quello che combino: nel Controller: def destroy if params\[:agtion\_id\] != nil @agtion = Agtion.find(params\[:agtion…

---

## [C++ probe block concurrency, locking necessary?](https://www.ruby-forum.com/t/c-probe-block-concurrency-locking-necessary/209222)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 11, 2011, 1:40pm UTC](https://www.ruby-forum.com/t/c-probe-block-concurrency-locking-necessary/209222 "2011-07-11T13:40:42Z")

</div>

Hey guys, I am implementing a probe block that stores several values to a member struct so they can be read from pyhton via accessor method (get\_probe\_values() const {return probe\_struct;}). Now my question is: Is it…

---

## [=?iso-8859-1?q?Rubicle, the unofficial Ruby mascot, released?=](https://www.ruby-forum.com/t/iso-8859-1-q-rubicle-the-unofficial-ruby-mascot-released/208761)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [June 27, 2011, 5:53am UTC](https://www.ruby-forum.com/t/iso-8859-1-q-rubicle-the-unofficial-ruby-mascot-released/208761 "2011-06-27T05:53:38Z")

</div>

Hello! We are rubicle.net administrators. We have released Rubicle, the UNOFFICIAL Ruby mascot. http://rubicle.net/en/ Rubicle is not a software, a mascot from Japan. Rubicle has been born from our will, “We want a…

---

## [Adding foreign key when creating new user](https://www.ruby-forum.com/t/adding-foreign-key-when-creating-new-user/197394)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [October 15, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/adding-foreign-key-when-creating-new-user/197394 "2010-10-15T17:15:52Z")

</div>

I have these tables… ACCOUNTS id company\_name USERS id username password account\_id (foreign key) I have a create new user form. Each user is supposed to have an account\_id from an accounts table. Of course, on…

---

## [Strange receiver behaviour with UHD](https://www.ruby-forum.com/t/strange-receiver-behaviour-with-uhd/195704)

<div class="topic-metadata">

**Author:** [@Patrik\_E](https://www.ruby-forum.com/u/Patrik_E)\
**Replies:** 5\
**Last updated:** [September 29, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/strange-receiver-behaviour-with-uhd/195704 "2010-09-29T14:09:05Z")

</div>

Dear List, We have made a test program using a source and a file sink (see fg.jpg) where we are receiving a fixed number of samples (with UHD and USRP2 and WBX-card) from an AWGN-generator (constant power -19dB). If …

---

## [One-time script to update 1000s of values in a single column in a table: nil error?](https://www.ruby-forum.com/t/one-time-script-to-update-1000s-of-values-in-a-single-column-in-a-table-nil-error/185317)

<div class="topic-metadata">

**Author:** [@Clay\_H](https://www.ruby-forum.com/u/Clay_H)\
**Replies:** 5\
**Last updated:** [March 18, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/one-time-script-to-update-1000s-of-values-in-a-single-column-in-a-table-nil-error/185317 "2010-03-18T13:46:51Z")

</div>

Hi, I have a model called Stock with a value called “strength.” I wrote a simple method in the Stock.rb model file to update the value of “strength” for each record in the stocks table. I created a controller called f…

---

## [Couldn't find SalesOrder without an ID](https://www.ruby-forum.com/t/couldnt-find-salesorder-without-an-id/178224)

<div class="topic-metadata">

**Author:** [@vishnukumar](https://www.ruby-forum.com/u/vishnukumar)\
**Replies:** 5\
**Last updated:** [November 2, 2009, 10:00am UTC](https://www.ruby-forum.com/t/couldnt-find-salesorder-without-an-id/178224 "2009-11-02T10:00:41Z")

</div>

hi, I am doing unit testing. I have a table as SalesOrder, where “ordernumber” is the primary key of the table. When I insert records in the table from unit testing, I got error like, ActiveRecord::RecordNotFound: Co…

---

## [Python and ruby together?](https://www.ruby-forum.com/t/python-and-ruby-together/173186)

<div class="topic-metadata">

**Author:** [@Gwen\_M](https://www.ruby-forum.com/u/Gwen_M)\
**Replies:** 5\
**Last updated:** [August 4, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/python-and-ruby-together/173186 "2009-08-04T23:44:05Z")

</div>

Is it possible to set up python scripts in such a way that they can parse ruby files? ie: I have a script written in ruby. I have 3rd party program that reads python scripts but not ruby scripts. I want the 3rd part…

---

## [CR: Various Git commits](https://www.ruby-forum.com/t/cr-various-git-commits/170005)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 5\
**Last updated:** [June 11, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/cr-various-git-commits/170005 "2009-06-11T21:22:33Z")

</div>

refactor irtests into a ruby scripthttp://github.com/jredville/ironruby/commit/24d206a4a9abb9098dc9be111a8802eedaf0a5ce hook up test tasks, change default to run tests, make git:commit run tests, nam…

---

## [Map.resources with both :get and :post on an action](https://www.ruby-forum.com/t/map-resources-with-both-get-and-post-on-an-action/169425)

<div class="topic-metadata">

**Author:** [@deepak](https://www.ruby-forum.com/u/deepak)\
**Replies:** 5\
**Last updated:** [June 4, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/map-resources-with-both-get-and-post-on-an-action/169425 "2009-06-04T21:17:23Z")

</div>

hi, using map.resources i want an action to have both :get and :post http verbs. map.resources :tickets, :path\_prefix =\> '/workflows, :collection =\> { :pending =\> \[:get, :post\], :download =\> :get } here the pendin…

---

## [Thread Synchronization](https://www.ruby-forum.com/t/thread-synchronization/167812)

<div class="topic-metadata">

**Author:** [@Tom\_Lutz](https://www.ruby-forum.com/u/Tom_Lutz)\
**Replies:** 5\
**Last updated:** [May 13, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/thread-synchronization/167812 "2009-05-13T22:36:42Z")

</div>

I’m editing some of the .cc files and would like to know the preferred method for performing thread synchronization in C++ code. In particular, I noticed that the set and get methods that are called on the gr\_oscope…

---

## [Date.parse 1.8 vs 1.9](https://www.ruby-forum.com/t/date-parse-1-8-vs-1-9/165545)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 5\
**Last updated:** [April 15, 2009, 4:46am UTC](https://www.ruby-forum.com/t/date-parse-1-8-vs-1-9/165545 "2009-04-15T04:46:10Z")

</div>

In attempting to make a small library of mine 1.9 compatible I have run across an inconsistency in date parsing. Ruby 1.8: puts Date.parse(“4/12/2009”) 2009-04-12 puts Date.parse(“4/30/2009”) 2009-04-30 Ru…

---

## [Regex extension to handle matching parens?](https://www.ruby-forum.com/t/regex-extension-to-handle-matching-parens/158500)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://www.ruby-forum.com/u/ivo_welch)\
**Replies:** 5\
**Last updated:** [January 24, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/regex-extension-to-handle-matching-parens/158500 "2009-01-24T17:40:49Z")

</div>

Dear Experts: I am very new to ruby, literally having just read the ruby book. I want to write a program that does basic LaTeX parsing, so I need to match ‘}’ closings to the opening ‘{’. (yes, I understand that LaT…

---

## [Gems installation](https://www.ruby-forum.com/t/gems-installation/151887)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 5\
**Last updated:** [October 30, 2008, 4:40am UTC](https://www.ruby-forum.com/t/gems-installation/151887 "2008-10-30T04:40:21Z")

</div>

Hello. I have a problem trying to use cucumber with webrat. I thought I could use the gems versions of rspec, rspec-rails, cucumber and webrat, in fact I think that I could manage to do it two weeks ago, but now that…

---

## [ProblÃ¨me de modÃ©lisation (MCD)](https://www.ruby-forum.com/t/probla-me-de-moda-lisation-mcd/143549)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [July 20, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/probla-me-de-moda-lisation-mcd/143549 "2008-07-20T13:21:03Z")

</div>

Bonjour, J’ai dans mon modÃ¨le conceptuel de donnÃ©es une table people. Je voudrais permettre aux occurrences de cette table de se lier entre eux, Ã l’image du concept d’ami dans les rÃ©seaux sociaux. Pour ce faire, …

---

## [Migration from wordpress to mephisto](https://www.ruby-forum.com/t/migration-from-wordpress-to-mephisto/138520)

<div class="topic-metadata">

**Author:** [@lucapette](https://www.ruby-forum.com/u/lucapette)\
**Replies:** 5\
**Last updated:** [July 17, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/migration-from-wordpress-to-mephisto/138520 "2008-07-17T22:46:46Z")

</div>

Salve, ho cercato un pÃ² in giro per la rete, ma non ho trovato nulla di rilevante a riguardo. Qualcuno sa consigliarmi un modo veloce per importare in mephisto il file xml del mio blog su \*wordpress.com? Grazie. L…

---

## [URL rewriting: last versus break](https://www.ruby-forum.com/t/url-rewriting-last-versus-break/142149)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 5\
**Last updated:** [July 3, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/url-rewriting-last-versus-break/142149 "2008-07-03T23:05:01Z")

</div>

Hi, I don’t understand the difference between “last” and “break”. Can someone explain me how it works or point me to some more detailed info? Best regards,

---

## [Resizing pictures for file size](https://www.ruby-forum.com/t/resizing-pictures-for-file-size/127988)

<div class="topic-metadata">

**Author:** [@JSPablo\_FernSSSSnd](https://www.ruby-forum.com/u/JSPablo_FernSSSSnd)\
**Replies:** 5\
**Last updated:** [February 4, 2008, 3:03am UTC](https://www.ruby-forum.com/t/resizing-pictures-for-file-size/127988 "2008-02-04T03:03:42Z")

</div>

Hello, I’m using rmagick but I’m open to other libraries if needed. I want to resize an image, scale actually (mantaining the aspect ratio) so that the size of the file is lower than a certain amount of bytes. Any id…

---

## [Site performance improvement](https://www.ruby-forum.com/t/site-performance-improvement/123181)

<div class="topic-metadata">

**Author:** [@betame342](https://www.ruby-forum.com/u/betame342)\
**Replies:** 5\
**Last updated:** [December 15, 2007, 5:21am UTC](https://www.ruby-forum.com/t/site-performance-improvement/123181 "2007-12-15T05:21:16Z")

</div>

Hi, I have a question, on how to further improve the site. I attached the profiler of the site. Currently, It take about 1.8 seconds to load. At first I have question on “Mysql#get\_length” which take the longest t…

---

## [Which Image Generation Library?](https://www.ruby-forum.com/t/which-image-generation-library/116389)

<div class="topic-metadata">

**Author:** [@winter](https://www.ruby-forum.com/u/winter)\
**Replies:** 5\
**Last updated:** [October 5, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/which-image-generation-library/116389 "2007-10-05T15:36:41Z")

</div>

I need to create a small program that generates images and “animations” (i can cheat on the animation) of Petri nets. Something like the wikipedia page’s (Petri net - Wikipedia) examples, but automatically generated b…

---

## [Problem with 8-bit option and dropped samples](https://www.ruby-forum.com/t/problem-with-8-bit-option-and-dropped-samples/112584)

<div class="topic-metadata">

**Author:** [@Lisa\_Creer](https://www.ruby-forum.com/u/Lisa_Creer)\
**Replies:** 5\
**Last updated:** [August 21, 2007, 9:25am UTC](https://www.ruby-forum.com/t/problem-with-8-bit-option-and-dropped-samples/112584 "2007-08-21T09:25:25Z")

</div>

I’m testing the -8 option in various example programs, and haven’t been successful in receiving valid data. The following test resulted in a very brief, flat line being displayed, then absolutely no data showed on th…

---

## [Generare fogli di stile css](https://www.ruby-forum.com/t/generare-fogli-di-stile-css/107696)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 5\
**Last updated:** [June 26, 2007, 10:45am UTC](https://www.ruby-forum.com/t/generare-fogli-di-stile-css/107696 "2007-06-26T10:45:55Z")

</div>

E’ possibile generare fogli di stile da caricare in public/stylesheet ad esempio e poi fare in modo che la pagina html punti a quel foglio? Questo servirebbe per personalizzare il foglio e in particolare il suo nome i…

---

## [Ricorsione e "stack level too deep"](https://www.ruby-forum.com/t/ricorsione-e-stack-level-too-deep/105362)

<div class="topic-metadata">

**Author:** [@marcos](https://www.ruby-forum.com/u/marcos)\
**Replies:** 5\
**Last updated:** [May 29, 2007, 10:21am UTC](https://www.ruby-forum.com/t/ricorsione-e-stack-level-too-deep/105362 "2007-05-29T10:21:16Z")

</div>

Salve, stavo cercando di scrivere una semplice funzione che ricorsivamente stampi tutti i file presenti in una cartella e nelle sue sottocartelle, definita nel seguente modo: def walk\_dir(dir) Dir.foreach(dir) do |f…

---

## [Google maps plugin, which one?](https://www.ruby-forum.com/t/google-maps-plugin-which-one/87129)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/google-maps-plugin-which-one/87129 "2007-03-02T18:34:13Z")

</div>

Hi all. I am going to be integrating google maps into a site I am doing. All it will be is a simple map with markers (and maybe marker groups). Nothing more complex than that. I have been googling around for rails pl…

---

## [Developed in window... hosting in a linux box](https://www.ruby-forum.com/t/developed-in-window-hosting-in-a-linux-box/81150)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/developed-in-window-hosting-in-a-linux-box/81150 "2007-01-19T16:29:35Z")

</div>

Hi all, I’ve developed mi RoR app in my windows with RadRails app, and affter that I’ve hosted it on my Linux server with FastCGI and i doesnt run. It show this message: Rails application failed to start properly , …

---

## [Do I need to do mysql\_escape\_string and how?](https://www.ruby-forum.com/t/do-i-need-to-do-mysql-escape-string-and-how/81334)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 5\
**Last updated:** [January 8, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/do-i-need-to-do-mysql-escape-string-and-how/81334 "2007-01-08T16:46:05Z")

</div>

In my rails apps do I need to do mysql\_escape and if so what functions are around to be able to do this?

---

## [Alguien sabe como funciona el set\_sequence\_name?](https://www.ruby-forum.com/t/alguien-sabe-como-funciona-el-set-sequence-name/81348)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 5\
**Last updated:** [January 8, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/alguien-sabe-como-funciona-el-set-sequence-name/81348 "2007-01-08T15:29:47Z")

</div>

Holas, alguien sabe como funciona este funcion??? estoy tratando de guardar un numero autogenerado con formato propio como YYYYMMDDXX001… gracias. Alfredo

---

## [Webrick and String#each](https://www.ruby-forum.com/t/webrick-and-string-each/77076)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 5\
**Last updated:** [November 25, 2006, 3:34am UTC](https://www.ruby-forum.com/t/webrick-and-string-each/77076 "2006-11-25T03:34:03Z")

</div>

e$B@.@%$G$9!#e(B 1.9 e$B$K$Fe(B webrick e$B$Ke(B String#each e$B:o=|$N1F6A$,$G$F$$$^$9!#e(B raw e$B$Ke(B Array e$B$,Mh$F$7$^$C$?$j!“e(Bio e$B$Ke(B String e$B$,Mh$F$7$^$&%1!\<%9$,e(B e$B$”$k$3$H\<+BN$,$=$b$=$b$NLdBj$J5…

---

## [Children:each vs. navigation](https://www.ruby-forum.com/t/children-each-vs-navigation/71687)

<div class="topic-metadata">

**Author:** [@Jim\_Herring](https://www.ruby-forum.com/u/Jim_Herring)\
**Replies:** 5\
**Last updated:** [October 28, 2006, 4:49pm UTC](https://www.ruby-forum.com/t/children-each-vs-navigation/71687 "2006-10-28T16:49:30Z")

</div>

Hi, I’m building a site in radiant that has a section with a long subnavigation menu. Initially I built it like this: \<r:find url="/section/papers/"\> \<r:children:each by=“title”\> \<r:link /\> \<r:content part=“s…

---

## [.script/server on OS X](https://www.ruby-forum.com/t/script-server-on-os-x/70068)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 5\
**Last updated:** [September 26, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/script-server-on-os-x/70068 "2006-09-26T19:17:40Z")

</div>

I just got rails installed on OS X, and when I try .script/server I get a -bash: ./script/server: Permission denied error. I installed ruby in /user/local/bin. If I do ruby ./script/server it works OK. Has anyone els…

---

## [Greenbar 1.0](https://www.ruby-forum.com/t/greenbar-1-0/94476)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [May 4, 2006, 7:55pm UTC](https://www.ruby-forum.com/t/greenbar-1-0/94476 "2006-05-04T19:55:09Z")

</div>

Announcing Greenbar. Greenbar is an open source project intended to aid in the writing of Test::Unit tests. It consists of a framework to aid in providing reusable chunks of setup and teardown code, and a handful of…

---

## [What is the matter with content\_for\_layout?](https://www.ruby-forum.com/t/what-is-the-matter-with-content-for-layout/80271)

<div class="topic-metadata">

**Author:** [@Tauraus](https://www.ruby-forum.com/u/Tauraus)\
**Replies:** 5\
**Last updated:** [March 13, 2006, 1:59pm UTC](https://www.ruby-forum.com/t/what-is-the-matter-with-content-for-layout/80271 "2006-03-13T13:59:29Z")

</div>

Here is my layout file: My Demands \<%= stylesheet\_link\_tag 'ajax\_scaffold', :media =\> 'all' %\> \<%= javascript\_include\_tag 'prototype', 'effects', 'rico\_corner', 'ajax\_scaffold' %\> \<%= @content\_for\_layout %\> …

---

## [Example of how to rb\_class\_new\_instance(... rb\_cBignum)?](https://www.ruby-forum.com/t/example-of-how-to-rb-class-new-instance-rb-cbignum/76082)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 5\
**Last updated:** [March 3, 2006, 5:34am UTC](https://www.ruby-forum.com/t/example-of-how-to-rb-class-new-instance-rb-cbignum/76082 "2006-03-03T05:34:44Z")

</div>

I’m building a C extension and have a “long long” which I want to turn into a Bignum. Can anyone point me to an example please? I’ve googled without success. Clifford H…

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

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