# Top

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

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

---

## [Shoes 4.0.0.pre3 released!](https://www.ruby-forum.com/t/shoes-4-0-0-pre3-released/233781)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 11, 2015, 7:53pm UTC](https://www.ruby-forum.com/t/shoes-4-0-0-pre3-released/233781 "2015-01-11T19:53:49Z")

</div>

Hello JRuby friends! A new pre-release version (4.0.0.pre3) of Shoes is up on Rubygems! (shoes | RubyGems.org | your community gem host) Install with this simple command: gem install shoes --pre You need to run JRub…

---

## [Hiding kernel methods from DSL](https://www.ruby-forum.com/t/hiding-kernel-methods-from-dsl/240349)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 9, 2014, 11:25am UTC](https://www.ruby-forum.com/t/hiding-kernel-methods-from-dsl/240349 "2014-04-09T11:25:26Z")

</div>

Hi, I’ve implemented a DSL type system that uses instance\_eval. I register properties in and then use method\_missing to route the missing method calls through to the properties. My problem is that I want a property c…

---

## [A NGINX Summit 2/25 in San Francisco](https://www.ruby-forum.com/t/a-nginx-summit-2-25-in-san-francisco/238811)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 3, 2014, 8:05pm UTC](https://www.ruby-forum.com/t/a-nginx-summit-2-25-in-san-francisco/238811 "2014-02-03T20:05:24Z")

</div>

Hello all! Id like to invite you to join the Nginx, Inc. team for our first User Summit February 25th at Dogpatch Studios in San Francisco. The highlights include 2 formal presentations by the NGINX FOSS project and …

---

## [Cannot load such file -- unicode (LoadError)](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/246489)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 21, 2013, 1:03pm UTC](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/246489 "2013-10-21T13:03:07Z")

</div>

I’m new to RoR and working on a migration of project developed by another team. I’m using Rails version (3.2.13) and my bundle install works successfully. However while running “rails server”, I get the error below. …

---

## [Rewriting pages to re-rendered snapshots](https://www.ruby-forum.com/t/rewriting-pages-to-re-rendered-snapshots/235573)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 1, 2013, 1:43pm UTC](https://www.ruby-forum.com/t/rewriting-pages-to-re-rendered-snapshots/235573 "2013-07-01T13:43:01Z")

</div>

I have a very Javascript heavy website which is being served by nginx. It all works great, except Google is having trouble indexing me. I’ve made pre-rendered snapshots of all my pages using Phantomjs and these are s…

---

## [Nginx Filed Descriptor are increasing in n\*n space complexity](https://www.ruby-forum.com/t/nginx-filed-descriptor-are-increasing-in-n-n-space-complexity/224877)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 29, 2012, 2:09pm UTC](https://www.ruby-forum.com/t/nginx-filed-descriptor-are-increasing-in-n-n-space-complexity/224877 "2012-11-29T14:09:45Z")

</div>

HI, If I increase nginx worker count. File descriptor count are getting increased in n\*n oder. Example with 10 worker. 2 0xffff8801c4dec000 10 0xffff8801c4dec300 10 0xffff8801c4dec600 2 0xffff8801c4dec900 10 0xff…

---

## [Autenticazione HMAC](https://www.ruby-forum.com/t/autenticazione-hmac/221470)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 19, 2012, 9:20am UTC](https://www.ruby-forum.com/t/autenticazione-hmac/221470 "2012-07-19T09:20:28Z")

</div>

Ciao a tutti, vi scrivo per un consiglio. Dovrei mettere su qualche API REST in un sito attualmente scritto in Rails 3.x. Visto che il client non scritto in Ruby ma in una tecnologia “aliena” (classica ASP) la mai i…

---

## [Mod\_zip and limit\_rate](https://www.ruby-forum.com/t/mod-zip-and-limit-rate/219285)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 10, 2012, 12:17pm UTC](https://www.ruby-forum.com/t/mod-zip-and-limit-rate/219285 "2012-05-10T12:17:32Z")

</div>

