# Top

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

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

---

## [How to display div inline?](https://www.ruby-forum.com/t/how-to-display-div-inline/227642)

<div class="topic-metadata">

**Author:** [@barry](https://www.ruby-forum.com/u/barry)\
**Replies:** 3\
**Last updated:** [March 23, 2013, 5:50am UTC](https://www.ruby-forum.com/t/how-to-display-div-inline/227642 "2013-03-23T05:50:04Z")

</div>

Ok, I have some div element, which should be displayed inline after AJAX call and should replace other element. Without display:inline it works, new element is on new line, and looks like it supposed to be. But when…

---

## [Re: uhd\_find\_devices issue](https://www.ruby-forum.com/t/re-uhd-find-devices-issue/225318)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 29, 2012, 9:26pm UTC](https://www.ruby-forum.com/t/re-uhd-find-devices-issue/225318 "2012-12-29T21:26:04Z")

</div>

If you are using a gigabit switch i.e your LAPTOP/PC is connected to gigabit switch and USRP is connected to gigabit switch then there should not be any problem. If you don’t fine an extra cable, you can test Ethernet …

---

## [Formattare una data](https://www.ruby-forum.com/t/formattare-una-data/218795)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [April 15, 2012, 11:16am UTC](https://www.ruby-forum.com/t/formattare-una-data/218795 "2012-04-15T11:16:43Z")

</div>

Ciao a tutti e perdonate la banalità della mia richiesta ma proprio non ci riesco. 1- Ricevo da una tabella MySQL una data nel classico formato MYSQL Date: aaaa-mm-gg 2- devo modificare tale data nel formato gg-mm-aa…

---

## [Aiuto: Ruby Interpreter ha smesso di funzionare](https://www.ruby-forum.com/t/aiuto-ruby-interpreter-ha-smesso-di-funzionare/211004)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 23, 2011, 2:24pm UTC](https://www.ruby-forum.com/t/aiuto-ruby-interpreter-ha-smesso-di-funzionare/211004 "2011-08-23T14:24:05Z")

</div>

AIUTO!!! Sto usando Ruby 1.9.2 sotto Windows Vista e con PostgreSQL 8.3 (lo so, non è una grande scelta, ma tant’è…) ogni tanto (non sempre), all’interno di una particolare procedura mi va in crash e mi scrive: "Rub…

---

## [Re: GSM spectrum: Invisible 200kHz carriers?](https://www.ruby-forum.com/t/re-gsm-spectrum-invisible-200khz-carriers/207798)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 6, 2011, 4:38am UTC](https://www.ruby-forum.com/t/re-gsm-spectrum-invisible-200khz-carriers/207798 "2011-06-06T04:38:15Z")

</div>

Operator, Are you saying that you are seeing 4MHz wide signals? Or are you seeing ~200KHz wide signals seperated by 4MHz? If you are seeing 4MHz wide signals, they are not GSM. There is most likely another technol…

---

## [Query for Ruby and mechanize gem on AIX 5.3](https://www.ruby-forum.com/t/query-for-ruby-and-mechanize-gem-on-aix-5-3/205333)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 5, 2011, 8:27am UTC](https://www.ruby-forum.com/t/query-for-ruby-and-mechanize-gem-on-aix-5-3/205333 "2011-04-05T08:27:44Z")

</div>

Hello I have AIX 5.3 machine and want to install Ruby and mechanize gem. I tried googling , however I am not able to find installable packages and guide for same. Please point me to relevant link. Thank you. Appre…

---

## [Metasearch eager loading instead of lazy loading](https://www.ruby-forum.com/t/metasearch-eager-loading-instead-of-lazy-loading/205137)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 30, 2011, 7:21pm UTC](https://www.ruby-forum.com/t/metasearch-eager-loading-instead-of-lazy-loading/205137 "2011-03-30T19:21:33Z")

</div>

Hey all, I have two models, in the first model Model1.search(nil) returns the metasearch builder as expected. for the the second model, the same search(nil) returns every object in the database (all 60k of them). Th…

---

## [Worker pool - what to use?](https://www.ruby-forum.com/t/worker-pool-what-to-use/202224)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 30, 2011, 10:12pm UTC](https://www.ruby-forum.com/t/worker-pool-what-to-use/202224 "2011-01-30T22:12:36Z")

</div>

Hey, My requirement: A worker pool that basically renders templates to html/pdf and sends emails. The messages to process are currently stored in an OpenMQ queue (accessible via stomp for ruby). I am wondering whats…

---

## [Viewing timestamps using USRP2](https://www.ruby-forum.com/t/viewing-timestamps-using-usrp2/182828)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 3, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/viewing-timestamps-using-usrp2/182828 "2010-02-03T15:41:34Z")

</div>

I am trying to use wireshark to extract the timestamp from the received ethernet packets to test my sync\_every\_pps() function is working. I have located the word I need to extract from the received data but how can I …

---

## [Nginx-0.7.65](https://www.ruby-forum.com/t/nginx-0-7-65/182698)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [February 2, 2010, 10:14am UTC](https://www.ruby-forum.com/t/nginx-0-7-65/182698 "2010-02-02T10:14:27Z")

</div>

Changes with nginx 0.7.65 01 Feb 2010 \*) Security: now nginx/Windows ignores trailing spaces in URI. Thanks to Dan Crowley, Core Security Technologies. \*) Security: now nginx/…

