# Top

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

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

---

## [Nell'helper o nel modello?](https://www.ruby-forum.com/t/nellhelper-o-nel-modello/176921)

<div class="topic-metadata">

**Author:** [@pm3](https://www.ruby-forum.com/u/pm3)\
**Replies:** 6\
**Last updated:** [October 8, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/nellhelper-o-nel-modello/176921 "2009-10-08T12:21:44Z")

</div>

Chiedo lumi per sapere se c’Ã¨ una soluzione elegante a un banale problema che ricorre tante volte. Faccio un esempio tra i mille possibili. C’Ã¨ un modello Model con un campo status. Nelle view in base allo status s…

---

## [Rounding errors?](https://www.ruby-forum.com/t/rounding-errors/169644)

<div class="topic-metadata">

**Author:** [@moredip](https://www.ruby-forum.com/u/moredip)\
**Replies:** 6\
**Last updated:** [June 6, 2009, 10:03am UTC](https://www.ruby-forum.com/t/rounding-errors/169644 "2009-06-06T10:03:09Z")

</div>

:~$ ruby -e “p ((0.29)\*100).to\_i” 28 Really?! I know that digital storage of floating point numbers can lead to things like this, but this one seems a little extreme to me. :~$ ruby -v ruby 1.8.7 (2008-08-11 patchle…

---

## [How does something like ...sort\_by(&:f) actually manage to function?](https://www.ruby-forum.com/t/how-does-something-like-sort-by-f-actually-manage-to-function/159584)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 6\
**Last updated:** [February 6, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/how-does-something-like-sort-by-f-actually-manage-to-function/159584 "2009-02-06T18:39:37Z")

</div>

I’ve seen a claim on the web that &:f is just Ruby shorthand for &proc { |i| i.f }, but I’ve certainly never been able to get this &:f notation to work in standard ruby. Thanks, Ken

---

## [What is the rate(sampling) of the impulse response using usrp\_sounder.py?](https://www.ruby-forum.com/t/what-is-the-rate-sampling-of-the-impulse-response-using-usrp-sounder-py/154997)

<div class="topic-metadata">

**Author:** [@bruh](https://www.ruby-forum.com/u/bruh)\
**Replies:** 6\
**Last updated:** [December 17, 2008, 10:44am UTC](https://www.ruby-forum.com/t/what-is-the-rate-sampling-of-the-impulse-response-using-usrp-sounder-py/154997 "2008-12-17T10:44:43Z")

</div>

Hey all, I am using usrp\_sounder.py to see channel impulse response. I used just the default parameters(length=4095) using: usrp\_sounder.py -t -f 2.40e9 -v usrp\_sounder.py -t -f 2.40e9 -v -F 1st\_Record.dat could…

---

## [Trunk SEGV nkf?](https://www.ruby-forum.com/t/trunk-segv-nkf/151694)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 6\
**Last updated:** [October 26, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/trunk-segv-nkf/151694 "2008-10-26T17:42:28Z")

</div>

e$BEOJUE/Li$G$9!#e(B SEGV e$B$7$F$$$k$N$G$\*CN$i$;$7$^$9!#=EJ#$7$F$$$?$i$9$$$^$;e(B e$B$s$G$9!#e(B ruby 1.9.0 (2008-10-24 revision 19913) \[i686-linux\] e$B:F8=%9%/%j%W%H$G$9!#e(B e$B:F8=J}K!$O!“F~NO9T$,e(B 82 e$B9T$”$…

---

## [Stickler 0.1.0 Released](https://www.ruby-forum.com/t/stickler-0-1-0-released/150588)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 6\
**Last updated:** [October 11, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/stickler-0-1-0-released/150588 "2008-10-11T18:41:48Z")

</div>

stickler version 0.1.0 has been released. gem install stickler http://copiousfreetime.rubyforge.org/stickler Stickler is a tool to organize and maintain an internal gem repository. At times it is useful to have comp…

---

## [Problemas con validates\_inclusion\_of](https://www.ruby-forum.com/t/problemas-con-validates-inclusion-of/140635)

<div class="topic-metadata">

**Author:** [@rafa](https://www.ruby-forum.com/u/rafa)\
**Replies:** 6\
**Last updated:** [June 17, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/problemas-con-validates-inclusion-of/140635 "2008-06-17T15:29:40Z")

</div>

estoy tratando de hacer los ejemplos del libro de Beginning Ruby on Rails y el validate en cuestion no funciona. en el ejemplo colocan validates\_inclusion :data, :with =\> 1…99, :message =\> ‘fuera de rango’ y cuando …

---

## [Scheduled jobs?](https://www.ruby-forum.com/t/scheduled-jobs/138345)

<div class="topic-metadata">

**Author:** [@Darcy\_S](https://www.ruby-forum.com/u/Darcy_S)\
**Replies:** 6\
**Last updated:** [May 23, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/scheduled-jobs/138345 "2008-05-23T21:27:40Z")

</div>

What’s the recommended approach for running scheduled/periodic jobs in JRuby? I was looking at RailsPeriodicalTaskServlet in Goldspike but since Warbler seems to be going the way of JRuby-Rack I was wondering if anyo…

---

## [How would you do a multitable cross reference select box in Rails?](https://www.ruby-forum.com/t/how-would-you-do-a-multitable-cross-reference-select-box-in-rails/124043)

<div class="topic-metadata">

**Author:** [@bsevans](https://www.ruby-forum.com/u/bsevans)\
**Replies:** 6\
**Last updated:** [December 25, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/how-would-you-do-a-multitable-cross-reference-select-box-in-rails/124043 "2007-12-25T23:25:17Z")

</div>

I’ve done this in other languages, but how would you handle the following issue in Rails? Assume database tables a, b and c. Each table has id,name,text fields (and yes, there are reasons why they are separate tables…

---

## [Howto cut JS/CSS](https://www.ruby-forum.com/t/howto-cut-js-css/116577)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 6\
**Last updated:** [October 9, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/howto-cut-js-css/116577 "2007-10-09T17:56:59Z")

</div>

Hello, I have a question - how to compress css/js files? because my web page size =\> 20kb, and size of JS’s is =\> 170Kb(controls.js dragdrop.js effects.js prototype.js tooltip.js and 2 other small js’s). Thanks

---

## [Rails Continuous Deployment](https://www.ruby-forum.com/t/rails-continuous-deployment/106443)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 13, 2007, 1:05am UTC](https://www.ruby-forum.com/t/rails-continuous-deployment/106443 "2007-06-13T01:05:50Z")

</div>

Hi all, I’ve successfully built a personal project using Rails (I come from the .NET world), and I’m now looking into deployment. Here’s what I want to do: Store my application in source control (Subversion) Wheneve…

---

## [RE: Oggetto Math](https://www.ruby-forum.com/t/re-oggetto-math/106186)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 6\
**Last updated:** [June 7, 2007, 12:10pm UTC](https://www.ruby-forum.com/t/re-oggetto-math/106186 "2007-06-07T12:10:55Z")

</div>

Anzi, a tal proposito, visto che qui ci sono persone che con la matematica non se la cavano per nulla male, ed io invece ho FORTI difficoltÃ , se qualcuno mi aiutasse a trasformare la formula in codice gli sarei mooo…

---

## [\[BUG on Ruby?\] Ruby/Tk on Ruby1.8.\[56\] is too slow on Windo](https://www.ruby-forum.com/t/bug-on-ruby-ruby-tk-on-ruby1-8-56-is-too-slow-on-windo/104280)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 6\
**Last updated:** [May 17, 2007, 9:44am UTC](https://www.ruby-forum.com/t/bug-on-ruby-ruby-tk-on-ruby1-8-56-is-too-slow-on-windo/104280 "2007-05-17T09:44:08Z")

</div>

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B One-Click Ruby Installer e$B$G$7$+3NG’$7$F$O$$$J$$$N$G$9$,!$e(B Windows e$B\>e$Ne(B Ruby/Tk e$B$NF0:n$,6KEY$KCY$/$J$C$F$$$^$9!%e(B Widget Demo e$B$Ne(B Canvas Widget e$B$N%G%b$N!V%U%m%"%W…

---

## [\[rails\] ma devo proprio fare delle lib?](https://www.ruby-forum.com/t/rails-ma-devo-proprio-fare-delle-lib/88557)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 6\
**Last updated:** [March 12, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/rails-ma-devo-proprio-fare-delle-lib/88557 "2007-03-12T18:32:14Z")

</div>

mi ritrovo a dover fare del codice in rails che deve esser visibile a un paio di model e a degli helper. se lo metto sotto lib mi ritrovo a dover riavviare a ogni changes e in più il codice conosce i miei models, qui…

---

## [Exit a block](https://www.ruby-forum.com/t/exit-a-block/86207)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 6\
**Last updated:** [February 21, 2007, 3:42am UTC](https://www.ruby-forum.com/t/exit-a-block/86207 "2007-02-21T03:42:54Z")

</div>

I need to step through a byte array untill I find a certain value, then I need to check that the next item in the array is a certain value, it is the first index that I require. So two questions: How would you do i…

---

## [Using RoR to produce .xhtml files](https://www.ruby-forum.com/t/using-ror-to-produce-xhtml-files/98445)

<div class="topic-metadata">

**Author:** [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Replies:** 6\
**Last updated:** [July 17, 2006, 2:04pm UTC](https://www.ruby-forum.com/t/using-ror-to-produce-xhtml-files/98445 "2006-07-17T14:04:07Z")

</div>

How can I manipulate RoR to produce an .xhtml file from the view template(s)? I see how I can use layouts and paritals to efficiently produce the content and tags that I need, but how can I get the actual file that’s…

---

## [Strtod in 1.8.4 stable snapshot](https://www.ruby-forum.com/t/strtod-in-1-8-4-stable-snapshot/59829)

<div class="topic-metadata">

**Author:** [@Shin-ichiro\_HARA](https://www.ruby-forum.com/u/Shin-ichiro_HARA)\
**Replies:** 6\
**Last updated:** [May 11, 2006, 11:16am UTC](https://www.ruby-forum.com/t/strtod-in-1-8-4-stable-snapshot/59829 "2006-05-11T11:16:12Z")

</div>

¸¶¤Ç¤¹¡£ \[ruby-dev:28609\]¤Ç1.8.4 stable snapshot¤Îsample/test.rb ¤Ç¥¨¥é¡¼¤¬½Ð¤ë¤È¸À¤¤¤Þ¤·¤¬¡¢¤Þ¤À¼ã´³»Ä¤Ã¤Æ¤¤¤Þ¤¹(1207¹ÔÌÜ)¡£ 1.9.0 ¤Îutil.c¤Îstrtod¤ò¤½¤Î¤Þ¤Þ»ý¤Ã¤ÆÍè¤ë¤ï¤±¤Ë¤Ï¤¤¤«¤Ê¤¤¤ó¤Ç¤·¤ç¤¦¤«¡£

---

## [Still learning maintaining data with join tables](https://www.ruby-forum.com/t/still-learning-maintaining-data-with-join-tables/93953)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [April 17, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/still-learning-maintaining-data-with-join-tables/93953 "2006-04-17T17:02:03Z")

</div>

Class Role has\_and\_belongs\_to\_many :users Class User has\_and\_belongs\_to\_many :roles Class RolesUsers has\_and\_belongs\_to\_many :roles has\_and\_belongs\_to\_many :users According to the logs…I’m good through here @role…

---

## [Pass References To Methods As Arguments?](https://www.ruby-forum.com/t/pass-references-to-methods-as-arguments/53165)

<div class="topic-metadata">

**Author:** [@wegzumir](https://www.ruby-forum.com/u/wegzumir)\
**Replies:** 6\
**Last updated:** [January 27, 2006, 5:40am UTC](https://www.ruby-forum.com/t/pass-references-to-methods-as-arguments/53165 "2006-01-27T05:40:57Z")

</div>

Hey all. I am trying to determine the Ruby syntax for passing a reference to a method. I want to actually pass the reference itself as an argument to another method. Consider the following simplified Perl example. …

---

## [Caching fastcgi url](https://www.ruby-forum.com/t/caching-fastcgi-url/242433)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [June 24, 2015, 12:40am UTC](https://www.ruby-forum.com/t/caching-fastcgi-url/242433 "2015-06-24T00:40:02Z")

</div>

Hello, I am looking for advice. I am using nginx to terminate SSL and forward the request to php via fastcgi. Of all of requests I am forwarding to fastcgi there is one particular URL that I want to cache, hopefully…

---

## [Sample rate](https://www.ruby-forum.com/t/sample-rate/232369)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 6, 2014, 4:19pm UTC](https://www.ruby-forum.com/t/sample-rate/232369 "2014-10-06T16:19:29Z")

</div>

Hi all: Thanks in advance. Example:gnuradio/gr-digital/examples/ofdm/rx\_ofdm.grc. If I set the sample rate of usrp equal to 1Msps,then what is the sample rate of the output of the FFT block?Thank you very much. Best…

---

## [Ruby and adobe air](https://www.ruby-forum.com/t/ruby-and-adobe-air/212550)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 7, 2011, 11:39am UTC](https://www.ruby-forum.com/t/ruby-and-adobe-air/212550 "2011-10-07T11:39:10Z")

</div>

salve lista :wink: qualcuno sa se sia possibile creare un applicazione desktop che utilizzi ADOBE AIR e RUBY??? grazie per le eventuali info :wink: Luca

---

## [In Depth: attr\_reader/writer/accessor](https://www.ruby-forum.com/t/in-depth-attr-reader-writer-accessor/153958)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/in-depth-attr-reader-writer-accessor/153958 "2009-01-19T18:12:41Z")

</div>

Can anyone explain exactly what happens when the interpreter interprets attr\_reader and its kin? E.G. where is the method located (in which module, class) and what does it do with the symbols in order to expand the me…

---

## [Problema al instalar un plugin propio](https://www.ruby-forum.com/t/problema-al-instalar-un-plugin-propio/117186)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 5\
**Last updated:** [October 18, 2007, 11:35am UTC](https://www.ruby-forum.com/t/problema-al-instalar-un-plugin-propio/117186 "2007-10-18T11:35:01Z")

</div>

Hola He realizado un plugin con esta estructura: ddg +lib +app +controllers +contents - list.rhtml +photos - list.rhtml +templates - list.rhtml +helpers - contents\_helper.rb - photos\_helper.rb - templates\_…

---

## [Ruby, net-ssh, running an application on remote systems](https://www.ruby-forum.com/t/ruby-net-ssh-running-an-application-on-remote-systems/88841)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/ruby-net-ssh-running-an-application-on-remote-systems/88841 "2007-09-25T23:06:59Z")

</div>

ok, I have a server with a dozen systems attached to it. there are commands that I need to run on each system one at a time. i can connect to each system with the admin script, i can launch basic commands i can even l…

---

## [Saber la accion que se va ejecutar (action\_name)](https://www.ruby-forum.com/t/saber-la-accion-que-se-va-ejecutar-action-name/106704)

<div class="topic-metadata">

**Author:** [@aitor](https://www.ruby-forum.com/u/aitor)\
**Replies:** 5\
**Last updated:** [June 13, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/saber-la-accion-que-se-va-ejecutar-action-name/106704 "2007-06-13T17:31:34Z")

</div>

Hola como es posible saber de antemano que metodo se va a ejecutar al acceder a un controlador? necesitaba pasar el nombre de la accion a un filtro antes de que dicha accion se ejecutase algo como before\_filter do |…

---

## [Una migraciÃ³n sencilla](https://www.ruby-forum.com/t/una-migracia-n-sencilla/86835)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 5\
**Last updated:** [February 26, 2007, 11:22am UTC](https://www.ruby-forum.com/t/una-migracia-n-sencilla/86835 "2007-02-26T11:22:22Z")

</div>

Estoy siguiendo el ejemplo del carrito de compra del Agile Web Development, pero ante una migración tan sencilla como ésta me da un error class AddPrice \< ActiveRecord::Migration def self.up add\_column :products, :pr…

---

## [Compile failure of svn head with slightly old install](https://www.ruby-forum.com/t/compile-failure-of-svn-head-with-slightly-old-install/86644)

<div class="topic-metadata">

**Author:** [@greg2](https://www.ruby-forum.com/u/greg2)\
**Replies:** 5\
**Last updated:** [February 24, 2007, 4:57am UTC](https://www.ruby-forum.com/t/compile-failure-of-svn-head-with-slightly-old-install/86644 "2007-02-24T04:57:35Z")

</div>

I updated and tried to build the head of svn recently after not having done so for several weeks. The block code failed to build, complaining about several pmt\_foo functions not being found. I did a ‘make -k instal…

---

## [Modelar un arbol genealogico](https://www.ruby-forum.com/t/modelar-un-arbol-genealogico/86351)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 5\
**Last updated:** [February 21, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/modelar-un-arbol-genealogico/86351 "2007-02-21T20:59:56Z")

</div>

Hola Amigos, Necisito modelar un arbol genealogico para mis alpacas, asi: animal, Dam(Mother) and Sire(Father). class Animal \< ActiveRecord::Base belongs\_to :sire belongs\_to :dam validates\_associated :sire, :dam e…

---

## [Rest en Rails 1.2](https://www.ruby-forum.com/t/rest-en-rails-1-2/82763)

<div class="topic-metadata">

**Author:** [@Javier\_MartSSS\_nez\_S](https://www.ruby-forum.com/u/Javier_MartSSS_nez_S)\
**Replies:** 5\
**Last updated:** [January 21, 2007, 11:45am UTC](https://www.ruby-forum.com/t/rest-en-rails-1-2/82763 "2007-01-21T11:45:42Z")

</div>

Tengo entendido que la mejora mas significativa de la ultima versión de Rails, es lo conocido como REST. Estoy buscando info por google, pero no logro encontrar algo “basiquillo” para empezar a comprenderlo y a usarlo…

---

## [Problemas con Mysql-Ubuntu-Rails](https://www.ruby-forum.com/t/problemas-con-mysql-ubuntu-rails/80970)

<div class="topic-metadata">

**Author:** [@sicozu](https://www.ruby-forum.com/u/sicozu)\
**Replies:** 5\
**Last updated:** [January 2, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/problemas-con-mysql-ubuntu-rails/80970 "2007-01-02T20:59:57Z")

</div>

Hola a todos. Estoy empezando con rails pero tengo un problema, cuando trato de generar los ficheros con scaffold me da un error que dice que el socket de mysql no se encuentra. cuando trato de indicarle que socket u…

---

## [Question on IO objects, initialize, and yaml](https://www.ruby-forum.com/t/question-on-io-objects-initialize-and-yaml/78936)

<div class="topic-metadata">

**Author:** [@scorintha](https://www.ruby-forum.com/u/scorintha)\
**Replies:** 5\
**Last updated:** [December 12, 2006, 1:08am UTC](https://www.ruby-forum.com/t/question-on-io-objects-initialize-and-yaml/78936 "2006-12-12T01:08:46Z")

</div>

Say I have a class with pseudo code as follows: class Test def initialize @a=1 @b=File.open(“file+Time.now or similar”) end end Now, imagine that I use this class for a while and then I want to dump it to a YAML…

---

## [Quick question about rake migrate](https://www.ruby-forum.com/t/quick-question-about-rake-migrate/66061)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 5\
**Last updated:** [August 23, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/quick-question-about-rake-migrate/66061 "2006-08-23T23:20:37Z")

</div>

when creating a table, i use script/generate migration tablename…and when i am done with adding fields, i type rake migrate. now what do i do if i want to add additional fields to the table? do i just make the modific…

---

## [Open - uri question](https://www.ruby-forum.com/t/open-uri-question/100015)

<div class="topic-metadata">

**Author:** [@akanksha](https://www.ruby-forum.com/u/akanksha)\
**Replies:** 5\
**Last updated:** [July 26, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/open-uri-question/100015 "2006-07-26T19:51:38Z")

</div>

I am using open-uri for the first time. I need to visit a bunch of urls and gather some data. Here is a samll code snippet require ‘open-uri’ # allows the use of a file like API for URLs open( “http://no-way-outspaik3…

---

## [Rails: Come gestire PDF render e redirect nella stessa actio](https://www.ruby-forum.com/t/rails-come-gestire-pdf-render-e-redirect-nella-stessa-actio/96665)

<div class="topic-metadata">

**Author:** [@carminem](https://www.ruby-forum.com/u/carminem)\
**Replies:** 5\
**Last updated:** [July 3, 2006, 11:32am UTC](https://www.ruby-forum.com/t/rails-come-gestire-pdf-render-e-redirect-nella-stessa-actio/96665 "2006-07-03T11:32:52Z")

</div>

Salve a tutti, Ho scritto un’applicazione per far pratica con Rails/ruby e mi trovo nella condizione seguente. Alla pressione di un bottone, devo generare un report in PDF e redirezionare l’utente su un’altra pagina. …

---

## [New Typo Install - install notes, theme viewer and an import](https://www.ruby-forum.com/t/new-typo-install-install-notes-theme-viewer-and-an-import/64108)

<div class="topic-metadata">

**Author:** [@John\_Wang](https://www.ruby-forum.com/u/John_Wang)\
**Replies:** 5\
**Last updated:** [June 27, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/new-typo-install-install-notes-theme-viewer-and-an-import/64108 "2006-06-27T19:31:29Z")

</div>

I just put together a tutorial on installing Typo (2.6.0 with captive Rails) with MySQL, Apache, lighttpd and FastCGI if anyone is interested: http://www.dev411.com/wiki/Installing\_Typo:\_MySQL%2C\_FastCGI%2C\_Apache\_and…

---

## [LWP like library for Ruby?](https://www.ruby-forum.com/t/lwp-like-library-for-ruby/61843)

<div class="topic-metadata">

**Author:** [@gman327](https://www.ruby-forum.com/u/gman327)\
**Replies:** 5\
**Last updated:** [May 29, 2006, 9:10am UTC](https://www.ruby-forum.com/t/lwp-like-library-for-ruby/61843 "2006-05-29T09:10:32Z")

</div>

Can anybody tell me does Ruby support perl like LWP programming? ie. scraping content of websites with support for Cookies

---

## [Rails migrations - enhanced usage](https://www.ruby-forum.com/t/rails-migrations-enhanced-usage/93439)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 5\
**Last updated:** [April 4, 2006, 11:58am UTC](https://www.ruby-forum.com/t/rails-migrations-enhanced-usage/93439 "2006-04-04T11:58:56Z")

</div>

Hello, When I am writing rails migrations, quite often I make mistake in them which causes the migration tasks to stop halfway with error. This causes lots of problem, because it results in half of the things in mig…

---

## [Has\_many and belongs\_to example?](https://www.ruby-forum.com/t/has-many-and-belongs-to-example/76622)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 5\
**Last updated:** [March 28, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/has-many-and-belongs-to-example/76622 "2006-03-28T23:58:04Z")

</div>

Hi! If i have 2 tables i.e. product and images and product has\_many images, image belongs\_to product - how to create \_form.rhtml, new/create and edit/update methods in product controller, so in a single form i can add …

---

## [Glimmer DSL for SWT 4.27.0.0 Released](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-27-0-0-released/263729)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 3:32am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-swt-4-27-0-0-released/263729 "2023-03-21T03:32:48Z")

</div>

Glimmer DSL for SWT 4.27.0.0 has just been released! Change Log for v4.27.0.0: Upgrade to Eclipse SWT 4.27 Upgrade to JRuby 9.3.10.0 GitHub: GitHub - AndyObtiva/glimmer-dsl-swt: Glimmer DSL for SWT (JRuby Desktop Dev…

---

## [Nginx as a reverse caching / load balancing solution - verification of setup needed](https://www.ruby-forum.com/t/nginx-as-a-reverse-caching-load-balancing-solution-verification-of-setup-needed/243253)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 4, 2015, 8:02pm UTC](https://www.ruby-forum.com/t/nginx-as-a-reverse-caching-load-balancing-solution-verification-of-setup-needed/243253 "2015-09-04T20:02:11Z")

</div>

Good day Guys. I would like to ask if someone could please verify my configs : I have a Nginx server sitting in front of two Apache servers. I’m using Nginx as a reverse caching / load balancing solution. But what …

---

## [Assign to 'out' but don't 'produce' anything](https://www.ruby-forum.com/t/assign-to-out-but-dont-produce-anything/242455)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 24, 2015, 11:00pm UTC](https://www.ruby-forum.com/t/assign-to-out-but-dont-produce-anything/242455 "2015-06-24T23:00:55Z")

</div>

What happens when you assign input to output in a general\_work call, out\[ii\]=in\[ii\], but don’t call produce? Is the stuff you dumped into ‘out’ lost when general\_work returns WORK\_CALLED\_PRODUCE? My minds eye sees th…

---

## [Using Out-of-Tree module from C++ Application](https://www.ruby-forum.com/t/using-out-of-tree-module-from-c-application/228941)

<div class="topic-metadata">

**Author:** [@Michael\_Buettner](https://www.ruby-forum.com/u/Michael_Buettner)\
**Replies:** 3\
**Last updated:** [May 30, 2015, 10:06am UTC](https://www.ruby-forum.com/t/using-out-of-tree-module-from-c-application/228941 "2015-05-30T10:06:31Z")

</div>

I am trying to use an out of tree module (built according to the “Out-of-tree modules” documentation) from a C++ application. The module is named “reader”, and the block I’m trying to use is “command\_gate\_cc”. I can …

---

## [What is the actual use of ActiveRecord::SpawnMethods#except?](https://www.ruby-forum.com/t/what-is-the-actual-use-of-activerecord-spawnmethods-except/230789)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 7, 2014, 4:47pm UTC](https://www.ruby-forum.com/t/what-is-the-actual-use-of-activerecord-spawnmethods-except/230789 "2014-07-07T16:47:33Z")

</div>

I really don’t understand the actual usecase of the except method http://api.rubyonrails.org/classes/ActiveRecord/SpawnMethods.html#method-i-except If I don’t want a condition to apply in my query, then why should I a…

---

## [Gem install fileutils error](https://www.ruby-forum.com/t/gem-install-fileutils-error/238603)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 30, 2014, 1:29pm UTC](https://www.ruby-forum.com/t/gem-install-fileutils-error/238603 "2014-04-30T13:29:28Z")

</div>

Hello G.s I’m new in Ruby so I’m now trying to install fileutils by using the command \[ gem install fileutils \] note: I’m using windows 7 :frowning: always when i trying to install it i got this error C:/RailsIns…

---

## [Installation error with pybombs](https://www.ruby-forum.com/t/installation-error-with-pybombs/237354)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 7, 2013, 10:08pm UTC](https://www.ruby-forum.com/t/installation-error-with-pybombs/237354 "2013-11-07T22:08:34Z")

</div>

Hi, I am trying to install gnuradio 3.6 using pybombs. Suddenly I get an error message : – Python checking for Cheetah \>= 2.0.0 – Python checking for Cheetah \>= 2.0.0 - not found CMake Error at volk/CMakeLists.txt:6…

---

## [Tradução para pt-BR - distance of time in words](https://www.ruby-forum.com/t/traducao-para-pt-br-distance-of-time-in-words/245434)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [May 27, 2013, 8:49pm UTC](https://www.ruby-forum.com/t/traducao-para-pt-br-distance-of-time-in-words/245434 "2013-05-27T20:49:35Z")

</div>

Blz pessoal , Estou com um problema para traduzir o mtodo distance\_of\_time\_in\_words, s retorna em ingles ( 3 Days , 4 hours E 35 Minutes ), o resto da app est toda traduzida com I18N, as datas, as mensagens s o reto…

---

## [Using disconnect\_all() in C++](https://www.ruby-forum.com/t/using-disconnect-all-in-c/226820)

<div class="topic-metadata">

**Author:** [@copot](https://www.ruby-forum.com/u/copot)\
**Replies:** 8\
**Last updated:** [February 22, 2013, 1:23am UTC](https://www.ruby-forum.com/t/using-disconnect-all-in-c/226820 "2013-02-22T01:23:12Z")

</div>

Hi, In gqrx I am successfully using disconnect\_all() at the top-block level. Tonight I have tried to use it in a hier\_block2 but it doesn’t seem to work. The relevant code snippet is here: iq\_swap.cpp · GitHub - a c…

---

## [Gr\_Extras Packet\_Framer problem](https://www.ruby-forum.com/t/gr-extras-packet-framer-problem/229710)

<div class="topic-metadata">

**Author:** [@glsmyth](https://www.ruby-forum.com/u/glsmyth)\
**Replies:** 3\
**Last updated:** [February 5, 2013, 3:16am UTC](https://www.ruby-forum.com/t/gr-extras-packet-framer-problem/229710 "2013-02-05T03:16:39Z")

</div>

Hello all, I have just installed the Extras package and trying to use the Packet Framer. By using a gr\_vector\_f -\> float\_to\_short -\> Stream\_to\_Blobs -\> Packet\_Framer -\> GMSK Mod i get the following error gr\_fir\_ff…

---

## [Segmentation fault for aligned volk kernel with custom arrays](https://www.ruby-forum.com/t/segmentation-fault-for-aligned-volk-kernel-with-custom-arrays/224388)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 14, 2012, 4:26am UTC](https://www.ruby-forum.com/t/segmentation-fault-for-aligned-volk-kernel-with-custom-arrays/224388 "2012-11-14T04:26:44Z")

</div>

Hi list, I am trying to speed up my own gnuradio block using volk. Besides using volk on gnuradios input and output buffers I also want do use it with my own arrays. I found this Thread in the mailing list archive ht…

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

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