# Top

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

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

---

## [(yet another) sorting patch](https://www.ruby-forum.com/t/yet-another-sorting-patch/101321)

<div class="topic-metadata">

**Author:** [@bodhi](https://www.ruby-forum.com/u/bodhi)\
**Replies:** 3\
**Last updated:** [August 8, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/yet-another-sorting-patch/101321 "2006-08-08T19:54:24Z")

</div>

Hi All, Sorry to step on your toes Erik, but I was halfway through this when you posted your patch (which I haven’t had a chance to look at just yet). I converted the page list from tables to lists, and used scriptac…

---

## [About tune the daughterboard](https://www.ruby-forum.com/t/about-tune-the-daughterboard/98806)

<div class="topic-metadata">

**Author:** [@hanwen](https://www.ruby-forum.com/u/hanwen)\
**Replies:** 3\
**Last updated:** [August 1, 2006, 8:13am UTC](https://www.ruby-forum.com/t/about-tune-the-daughterboard/98806 "2006-08-01T08:13:58Z")

</div>

Hi, all:) I’ve read through the code of GMSK2 and I found the difference of tune in transmit\_path and receive\_path. In the transmit\_path: self.u.tune(self.subdev.\_which, self.subdev, target\_freq) In the receive\_pat…

---

## [Using collection\_select](https://www.ruby-forum.com/t/using-collection-select/98619)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 3\
**Last updated:** [July 17, 2006, 5:44am UTC](https://www.ruby-forum.com/t/using-collection-select/98619 "2006-07-17T05:44:51Z")

</div>

hello, supposing i have a User class that contains a Wibble class User \< ActiveRecord::Base has\_one :wibble end in my view i have \<%= collection\_select :user, :wibble, Wibble.find(:all), :id, :name %\> when i post,…

---

## [Link\_to\_remote\_with\_overlay - Easy Ajax Overlays](https://www.ruby-forum.com/t/link-to-remote-with-overlay-easy-ajax-overlays/57818)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 3\
**Last updated:** [April 14, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/link-to-remote-with-overlay-easy-ajax-overlays/57818 "2006-04-14T20:59:04Z")

</div>

People might be intrested in an article I wrote about using a helper and some javascript to easily bring up ‘Overlays’, a bit like Lightbox. http://www.eribium.org/eribium/?p=32

---

## [Updating Table without ID Column](https://www.ruby-forum.com/t/updating-table-without-id-column/55117)

<div class="topic-metadata">

**Author:** [@sideshow](https://www.ruby-forum.com/u/sideshow)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 11:55pm UTC](https://www.ruby-forum.com/t/updating-table-without-id-column/55117 "2006-03-29T23:55:27Z")

</div>

Hey All, I’ve been having a slight problem updating attributes for a row that matches something other than it’s ID…For ex: My table that has 3 rows…ColumnID, ColumnTitle, and ColumnDescription. I want to update a row…

---

## [\[ANN\] acts\_as\_threaded plugin](https://www.ruby-forum.com/t/ann-acts-as-threaded-plugin/101480)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 3\
**Last updated:** [March 13, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/ann-acts-as-threaded-plugin/101480 "2006-03-13T20:52:10Z")

</div>

This plugin is related to the acts\_as\_nested\_set functionality but differs in that it allows multiple roots to exist within your database. The other benefit, is that when adding a child, it doesn’t perform a full ta…

---

## [Models, Modules, and Callbacks](https://www.ruby-forum.com/t/models-modules-and-callbacks/52693)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/models-modules-and-callbacks/52693 "2006-01-18T16:02:17Z")

</div>

There’s been some discussion about this before but I think I have a unique problem. I am trying to use modules with models to avoid naming conflicts while connecting to more than one database. Everything seems to be …

---

## [Has\_one :dependent =\> true question](https://www.ruby-forum.com/t/has-one-dependent-true-question/89669)

<div class="topic-metadata">

**Author:** [@Zack\_C](https://www.ruby-forum.com/u/Zack_C)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/has-one-dependent-true-question/89669 "2006-01-05T19:57:29Z")

</div>

Hello, I have two classes that are self explanatory and are listed below. class User \< ActiveRecord::Base belongs\_to :account end class Account \< ActiveRecord::Base has\_one :account\_owner, { :dependent =\> true, :cl…

---

## [What is the best way of setting up the following model:](https://www.ruby-forum.com/t/what-is-the-best-way-of-setting-up-the-following-model/51158)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 3\
**Last updated:** [December 27, 2005, 1:33pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-of-setting-up-the-following-model/51158 "2005-12-27T13:33:09Z")

</div>

Hi, I am new to Rails (and Ruby) and for what i have seen sofar i like it a lot! But i can’t figure out what the best sollution would be for the following: Lets say i want to setup a CRM system and i have to sorts of …

---

## [Newbie - how do I create an edit form without scaffold?](https://www.ruby-forum.com/t/newbie-how-do-i-create-an-edit-form-without-scaffold/97109)

<div class="topic-metadata">

**Author:** [@farocco](https://www.ruby-forum.com/u/farocco)\
**Replies:** 3\
**Last updated:** [December 10, 2005, 10:14pm UTC](https://www.ruby-forum.com/t/newbie-how-do-i-create-an-edit-form-without-scaffold/97109 "2005-12-10T22:14:53Z")

</div>

Hello, Can someone give me a short code example of how to code an edit form and controlled? Say I want to edit a title with a key of id \<form…what goes here def edit ... what goes here end thanks Frank

---

## [Problem with .each do](https://www.ruby-forum.com/t/problem-with-each-do/48847)

<div class="topic-metadata">

**Author:** [@michelle](https://www.ruby-forum.com/u/michelle)\
**Replies:** 3\
**Last updated:** [November 20, 2005, 12:43pm UTC](https://www.ruby-forum.com/t/problem-with-each-do/48847 "2005-11-20T12:43:34Z")

</div>

Hiya. The book does things this way, so why doesn’t it work for me? What’s going on? def fromWeb(site, url) # get data from website h = Net::HTTP.new(site, 80) resp, data=h.get(url, nil) # process data data.each d…

---

## [Accessing link\_to from within a controller](https://www.ruby-forum.com/t/accessing-link-to-from-within-a-controller/47905)

<div class="topic-metadata">

**Author:** [@icottee](https://www.ruby-forum.com/u/icottee)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 4:45pm UTC](https://www.ruby-forum.com/t/accessing-link-to-from-within-a-controller/47905 "2005-11-15T16:45:08Z")

</div>

Hi all I want to build up a basic menu system for my application. Each ‘section’ has it’s own left hand menu and I was planning on handling that by defining a ‘menu’ method within each controller, which I’d pass (alo…

---

## [Membership tutorial?](https://www.ruby-forum.com/t/membership-tutorial/56245)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/membership-tutorial/56245 "2005-11-12T12:49:46Z")

</div>

Anybody know of a good tutorial showing how to use Rails with web site membership? i.e. use a filter to authenticate, store member info in session/cookie, login, send passwords, etc. thanks csn Yahoo! FareChase: S…

---

## [Strings v. Integers](https://www.ruby-forum.com/t/strings-v-integers/242577)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 7:06pm UTC](https://www.ruby-forum.com/t/strings-v-integers/242577 "2015-07-04T19:06:26Z")

</div>

the first bit of code does what i want it to: loop do move = gets.to\_i if move == 1 puts “up” elsif move == 2 puts “left” elsif move == 3 puts “down” elsif move == 4 puts “right” else puts “it didn’t work” en…

---

## [USRP2 and UHD 3.8.3](https://www.ruby-forum.com/t/usrp2-and-uhd-3-8-3/241689)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 24, 2015, 5:57pm UTC](https://www.ruby-forum.com/t/usrp2-and-uhd-3-8-3/241689 "2015-04-24T17:57:49Z")

</div>

Dear USRP2 users, (Note: this does not affect N2x0, or any other device! Only USRP2, with the SD-Card). The latest release (3.8.3) has an issue where UHD won’t let you use USRP2s. Apologies for missing that during te…

---

## [Logging POST body](https://www.ruby-forum.com/t/logging-post-body/234836)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 15, 2014, 8:14pm UTC](https://www.ruby-forum.com/t/logging-post-body/234836 "2014-10-15T20:14:03Z")

</div>

I am using ngixing as a reverse proxy in front of apache (PHP) as a load balancer and a logger. For some endpoints, I want to log their POST bodies and I looked up the Web and found some solution requiring to install …

---

## [Beginner question](https://www.ruby-forum.com/t/beginner-question/239400)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 25, 2014, 5:24am UTC](https://www.ruby-forum.com/t/beginner-question/239400 "2014-02-25T05:24:12Z")

</div>

Hi All, I’m taking programming lessons on Code academy, and I am stuck on the symbols lesson. The instructions say : We have an array of strings we’d like to later use as hash keys, but we’d rather they be symbols. …

---

## [Checkbox - JRuby](https://www.ruby-forum.com/t/checkbox-jruby/238524)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 15, 2014, 1:55pm UTC](https://www.ruby-forum.com/t/checkbox-jruby/238524 "2014-01-15T13:55:04Z")

</div>

Hi all, This one has me beaten. The code follows below. I am creating a GUI, which contains a single checkbox (more soon) and a Go button. All I am trying to do at this stage is: Create a GUI with checkbox - DONE P…

---

## [Need to help on to use delete\_if](https://www.ruby-forum.com/t/need-to-help-on-to-use-delete-if/246467)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 23, 2013, 1:32pm UTC](https://www.ruby-forum.com/t/need-to-help-on-to-use-delete-if/246467 "2013-10-23T13:32:31Z")

</div>

I need a help to fix the below code,Quick help is highly appriciated Assume : new\_entry = TOM nodelist = John, Tom, Ram I have return the below code in ruby to remove the “TOM” from the “node list” variable def fil…

---

## [Secure permission structure for server blocks?](https://www.ruby-forum.com/t/secure-permission-structure-for-server-blocks/236506)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 10, 2013, 7:13pm UTC](https://www.ruby-forum.com/t/secure-permission-structure-for-server-blocks/236506 "2013-09-10T19:13:20Z")

</div>

Hello everybody, I am trying to wrap my head around this for weeks now. What is the most secure way to organise the permissions of the web root directories (WRD) for several server blocks. Especially when you have PHP…

---

## [\[Backport 200 - Backport #8146\]\[Open\] Backport r39811](https://www.ruby-forum.com/t/backport-200-backport-8146-open-backport-r39811/227647)

<div class="topic-metadata">

**Author:** [@authorNari\_SNarihir](https://www.ruby-forum.com/u/authorNari_SNarihir)\
**Replies:** 2\
**Last updated:** [March 22, 2013, 3:55pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8146-open-backport-r39811/227647 "2013-03-22T15:55:47Z")

</div>

Issue #8146 has been reported by authorNari (Narihiro N.). Backport #8146: Backport r39811 Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: nagachika (Tomoyuki C.) Category: Target versio…

---

## ['no input file specified' on LEMP setup](https://www.ruby-forum.com/t/no-input-file-specified-on-lemp-setup/226713)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 2\
**Last updated:** [February 19, 2013, 5:43pm UTC](https://www.ruby-forum.com/t/no-input-file-specified-on-lemp-setup/226713 "2013-02-19T17:43:58Z")

</div>

I followed the article “How to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6” (https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6) and could see th…

---

## [Undef keyword with symbol](https://www.ruby-forum.com/t/undef-keyword-with-symbol/219359)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 30, 2012, 8:52pm UTC](https://www.ruby-forum.com/t/undef-keyword-with-symbol/219359 "2012-04-30T20:52:51Z")

</div>

I see something like this: require “ostruct” class OptionsWrapper \< OpenStruct undef :id, :class def send(key) end def \[\]=(key, value) send("#{key}=", value) end def method\_missing(method, \*args, &block) retu…

---

## [Reverse proxy root folder only](https://www.ruby-forum.com/t/reverse-proxy-root-folder-only/215528)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 7, 2012, 11:03am UTC](https://www.ruby-forum.com/t/reverse-proxy-root-folder-only/215528 "2012-01-07T11:03:11Z")

</div>

I have an nginx serverset up and I’m looking for a way to only reverse proxy the contents of the root folder. I’m using a location regex with a list of the files in root that are allowed and then a second catch-all lo…

---

## [How to bypass a create record after validation wo error?](https://www.ruby-forum.com/t/how-to-bypass-a-create-record-after-validation-wo-error/214556)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 5, 2011, 11:28pm UTC](https://www.ruby-forum.com/t/how-to-bypass-a-create-record-after-validation-wo-error/214556 "2011-12-05T23:28:36Z")

</div>

I have a specific signup process to handle, and I am turning around the solution wo finding a clear validation … a visitor fill in a User Registration form ( email /pwd /pwd confirmation ) I wrote a UserValidator cl…

---

## [Problem with updated nginx](https://www.ruby-forum.com/t/problem-with-updated-nginx/211191)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 7, 2011, 10:57pm UTC](https://www.ruby-forum.com/t/problem-with-updated-nginx/211191 "2011-09-07T22:57:09Z")

</div>

Hi All, I have run nginx on OpenBSD for several years without problems. Recently I upgraded to a new OpenBSD and with that to a new nginx. I went from nginx 0.7.64 to 0.8.53p5 nginx still works but I ran into a probl…

---

## [Validation of XML with XmlSimple](https://www.ruby-forum.com/t/validation-of-xml-with-xmlsimple/207214)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 20, 2011, 6:14pm UTC](https://www.ruby-forum.com/t/validation-of-xml-with-xmlsimple/207214 "2011-05-20T18:14:27Z")

</div>

My application needs to check whether a file contains valid XML. I’m using XmlSimple to do the parsing work but wondered how best to validate the XML in the file I’m parsing. I’d appreciate your input.

---

## [Dial\_tone.py add\_ff()](https://www.ruby-forum.com/t/dial-tone-py-add-ff/200071)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 5, 2010, 1:08am UTC](https://www.ruby-forum.com/t/dial-tone-py-add-ff/200071 "2010-12-05T01:08:10Z")

</div>

Another GNU Radio noob here. I’ve been playing around with some of the examples while I eagerly await my USRP1 and I had a question about the dial\_tone.py example. I ran the dial\_tone.py example that’s part of the 3.3…

---

## [Controllo che il file sia lockato](https://www.ruby-forum.com/t/controllo-che-il-file-sia-lockato/185351)

<div class="topic-metadata">

**Author:** [@catiana](https://www.ruby-forum.com/u/catiana)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/controllo-che-il-file-sia-lockato/185351 "2010-03-18T17:47:18Z")

</div>

Ciao a tutti, Ã¨ da tempo che non programmo con ruby, quindi perdonate magari la mia ignoranza o dimenticanza. Esiste un metodo che verifca se un file Ã¨ lockato in scrittura da un altro processo??? Grazie anticipat…

---

## [A more graceful friendly url method?](https://www.ruby-forum.com/t/a-more-graceful-friendly-url-method/182385)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 2\
**Last updated:** [January 28, 2010, 4:35am UTC](https://www.ruby-forum.com/t/a-more-graceful-friendly-url-method/182385 "2010-01-28T04:35:57Z")

</div>

Hey, I’m almost done a project and only now am I implementing friendly URLs. I’m using the method from “Simply Rails 2” by Patrick Lenz. This involves the following addition to the model: def to\_param “#{id}-#{name}…

---

## [Cargando clases en orden](https://www.ruby-forum.com/t/cargando-clases-en-orden/164680)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 2\
**Last updated:** [April 4, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/cargando-clases-en-orden/164680 "2009-04-04T19:22:41Z")

</div>

Hola, Tengo un directorio que contiene diversas clases. Estas clases tienen ciertas dependencias entre ellas. Por ejemplo una clase puede extender de otra. Estoy tratando de cargarlas con “require” dinamicamente pero …

---

## [How to spec within a block?](https://www.ruby-forum.com/t/how-to-spec-within-a-block/160000)

<div class="topic-metadata">

**Author:** [@rgagnon](https://www.ruby-forum.com/u/rgagnon)\
**Replies:** 2\
**Last updated:** [February 12, 2009, 4:14am UTC](https://www.ruby-forum.com/t/how-to-spec-within-a-block/160000 "2009-02-12T04:14:51Z")

</div>

I have this and I want to mock the to\_xml but not his block cause this is what I want to spec. Is there a way to do this? Sorry for the formatting output = @detenteur.to\_xml( :skip\_types =\> false, :skip\_instruct =\>…

---

## [Who is using NullDB?](https://www.ruby-forum.com/t/who-is-using-nulldb/157549)

<div class="topic-metadata">

**Author:** [@avdi](https://www.ruby-forum.com/u/avdi)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 2:12am UTC](https://www.ruby-forum.com/t/who-is-using-nulldb/157549 "2009-01-13T02:12:58Z")

</div>

I gather from some recent posts that some people are actually using NullDB in their projects. As the creator of NullDB, I’m pleased and a little surprised to hear this. Since NullDB is has received exactly zero atte…

---

## [Problema con daemon\_generator](https://www.ruby-forum.com/t/problema-con-daemon-generator/152329)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 2\
**Last updated:** [December 3, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/problema-con-daemon-generator/152329 "2008-12-03T12:42:30Z")

</div>

Hola lista, buenas a todos. tengo un problema con el daemon\_generator, he seguido la pagina del creador para la instalaciÃ³n y he visto el el video de railscast que hay respecto al tema. http://media.railscasts.com…

---

## [Question about the system method](https://www.ruby-forum.com/t/question-about-the-system-method/154568)

<div class="topic-metadata">

**Author:** [@Jarod\_Z](https://www.ruby-forum.com/u/Jarod_Z)\
**Replies:** 2\
**Last updated:** [December 2, 2008, 2:45am UTC](https://www.ruby-forum.com/t/question-about-the-system-method/154568 "2008-12-02T02:45:40Z")

</div>

Hi, all I want to use system method to run a background process, like system("ruby deamon.rb") # the deamon.rb runs a dead loop When my main process ends, I want to end the background process too. How can I do i…

---

## [INLINEDIR or HOME error](https://www.ruby-forum.com/t/inlinedir-or-home-error/153468)

<div class="topic-metadata">

**Author:** [@Sita\_Rami\_R](https://www.ruby-forum.com/u/Sita_Rami_R)\
**Replies:** 2\
**Last updated:** [November 17, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/inlinedir-or-home-error/153468 "2008-11-17T19:14:45Z")

</div>

Hi, I am trying to extract the related links(for ex: ruby Programming Language) from google page. I had scrubyt0.3.4 and rubygems1.3.4 installed. I am encountered with an error saying “Define INLINEDIR or HOME in yo…

---

## [Sending mail with nginx](https://www.ruby-forum.com/t/sending-mail-with-nginx/152004)

<div class="topic-metadata">

**Author:** [@carpeliam](https://www.ruby-forum.com/u/carpeliam)\
**Replies:** 2\
**Last updated:** [October 28, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/sending-mail-with-nginx/152004 "2008-10-28T23:58:04Z")

</div>

I’ve been using nginx to proxy to rails apps, and this has been quite successful (thanks). But now I need to host a client’s site which has a very simple mail contact form (previously written in coldfusion running on …

---

## [Export to Excel - large file](https://www.ruby-forum.com/t/export-to-excel-large-file/151834)

<div class="topic-metadata">

**Author:** [@Marcello\_P](https://www.ruby-forum.com/u/Marcello_P)\
**Replies:** 2\
**Last updated:** [October 26, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/export-to-excel-large-file/151834 "2008-10-26T22:11:05Z")

</div>

Hello, I need to export some data to an Excel file. I’m using a xml view to do that. But now, the file is too large, and taking almost 30 minutes to render… Is there another way that I can do this ?? Thanks for any…

---

## [Webrat and submitting a form using an image](https://www.ruby-forum.com/t/webrat-and-submitting-a-form-using-an-image/150146)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [October 5, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/webrat-and-submitting-a-form-using-an-image/150146 "2008-10-05T16:55:07Z")

</div>

Webrat doesn’t seem to be able to handle the submit of a form through an image input. How do you handle that?

---

## [Rails and HTML 4.01 (not XHTML)](https://www.ruby-forum.com/t/rails-and-html-4-01-not-xhtml/106406)

<div class="topic-metadata">

**Author:** [@hdante](https://www.ruby-forum.com/u/hdante)\
**Replies:** 2\
**Last updated:** [September 22, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/rails-and-html-4-01-not-xhtml/106406 "2008-09-22T15:39:59Z")

</div>

Hi, I’ve tried to change my layouts to HTML 4.01 DOCTYPE, but then the page didn’t pass w3 validation. Validation fails in the line that corresponds to the following: \<%= stylesheet\_link\_tag “depot”, :media =\> “all” …

---

## [Passing a hash in stories](https://www.ruby-forum.com/t/passing-a-hash-in-stories/145388)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 2\
**Last updated:** [August 8, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/passing-a-hash-in-stories/145388 "2008-08-08T23:37:29Z")

</div>

Hi, Anyone have code you could share that lets you pass a hash in plain text stories, for example Then I fill out form with name: Jon, email: removed\_email\_address@domain.invalid, age: 9 passes in a hash { ‘name’ =\> …

---

## [Dias y noches transcurridos](https://www.ruby-forum.com/t/dias-y-noches-transcurridos/145380)

<div class="topic-metadata">

**Author:** [@vylycyn](https://www.ruby-forum.com/u/vylycyn)\
**Replies:** 2\
**Last updated:** [August 8, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/dias-y-noches-transcurridos/145380 "2008-08-08T18:07:22Z")

</div>

buenas alguien ha tenido que hacer un algoritmo para calcular los dias y las noches transcurridos entre dos fechas, ademas, debo conservar la fraccion en horas y minutos ej: 2 dias 1 noche 2 horas 24 minutos les …

---

## [Relative\_url\_root and javascript\_include\_tag](https://www.ruby-forum.com/t/relative-url-root-and-javascript-include-tag/116998)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 2\
**Last updated:** [February 14, 2008, 9:10am UTC](https://www.ruby-forum.com/t/relative-url-root-and-javascript-include-tag/116998 "2008-02-14T09:10:44Z")

</div>

Hi. In my environment.rb, I have: ActionController::AbstractRequest.relative\_url\_root = “/foobar” In my layout, I have: \<%= javascript\_include\_tag :defaults %\> Question 1: I am getting an error: ActionController::…

---

## [Assoziierte Objekte werden nicht abgespeichert](https://www.ruby-forum.com/t/assoziierte-objekte-werden-nicht-abgespeichert/116769)

<div class="topic-metadata">

**Author:** [@mvondung](https://www.ruby-forum.com/u/mvondung)\
**Replies:** 2\
**Last updated:** [October 9, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/assoziierte-objekte-werden-nicht-abgespeichert/116769 "2007-10-09T18:00:07Z")

</div>

Hallo, wir haben ein Problem, das die assoziierte Objekte nur abgespeichert werden wenn das parent Objekt noch nicht in der Datenbank vorhanden ist. Unter Rails 1.1.6 ging dies noch. Modelle: class Father \< ActiveR…

---

## [Memcache-client - how to start server on development](https://www.ruby-forum.com/t/memcache-client-how-to-start-server-on-development/115491)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [September 26, 2007, 5:06am UTC](https://www.ruby-forum.com/t/memcache-client-how-to-start-server-on-development/115491 "2007-09-26T05:06:04Z")

</div>

I’ve been trying to start the memcache-client server on my development box, but haven’t been able to figure out how to do this. It defaults to using “localhost:11211,” but there is nothing running on that port. The r…

---

## [Strongspace + rails](https://www.ruby-forum.com/t/strongspace-rails/82496)

<div class="topic-metadata">

**Author:** [@Marcelino\_L](https://www.ruby-forum.com/u/Marcelino_L)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/strongspace-rails/82496 "2007-09-25T22:31:20Z")

</div>

he buscado xo no aparece nada alguien sabe si se puede acceder a strongspace desde una app en rails… es una autenticaciÃ³n ssh al parecer basecamp lo hace gracias, marze removed\_email\_address@domain.invalid

---

## [Fast check if files exist](https://www.ruby-forum.com/t/fast-check-if-files-exist/112948)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 2\
**Last updated:** [August 24, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/fast-check-if-files-exist/112948 "2007-08-24T23:32:38Z")

</div>

I have list (array) of file names in the form: 5\_4.3g2 5\_5.3gp 5\_6.3gp . . . What’s the fastest way I can check if these files exist in a given directory?

---

## [Ferret and Paginating Find](https://www.ruby-forum.com/t/ferret-and-paginating-find/85098)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 2\
**Last updated:** [February 10, 2007, 10:50am UTC](https://www.ruby-forum.com/t/ferret-and-paginating-find/85098 "2007-02-10T10:50:54Z")

</div>

Hey all, I’ve been really happy with ferret thus far and all my search on my site is based on it. One of the recent challenges I ran into is changing some of my pagination within my site. Until now, I just used the tu…

---

## [Re: Plugin validator](https://www.ruby-forum.com/t/re-plugin-validator/83914)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/re-plugin-validator/83914 "2007-01-30T22:05:56Z")

</div>

Hola, me he encontrado un plugin “validator” para poder validar campos de un formulario. El lío es que no sé como instalarlo o donde debo copiarlo para utilizarlo y si luego le debo hacer un require o algo así. Les …

---

## [Rake aborts with "no such file to load -- postgres"](https://www.ruby-forum.com/t/rake-aborts-with-no-such-file-to-load-postgres/72468)

<div class="topic-metadata">

**Author:** [@cronjob](https://www.ruby-forum.com/u/cronjob)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 12:46am UTC](https://www.ruby-forum.com/t/rake-aborts-with-no-such-file-to-load-postgres/72468 "2006-10-18T00:46:51Z")

</div>

Kubuntu Dapper(6.06) Ruby 1.8.4 Rails 1.1.6 I’ve tried installing the rubygems deb from the sgtpepper sources.list as well as building rubygems from source, but I get the same problem. I’m stuck on how to continue f…

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

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