---

## [Suggestions on how to have error pages based on content type](https://www.ruby-forum.com/t/suggestions-on-how-to-have-error-pages-based-on-content-type/177809)

<div class="topic-metadata">

**Author:** [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Replies:** 3\
**Last updated:** [October 28, 2009, 4:58am UTC](https://www.ruby-forum.com/t/suggestions-on-how-to-have-error-pages-based-on-content-type/177809 "2009-10-28T04:58:28Z")

</div>

Hello, I am wondering if it is possible to serve up error pages based on the content type. I.e. I want to show a different 503 error page for html, xml and javascript content types. I have tried to do something like…

---

## [Validating a date is a Monday](https://www.ruby-forum.com/t/validating-a-date-is-a-monday/165213)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 9:40am UTC](https://www.ruby-forum.com/t/validating-a-date-is-a-monday/165213 "2009-04-10T09:40:33Z")

</div>

I’m trying to do this… def validate errors.add\_to\_base "requested start date must be a monday" if requested\_start\_date != Chronic.parse(‘monday’) end Not working though - this fails vaildation all the time (regardl…

---

## [Upload files](https://www.ruby-forum.com/t/upload-files/162984)

<div class="topic-metadata">

**Author:** [@tanker](https://www.ruby-forum.com/u/tanker)\
**Replies:** 3\
**Last updated:** [March 16, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/upload-files/162984 "2009-03-16T14:23:29Z")

</div>

salut j’aimerai envoye un fichier lors de mon mail mais je n obtient que le path kan je recois le mail voila ma forme add your file:

---

## [Model validation breaking integration test](https://www.ruby-forum.com/t/model-validation-breaking-integration-test/156689)

<div class="topic-metadata">

**Author:** [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Replies:** 3\
**Last updated:** [January 1, 2009, 2:39pm UTC](https://www.ruby-forum.com/t/model-validation-breaking-integration-test/156689 "2009-01-01T14:39:38Z")

</div>

Greetings, I have a simple model called “Section” with integration tests that pass. However, when I add a simple validation to the model (validates\_presence\_of :name) the integration test fails. This makes no sense t…

---

## [Mongrel + Apache occasional Proxy Error](https://www.ruby-forum.com/t/mongrel-apache-occasional-proxy-error/149182)

<div class="topic-metadata">

**Author:** [@cpher](https://www.ruby-forum.com/u/cpher)\
**Replies:** 0\
**Last updated:** [September 22, 2008, 10:52am UTC](https://www.ruby-forum.com/t/mongrel-apache-occasional-proxy-error/149182 "2008-09-22T10:52:38Z")

</div>

Hi There - long time reader first time poster :stuck\_out\_tongue: I appreciate this is a problem with quite a few threads out there, but I have read many of the threads and tried many of the fixes / hacks suggested to …

---

## [Pure Ruby App that receives events](https://www.ruby-forum.com/t/pure-ruby-app-that-receives-events/145480)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 3\
**Last updated:** [August 10, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/pure-ruby-app-that-receives-events/145480 "2008-08-10T22:22:39Z")

</div>

Does anyone know if it is possible to have a Ruby application that receives Apple Events? I assume it would be in an event loop. Really, what I’m asking is if I can create a pure Ruby app that behaves like a “first …

---

## [Duda conceptual sobre distintos procesos Ruby](https://www.ruby-forum.com/t/duda-conceptual-sobre-distintos-procesos-ruby/118517)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [October 31, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/duda-conceptual-sobre-distintos-procesos-ruby/118517 "2007-10-31T23:54:23Z")

</div>

Hola, se me presenta un difÃ­cil problema (al menos para mÃ­): Estoy haciendo una librerÃ­a SIP en Ruby y no sÃ© cÃ³mo implementar una parte fundamental del propio SIP: Debe haber un proceso servidor corriendo perm…

---

## [eval\_jump.h$B!"(Beval\_method.h$B$N(Brdoc$B$,=hM}$5$l$J$](https://www.ruby-forum.com/t/eval-jump-h-b-beval-method-h-b-n-brdoc-b-hm-5-l-j/106713)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 3\
**Last updated:** [June 25, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/eval-jump-h-b-beval-method-h-b-n-brdoc-b-hm-5-l-j/106713 "2007-06-25T21:15:31Z")

</div>

Ruby 1.9e$B$Ge(Beval\_jump.he$B$He(Beval\_method.he$B$K$"$ke(B RDoce$B$,e(Bmake rdoce$B$G=hM}$5$l$J$$$^$^$K$J$k$h$&$G$9!#e(B e$B$H$j$"$($:$NBP=h$H$7$F$Oe(B .docmente$B$Ke(B\*.he$B$r2C$(!"e(B common.mke$B$Ne(Brdoce$B$N%\*…

---

## [Having a default condition in model](https://www.ruby-forum.com/t/having-a-default-condition-in-model/104344)

<div class="topic-metadata">

**Author:** [@sbeam](https://www.ruby-forum.com/u/sbeam)\
**Replies:** 3\
**Last updated:** [May 17, 2007, 2:12am UTC](https://www.ruby-forum.com/t/having-a-default-condition-in-model/104344 "2007-05-17T02:12:39Z")

</div>

Is there a way to specify at the model level that you want all calls to find(), find\_by\_xxxx(), etc, to include a certain :conditions clause? for instance, if normally you wanted to only select articles where “is\_publ…

---

## [View helpers in extensions](https://www.ruby-forum.com/t/view-helpers-in-extensions/88927)

<div class="topic-metadata">

**Author:** [@laserwhit](https://www.ruby-forum.com/u/laserwhit)\
**Replies:** 3\
**Last updated:** [March 15, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/view-helpers-in-extensions/88927 "2007-03-15T23:50:54Z")

</div>

I’m still working on my asset handling plugin and I find myself needing a traditional rails helper method; i.e., something that I can call from a page view and use to dynamically modify/insert stuff into the page. I’v…

---

## [JavaScript-based Ruby lexer/parser for CSS syntax highlighti](https://www.ruby-forum.com/t/javascript-based-ruby-lexer-parser-for-css-syntax-highlighti/87053)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [February 27, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/javascript-based-ruby-lexer-parser-for-css-syntax-highlighti/87053 "2007-02-27T23:55:49Z")

</div>

I’m looking for a JS library that will find (or otherwise-specified) elements on an HTML page and wrap bits in … type elements for CSS syntax coloring of the original source. I’ve found two JS-based syntax highlighte…

---

## [Index::Index.new vs. Readers and Writers](https://www.ruby-forum.com/t/index-index-new-vs-readers-and-writers/59962)

<div class="topic-metadata">

**Author:** [@sbraford](https://www.ruby-forum.com/u/sbraford)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 4:49am UTC](https://www.ruby-forum.com/t/index-index-new-vs-readers-and-writers/59962 "2006-05-10T04:49:57Z")

</div>

Hey gang, A post on the Rails forum a while back had it sound like you pretty much had to use the Index Readers & Writers if you were going to be potentially accessing an index from more than one process. (i.e. mult…

---

## [Audio / sound recording with RoR app](https://www.ruby-forum.com/t/audio-sound-recording-with-ror-app/77803)

<div class="topic-metadata">

**Author:** [@ror-user](https://www.ruby-forum.com/u/ror-user)\
**Replies:** 3\
**Last updated:** [March 7, 2006, 5:55pm UTC](https://www.ruby-forum.com/t/audio-sound-recording-with-ror-app/77803 "2006-03-07T17:55:40Z")

</div>

hi all i want to provide audio recording facility with my Ror application , which can be stored in DB at server , for later use can anybody tell, how to implement this with RoR, as i dont hav much idea abt that than…

---

## [More "Ruby for Java developers"](https://www.ruby-forum.com/t/more-ruby-for-java-developers/50858)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 3\
**Last updated:** [December 24, 2005, 12:23pm UTC](https://www.ruby-forum.com/t/more-ruby-for-java-developers/50858 "2005-12-24T12:23:36Z")

</div>

There’s a new article on IBM developerWorks called “Ruby off the Rails”: http://www-128.ibm.com/developerworks/library/j-ruby/ It’s pointing out various nifty things about Ruby for those Java developers (and other fol…

---

## [Mirrored spectrum around tuning freq](https://www.ruby-forum.com/t/mirrored-spectrum-around-tuning-freq/242953)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 10, 2015, 6:40pm UTC](https://www.ruby-forum.com/t/mirrored-spectrum-around-tuning-freq/242953 "2015-08-10T18:40:13Z")

</div>

Hi all, why when I use: uhd::tune\_request\_t tr(tuningFreq); USRP\_DEVICE-\>set\_rx\_freq(tr); I get a spectrum that is “mirrored” around the tuninFreq ? See: http://picpaste.com/sp-zJquS0qK.png with tuningFreq = 149.8 …

---

## [Query Rewrite Help](https://www.ruby-forum.com/t/query-rewrite-help/242659)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [July 13, 2015, 3:39pm UTC](https://www.ruby-forum.com/t/query-rewrite-help/242659 "2015-07-13T15:39:19Z")

</div>

Hi, Am suffering with a bit of writer’s block when it comes to query rewrites. I’ve got a rewrite rule that looks like : rewrite ^/api/app/(\[^/\]+)/(\[^/\]+)/(\[^/\]+)?$ /api/app/$1.php?p=$2&q=$3? last; I am having two …

---

## [Feedzirra with xpath](https://www.ruby-forum.com/t/feedzirra-with-xpath/235215)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 13, 2015, 8:43am UTC](https://www.ruby-forum.com/t/feedzirra-with-xpath/235215 "2015-07-13T08:43:00Z")

</div>

I have general questions about feedzirra. in the documentation, it says, “The final feature of Feedzirra is the ability to define custom parsing classes. In truth, Feedzirra could be used to parse much more than fee…

---

## [Using CSV and STDIO?](https://www.ruby-forum.com/t/using-csv-and-stdio/242226)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 6, 2015, 3:59pm UTC](https://www.ruby-forum.com/t/using-csv-and-stdio/242226 "2015-06-06T15:59:18Z")

</div>

I would like to create a CSV filter, so I want to read from STDIN and write to STDOUT. This does not work, even though this is per the the CSV web documentation: require “rubygems” require “csv” require “nokogiri” …

---

## [Issues with HttpChunkinModule](https://www.ruby-forum.com/t/issues-with-httpchunkinmodule/233235)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 26, 2014, 4:45pm UTC](https://www.ruby-forum.com/t/issues-with-httpchunkinmodule/233235 "2014-11-26T16:45:30Z")

</div>

Hi, I am trying to set up a nginx server to support chunking. I followed the steps mentioned in the below webpage to use the feature http://wiki.nginx.org/HttpChunkinModule My nginx version is 1.4.1. According to the…

---

## [Request for a "no capture" rewrite directive enhancement](https://www.ruby-forum.com/t/request-for-a-no-capture-rewrite-directive-enhancement/230037)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 28, 2014, 6:44am UTC](https://www.ruby-forum.com/t/request-for-a-no-capture-rewrite-directive-enhancement/230037 "2014-05-28T06:44:44Z")

</div>

Hello Nginx developers, speaking to Maxim K. over Twitter, suggested this would be the better place to get an answer to my suggestion. Basically what I would like to see is the ability to use a rewrite directive with…

---

## ["Media query" in a controller?](https://www.ruby-forum.com/t/media-query-in-a-controller/239506)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 2, 2014, 10:54am UTC](https://www.ruby-forum.com/t/media-query-in-a-controller/239506 "2014-03-02T10:54:49Z")

</div>

Is there a way to do what would be equivalent to a css media query in a controller in order to decide which erb template to use when rendering a page?

---

## [Java classpath question](https://www.ruby-forum.com/t/java-classpath-question/237506)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 19, 2013, 9:15am UTC](https://www.ruby-forum.com/t/java-classpath-question/237506 "2013-11-19T09:15:43Z")

</div>

IRC is still asleep :slight\_smile: forgive my java newbieness but if a JAR is in the WINDOWS CLASSPATH env var , does that make it accessible to JRuby via “require” ? , thanks Charles

---

## [Listen backlog](https://www.ruby-forum.com/t/listen-backlog/228333)

<div class="topic-metadata">

**Author:** [@crazynuxer](https://www.ruby-forum.com/u/crazynuxer)\
**Replies:** 2\
**Last updated:** [April 18, 2013, 12:04pm UTC](https://www.ruby-forum.com/t/listen-backlog/228333 "2013-04-18T12:04:57Z")

</div>

Dear All, I have some vhost with nginx , when I set backlog at some vhost, I get error nginx: \[emerg\] duplicate listen options for 0.0.0.0:80 in my question is. When we configure 1 vhost with backlog option , it will …

---

## [LTE and DVB-T signals](https://www.ruby-forum.com/t/lte-and-dvb-t-signals/221147)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 2, 2012, 9:29pm UTC](https://www.ruby-forum.com/t/lte-and-dvb-t-signals/221147 "2012-07-02T21:29:25Z")

</div>

Hi, I have to generate DVB-T and LTE signals using gnuradio companion. I’m in trouble because I don’t know how to set some parameters in the OFDM modulator block. LTE signal: transmission bandwith: 5MHz FFT size: …

---

## [Simple signal echo with the USRP](https://www.ruby-forum.com/t/simple-signal-echo-with-the-usrp/187508)

<div class="topic-metadata">

**Author:** [@BalijepalliS\_Arvind](https://www.ruby-forum.com/u/BalijepalliS_Arvind)\
**Replies:** 2\
**Last updated:** [May 11, 2012, 8:33am UTC](https://www.ruby-forum.com/t/simple-signal-echo-with-the-usrp/187508 "2012-05-11T08:33:18Z")

</div>

I am starting to look into building a feedback controller, which takes the position of the particle and outputs a suitable control signal. The controller itself will most likely be a tabulated function, which we can i…

---

## [All request is redirected to one port if there is multiple listen in default server section](https://www.ruby-forum.com/t/all-request-is-redirected-to-one-port-if-there-is-multiple-listen-in-default-server-section/165203)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 8:56am UTC](https://www.ruby-forum.com/t/all-request-is-redirected-to-one-port-if-there-is-multiple-listen-in-default-server-section/165203 "2009-04-10T08:56:12Z")

</div>

I use the following config: server { listen 192.168.1.102:80; listen 192.168.1.102:81; server\_name \_; #default return 444; } #upstream cfg upstream web\_upstream0 { server 192.168.39.100:81 max\_fails=3 f…

---

## [\[Cucumber\] World { nil } causes undefined method \`exception=' in backtraces from steps called from o](https://www.ruby-forum.com/t/cucumber-world-nil-causes-undefined-method-exception-in-backtraces-from-steps-called-from-o/164348)

<div class="topic-metadata">

**Author:** [@jcain](https://www.ruby-forum.com/u/jcain)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 1:12pm UTC](https://www.ruby-forum.com/t/cucumber-world-nil-causes-undefined-method-exception-in-backtraces-from-steps-called-from-o/164348 "2009-03-31T13:12:09Z")

</div>

We were using the following style of setting up a world: World do def a\_helper … end end I don’t know where I came up with that. I now realise we should have been returning a world class here, but the above style …

---

## [How to make RoR load faster](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016)

<div class="topic-metadata">

**Author:** [@sujoykroy](https://www.ruby-forum.com/u/sujoykroy)\
**Replies:** 2\
**Last updated:** [March 16, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/how-to-make-ror-load-faster/132016 "2008-03-16T16:06:07Z")

</div>

Hi, I am working on a RoR eCommerce application built on Substruct. The website runs on shared hosting using Apache with FastCGI with idle time 5 minutes. The problem is Substruct takes time to load first time then i…

---

## [Routing/link\_to](https://www.ruby-forum.com/t/routing-link-to/186775)

<div class="topic-metadata">

**Author:** [@mvondung](https://www.ruby-forum.com/u/mvondung)\
**Replies:** 2\
**Last updated:** [February 26, 2008, 8:51am UTC](https://www.ruby-forum.com/t/routing-link-to/186775 "2008-02-26T08:51:24Z")

</div>

Hallo, ich habe ein kleines Problem mit link\_to(). Nehmen wir an ich habe 2 Controller einer von beiden mit prefix: map.resources :websites, :controller =\> ‘admin/websites’, :path\_prefix =\> ‘/admin’, :name\_prefix …

---

## [Mongrel\_cluster: gem\_original\_require](https://www.ruby-forum.com/t/mongrel-cluster-gem-original-require/112137)

<div class="topic-metadata">

**Author:** [@TslH](https://www.ruby-forum.com/u/TslH)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 10:27am UTC](https://www.ruby-forum.com/t/mongrel-cluster-gem-original-require/112137 "2007-09-19T10:27:08Z")

</div>

Bonjour, Je suis en train d’automatiser un peu le dÃ©marrage des diffÃ©rentes applications rails que j’utilise au quotidien. Pour cela, ma prÃ©fÃ©rence va Ã Mongrel\_cluster + Apache2 avec son reverse\_proxy. Quand je…

---

## [Validates\_presence\_of foreign key](https://www.ruby-forum.com/t/validates-presence-of-foreign-key/92954)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 2:05am UTC](https://www.ruby-forum.com/t/validates-presence-of-foreign-key/92954 "2007-04-26T02:05:43Z")

</div>

Does validates\_presence\_of work for foreign keys? I have a Service model the belongs to Agent I then have validates\_presence\_of :title, :locator, :agent\_id, :user\_id in my model. But I can create Services with out c…

---

## [Lightweight way to create jpeg files?](https://www.ruby-forum.com/t/lightweight-way-to-create-jpeg-files/86694)

<div class="topic-metadata">

**Author:** [@miken700](https://www.ruby-forum.com/u/miken700)\
**Replies:** 2\
**Last updated:** [February 25, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/lightweight-way-to-create-jpeg-files/86694 "2007-02-25T15:14:32Z")

</div>

Is there an easy lightweight way to dynamically create jpeg files? I think RImageMagick could do this but it seems like it’s loaded with dependences. Ideally I’d like to send an Array of lines with color values to be …

---

## [Relaciones con multiples tablas intermedias](https://www.ruby-forum.com/t/relaciones-con-multiples-tablas-intermedias/75828)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 2\
**Last updated:** [November 13, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/relaciones-con-multiples-tablas-intermedias/75828 "2006-11-13T18:59:47Z")

</div>

Hola, estoy intentando desarrollar una aplicaciÃ³n pero me ha surgido un problema que no logro resolver. Tengo una relaciÃ³n entre dos tablas con otras 2 tablas intermedias pero no se como implementar esto en el mod…

---

## [Array#permutate](https://www.ruby-forum.com/t/array-permutate/100628)

<div class="topic-metadata">

**Author:** [@SchSSS\_le\_Daniel](https://www.ruby-forum.com/u/SchSSS_le_Daniel)\
**Replies:** 2\
**Last updated:** [August 1, 2006, 3:38am UTC](https://www.ruby-forum.com/t/array-permutate/100628 "2006-08-01T03:38:37Z")

</div>

Hello, this is my handmade Array#permutate function are there any alternatives (maybe C extension modules)? especially are there functions that would not create all permutations and return them as one single memory c…

---

## [Feature request: "make uninstall"](https://www.ruby-forum.com/t/feature-request-make-uninstall/58072)

<div class="topic-metadata">

**Author:** [@John\_MSGabriele](https://www.ruby-forum.com/u/John_MSGabriele)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 8:49am UTC](https://www.ruby-forum.com/t/feature-request-make-uninstall/58072 "2006-04-18T08:49:41Z")

</div>

Hi, I think it would be occasionally very useful if Ruby’s makefile had a make uninstall target. From what little I know of the automake/autoconf tools, this make not be a very difficult target to add. I realize tha…

---

## [Modifying data before update or save](https://www.ruby-forum.com/t/modifying-data-before-update-or-save/50705)

<div class="topic-metadata">

**Author:** [@Nic\_W](https://www.ruby-forum.com/u/Nic_W)\
**Replies:** 2\
**Last updated:** [December 20, 2005, 6:05am UTC](https://www.ruby-forum.com/t/modifying-data-before-update-or-save/50705 "2005-12-20T06:05:18Z")

</div>

Hi, I’d like to upcase a variable before it is saved, but I’m not sure how to access the incoming param or where this work should be performed: In my update method, I have: @device = Device.find(params\[:id\]) params\[…

---

## [Marshalled data in 1.9](https://www.ruby-forum.com/t/marshalled-data-in-1-9/190625)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 8\
**Last updated:** [June 26, 2010, 2:40am UTC](https://www.ruby-forum.com/t/marshalled-data-in-1-9/190625 "2010-06-26T02:40:53Z")

</div>

Is there the possibility this would fail in 1.9? big = eval(File.read(“out\_inspect.small”)) File.open(“out.marshal”, “w”) do |f| f.write(Marshal.dump(big)) end Marshal.load(File.open(‘out.marshal’, ‘r’)) When I do …

---

## [Tiny\_mce plugin](https://www.ruby-forum.com/t/tiny-mce-plugin/174184)

<div class="topic-metadata">

**Author:** [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Replies:** 8\
**Last updated:** [November 10, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/tiny-mce-plugin/174184 "2009-11-10T16:46:06Z")

</div>

Hi all, I just installed the tiny\_mce plugin and it works as advertised. But I can not get any plugin for tinymce to work. They are all there, they are installed, they load. But they do not appear. I have MacBook …

---

## [Passing form information](https://www.ruby-forum.com/t/passing-form-information/154234)

<div class="topic-metadata">

**Author:** [@Sean\_McGilvray](https://www.ruby-forum.com/u/Sean_McGilvray)\
**Replies:** 8\
**Last updated:** [November 26, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/passing-form-information/154234 "2008-11-26T19:27:04Z")

</div>

Hello everyone I am new to RoR and I was wanting to know how to pass form information (first\_name, last\_name, phone\_number, and email) to a session so that I can use them in another form later? Thank you

---

## [\[ANN\] Rails 2.0: Release Candidate 2](https://www.ruby-forum.com/t/ann-rails-2-0-release-candidate-2/121597)

<div class="topic-metadata">

**Author:** [@DHH](https://www.ruby-forum.com/u/DHH)\
**Replies:** 8\
**Last updated:** [November 30, 2007, 10:00am UTC](https://www.ruby-forum.com/t/ann-rails-2-0-release-candidate-2/121597 "2007-11-30T10:00:21Z")

</div>

Grab it while it’s hot:

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

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