Hi, I’ve setup nginx (1.0.14) with mod\_zip (1.1.6) and it runs fine “by itself”. The problem is that limit\_rate and limit\_rate\_after directives (in the location where the files are being served from) are not respect…

---

## [Scaling Upload in Rails Application?](https://www.ruby-forum.com/t/scaling-upload-in-rails-application/218295)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 27, 2012, 8:26pm UTC](https://www.ruby-forum.com/t/scaling-upload-in-rails-application/218295 "2012-03-27T20:26:53Z")

</div>

I always got scared when my client ask for upload functionality. Basically from what I’ve read that when user uploaded a file it will an instance of the web server. So if i have one dyno (instance) on heroku, while o…

---

## [Virtualhosts and listen (Listen to all, handle some)](https://www.ruby-forum.com/t/virtualhosts-and-listen-listen-to-all-handle-some/204346)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 10, 2011, 10:57am UTC](https://www.ruby-forum.com/t/virtualhosts-and-listen-listen-to-all-handle-some/204346 "2011-03-10T10:57:00Z")

</div>

hello (sorry for my bad english) in the following example, nginx do bind on all interfaces because exists a “listen \*: 80” right? OK, so I want to do the following, nginx listens on all interfaces (localhost, LAN and…

---

## [Rails 3 stranamente lento](https://www.ruby-forum.com/t/rails-3-stranamente-lento/203010)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 10, 2011, 4:20pm UTC](https://www.ruby-forum.com/t/rails-3-stranamente-lento/203010 "2011-02-10T16:20:22Z")

</div>

Buongiorno lista/forum. E’ da qualche giorno che mi sono messo a provare Rails 3 su una macchina virtuale con Debian Squeeze. Ho seguito l’installazione via rvm, creata l’applicazione e creato un database con una tab…

---

## [Rails - Using Tempfile to write on Heroku?](https://www.ruby-forum.com/t/rails-using-tempfile-to-write-on-heroku/200102)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 5, 2010, 1:16am UTC](https://www.ruby-forum.com/t/rails-using-tempfile-to-write-on-heroku/200102 "2010-12-05T01:16:32Z")

</div>

Hello, I need to be able to write a temporary file for use during the request only. Locally I can use the following successfully: tempfile = File.open(a.original\_filename,'w') tempfile.write\_nonblock(a.body) …

---

## [How to update a single table cell using ajax](https://www.ruby-forum.com/t/how-to-update-a-single-table-cell-using-ajax/192341)

<div class="topic-metadata">

**Author:** [@techy\_bolek](https://www.ruby-forum.com/u/techy_bolek)\
**Replies:** 3\
**Last updated:** [July 30, 2010, 3:52pm UTC](https://www.ruby-forum.com/t/how-to-update-a-single-table-cell-using-ajax/192341 "2010-07-30T15:52:40Z")

</div>

I’m trying to update a table cell based upon a selection in another cell identified as “descPlaceholder”. However, instead of getting the intended cell updated the updated string gets displayed completely outside of t…

---

## [Usrp\_benchmark\_usb.py failed max speed](https://www.ruby-forum.com/t/usrp-benchmark-usb-py-failed-max-speed/190558)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 23, 2010, 2:36am UTC](https://www.ruby-forum.com/t/usrp-benchmark-usb-py-failed-max-speed/190558 "2010-06-23T02:36:05Z")

</div>

Hello everyone, When I run usrp\_benchmark\_usb.py, the two fastest tests fail, leaving me with 8 MB/sec maximum. I have two questions: First, how do I get the 16MB and 32MB tests to pass? Do I need a faster CPU? Seco…

---

## [Shared Helpers](https://www.ruby-forum.com/t/shared-helpers/183995)

<div class="topic-metadata">

**Author:** [@sthorpe](https://www.ruby-forum.com/u/sthorpe)\
**Replies:** 3\
**Last updated:** [February 23, 2010, 8:15pm UTC](https://www.ruby-forum.com/t/shared-helpers/183995 "2010-02-23T20:15:05Z")

</div>

Has there been any development on shared helpers / it\_should\_behave\_like feature in rspec? I forget the reasons, but I remember a patch for something like this was rejected: it\_should\_behave\_like "an\_entry", :locals …

---

## [\[Bug #1072\] Ripper#filename](https://www.ruby-forum.com/t/bug-1072-ripper-filename/158967)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 3\
**Last updated:** [January 30, 2010, 1:57pm UTC](https://www.ruby-forum.com/t/bug-1072-ripper-filename/158967 "2010-01-30T13:57:29Z")

</div>

Bug #1072: Ripper#filename http://redmine.ruby-lang.org/issues/show/1072 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext Reproducible Version: trunk, ruby -v: ruby 1…

---

## [How to get and set the proxy of IE?](https://www.ruby-forum.com/t/how-to-get-and-set-the-proxy-of-ie/131463)

<div class="topic-metadata">

**Author:** [@phoenix520](https://www.ruby-forum.com/u/phoenix520)\
**Replies:** 3\
**Last updated:** [August 17, 2009, 6:40am UTC](https://www.ruby-forum.com/t/how-to-get-and-set-the-proxy-of-ie/131463 "2009-08-17T06:40:52Z")

</div>

I want to let my program connect to internet using the proxy setting of IE,and I spent some time to find it in google,but nothing was found.Is there some way to do it? Any help will be appreciated!

---

## [Creating a .Net Array in IR](https://www.ruby-forum.com/t/creating-a-net-array-in-ir/170099)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [June 12, 2009, 9:56am UTC](https://www.ruby-forum.com/t/creating-a-net-array-in-ir/170099 "2009-06-12T09:56:33Z")

</div>

Hi, I’d like to create a .Net array of a certain type inside IronRuby. It’s needed, for example, for the overloads method. For instance, try to retrieve the String.Trim(Char\[\]) method overload from IronRuby… how do y…

---

## [USRP data sample values incorrect](https://www.ruby-forum.com/t/usrp-data-sample-values-incorrect/168735)

<div class="topic-metadata">

**Author:** [@ujala](https://www.ruby-forum.com/u/ujala)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/usrp-data-sample-values-incorrect/168735 "2009-05-25T14:21:10Z")

</div>

Hi,I am trying to capture the data samples from the USB port of USRP using the following code: #include “usrp\_standard.h” // Dumy Function to process USRP data void process\_data(int buffer) { } #define SAMPELS\_PE…

---

## [Unable to post to an update action in a controller spec](https://www.ruby-forum.com/t/unable-to-post-to-an-update-action-in-a-controller-spec/167912)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [May 15, 2009, 2:22am UTC](https://www.ruby-forum.com/t/unable-to-post-to-an-update-action-in-a-controller-spec/167912 "2009-05-15T02:22:28Z")

</div>

Hi, I use restful routes. In one of my views I have a form that looks like: \<%- form\_tag ‘/items/update’, :method =\> :put do -%\> … \<%= submit\_tag “Recalculate” %\> \<%- end -%\> I know I cheated a bit, as I should be …

---

## [Can we generate .py file with old versions of GRC](https://www.ruby-forum.com/t/can-we-generate-py-file-with-old-versions-of-grc/167736)

<div class="topic-metadata">

**Author:** [@Mir\_A](https://www.ruby-forum.com/u/Mir_A)\
**Replies:** 3\
**Last updated:** [May 12, 2009, 4:43am UTC](https://www.ruby-forum.com/t/can-we-generate-py-file-with-old-versions-of-grc/167736 "2009-05-12T04:43:16Z")

</div>

Hi, Is it possible to generate the .py files using the GRC or does it only create .xml files? I am using GRC 0.70 . Thanks, Ali

---

## [Procesos en background](https://www.ruby-forum.com/t/procesos-en-background/165972)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 0\
**Last updated:** [April 20, 2009, 2:04pm UTC](https://www.ruby-forum.com/t/procesos-en-background/165972 "2009-04-20T14:04:50Z")

</div>

Muy buenas, estoy interesado en realizar ciertas tareas de mi aplicacion en un segundo plano, como por ejemplo la eleccion del usuario del dia. He estado informandome de como funciona cron y las distintas herramientas…

---

## [The find methods for a model class](https://www.ruby-forum.com/t/the-find-methods-for-a-model-class/164787)

<div class="topic-metadata">

**Author:** [@leon](https://www.ruby-forum.com/u/leon)\
**Replies:** 3\
**Last updated:** [April 6, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/the-find-methods-for-a-model-class/164787 "2009-04-06T21:11:58Z")

</div>

Hi, I am doing some examples in a book on Roby on Rails. When a model class is create with generate model command, it will create some find\_xxx methods on the fields. When the model have the relationships with other …

---

## [.ago](https://www.ruby-forum.com/t/ago/164125)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [March 28, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/ago/164125 "2009-03-28T12:53:42Z")

</div>

Hi I have m = 1.year.ago.mon #This I get 3 But how to get name of month ie March from above? Thanks in advance Sijo

---

## [\[Cucumber, Webrat\] Error backtraces shown as HTML in console](https://www.ruby-forum.com/t/cucumber-webrat-error-backtraces-shown-as-html-in-console/159521)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [February 22, 2009, 4:34pm UTC](https://www.ruby-forum.com/t/cucumber-webrat-error-backtraces-shown-as-html-in-console/159521 "2009-02-22T16:34:37Z")

</div>

Since upgrading to Cucumber 0.1.99.19 I’ve noticed that the backtraces appearing in the console output are of the form: Page load was not successful (Code: 500): Followed by the dump of the rails error page. That pag…

---

## [\[ANN\] ffi-wiiuse 0.1.0](https://www.ruby-forum.com/t/ann-ffi-wiiuse-0-1-0/160479)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 3\
**Last updated:** [February 17, 2009, 7:48am UTC](https://www.ruby-forum.com/t/ann-ffi-wiiuse-0-1-0/160479 "2009-02-17T07:48:04Z")

</div>

ffi-wiiuse version 0.1.0 by Andrea F. GitHub - remogatto/ffi-wiiuse: wiiuse ruby binding using FFI == DESCRIPTION ffi-wiiuse is a ruby wrapper around wiiuse, a C library that handles the connection with Nintendo Wii…

---

## [Building IronRuby](https://www.ruby-forum.com/t/building-ironruby/158418)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 3\
**Last updated:** [January 23, 2009, 6:55pm UTC](https://www.ruby-forum.com/t/building-ironruby/158418 "2009-01-23T18:55:02Z")

</div>

I’ve just gotten the latest ironruby bits from github and cannot build. Using Merlin\\Main\\Languagues\\Ruby\\IronRuby.sln: Can’t open the Microsoft.Scripting project because it imports from “Merlin\\Main\\Support\\SpecShar…

---

## [IronRuby 1.0 Roadmap](https://www.ruby-forum.com/t/ironruby-1-0-roadmap/157628)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/ironruby-1-0-roadmap/157628 "2009-01-13T23:05:45Z")

</div>

http://ironruby.net/Roadmap Here is a rough roadmap (aka, what’s left to do) before IronRuby 1.0. More information, especially for the libraries, is coming soon, along with links to tickets tracking these features, et…

---

## [Issue with scaffolding with rail 2.2 and mySQL](https://www.ruby-forum.com/t/issue-with-scaffolding-with-rail-2-2-and-mysql/155561)

<div class="topic-metadata">

**Author:** [@mikari](https://www.ruby-forum.com/u/mikari)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/issue-with-scaffolding-with-rail-2-2-and-mysql/155561 "2009-01-07T22:05:13Z")

</div>

Hi guys, I’m having problems when creating basic web applications using rails 2.2 and mySQL databases. If I create the following table in a database named moviecritc\_development: CREATE TABLE movies ( id INT NOT NU…

---

## [Is there a way in ./script/console to get the SQL debugging showing? (i.e. like you see when you r](https://www.ruby-forum.com/t/is-there-a-way-in-script-console-to-get-the-sql-debugging-showing-i-e-like-you-see-when-you-r/155483)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [December 12, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/is-there-a-way-in-script-console-to-get-the-sql-debugging-showing-i-e-like-you-see-when-you-r/155483 "2008-12-12T16:27:05Z")

</div>

is there a way in ./script/console to get the SQL debugging showing??? (i.e. like you see when you run ./script/server in development mode) thanks

---

## [Uneditable text\_field](https://www.ruby-forum.com/t/uneditable-text-field/145582)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 3\
**Last updated:** [August 11, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/uneditable-text-field/145582 "2008-08-11T21:20:00Z")

</div>

\<%= form.text\_field :tags, :value =\> tags, :disabled=\>“disabled” %\> disabled makes it uneditable, but when I submit my form, I suppose the value of the input field becomes non-existant since it is disabled. What worka…

---

## [Ri, fri e rdoc](https://www.ruby-forum.com/t/ri-fri-e-rdoc/142911)

<div class="topic-metadata">

**Author:** [@Arnaudo\_Massimo](https://www.ruby-forum.com/u/Arnaudo_Massimo)\
**Replies:** 3\
**Last updated:** [July 13, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/ri-fri-e-rdoc/142911 "2008-07-13T15:50:33Z")

</div>

Ciao a tutti, ho provato ad installare tramite gems i pacchetti di cui sopra, ma al momento di fare un test per testare le peculiaritÃ , mi sono trovato con un numero esiguo di informazioni rispetto all’esempio fornit…

---

## [Params\[:id\] not working right?](https://www.ruby-forum.com/t/params-id-not-working-right/138940)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 10:41am UTC](https://www.ruby-forum.com/t/params-id-not-working-right/138940 "2008-05-29T10:41:47Z")

</div>

something very odd is going on, when I put in the url http://mysite/blabla/bla/21 it will only see the 2 and ignore the 1 instead of getting the full id “21” obviously this is causing a lot of issues in my applicatio…

---

## [Firefox vs. IE](https://www.ruby-forum.com/t/firefox-vs-ie/137703)

<div class="topic-metadata">

**Author:** [@berri](https://www.ruby-forum.com/u/berri)\
**Replies:** 3\
**Last updated:** [May 20, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/firefox-vs-ie/137703 "2008-05-20T23:31:14Z")

</div>

Admin pages in both browsers goes good, but if I want to look at created pages it is shown only in Firefix, IE gives me a pop up window with “Would you like to save this file or would you like to find any programm for…

---

## [Duda en text\_field](https://www.ruby-forum.com/t/duda-en-text-field/136135)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 3\
**Last updated:** [April 29, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/duda-en-text-field/136135 "2008-04-29T16:28:29Z")

</div>

hola buenas a todos, quiero poner en el text\_field en nombre el valor de un campo pero no se como llegar a el tengo dos clases Anuncio y Categoria en la clase Anuncio tengo belongs\_to: categoria y en Categoria tengo…

---

## [Ruby equivalent to VB Syntax](https://www.ruby-forum.com/t/ruby-equivalent-to-vb-syntax/133594)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 3\
**Last updated:** [April 2, 2008, 3:13am UTC](https://www.ruby-forum.com/t/ruby-equivalent-to-vb-syntax/133594 "2008-04-02T03:13:15Z")

</div>

Hello, I am doing some CDO stuff with Ruby, but all the tutorials are in VB (lame!!) so I was wondering if anybody knew how to do something like this: VB: ’ Create/write a Microsoft Outlook item custom field objMess…

---

## [How to create a custom validator](https://www.ruby-forum.com/t/how-to-create-a-custom-validator/121160)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 3\
**Last updated:** [November 25, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/how-to-create-a-custom-validator/121160 "2007-11-25T15:30:48Z")

</div>

i was wondering how can i create my own custom validates\_ function. e.g. i am validating email adresses on a lot of places and would like to achieve the following class User validates\_email :email end does some has…

---

## [Self-referential :has\_many :through relationship?](https://www.ruby-forum.com/t/self-referential-has-many-through-relationship/118575)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 3\
**Last updated:** [October 30, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/self-referential-has-many-through-relationship/118575 "2007-10-30T21:57:18Z")

</div>

Hi All, I’m building an app that needs to make a comparison between two people and I’m wondering how to best build the models, and if I’m doing this correctly. I’m representing each partner as a User, so I wanted to …

---

## [Simple division problems... I know horrible!](https://www.ruby-forum.com/t/simple-division-problems-i-know-horrible/116987)

<div class="topic-metadata">

**Author:** [@new\_rails-ny](https://www.ruby-forum.com/u/new_rails-ny)\
**Replies:** 3\
**Last updated:** [October 11, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/simple-division-problems-i-know-horrible/116987 "2007-10-11T23:02:27Z")

</div>

Hey all, Thanks for your time here but I am having problems with something that should be so simple… @campaigns = Campaign.find(:all, :conditions =\> \[“end\_date \>= ?”, Date.today\]) @total\_running = Campaign.sum(:impr…

---

## [DB connection setup for Unit Testing](https://www.ruby-forum.com/t/db-connection-setup-for-unit-testing/113478)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 3\
**Last updated:** [September 8, 2007, 8:47am UTC](https://www.ruby-forum.com/t/db-connection-setup-for-unit-testing/113478 "2007-09-08T08:47:29Z")

</div>

I am trying to take a test-driven approach to a script I am writing. The script needs to connect to SQLServer using DBI. Currently it looks like this: class BurndownTests \< Test::Unit::TestCase def setup db = DBI.co…

---

## [Crackare file (propri) cifrati con gpg](https://www.ruby-forum.com/t/crackare-file-propri-cifrati-con-gpg/112663)

<div class="topic-metadata">

**Author:** [@marluigi](https://www.ruby-forum.com/u/marluigi)\
**Replies:** 3\
**Last updated:** [August 25, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/crackare-file-propri-cifrati-con-gpg/112663 "2007-08-25T23:53:30Z")

</div>

…dopo che vi sarete fatti matte risate, sapreste dirmi se e’ possibile crackare dei file cifrati con kgpg di cui e’ andata persa la chiave pubblica? Praticamente ho disinstallato fedora per installare centos, e ho “tr…

---

## [Ruby and Ghostscript](https://www.ruby-forum.com/t/ruby-and-ghostscript/110819)

<div class="topic-metadata">

**Author:** [@watxit](https://www.ruby-forum.com/u/watxit)\
**Replies:** 0\
**Last updated:** [July 31, 2007, 10:32am UTC](https://www.ruby-forum.com/t/ruby-and-ghostscript/110819 "2007-07-31T10:32:55Z")

</div>

Hi guy I know : To use Ghostscript to combine PDF files, type something like the following: gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf where we run this command in Ruby …

---

## [Using something other than textareas to edit Radiant pages](https://www.ruby-forum.com/t/using-something-other-than-textareas-to-edit-radiant-pages/104885)

<div class="topic-metadata">

**Author:** [@kevin\_beckford](https://www.ruby-forum.com/u/kevin_beckford)\
**Replies:** 3\
**Last updated:** [May 24, 2007, 12:35pm UTC](https://www.ruby-forum.com/t/using-something-other-than-textareas-to-edit-radiant-pages/104885 "2007-05-24T12:35:06Z")

</div>

Hello all, I would like to avoid using textareas to edit my radiant site’s pages. I would much rather use vim to edit any and all text. Is it possible to do this other than using the radiant.vim plugin ( segfaults …

---

## [Find ":second"?](https://www.ruby-forum.com/t/find-second/104786)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 3\
**Last updated:** [May 22, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/find-second/104786 "2007-05-22T16:55:40Z")

</div>

Buenas, me surge una duda: Tengo una tabla que guarda los accesos a mi aplicaciÃ³n tal que asÃ­: AUDITORIA: id - login - created\_at 1 - luis - 22/05/07 13:35 2 - luis - 22/05/07 13:38 3 - luis - 2…

---

## [Code block which allows dynamical numbers of arguments](https://www.ruby-forum.com/t/code-block-which-allows-dynamical-numbers-of-arguments/93173)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 3\
**Last updated:** [April 28, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/code-block-which-allows-dynamical-numbers-of-arguments/93173 "2007-04-28T19:10:37Z")

</div>

Hi, let’s pretend I have a codeblock like this: #begin test = lambda {|c,d| @check = c if object.status == d} test.call(“GoodBoy”,12) #end So you see if object.status is 12 @check will be set to “Goodboy”. But how…

---

## [Ruby script/plugin install no hace nada](https://www.ruby-forum.com/t/ruby-script-plugin-install-no-hace-nada/91824)

<div class="topic-metadata">

**Author:** [@Franrc](https://www.ruby-forum.com/u/Franrc)\
**Replies:** 3\
**Last updated:** [April 14, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/ruby-script-plugin-install-no-hace-nada/91824 "2007-04-14T18:35:42Z")

</div>

Hola chicos, pues como el asunto indica… cuando realizo ruby script/plugin install ‘URL’ no hace absolutamente nada, querÃ­a instalarme el ziya, pero no me ha dejado, luego he probado (por probar) con mole, y tampoco…

---

## [Formatting integer (2 printed as 02)](https://www.ruby-forum.com/t/formatting-integer-2-printed-as-02/90466)

<div class="topic-metadata">

**Author:** [@brijnaald](https://www.ruby-forum.com/u/brijnaald)\
**Replies:** 3\
**Last updated:** [March 29, 2007, 4:56am UTC](https://www.ruby-forum.com/t/formatting-integer-2-printed-as-02/90466 "2007-03-29T04:56:08Z")

</div>

Hi, I want to format an integer as hours and minutes. Of course it’s easy to write this myself, but let’s respect DRY! Is there a method I can use so that integers are converted to strings of 2 digits? So: 2 --\> 02 …

---

## [Scaffold de tables SQL](https://www.ruby-forum.com/t/scaffold-de-tables-sql/84383)

<div class="topic-metadata">

**Author:** [@t5in9tao](https://www.ruby-forum.com/u/t5in9tao)\
**Replies:** 3\
**Last updated:** [February 4, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/scaffold-de-tables-sql/84383 "2007-02-04T13:27:29Z")

</div>

Bonjour, Voici le schÃ©ma de ma base SQL : clients (0,) \<---- (1,1) clients\_produits (1,1) ----\> (0,) produits Pour crÃ©er un Ã©chafaudage rapide de mes tables, j’ai donc exÃ©cutÃ© les prÃ©sentes commandes : ruby sc…

---

## [Short solution for replacing Strings inside a file?](https://www.ruby-forum.com/t/short-solution-for-replacing-strings-inside-a-file/83755)

<div class="topic-metadata">

**Author:** [@emmanuel](https://www.ruby-forum.com/u/emmanuel)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/short-solution-for-replacing-strings-inside-a-file/83755 "2007-01-29T16:35:18Z")

</div>

Hello, i’m working with ruby 1.8.5 on a Suse SLES 9 Linux machine. I need to replace strings inside files, specifically the string FECHAIMPRE with the current date. I had a bash script that looked like this: BOF#####…

---

## [Vous cherchez un IDE efficace pour Rails?](https://www.ruby-forum.com/t/vous-cherchez-un-ide-efficace-pour-rails/77288)

<div class="topic-metadata">

**Author:** [@Mathieu\_C](https://www.ruby-forum.com/u/Mathieu_C)\
**Replies:** 3\
**Last updated:** [November 27, 2006, 2:43pm UTC](https://www.ruby-forum.com/t/vous-cherchez-un-ide-efficace-pour-rails/77288 "2006-11-27T14:43:35Z")

</div>

Ne cherchez plus : rails.vim http://www.youtube.com/watch?v=30P8DSNOZuU Les fonctions de bascule entre fichiers associés (controlleur, vue) sont géniales.

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

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