# Top

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

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

---

## [How to store/load persistent data?](https://www.ruby-forum.com/t/how-to-store-load-persistent-data/67507)

<div class="topic-metadata">

**Author:** [@Josef\_W](https://www.ruby-forum.com/u/Josef_W)\
**Replies:** 6\
**Last updated:** [September 6, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/how-to-store-load-persistent-data/67507 "2006-09-06T18:54:34Z")

</div>

Hello! In my previous life (in perl-world) I was used to store persistent data with Data::Dumper and load it back with “require ‘/path/to/file’”. Now I’m learing ruby and started my first toy-project. I must admit t…

---

## [Flow control for rails - suggestions please](https://www.ruby-forum.com/t/flow-control-for-rails-suggestions-please/67628)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 6\
**Last updated:** [September 6, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/flow-control-for-rails-suggestions-please/67628 "2006-09-06T18:46:33Z")

</div>

I’ve been talking with some Java programmers who are moving over to Rails. This question often comes up and so I thought I would pose it to the list to see if any of you fine folks have dealt with this before: What …

---

## [Initialize a variable in an extended class](https://www.ruby-forum.com/t/initialize-a-variable-in-an-extended-class/98355)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 6\
**Last updated:** [July 14, 2006, 3:44am UTC](https://www.ruby-forum.com/t/initialize-a-variable-in-an-extended-class/98355 "2006-07-14T03:44:48Z")

</div>

Interesting problem. There is undoubtedly much to will learn from suggested solutions. Here it is: I’m working with xhtml data, and want to extend the REXML Element type with an inline? method that returns true when …

---

## [Undefined method \`\<\<' error](https://www.ruby-forum.com/t/undefined-method-error/48873)

<div class="topic-metadata">

**Author:** [@garg](https://www.ruby-forum.com/u/garg)\
**Replies:** 6\
**Last updated:** [November 26, 2005, 5:12pm UTC](https://www.ruby-forum.com/t/undefined-method-error/48873 "2005-11-26T17:12:53Z")

</div>

Hi. I’m having a strange error. I’m following a book on Ruby on Rails and it’s guiding me on how to make a shopping cart. I personally have double checked all the codes but I get stuck with the error: NoMethodError i…

---

## [Win32api - How to return a float?](https://www.ruby-forum.com/t/win32api-how-to-return-a-float/246559)

<div class="topic-metadata">

**Author:** [@DivideByZero](https://www.ruby-forum.com/u/DivideByZero)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 2:36pm UTC](https://www.ruby-forum.com/t/win32api-how-to-return-a-float/246559 "2018-09-26T14:36:41Z")

</div>

Hi guys, I am trying to interface with a DLL I have created. I have no problems with integers and strings as the argument or return types, but I can’t figure out how to use floating point values. This is my test functi…

---

## [Ruby Developer Needed](https://www.ruby-forum.com/t/ruby-developer-needed/241924)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [May 15, 2015, 8:15pm UTC](https://www.ruby-forum.com/t/ruby-developer-needed/241924 "2015-05-15T20:15:50Z")

</div>

Have a project that is already in use but needs a few things finished and ongoing support. We lost our developer to another project looking for another. Please contact me if interested.

---

## [Persistance of good data on validation fail](https://www.ruby-forum.com/t/persistance-of-good-data-on-validation-fail/227062)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 7\
**Last updated:** [March 2, 2013, 9:52pm UTC](https://www.ruby-forum.com/t/persistance-of-good-data-on-validation-fail/227062 "2013-03-02T21:52:09Z")

</div>

Thank you everyone for the previous validation help. I have one last question… Can anyone tell me if there is a standard way to deal with a failed validation and loss of the data that was partially completed on the …

---

## [Nginx-1.2.0](https://www.ruby-forum.com/t/nginx-1-2-0/219193)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 7\
**Last updated:** [April 24, 2012, 7:02am UTC](https://www.ruby-forum.com/t/nginx-1-2-0/219193 "2012-04-24T07:02:15Z")

</div>

Changes with nginx 1.2.0 23 Apr 2012 \*) Bugfix: a segmentation fault might occur in a worker process if the “try\_files” directive was used; the bug had appeared in 1.1.19. \*)…

---

## [Ruby Social Club - a bombazza! #rsc #milano](https://www.ruby-forum.com/t/ruby-social-club-a-bombazza-rsc-milano/214264)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [December 2, 2011, 12:30pm UTC](https://www.ruby-forum.com/t/ruby-social-club-a-bombazza-rsc-milano/214264 "2011-12-02T12:30:05Z")

</div>

Cari rubyisti, con il grande freddo e’ arrivato il tempo per un nuovo Ruby Social Club! :wink: Bando alle ciance e muoviamoci per rinnovare questo appuntamento! Raccogliamo gli argomenti riguardanti Ruby e tutto il mo…

---

## [Should I use has\_one or belongs\_to?](https://www.ruby-forum.com/t/should-i-use-has-one-or-belongs-to/208948)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [July 1, 2011, 4:24pm UTC](https://www.ruby-forum.com/t/should-i-use-has-one-or-belongs-to/208948 "2011-07-01T16:24:01Z")

</div>

I have a one-to-one relationship between 2 models, should I store each others id on both objects or just in one? Thank you, Rodrigo

---

## [\[ANN\] test-loop - Continuous testing with fork/eval](https://www.ruby-forum.com/t/ann-test-loop-continuous-testing-with-fork-eval/197531)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [January 15, 2011, 12:59am UTC](https://www.ruby-forum.com/t/ann-test-loop-continuous-testing-with-fork-eval/197531 "2011-01-15T00:59:35Z")

</div>

test-loop - Continuous testing for Ruby with fork/eval GitHub - sunaku/test-loop: MOVED TO sunaku/testr test-loop is a fast continuous testing tool for Ruby that continuously detects and tests changes in your Ruby ap…

---

## [Joins implicite](https://www.ruby-forum.com/t/joins-implicite/198577)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [November 4, 2010, 8:02am UTC](https://www.ruby-forum.com/t/joins-implicite/198577 "2010-11-04T08:02:36Z")

</div>

Ciao a tutti, ho il seguente problema C L A S S I class Quotation has\_many: fases end class Fase belongs\_to: quotation end nella tabella quotations c’è il campo fase\_id. la tabella fases è costituita da due cam…

---

## [Basic Question: How do you check to see if gets is a number?](https://www.ruby-forum.com/t/basic-question-how-do-you-check-to-see-if-gets-is-a-number/191393)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 7\
**Last updated:** [July 12, 2010, 2:22am UTC](https://www.ruby-forum.com/t/basic-question-how-do-you-check-to-see-if-gets-is-a-number/191393 "2010-07-12T02:22:25Z")

</div>

I wrote a basic script that asks for your age then converts it into months, days and weeks old. I wanted to add some sort of control so that it would return an error if you didn’t enter a number but rather a word or a…

---

## [White Labeling (Easily Rebranding) Rails Applications](https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 5, 2010, 9:44am UTC](https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574 "2010-03-05T09:44:32Z")

</div>

Has anyone figured out the best way to white label a Rails app / allow an app to be easily globally rebranded e. g. via configuration?

---

## [Class doesn't know about calling program's libraries?](https://www.ruby-forum.com/t/class-doesnt-know-about-calling-programs-libraries/158300)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 7\
**Last updated:** [January 22, 2009, 11:11am UTC](https://www.ruby-forum.com/t/class-doesnt-know-about-calling-programs-libraries/158300 "2009-01-22T11:11:38Z")

</div>

I’m still in my first 24 hours of seriously using classes, so am still pretty ignorant. I’ve read a lot, but that only goes so far. I have a main program which loads some libraries, then calls my main method, which ca…

---

## [\[NEWBIE\] Help with class instance variables](https://www.ruby-forum.com/t/newbie-help-with-class-instance-variables/143007)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 7\
**Last updated:** [July 14, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/newbie-help-with-class-instance-variables/143007 "2008-07-14T16:52:22Z")

</div>

Hello, The code below prints: #\<Gem::Platform:0x…fdbdf0696 @cpu=“x86”, @os=“linux”, @version=nil\> that is, the @arch, @os and @classifier are empty. (if i set these variables in the id method, they work fine) (Gem::P…

---

## [Colorize story output](https://www.ruby-forum.com/t/colorize-story-output/142424)

<div class="topic-metadata">

**Author:** [@Paolo\_DonSSSS](https://www.ruby-forum.com/u/Paolo_DonSSSS)\
**Replies:** 7\
**Last updated:** [July 8, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/colorize-story-output/142424 "2008-07-08T16:01:55Z")

</div>

Hi guys, running large story files I started missing the red/green output of my specs. Thus I wrote a small scripthttp://github.com/paolodona/scripts/tree/master/colorizeyou can pipe the story output to, in order to…

---

## [Managing Google Calendar Integration](https://www.ruby-forum.com/t/managing-google-calendar-integration/133510)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 7\
**Last updated:** [June 26, 2008, 8:27am UTC](https://www.ruby-forum.com/t/managing-google-calendar-integration/133510 "2008-06-26T08:27:48Z")

</div>

Alright, I have an issue and I would love some advice. Here is the situation: I am developing a site which syncs with Google C… You can imagine, the whole bit: list of events, create events, delete events, all from t…

---

## [Getpass](https://www.ruby-forum.com/t/getpass/134467)

<div class="topic-metadata">

**Author:** [@Yang\_Z](https://www.ruby-forum.com/u/Yang_Z)\
**Replies:** 7\
**Last updated:** [April 13, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/getpass/134467 "2008-04-13T22:20:46Z")

</div>

Hi, how do I do getpass() in ruby? Thanks!

---

## [Custom Actions in Routes.rb](https://www.ruby-forum.com/t/custom-actions-in-routes-rb/186739)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 7\
**Last updated:** [March 16, 2008, 8:18am UTC](https://www.ruby-forum.com/t/custom-actions-in-routes-rb/186739 "2008-03-16T08:18:19Z")

</div>

Hi, on rails 2.0.2 i generate a controller with actions Index and New using: “script/generate controller Recipe Index New” I can now access the actions index/new through /recipe/index or / recipe/new. But if i create…

---

## [How to control access to resourses (pictures and files) inside application?](https://www.ruby-forum.com/t/how-to-control-access-to-resourses-pictures-and-files-inside-application/129302)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [February 28, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/how-to-control-access-to-resourses-pictures-and-files-inside-application/129302 "2008-02-28T20:04:48Z")

</div>

I’m writing an application that will have lots of images and files that should be accessed only by authorized people. Where should I put this files inside the directory tree to avoid users typing the direct path to th…

---

## [What is the $ in varaiable](https://www.ruby-forum.com/t/what-is-the-in-varaiable/124348)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 7\
**Last updated:** [December 29, 2007, 11:05am UTC](https://www.ruby-forum.com/t/what-is-the-in-varaiable/124348 "2007-12-29T11:05:34Z")

</div>

what is the meaning of the $ in the variable $tws = Twslinkrb::TWSLinkWrap.new(1)

---

## [Comma separated lists syntax error](https://www.ruby-forum.com/t/comma-separated-lists-syntax-error/122962)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [December 14, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/comma-separated-lists-syntax-error/122962 "2007-12-14T20:10:56Z")

</div>

I’m very disappointed that I cannot format my hashes like this { :a =\> 1 , :b =\> 2 , :c =\> 3 } The technique is popular in the haskell community; it has some obvious benefits over the traditional { :a =\> 1, :b =\> …

---

## [Partial Vagabondo](https://www.ruby-forum.com/t/partial-vagabondo/79379)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 7\
**Last updated:** [December 15, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/partial-vagabondo/79379 "2006-12-15T19:15:43Z")

</div>

Prima di perderci la testa, qualcuno mi sa dire come andare a pescare un partial che vive fuori da app/views con render :partial =\> a\_path ? (si si lo so che è una schifezza e non lo dovrei fare e probabilmente se lo …

---

## [Problem with Thread's memory (possible bug)](https://www.ruby-forum.com/t/problem-with-threads-memory-possible-bug/74959)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 7\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/problem-with-threads-memory-possible-bug/74959 "2006-11-07T11:07:43Z")

</div>

Hi all. Some time ago I’ve started thread named “Memory crush somewhere in Socket” with no results. No I can describe the problem more correctly and in details. First of all: Windows XP with ruby1.9, RUBY\_PLATFORM =…

---

## [Has\_and\_belongs\_to\_many question](https://www.ruby-forum.com/t/has-and-belongs-to-many-question/95178)

<div class="topic-metadata">

**Author:** [@natec](https://www.ruby-forum.com/u/natec)\
**Replies:** 7\
**Last updated:** [May 26, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-question/95178 "2006-05-26T18:30:57Z")

</div>

Hello, I am trying to make the “switchover” to programming my apps in Rails and have a question about database structure. In the past i would structure a many to many like this: categories | id | name …

---

## [Eval needs explicit self for accessor methods?](https://www.ruby-forum.com/t/eval-needs-explicit-self-for-accessor-methods/56604)

<div class="topic-metadata">

**Author:** [@tfdj](https://www.ruby-forum.com/u/tfdj)\
**Replies:** 7\
**Last updated:** [April 2, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/eval-needs-explicit-self-for-accessor-methods/56604 "2006-04-02T16:51:18Z")

</div>

hi all! i encountered a strange problem with eval. please see the following test case: require ‘test/unit’ class TestContext def eval\_in\_context( ruby\_code ) instance\_eval ruby\_code end def toast @toast end de…

---

## [Working with kernel.eval](https://www.ruby-forum.com/t/working-with-kernel-eval/53699)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 7\
**Last updated:** [February 14, 2006, 3:59am UTC](https://www.ruby-forum.com/t/working-with-kernel-eval/53699 "2006-02-14T03:59:00Z")

</div>

I’m trying to calculate the results of formulas that are stored in text files. For example, a file may contain the line: 1+2/3 I want to take that line & get the result of the formula, 1.66 (roughly) The way to do th…

---

## [String#de\_inspect (and Kernel#suspicious)](https://www.ruby-forum.com/t/string-de-inspect-and-kernel-suspicious/97146)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 7\
**Last updated:** [January 25, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/string-de-inspect-and-kernel-suspicious/97146 "2006-01-25T22:11:47Z")

</div>

If you do an inspect on a collection of Ruby objects, like a hash, you end up with a string. It’s possible to store this string in a file, read it again somewhere in the future, evaluate it and end up with the same co…

---

## [ANN: Sequel 3.0.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-0-0-released/167151)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [May 4, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-0-0-released/167151 "2009-05-04T19:36:45Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Help me with this block please](https://www.ruby-forum.com/t/help-me-with-this-block-please/232049)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 17, 2014, 7:44pm UTC](https://www.ruby-forum.com/t/help-me-with-this-block-please/232049 "2014-09-17T19:44:37Z")

</div>

Hello, I am fairly new to Ruby and I’m trying to learn it on my own. I have a block of code that i have a question about, see below: array = \[1, 2, 3, 4\] array.collect! do |n| n \*\* 4 end puts array.inspect My ques…

---

## [Map module - mass hosting](https://www.ruby-forum.com/t/map-module-mass-hosting/240614)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 23, 2014, 4:35pm UTC](https://www.ruby-forum.com/t/map-module-mass-hosting/240614 "2014-04-23T16:35:16Z")

</div>

Hello all, I’d like to use map module for my vhost configuration to setup user name in root or fastcgi\_pass parameter. At this point i’ve 300 domains configured and my config look like this: http { server { … ro…

---

## [\[ruby-trunk - Bug #8471\]\[Open\] パーセント記法とString #メソッドの組み合わせの戻り値が異常](https://www.ruby-forum.com/t/ruby-trunk-bug-8471-open-string/235130)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 1, 2013, 2:42pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8471-open-string/235130 "2013-06-01T14:42:53Z")

</div>

Issue #8471 has been reported by taka-yoshi (taka-yoshi taka). Bug #8471: パーセント記法とString #メソッドの組み合わせの戻り値が異常 Author: taka-yoshi (taka-yoshi taka) Status: Open Priority: Low Assignee: Category: Target version: ru…

---

## [How to fit an ER model into Rails? (help an old procedural programmer)](https://www.ruby-forum.com/t/how-to-fit-an-er-model-into-rails-help-an-old-procedural-programmer/228381)

<div class="topic-metadata">

**Author:** [@mosoleu](https://www.ruby-forum.com/u/mosoleu)\
**Replies:** 4\
**Last updated:** [April 20, 2013, 5:16am UTC](https://www.ruby-forum.com/t/how-to-fit-an-er-model-into-rails-help-an-old-procedural-programmer/228381 "2013-04-20T05:16:47Z")

</div>

Hi guys! I am an old procedural programmer learning Rails and object orientation. :slight\_smile: I wish to create a little system to help my wife who is a teacher. The attached PDF file has the preliminary Entity-Re…

---

## [Offerta lavoro - Developer Ruby on Rails](https://www.ruby-forum.com/t/offerta-lavoro-developer-ruby-on-rails/226269)

<div class="topic-metadata">

**Author:** [@pazienti](https://www.ruby-forum.com/u/pazienti)\
**Replies:** 4\
**Last updated:** [March 29, 2012, 5:35pm UTC](https://www.ruby-forum.com/t/offerta-lavoro-developer-ruby-on-rails/226269 "2012-03-29T17:35:42Z")

</div>

Pazienti è una startup digitale con base a Milano. Cerchiamo un developer Ruby on Rails con buona esperienza interessato a entrare nel team e a crescere con noi. Area: Milano e dintorni Invia un CV a removed\_email\_a…

---

## [Navigation tabs](https://www.ruby-forum.com/t/navigation-tabs/213891)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 16, 2011, 12:39pm UTC](https://www.ruby-forum.com/t/navigation-tabs/213891 "2011-11-16T12:39:15Z")

</div>

Sapete se esiste qualche gem utile a creare dei tabs per la navigazione all’interno di un sito? L’applicazione e’ un semplice crud, mi piace il menu della gem active\_admin che pero’ non voglio usare. Viene cliccata l…

---

## [OpenSocial en Ruby on Rails](https://www.ruby-forum.com/t/opensocial-en-ruby-on-rails/157793)

<div class="topic-metadata">

**Author:** [@rugoli](https://www.ruby-forum.com/u/rugoli)\
**Replies:** 4\
**Last updated:** [January 20, 2009, 11:50am UTC](https://www.ruby-forum.com/t/opensocial-en-ruby-on-rails/157793 "2009-01-20T11:50:39Z")

</div>

Buenas! Acabo de empezar a mirar un poco la documentaciÃ³n de OpenSocial\[1\] para intentar hacer una implementaciÃ³n para una red social open source echa en rails llamada insoshi\[2\] y estoy bastante perdido :frowning: …

---

## [Champ Blob](https://www.ruby-forum.com/t/champ-blob/156454)

<div class="topic-metadata">

**Author:** [@kais](https://www.ruby-forum.com/u/kais)\
**Replies:** 4\
**Last updated:** [December 29, 2008, 11:44am UTC](https://www.ruby-forum.com/t/champ-blob/156454 "2008-12-29T11:44:21Z")

</div>

Bonjour, Quelqu’un sait comment insÃ©rer des fichiers dans un champ BLOB Merci Bonne annÃ©e

---

## [ActualizaciÃ³n a Rails 2.2.2](https://www.ruby-forum.com/t/actualizacia-n-a-rails-2-2-2/154476)

<div class="topic-metadata">

**Author:** [@luisfgnr](https://www.ruby-forum.com/u/luisfgnr)\
**Replies:** 4\
**Last updated:** [November 30, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/actualizacia-n-a-rails-2-2-2/154476 "2008-11-30T15:47:07Z")

</div>

Buenas, Acabo de hacer un update --system y me ha actualizado a la 2.2.2. El problema es que ha desaparecido la gema de mysql y no consigo instalarla de ninguna forma. He estado mirando varios foros y no encuentro na…

---

## [Rails find condition that references an array generates error unless debugger is on](https://www.ruby-forum.com/t/rails-find-condition-that-references-an-array-generates-error-unless-debugger-is-on/142979)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/rails-find-condition-that-references-an-array-generates-error-unless-debugger-is-on/142979 "2008-07-22T23:51:00Z")

</div>

I am getting inconsistent results when trying to pass an array as a find condition (using SQL WHERE…IN…). My code generates a StatementInvalid error unless execution is interrupted by the debugger, in which case the a…

---

## [Install/enable openssl for rails 2.0.2](https://www.ruby-forum.com/t/install-enable-openssl-for-rails-2-0-2/142065)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/install-enable-openssl-for-rails-2-0-2/142065 "2008-07-03T16:47:21Z")

</div>

I was trying to install Redmine on rails 2.0.2 and I received the following error message: no such file to load – openssl I went to /ruby-1.8.6/ext/openssl and typed make and received the following error message: ma…

---

## [Ruby on Rails mailer](https://www.ruby-forum.com/t/ruby-on-rails-mailer/225982)

<div class="topic-metadata">

**Author:** [@franz](https://www.ruby-forum.com/u/franz)\
**Replies:** 4\
**Last updated:** [January 28, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-mailer/225982 "2008-01-28T19:40:29Z")

</div>

Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier…

---

## [Tooltip, need css/js, helper](https://www.ruby-forum.com/t/tooltip-need-css-js-helper/115790)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 4\
**Last updated:** [September 28, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/tooltip-need-css-js-helper/115790 "2007-09-28T17:09:17Z")

</div>

Hello, Who knows how to implement tooltips for links,buttons? Of course i can find tooltips(css/js) in Internet , but i asked you if you know. what tooltip you can recommend and maybe it has RoR helper for easy usag…

---

## [Healp reading / writing binary strings](https://www.ruby-forum.com/t/healp-reading-writing-binary-strings/107098)

<div class="topic-metadata">

**Author:** [@hasselsmoff](https://www.ruby-forum.com/u/hasselsmoff)\
**Replies:** 4\
**Last updated:** [June 18, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/healp-reading-writing-binary-strings/107098 "2007-06-18T17:17:39Z")

</div>

Hey, I’m looking for some help with reading / writing binary string. Just need some help understanding what exactly is going on… if I have a string like: str = “\\t\\005\\001\\006\\afoo\\006\\abar” Or if I have something li…

---

## [Oussama Sekkat's FPGA development document](https://www.ruby-forum.com/t/oussama-sekkats-fpga-development-document/77710)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 4\
**Last updated:** [November 30, 2006, 2:52am UTC](https://www.ruby-forum.com/t/oussama-sekkats-fpga-development-document/77710 "2006-11-30T02:52:13Z")

</div>

Hi, I recently found a reference to a document Oussama S. attached to a message on this board. Neither Oussama’s email nor his attachment was saved in the mail archive. Can someone please send that document to me o…

---

## [Reasons for object instantiation](https://www.ruby-forum.com/t/reasons-for-object-instantiation/231917)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 10, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/reasons-for-object-instantiation/231917 "2014-09-10T13:42:17Z")

</div>

Hi. Newbie here, with an even “stoopider” question than Ken’s. I’ve been readings David A. Black’s fine “Well Grounded Rubyist” book. Just reading now the chapter on classes. What I’m finding missing so far are exampl…

---

## [Cannot see my own layout (hierapolis gem)](https://www.ruby-forum.com/t/cannot-see-my-own-layout-hierapolis-gem/230920)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 12, 2014, 8:37pm UTC](https://www.ruby-forum.com/t/cannot-see-my-own-layout-hierapolis-gem/230920 "2014-07-12T20:37:36Z")

</div>

Hello, I did a whole ruby on rails install. After that I wanted to use the hierapolis gem and did all the steps in the README. But when I do rails s , I still see the standard welcome page. What must I do to make t…

---

## [String index produces unanticipated result](https://www.ruby-forum.com/t/string-index-produces-unanticipated-result/228318)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 5\
**Last updated:** [April 18, 2013, 4:16pm UTC](https://www.ruby-forum.com/t/string-index-produces-unanticipated-result/228318 "2013-04-18T16:16:10Z")

</div>

I have the following string I am pulling from a file (asterisks used to show boundaries of line, and are not actually there: 9 3 3 0 0\* I want to test to see if a “9” is in the first five columns of the l…

---

## [Try-files and Gallery3 rewriting](https://www.ruby-forum.com/t/try-files-and-gallery3-rewriting/208046)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 9, 2011, 10:13am UTC](https://www.ruby-forum.com/t/try-files-and-gallery3-rewriting/208046 "2011-06-09T10:13:39Z")

</div>

Hiho, I am currently running gallery3 on nginx/php-fpm. Works like a charm so far. But i’d like to get gallery3 also under the hood of try-files, but didn’t get it running up to now. The working (and evil) if rewri…

---

## [Link\_to a action in the controlles is not called](https://www.ruby-forum.com/t/link-to-a-action-in-the-controlles-is-not-called/203106)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 14, 2011, 5:41am UTC](https://www.ruby-forum.com/t/link-to-a-action-in-the-controlles-is-not-called/203106 "2011-02-14T05:41:57Z")

</div>

i have a link where it has to call a method defin in todoscontroller named say\_when but show is called \<%= link\_to ‘Say when’, todo, :action =\> :say\_when , :remote =\> true %\> class TodosController \< ApplicationCont…

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

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