# Top

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

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

---

## [Creating records in two models in a RESTful way](https://www.ruby-forum.com/t/creating-records-in-two-models-in-a-restful-way/99769)

<div class="topic-metadata">

**Author:** [@rwl4](https://www.ruby-forum.com/u/rwl4)\
**Replies:** 8\
**Last updated:** [July 25, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/creating-records-in-two-models-in-a-restful-way/99769 "2006-07-25T17:15:04Z")

</div>

Hey everyone, I have a philosophical question here. Say I have a website that uses two models for accounts: Person and Company. Normally I would just have /accounts/new for user signup. However, the RESTful way to do…

---

## [Correct idiom for frequency-setting when you don't have a tu](https://www.ruby-forum.com/t/correct-idiom-for-frequency-setting-when-you-dont-have-a-tu/64354)

<div class="topic-metadata">

**Author:** [@Marcus\_L](https://www.ruby-forum.com/u/Marcus_L)\
**Replies:** 8\
**Last updated:** [June 26, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/correct-idiom-for-frequency-setting-when-you-dont-have-a-tu/64354 "2006-06-26T17:40:17Z")

</div>

I’m modifying my radio astronomy applications to support other than tuner-type daughtercards. Is this roughly correct for supporting such cards (BASIC\_RX is the only one I know of)? # # Everything except BASI…

---

## [2 layouts per .rb page](https://www.ruby-forum.com/t/2-layouts-per-rb-page/58314)

<div class="topic-metadata">

**Author:** [@asherwood](https://www.ruby-forum.com/u/asherwood)\
**Replies:** 8\
**Last updated:** [April 20, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/2-layouts-per-rb-page/58314 "2006-04-20T22:01:57Z")

</div>

Hi, Is this possible ive got layout “loggedout\_layout”, :only =\> \[:login, :logout\] but I also want to do somthing like layout “loggedin\_layout”, :except =\> \[:login, :logout\] When the second one is introduced it seem…

---

## [Sign a PDF in Ruby with a .p12 file](https://www.ruby-forum.com/t/sign-a-pdf-in-ruby-with-a-p12-file/262095)

<div class="topic-metadata">

**Author:** [@drodrigueza7](https://www.ruby-forum.com/u/drodrigueza7)\
**Replies:** 0\
**Last updated:** [November 15, 2021, 3:21pm UTC](https://www.ruby-forum.com/t/sign-a-pdf-in-ruby-with-a-p12-file/262095 "2021-11-15T15:21:18Z")

</div>

I need to SIGN a PDF with a .p12 file, the problem is that I need to define keyUsage to sign, but, with the ORIGAMI library I can’t use some codes that I find on the internet. Any idea how to do it?

---

## [Installing pre-compiled OOTs](https://www.ruby-forum.com/t/installing-pre-compiled-oots/242021)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 21, 2015, 7:47am UTC](https://www.ruby-forum.com/t/installing-pre-compiled-oots/242021 "2015-05-21T07:47:40Z")

</div>

Hello everyone, I come to you with a rather strange request :slight\_smile: I’m looking into the possibility of installing OOTs that were precompiled in one system onto another. Lets consider basic stuff first: Vers…

---

## [ActoveRecord AdapterNotSpecified database is not configured](https://www.ruby-forum.com/t/actoverecord-adapternotspecified-database-is-not-configured/241439)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 7, 2015, 12:38pm UTC](https://www.ruby-forum.com/t/actoverecord-adapternotspecified-database-is-not-configured/241439 "2015-04-07T12:38:42Z")

</div>

My database is a MySQL running on localhost. The mysql2 gem installed without errors. I never managed to connect, regardless of which account I used. The root password contains a # which is the comment character in …

---

## [Re: OFDM test with USRP](https://www.ruby-forum.com/t/re-ofdm-test-with-usrp/234655)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 20, 2015, 12:11am UTC](https://www.ruby-forum.com/t/re-ofdm-test-with-usrp/234655 "2015-03-20T00:11:42Z")

</div>

Hi Marcus, Thanks for your very detailed comments. My purpose of testing the PER is to facilitate evaluations on further modifications of the codes. I’d like to set up a benchmark like the ones I have shown and then…

---

## [Hey all I just made a site which has a lot of solutions to common errors with rails!](https://www.ruby-forum.com/t/hey-all-i-just-made-a-site-which-has-a-lot-of-solutions-to-common-errors-with-rails/234322)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 1, 2015, 11:09pm UTC](https://www.ruby-forum.com/t/hey-all-i-just-made-a-site-which-has-a-lot-of-solutions-to-common-errors-with-rails/234322 "2015-03-01T23:09:12Z")

</div>

It’s a blog where I run into a bunch of common or edge cases and I actually figure them out! Setting up rails with nginx figaro and capistrano and a bunch of other topics… I will be posting weekly depending on how …

---

## [Reverse proxy configuration help](https://www.ruby-forum.com/t/reverse-proxy-configuration-help/226699)

<div class="topic-metadata">

**Author:** [@jims](https://www.ruby-forum.com/u/jims)\
**Replies:** 3\
**Last updated:** [February 20, 2013, 6:17pm UTC](https://www.ruby-forum.com/t/reverse-proxy-configuration-help/226699 "2013-02-20T18:17:43Z")

</div>

I am new to nginx, it being recommended to solve a problem. The problem: I have a VPS hosting a website and an application server in my DMZ. I have a test and prod version of each. I want both DMZ’ed servers reve…

---

## [Query optimization Rails MongoDB](https://www.ruby-forum.com/t/query-optimization-rails-mongodb/214117)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 22, 2011, 11:54am UTC](https://www.ruby-forum.com/t/query-optimization-rails-mongodb/214117 "2011-11-22T11:54:09Z")

</div>

Hi i have a Query like this to Download details as CSV and using MongoDb, Mongoid users.all.each do |user| csv \<\< \[user.id.to\_s, user.profile.id, user.profile.status, user.profile.username, render\_time(user.creat…

---

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

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 3\
**Last updated:** [June 9, 2011, 12:27pm UTC](https://www.ruby-forum.com/t/undefined-method-fixtures/163278 "2011-06-09T12:27:43Z")

</div>

I’ve just installed restful\_authentication, and generated: script/generate authenticated user session Now, if I try to run unit tests, I get the following error: test/unit/user\_test.rb:7:in \<class:UserTest\>': undefine…

---

## [Security problems with CookieStore and CSRF protection](https://www.ruby-forum.com/t/security-problems-with-cookiestore-and-csrf-protection/177460)

<div class="topic-metadata">

**Author:** [@Avik](https://www.ruby-forum.com/u/Avik)\
**Replies:** 3\
**Last updated:** [October 19, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/security-problems-with-cookiestore-and-csrf-protection/177460 "2009-10-19T16:48:31Z")

</div>

Dear Rails community, As part of a programming languages/security research group at the University of Maryland, we are building some static analysis tools for Rails applications. These tools work by taking formally sp…

---

## [Wheel mice and scroll event - up vs down](https://www.ruby-forum.com/t/wheel-mice-and-scroll-event-up-vs-down/174947)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [September 5, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/wheel-mice-and-scroll-event-up-vs-down/174947 "2009-09-05T15:39:20Z")

</div>

Hi, I can react on scrolling events. However, I would like to know whether the scrolling is UP or DOWN, and I found myself unable to do so. I was trying to use: when Gdk::Event::scroll::UP But it is unknown. How to…

---

## [Crear una Vista con Drag&Drop entre dos tablas](https://www.ruby-forum.com/t/crear-una-vista-con-drag-drop-entre-dos-tablas/170818)

<div class="topic-metadata">

**Author:** [@emezac](https://www.ruby-forum.com/u/emezac)\
**Replies:** 3\
**Last updated:** [June 24, 2009, 8:52am UTC](https://www.ruby-forum.com/t/crear-una-vista-con-drag-drop-entre-dos-tablas/170818 "2009-06-24T08:52:44Z")

</div>

Hola amigos la idea es hacer una vista de dos modelos y poder arrastrar un registro al otro modelo con el mouse (ajax) tabla1 :has\_many tabla2s tabla 1 tabla 2 id indicador id i…

---

## [Actualizar archivos PHP en carpeta public con Git](https://www.ruby-forum.com/t/actualizar-archivos-php-en-carpeta-public-con-git/167717)

<div class="topic-metadata">

**Author:** [@Hernan\_MaguiSSSSa](https://www.ruby-forum.com/u/Hernan_MaguiSSSSa)\
**Replies:** 3\
**Last updated:** [May 14, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/actualizar-archivos-php-en-carpeta-public-con-git/167717 "2009-05-14T19:08:42Z")

</div>

Hola a todos, tengo unos archivos php en mi carpeta public que usa mi aplicacion, cuando estoy en la maquina de desarrollo todo va perfecto, pero cuando intento hacer un git push inicia el proceso y no parece termina…

---

## [Ruby 1.8.6 P368 windows binaries](https://www.ruby-forum.com/t/ruby-1-8-6-p368-windows-binaries/167533)

<div class="topic-metadata">

**Author:** [@caliwildman](https://www.ruby-forum.com/u/caliwildman)\
**Replies:** 3\
**Last updated:** [May 9, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-p368-windows-binaries/167533 "2009-05-09T19:21:41Z")

</div>

I currently have Ruby 1.8.5. After much discussion on another thread about whether to upgrade to 1.8.7 and decided to go with 1.8.6 instead due to chatter about potential 1.8.7 potential compatibility issues. So to in…

---

## [Problema con formularios "nesteados" e i18n al mostrar los errores](https://www.ruby-forum.com/t/problema-con-formularios-nesteados-e-i18n-al-mostrar-los-errores/166080)

<div class="topic-metadata">

**Author:** [@wgamin](https://www.ruby-forum.com/u/wgamin)\
**Replies:** 3\
**Last updated:** [April 21, 2009, 10:24pm UTC](https://www.ruby-forum.com/t/problema-con-formularios-nesteados-e-i18n-al-mostrar-los-errores/166080 "2009-04-21T22:24:06Z")

</div>

Saludos comunidad. Estamos trabajando sobre un proyecto con Rails 2.3.2 y hemos tenido que usar nested forms en el registro de usuarios. Para ello manejamos dos modelos User y Company (User has\_one :company y Compan…

---

## [How to... - how to use variable in sub\_filter and SSI?](https://www.ruby-forum.com/t/how-to-how-to-use-variable-in-sub-filter-and-ssi/162853)

<div class="topic-metadata">

**Author:** [@Nginx\_Forum](https://www.ruby-forum.com/u/Nginx_Forum)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/how-to-how-to-use-variable-in-sub-filter-and-ssi/162853 "2009-03-14T15:33:20Z")

</div>

From “how to use variable in sub\_filter and SSI?” at http://forum.nginx.org/showthread.php?t=12 I’m a newbie to nginx. I want to use a cookie varaible to change a string in html body. nginx.conf set $path "";…

---

## [Handling SOAP XML request and Response](https://www.ruby-forum.com/t/handling-soap-xml-request-and-response/152360)

<div class="topic-metadata">

**Author:** [@Shripad](https://www.ruby-forum.com/u/Shripad)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/handling-soap-xml-request-and-response/152360 "2008-11-03T17:23:51Z")

</div>

Hi all, I have a SOAP XML request coming from a VB6.0 application, which I have to handle in my ROR application. After the request is handled, i have to parse the request and check the extracted values in the databas…

---

## [Raw SQL in Migrations?](https://www.ruby-forum.com/t/raw-sql-in-migrations/119737)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 3\
**Last updated:** [November 9, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/raw-sql-in-migrations/119737 "2007-11-09T20:42:38Z")

</div>

After reading AWDWR and searching the API, it appears the Rails’ implementation of Migrations has no way to execute a raw SQL statement. True? – gw

---

## [Template Engine in Ruby (similar to TT2)](https://www.ruby-forum.com/t/template-engine-in-ruby-similar-to-tt2/85446)

<div class="topic-metadata">

**Author:** [@Ralf\_Robert\_HSSSSpp](https://www.ruby-forum.com/u/Ralf_Robert_HSSSSpp)\
**Replies:** 3\
**Last updated:** [February 13, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/template-engine-in-ruby-similar-to-tt2/85446 "2007-02-13T18:50:29Z")

</div>

Hi all, is there a template engine similar to Template Toolkit 2 (in Perl) available for Ruby? It should be feature-rich, stand-alone, not restricted to only generate HTML output. I know there are solutions around (e…

---

## [Email notification is broken!](https://www.ruby-forum.com/t/email-notification-is-broken/75108)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 3\
**Last updated:** [December 14, 2006, 10:38pm UTC](https://www.ruby-forum.com/t/email-notification-is-broken/75108 "2006-12-14T22:38:10Z")

</div>

I usually enable email notification for my posts, but the email I get is not very helpful. Here is the complete, unabridged source of the email (without the headers): Since your last visit, a new message has been po…

---

## [Instant Rails with Rforum](https://www.ruby-forum.com/t/instant-rails-with-rforum/51869)

<div class="topic-metadata">

**Author:** [@jlm](https://www.ruby-forum.com/u/jlm)\
**Replies:** 3\
**Last updated:** [January 13, 2006, 8:36am UTC](https://www.ruby-forum.com/t/instant-rails-with-rforum/51869 "2006-01-13T08:36:24Z")

</div>

Ok I am fairly new to this and I have had probs with paths on XP so Instant ruby seemed a good way to go, I want to put something on the railplayground eventually maybe a swish/flash forum with some rails if I get any…

---

## [The RForum Way](https://www.ruby-forum.com/t/the-rforum-way/99431)

<div class="topic-metadata">

**Author:** [@pistos](https://www.ruby-forum.com/u/pistos)\
**Replies:** 3\
**Last updated:** [November 24, 2005, 2:19pm UTC](https://www.ruby-forum.com/t/the-rforum-way/99431 "2005-11-24T14:19:47Z")

</div>

This is the first I’ve seen or heard of RForum. Am I the only one that thinks this has a different feel than all other forums? I could probably live with all the tiny subtle differences, but the one that totally sta…

---

## [Installing GNU Radio](https://www.ruby-forum.com/t/installing-gnu-radio/232696)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 23, 2014, 3:12pm UTC](https://www.ruby-forum.com/t/installing-gnu-radio/232696 "2014-10-23T15:12:10Z")

</div>

Hello Everyone, I hate asking questions like this, but I need help installing GNU Radio. The objective is to have GNU Radio 3.7.5.1 and UHD installed on Ubuntu 14.04 so I can use it with my USRP N210. The problem I ha…

---

## [\[GSoC\] Co-Processors Update #7](https://www.ruby-forum.com/t/gsoc-co-processors-update-7/231169)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 25, 2014, 6:51pm UTC](https://www.ruby-forum.com/t/gsoc-co-processors-update-7/231169 "2014-07-25T18:51:00Z")

</div>

Hello all, Logistical: When is the next coproc call??? Mentor Philip is on vacation for a few weeks :frowning: Progress: Bad news is that I’ve given up on the FFTC. The conflict of resources in the resource man…

---

## [Using GRC without UHD](https://www.ruby-forum.com/t/using-grc-without-uhd/240325)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 8, 2014, 7:19pm UTC](https://www.ruby-forum.com/t/using-grc-without-uhd/240325 "2014-04-08T19:19:14Z")

</div>

Hello GR, Are there any fake sink and source blocks which simulates the uhd sink and source. I would like to test some flow graphs but for the moment I don’t have access to the radios. Or is there any other option…

---

## [Nginx -\> Dns server?](https://www.ruby-forum.com/t/nginx-dns-server/238860)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [February 1, 2014, 1:57pm UTC](https://www.ruby-forum.com/t/nginx-dns-server/238860 "2014-02-01T13:57:28Z")

</div>

Hello, I just read that nginx has a resolver. Will it be able to replace our powerdns which just enables the basics ds stuffs ? (lookup + ttl as usual) I rather prefer the nginx syntax and it would simplify the stack…

---

## [Rspec/rake not working; please help](https://www.ruby-forum.com/t/rspec-rake-not-working-please-help/228611)

<div class="topic-metadata">

**Author:** [@virgin](https://www.ruby-forum.com/u/virgin)\
**Replies:** 5\
**Last updated:** [May 1, 2013, 3:19am UTC](https://www.ruby-forum.com/t/rspec-rake-not-working-please-help/228611 "2013-05-01T03:19:11Z")

</div>

Working on a tutorial and starting to use TDD/rspec. For some reason I cannot get it to work. Been working trying to fix this over two days now. The tutorial has given me a Rakefile that should work. I also have a …

---

## [Moving form validation to client-side](https://www.ruby-forum.com/t/moving-form-validation-to-client-side/217552)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 6, 2012, 4:23pm UTC](https://www.ruby-forum.com/t/moving-form-validation-to-client-side/217552 "2012-03-06T16:23:15Z")

</div>

Hi I know with javascript we can validate the input of a form on the client, is there an easy way to specify this in rails? I am thinking the javascript code getting generated using some sort of DSL? – Kind Regards, …

---

## [Noobie question - how do I run this command-line program?](https://www.ruby-forum.com/t/noobie-question-how-do-i-run-this-command-line-program/212915)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 17, 2011, 10:43pm UTC](https://www.ruby-forum.com/t/noobie-question-how-do-i-run-this-command-line-program/212915 "2011-10-17T22:43:54Z")

</div>

Hi. I downloaded a tiny ruby app called EarGTD and I am trying to get it to run at the command line. It is a simple program consisting of about four files. You can read about it here: When I download and unzip the …

---

## [Resource deletion fails in rails 3 without javascript turned on](https://www.ruby-forum.com/t/resource-deletion-fails-in-rails-3-without-javascript-turned-on/212292)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 1, 2011, 4:39pm UTC](https://www.ruby-forum.com/t/resource-deletion-fails-in-rails-3-without-javascript-turned-on/212292 "2011-10-01T16:39:36Z")

</div>

Hello, all, I observed that resource deletion fails in rails 3 without javascript turned on. Why? I have created a simple rails 3 application and tried deleting a resource entry with javascript turned off. Absolutel…

---

## [Simple ruby syntax: variable assignment](https://www.ruby-forum.com/t/simple-ruby-syntax-variable-assignment/206116)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 23, 2011, 6:10pm UTC](https://www.ruby-forum.com/t/simple-ruby-syntax-variable-assignment/206116 "2011-04-23T18:10:07Z")

</div>

Just curious if there is a more elegant way to set a variable if it happens to not exist yet. I often find I am doing somthing like the following: regex = '' 10.times { regex += '.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*,.\*…

---

## [Using ActiveRecord Find with associations](https://www.ruby-forum.com/t/using-activerecord-find-with-associations/194408)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 5\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/using-activerecord-find-with-associations/194408 "2010-09-06T16:39:39Z")

</div>

Here’s an example: class LineItem \< ActiveRecord::Base belongs\_to :order end class Order \< ActiveRecord::Base has\_many :line\_items end my\_line\_item = LineItem.find(:zipcode =\> “12345”) Order.find\_by\_line\_item(my\_…

---

## [Is readline really broken in MacOS Snow Leopard!?!?!](https://www.ruby-forum.com/t/is-readline-really-broken-in-macos-snow-leopard/182741)

<div class="topic-metadata">

**Author:** [@tomfooolerie](https://www.ruby-forum.com/u/tomfooolerie)\
**Replies:** 5\
**Last updated:** [February 2, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/is-readline-really-broken-in-macos-snow-leopard/182741 "2010-02-02T16:21:25Z")

</div>

It seems that readline (and hence gets) is broken in Ruby 1.8.7, on Mac OS X 10.6 (Snow Leopard). According to the article here: http://blog.angelbob.com/posts/39-Compiling-Ruby-1-8-7-on-a-PowerBook-G4-with-Mac-OS-X-1-…

---

## [How to use --pattern?](https://www.ruby-forum.com/t/how-to-use-pattern/176006)

<div class="topic-metadata">

**Author:** [@helix\_tp](https://www.ruby-forum.com/u/helix_tp)\
**Replies:** 5\
**Last updated:** [September 23, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/how-to-use-pattern/176006 "2009-09-23T21:42:20Z")

</div>

(asked this yesterday on #rspec, no response…) Am I missing something obvious about --pattern? It seems to only run the first spec that matches the pattern; I expected it to run all that match. I tried: spec spec/m…

---

## [Problema con Act\_as\_State\_Machine](https://www.ruby-forum.com/t/problema-con-act-as-state-machine/154296)

<div class="topic-metadata">

**Author:** [@admon](https://www.ruby-forum.com/u/admon)\
**Replies:** 5\
**Last updated:** [November 27, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/problema-con-act-as-state-machine/154296 "2008-11-27T13:37:54Z")

</div>

Hola lista, Escribo de nuevo porque me acaba de surgir un problema inesperado. Probando la aplicacion, al crear un nuevo usuario me ha dado el siguiente error: You have a nil object when you didn’t expect it! The er…

---

## [Image\_tag dentro de un helper](https://www.ruby-forum.com/t/image-tag-dentro-de-un-helper/134680)

<div class="topic-metadata">

**Author:** [@antoniorv](https://www.ruby-forum.com/u/antoniorv)\
**Replies:** 5\
**Last updated:** [April 14, 2008, 12:16am UTC](https://www.ruby-forum.com/t/image-tag-dentro-de-un-helper/134680 "2008-04-14T00:16:17Z")

</div>

Hola, He creado un helper para convertir los valores booleanos en iconos. He hecho simplemente: def bool\_to\_icon(value) if value == true return image\_tag(’/images/icons/true.png’) else return image\_tag(’/images/ic…

---

## [Registrar nuevo javascripts y images path?](https://www.ruby-forum.com/t/registrar-nuevo-javascripts-y-images-path/124597)

<div class="topic-metadata">

**Author:** [@fesplugas](https://www.ruby-forum.com/u/fesplugas)\
**Replies:** 5\
**Last updated:** [December 31, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/registrar-nuevo-javascripts-y-images-path/124597 "2007-12-31T18:44:03Z")

</div>

Estoy desarrollando un plugin y deberia registrar un nuevo path donde se encuentran los javascripts y las imágenes. He buscado por toda la api y solo he encontrado como registrar views, controllers, helpers … (de hech…

---

## [Followup question on defining methods dynamically](https://www.ruby-forum.com/t/followup-question-on-defining-methods-dynamically/111225)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 5\
**Last updated:** [August 5, 2007, 1:03am UTC](https://www.ruby-forum.com/t/followup-question-on-defining-methods-dynamically/111225 "2007-08-05T01:03:09Z")

</div>

Simple example that doesn’t work: module Test p “Testing” eval(“def foo\\np ‘OK’\\nend”) foo end ‘foo’ does not get defined in a place where it can be found by the call on foo, and I get an error. However, when I ex…

---

## [Executing program from ruby](https://www.ruby-forum.com/t/executing-program-from-ruby/92443)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 5\
**Last updated:** [April 19, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/executing-program-from-ruby/92443 "2007-04-19T17:05:12Z")

</div>

Hello i know there are several ways to execute from within ruby but each one have their own problems: \`\` doesn’t check if command /programm runs at all!, also it blocks untill command returns, no bi-directional comun…

---

## [Migration de blog](https://www.ruby-forum.com/t/migration-de-blog/75505)

<div class="topic-metadata">

**Author:** [@Yannick\_F](https://www.ruby-forum.com/u/Yannick_F)\
**Replies:** 5\
**Last updated:** [November 12, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/migration-de-blog/75505 "2006-11-12T12:37:37Z")

</div>

Bonjour, Je me retourne vers vous aprÃ¨s avoir essayer plusieurs solution. Je souhaite me mettre Ã jour (il est temps) avec mon blog. J’utilise actuellement typo(sphere) 2.6.0. La derniÃ¨re version (vers laquelle je …

---

## [Talk de S. Kaes sur le 'performance tuning' en Rails](https://www.ruby-forum.com/t/talk-de-s-kaes-sur-le-performance-tuning-en-rails/61364)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 5\
**Last updated:** [May 23, 2006, 4:36pm UTC](https://www.ruby-forum.com/t/talk-de-s-kaes-sur-le-performance-tuning-en-rails/61364 "2006-05-23T16:36:37Z")

</div>

(lors de Ruby en Rails 2006 : http://rubyenrails.nl/ ) Ã lire absolument – Jean-FranÃ§ois. ps : ‘performance tuning’ = optimisation des performances, en franÃ§ais ?

---

## [\[OT\] Best Blog + Wiki opinions?](https://www.ruby-forum.com/t/ot-best-blog-wiki-opinions/60879)

<div class="topic-metadata">

**Author:** [@churp](https://www.ruby-forum.com/u/churp)\
**Replies:** 5\
**Last updated:** [May 21, 2006, 4:36am UTC](https://www.ruby-forum.com/t/ot-best-blog-wiki-opinions/60879 "2006-05-21T04:36:15Z")

</div>

Hello all, I’m looking for suggestions for integrated Blog + Wiki (Bliki) apps. I’d prefer Rails, I want to hear opinions on all options! I’ve browsed through W:Bliki http://en.wikipedia.org/wiki/Bliki. Nothing in …

---

## [Bug: segfault when using super and method\_missing](https://www.ruby-forum.com/t/bug-segfault-when-using-super-and-method-missing/55699)

<div class="topic-metadata">

**Author:** [@bhutchins](https://www.ruby-forum.com/u/bhutchins)\
**Replies:** 5\
**Last updated:** [March 23, 2006, 2:50am UTC](https://www.ruby-forum.com/t/bug-segfault-when-using-super-and-method-missing/55699 "2006-03-23T02:50:26Z")

</div>

Hello, The following code produces a segfault with ruby-1.8.4 from gentoo, as well as with ruby-1.8 from cvs and 1.9 from cvs. There appears to be an issue when super is called in the subclass and the parent class h…

---

## [Confusion with Ruby printing mechanics](https://www.ruby-forum.com/t/confusion-with-ruby-printing-mechanics/226640)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 6\
**Last updated:** [February 16, 2013, 5:25pm UTC](https://www.ruby-forum.com/t/confusion-with-ruby-printing-mechanics/226640 "2013-02-16T17:25:08Z")

</div>

Here I just played to see how printing statement behaves with “nil” values. Here we go: p nil nil =\> nil #good as expected. puts nil #as nil.to\_s causes the “blank” in the first line. =\> nil #good as expected. …

---

## [Load-balancing](https://www.ruby-forum.com/t/load-balancing/209820)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 24, 2011, 8:09am UTC](https://www.ruby-forum.com/t/load-balancing/209820 "2011-07-24T08:09:00Z")

</div>

Hi, I have a question about nginx configured as a load-balancer. Usually, when HTTP requests are balanced to a back-end server, the HTTP reply is sent back to the client through the load-balancer. Is this also the cas…

---

## [Flash messages in locale file, what' worng?](https://www.ruby-forum.com/t/flash-messages-in-locale-file-what-worng/201643)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 12, 2011, 4:41pm UTC](https://www.ruby-forum.com/t/flash-messages-in-locale-file-what-worng/201643 "2011-01-12T16:41:40Z")

</div>

The controller: def create Sector.new @ sector = (params \[: sector\]) @ sector.save respond\_with (@ sector) end in en.yml I put in the file: en: Flash: actions: created: notice: “ok” It seems correct but the m…

---

## [Coherent de-dispersion](https://www.ruby-forum.com/t/coherent-de-dispersion/190931)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 6\
**Last updated:** [July 2, 2010, 4:29am UTC](https://www.ruby-forum.com/t/coherent-de-dispersion/190931 "2010-07-02T04:29:28Z")

</div>

Anyone on this list know anything about coherent de-dispersion filtering, and how it’s supposed to work? I’ve had one implemented for years, and still don’t really know whether it works or not, looking for clueage ab…

---

## [Net LDAP problem (no attrs or get\_attributes methods)](https://www.ruby-forum.com/t/net-ldap-problem-no-attrs-or-get-attributes-methods/178000)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 6\
**Last updated:** [October 29, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/net-ldap-problem-no-attrs-or-get-attributes-methods/178000 "2009-10-29T21:57:05Z")

</div>

So I am having difficulty getting the attributes for an LDAP entry. If I check for specific attributes by name that works fine. However when I try the following: ldap.search(:base =\> base, :filter =\> address\_only\_…

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

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