# Top

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

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

---

## [Logging inconsistencies during apparent DoS](https://www.ruby-forum.com/t/logging-inconsistencies-during-apparent-dos/144183)

<div class="topic-metadata">

**Author:** [@John\_Barratt](https://www.ruby-forum.com/u/John_Barratt)\
**Replies:** 3\
**Last updated:** [July 27, 2008, 8:05am UTC](https://www.ruby-forum.com/t/logging-inconsistencies-during-apparent-dos/144183 "2008-07-27T08:05:01Z")

</div>

Hi, We have been having problems with an apparent SYN-flood DoS attack. However there are are inconsistencies with the resulting log entries in nginx that along with the environment it is in, make me wonder if it rea…

---

## [Passing multiple parameter through observe\_field](https://www.ruby-forum.com/t/passing-multiple-parameter-through-observe-field/140765)

<div class="topic-metadata">

**Author:** [@supriyaiiita](https://www.ruby-forum.com/u/supriyaiiita)\
**Replies:** 3\
**Last updated:** [June 18, 2008, 11:52am UTC](https://www.ruby-forum.com/t/passing-multiple-parameter-through-observe-field/140765 "2008-06-18T11:52:22Z")

</div>

Hi! Im trying to search through multiple parameters through observe\_field. Following is my code.: its not showing any result, kindly help… Filter on Device Name : Filter on platform : \<%= image\_tag(“spinner.g…

---

## [Validating elements created via JS](https://www.ruby-forum.com/t/validating-elements-created-via-js/140647)

<div class="topic-metadata">

**Author:** [@galeal](https://www.ruby-forum.com/u/galeal)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 9:28am UTC](https://www.ruby-forum.com/t/validating-elements-created-via-js/140647 "2008-06-17T09:28:16Z")

</div>

I have a link on a form that allows for infinite new records to be created. i.e. Clicking “Add new record” basically renders the \_new partial and appends it to a div. The model contains validates\_uniqueness\_of and va…

---

## [Preserving POST request body across authentication](https://www.ruby-forum.com/t/preserving-post-request-body-across-authentication/133997)

<div class="topic-metadata">

**Author:** [@JamesKay](https://www.ruby-forum.com/u/JamesKay)\
**Replies:** 8\
**Last updated:** [April 8, 2008, 11:42am UTC](https://www.ruby-forum.com/t/preserving-post-request-body-across-authentication/133997 "2008-04-08T11:42:44Z")

</div>

Hello, I don’t think this is something which has already been answered. Using, for example Restful authentication, sessions can time-out resulting in an authentication screen being shown. The original URI is normally…

---

## [If-less if statements](https://www.ruby-forum.com/t/if-less-if-statements/132474)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 8\
**Last updated:** [March 22, 2008, 12:15pm UTC](https://www.ruby-forum.com/t/if-less-if-statements/132474 "2008-03-22T12:15:18Z")

</div>

I asked this on the rails side of this forum but didn’t get a response and while I am using the code in a rails app I think that this is a ruby question. In a helper that I am using, I am seeing if a phone # gets ente…

---

## [Make a hash object to string object as look like a hash?](https://www.ruby-forum.com/t/make-a-hash-object-to-string-object-as-look-like-a-hash/120514)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 8\
**Last updated:** [November 18, 2007, 6:25am UTC](https://www.ruby-forum.com/t/make-a-hash-object-to-string-object-as-look-like-a-hash/120514 "2007-11-18T06:25:40Z")

</div>

user\_name@host:~$irb irb(main):001:0\> h={‘k1’=\>‘v1’,‘k2’=\>‘v2’,‘k3’=\>‘v3’} =\> {“k1”=\>“v1”, “k2”=\>“v2”, “k3”=\>“v3”} -------\>i want as a string object irb(main):002:0\> k irb(main):004:0\> puts h k1v1k2v2k3v3 …

---

## [Problem converting application to use REST, people\_path meth](https://www.ruby-forum.com/t/problem-converting-application-to-use-rest-people-path-meth/112894)

<div class="topic-metadata">

**Author:** [@anthonyrudgick](https://www.ruby-forum.com/u/anthonyrudgick)\
**Replies:** 3\
**Last updated:** [August 30, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/problem-converting-application-to-use-rest-people-path-meth/112894 "2007-08-30T16:26:38Z")

</div>

Hi All, I am converting a “traditional” rails application to use RESTful routes and controllers. Everything is going fine so far, except for the following problem. I have the active record class Person. When I want t…

---

## [Still getting "too many open files"](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 3\
**Last updated:** [August 29, 2007, 10:04am UTC](https://www.ruby-forum.com/t/still-getting-too-many-open-files/113167 "2007-08-29T10:04:43Z")

</div>

We have still having problems with Ferret dying on us regularly with the error message: ferret server error IO Error occured at \<except.c\>:93 in xraiseError occured in fs\_store.c:127 - fs\_each doing ‘each’ in /va…

---

## [Quicktime and Ruby](https://www.ruby-forum.com/t/quicktime-and-ruby/108964)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 8\
**Last updated:** [July 11, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/quicktime-and-ruby/108964 "2007-07-11T15:54:54Z")

</div>

Hey all I read a previous post from early April about working applescript into Ruby. BUT… I need to be able to convert mp3s into hinted movie format (which isn’t covered ANYWHERE). Whats the best way to do this in an…

---

## [VIM and IRB](https://www.ruby-forum.com/t/vim-and-irb/103467)

<div class="topic-metadata">

**Author:** [@lobbr](https://www.ruby-forum.com/u/lobbr)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 12:15am UTC](https://www.ruby-forum.com/t/vim-and-irb/103467 "2007-05-08T00:15:22Z")

</div>

Hi, my favourite editor for programming is Vim. When editing some ruby-scripts I usually have an xterm open with a running irb-session. When testing some code snippets, I copy & paste them to IRB. In Emacs I could ev…

---

## [Capturing standard out?](https://www.ruby-forum.com/t/capturing-standard-out/89369)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 8\
**Last updated:** [March 26, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/capturing-standard-out/89369 "2007-03-26T17:54:41Z")

</div>

Is there an easy way to capture standard out in Ruby, so that “puts” throws its output into a buffer instead of just popping up on the screen?

---

## [Ruby as a configuration language](https://www.ruby-forum.com/t/ruby-as-a-configuration-language/84912)

<div class="topic-metadata">

**Author:** [@Tapio\_K](https://www.ruby-forum.com/u/Tapio_K)\
**Replies:** 8\
**Last updated:** [February 8, 2007, 11:31pm UTC](https://www.ruby-forum.com/t/ruby-as-a-configuration-language/84912 "2007-02-08T23:31:22Z")

</div>

Hi I’m writing an automated software building framework in Ruby. The software compiles software packages from source code using human-written profiles. The profiles should be extremely easy to read and write by huma…

---

## [Ruby for programmers](https://www.ruby-forum.com/t/ruby-for-programmers/85036)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 8\
**Last updated:** [March 23, 2006, 2:43am UTC](https://www.ruby-forum.com/t/ruby-for-programmers/85036 "2006-03-23T02:43:47Z")

</div>

Hi all I’ve come across an online book concerning Ruby for Perl programmers but I’ve yet to find any for other languages. The Pick Axe book is a little to slow and simplistic telling far to many of the core fundamen…

---

## [RMagick exporting pixels as string](https://www.ruby-forum.com/t/rmagick-exporting-pixels-as-string/51814)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 3\
**Last updated:** [January 7, 2006, 3:05pm UTC](https://www.ruby-forum.com/t/rmagick-exporting-pixels-as-string/51814 "2006-01-07T15:05:19Z")

</div>

Hi, I’m exporting pixels to an OpenGL texture from Magick::Image using export\_pixels. The problem is that it’s slow. 5.5 seconds for a 330x370 image -slow. Is there a faster way to do this: image.export\_pixels(0,0,…

---

## [Pdf::Writer and #image](https://www.ruby-forum.com/t/pdf-writer-and-image/51546)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 4:50am UTC](https://www.ruby-forum.com/t/pdf-writer-and-image/51546 "2006-01-03T04:50:38Z")

</div>

Greetings all - happy new year, I’m having problems getting Pdf::Writer image insertion. pdf.image “/path/to/images/logo.jpg” is firing “JPEG marker not found!” Originally created the RGB (8 bit) JPEG in photoshop. A…

---

## [Ruby tricks \[da github\]](https://www.ruby-forum.com/t/ruby-tricks-da-github/243445)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 3, 2015, 4:43pm UTC](https://www.ruby-forum.com/t/ruby-tricks-da-github/243445 "2015-11-03T16:43:18Z")

</div>

Ho trovato su lobste.rs il link a Il mio preferito finora è stato quello sulla tail call optimization, che non sapevo Ruby avesse https://github.com/franzejr/ruby-tricks/blob/master/tail\_call.rb Provate quell’esempi…

---

## [Burst Tagger block - What I'm I doing wrong?](https://www.ruby-forum.com/t/burst-tagger-block-what-im-i-doing-wrong/241581)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 4:37pm UTC](https://www.ruby-forum.com/t/burst-tagger-block-what-im-i-doing-wrong/241581 "2015-04-29T16:37:21Z")

</div>

Hi all! Im trying to implement a system that should change it’s normal functioning when another system with higher priority comes into play. For that, we have thought of two ways: changing the central frequency of o…

---

## [Phase shift block](https://www.ruby-forum.com/t/phase-shift-block/234046)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 2, 2015, 5:37pm UTC](https://www.ruby-forum.com/t/phase-shift-block/234046 "2015-02-02T17:37:10Z")

</div>

Hi, Application Note “Synchronization and MIMO Capability with USRP Devices” from Ettus includes a “phase\_shift” block in Figure 5. Whatever happend to that block? Can’t find it, did it get replaced? Regards Johanne…

---

## [How to use ruby read/write Berkeley DB file?](https://www.ruby-forum.com/t/how-to-use-ruby-read-write-berkeley-db-file/238299)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 8:46pm UTC](https://www.ruby-forum.com/t/how-to-use-ruby-read-write-berkeley-db-file/238299 "2014-01-06T20:46:07Z")

</div>

Hi, all! I create a Berkeley DB file for Vsftpd, I want user Ruby add new Vsftpd virtual users via edit the Berkeley DB file. I create BDB file as follow: bash\> $ cat \> test.txt \<\< EOF bar Hello, foo World! EOF …

---

## [Cocaine::CommandNotFoundError while using ffmpeg](https://www.ruby-forum.com/t/cocaine-commandnotfounderror-while-using-ffmpeg/237763)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 28, 2013, 5:10pm UTC](https://www.ruby-forum.com/t/cocaine-commandnotfounderror-while-using-ffmpeg/237763 "2013-11-28T17:10:29Z")

</div>

Hi, I am using paperclip-ffmpeg gem to create thumbnail for video rails 3.2.12 while uploading following error occurs \[paperclip\] \[ffmpeg\] ffprobe “/tmp/Wildlife\_512kb20131128-2794-191vy86.mp4” 2\>&1 Completed 500 …

---

## [Changing the default extension of Ruby](https://www.ruby-forum.com/t/changing-the-default-extension-of-ruby/223506)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 9, 2012, 7:37pm UTC](https://www.ruby-forum.com/t/changing-the-default-extension-of-ruby/223506 "2012-10-09T19:37:44Z")

</div>

Hi, I would like to change the default extension for the ruby interpreter to be .pl instead of .rb (I know that’s the perl default extension)

---

## [Nginx multiple apps, and CodeIgniter](https://www.ruby-forum.com/t/nginx-multiple-apps-and-codeigniter/207904)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 6, 2011, 2:25pm UTC](https://www.ruby-forum.com/t/nginx-multiple-apps-and-codeigniter/207904 "2011-06-06T14:25:43Z")

</div>

Ive been struggling with a No input file specified issue, and Ive been trying to figure out the routing issue. I am using fast-cgi, nginx (version 0.7.65) and CI 2.02 http://www.example.net/ci/ /…

---

## [Codeplex workitem 6118: Requesting Code Review](https://www.ruby-forum.com/t/codeplex-workitem-6118-requesting-code-review/207389)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 25, 2011, 4:29pm UTC](https://www.ruby-forum.com/t/codeplex-workitem-6118-requesting-code-review/207389 "2011-05-25T16:29:15Z")

</div>

As mentioned in the bug http://ironruby.codeplex.com/workitem/6118 , IronRuby .rbproj files have some severe problems when working with source-controlled projects. I discovered that one of the major causes of this was…

---

## [IronRuby to compile ruby code to assembly](https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 24, 2011, 3:48pm UTC](https://www.ruby-forum.com/t/ironruby-to-compile-ruby-code-to-assembly/206118 "2011-04-24T15:48:37Z")

</div>

Hello, Rhomobile company (rhomobile.com) is looking for contractor developer who is familiar with IronRuby code to implement SavableScriptCode for IronRuby. Here is comment from Tomas M. : “SavableScriptCode provide…

---

## [AR3 Selects & Read Only :-(](https://www.ruby-forum.com/t/ar3-selects-read-only/195578)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 7\
**Last updated:** [September 27, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/ar3-selects-read-only/195578 "2010-09-27T16:35:54Z")

</div>

Short version: Is there any way to override the ReadOnly behavior of AR3 when a SELECT clause is specified? I suspect I know why that change was made, but I have a Rails conversion / legacy data situation where I rea…

---

## [Facebook, authlogic, and OAuth2](https://www.ruby-forum.com/t/facebook-authlogic-and-oauth2/188133)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 7\
**Last updated:** [June 13, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/facebook-authlogic-and-oauth2/188133 "2010-06-13T20:44:46Z")

</div>

Has anyone gotten started with getting the OAuth2 replacement for Facebook Connect working with auth\_logic? I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2- gem-just-in-time-for-facebook-graph?blog…

---

## [Proxy or fastcgi for python app](https://www.ruby-forum.com/t/proxy-or-fastcgi-for-python-app/174732)

<div class="topic-metadata">

**Author:** [@William\_Dode](https://www.ruby-forum.com/u/William_Dode)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/proxy-or-fastcgi-for-python-app/174732 "2009-09-04T18:50:55Z")

</div>

Hi, I’m going to try nginx with somes python apps. Thanks to wsgi i can easily choose between fastcgi or proxy. How can i choose ? I don’t care if one is a little bit more or less fast. My problem is to run on a sma…

---

## [Build a table with content\_tag's](https://www.ruby-forum.com/t/build-a-table-with-content-tags/171616)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 1\
**Last updated:** [July 6, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/build-a-table-with-content-tags/171616 "2009-07-06T17:57:17Z")

</div>

Hi, I have a fastcsv collection (2d array) that I want to display as a table. I figured the best way would be a helper function, and build the table dynamically. table = content\_tag(:table, #tbody begind conte…

---

## [Write a copy of the current script](https://www.ruby-forum.com/t/write-a-copy-of-the-current-script/129432)

<div class="topic-metadata">

**Author:** [@dkmd\_nielsen](https://www.ruby-forum.com/u/dkmd_nielsen)\
**Replies:** 7\
**Last updated:** [February 18, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/write-a-copy-of-the-current-script/129432 "2008-02-18T20:08:10Z")

</div>

I would like to write a copy of the current script being executed. I’ve attempted to use FILE and $0, but neither is returning the full path name of script. I get the file name, but not the path in which it resides. …

---

## [Require/load/autoload $B$N(B encoding $B%\*%W%7%g%s(B](https://www.ruby-forum.com/t/require-load-autoload-b-n-b-encoding-b-w-7-g-s-b/128471)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 7\
**Last updated:** [February 9, 2008, 10:06am UTC](https://www.ruby-forum.com/t/require-load-autoload-b-n-b-encoding-b-w-7-g-s-b/128471 "2008-02-09T10:06:33Z")

</div>

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B e$B8+$D$1$k$3$H$,$G$-$J$+$C$?$N$G5-210c$$$+$b$7$l$J$$$N$G$9$,!$e(B require e$BEy$N:\]$Ke(B encoding e$B$r;XDj$9$k%\*%W%7%g%s$H$$$&OC$,e(B e$B$A$i$C$H=P$F$$$?$h$&$J5$$,$7$^$9!%e(B e$B$3$l$…

---

## [Problems with defining routes](https://www.ruby-forum.com/t/problems-with-defining-routes/125451)

<div class="topic-metadata">

**Author:** [@Chubbs](https://www.ruby-forum.com/u/Chubbs)\
**Replies:** 7\
**Last updated:** [January 9, 2008, 7:20am UTC](https://www.ruby-forum.com/t/problems-with-defining-routes/125451 "2008-01-09T07:20:54Z")

</div>

hey i am having problems when defining routes like this. map.room ‘room/:name’, :controller =\> ‘room’, :action =\> ‘show’ when i try goto any url such as: /room/123 /room/technology it works fine to goto the show met…

---

## [Rails integration test e file upload: come?](https://www.ruby-forum.com/t/rails-integration-test-e-file-upload-come/123285)

<div class="topic-metadata">

**Author:** [@gabriele\_renzi](https://www.ruby-forum.com/u/gabriele_renzi)\
**Replies:** 7\
**Last updated:** [December 16, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/rails-integration-test-e-file-upload-come/123285 "2007-12-16T19:00:40Z")

</div>

Salve gente, finalmente pure io con una domanda su rails :slight\_smile: Qualcuno ha mai provato a usare fixture\_file\_upload() con gli integration test? Sto provando a testare un’applicazioncina che usa attachment\_fu…

---

## [Suggestions for commenting/documenting view (.rhtml) files?](https://www.ruby-forum.com/t/suggestions-for-commenting-documenting-view-rhtml-files/114548)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 7\
**Last updated:** [September 17, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/suggestions-for-commenting-documenting-view-rhtml-files/114548 "2007-09-17T15:11:42Z")

</div>

I’m writing up my RoR degree project (the project is RoR, not the degree!), and am unsure of how to document/comment the .rhtml files. Has anyone else done this before or have any recommendations/suggestion? Is it bes…

---

## [Partial problem](https://www.ruby-forum.com/t/partial-problem/110049)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 7\
**Last updated:** [July 26, 2007, 5:09am UTC](https://www.ruby-forum.com/t/partial-problem/110049 "2007-07-26T05:09:00Z")

</div>

I created a partial for my login form and I have it in my my login view folder (‘login/\_login.rhtml’), When I call the partial for my login page login.rhtml it works fine. I have it on a layout for all pages that aren…

---

## [Events and Scrolling](https://www.ruby-forum.com/t/events-and-scrolling/103663)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [May 9, 2007, 1:16am UTC](https://www.ruby-forum.com/t/events-and-scrolling/103663 "2007-05-09T01:16:13Z")

</div>

Hi, In Gtk::ComboBoxEntry you can scroll down and scroll up. I want to tie this to a Gtk::Entry and whenever a user scrolls up or down, i want to trigger a specific action in another widget - however, using this: .s…

---

## [ActionMailer (No rhtml, rxml, rjs or delegate template found](https://www.ruby-forum.com/t/actionmailer-no-rhtml-rxml-rjs-or-delegate-template-found/86996)

<div class="topic-metadata">

**Author:** [@Ian\_Duggan](https://www.ruby-forum.com/u/Ian_Duggan)\
**Replies:** 1\
**Last updated:** [February 27, 2007, 1:56pm UTC](https://www.ruby-forum.com/t/actionmailer-no-rhtml-rxml-rjs-or-delegate-template-found/86996 "2007-02-27T13:56:45Z")

</div>

Just spent a chunk of time hunting this down. I don’t see any open issues against this (I only see one open issue?). Anyhow, it seems that engines munge the base\_path of ActionView::Base in such a way that the ActionM…

---

## [Manuals.rubyonrails.com down for two days](https://www.ruby-forum.com/t/manuals-rubyonrails-com-down-for-two-days/79659)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 7\
**Last updated:** [December 18, 2006, 12:01am UTC](https://www.ruby-forum.com/t/manuals-rubyonrails-com-down-for-two-days/79659 "2006-12-18T00:01:31Z")

</div>

I was trying to get to the Capistrano manual on the rubyonrails site, but the whole manuals part of that site seems to be down. Was down yesterday when I tried, and still down today. Any body know what’s up with that…

---

## [What to do when two mixins need to hook into attribute= of a](https://www.ruby-forum.com/t/what-to-do-when-two-mixins-need-to-hook-into-attribute-of-a/77500)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 7\
**Last updated:** [November 28, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/what-to-do-when-two-mixins-need-to-hook-into-attribute-of-a/77500 "2006-11-28T15:49:12Z")

</div>

I can override an ActiveRecord attribute in an mixin as follows: module MyMixin def attribute=(new\_value) write\_attribute :attribute, new\_value end end But what do I do if I have two mixins which may be included in …

---

## [Problems with accessing controllers in sub tree directory](https://www.ruby-forum.com/t/problems-with-accessing-controllers-in-sub-tree-directory/70151)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 7\
**Last updated:** [September 28, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/problems-with-accessing-controllers-in-sub-tree-directory/70151 "2006-09-28T18:32:14Z")

</div>

Hey guys, I used “script/generate controller admin/event” How do I link to the views and the controller when it’s inside a directory. I tried \<%= link\_to “some link”, :controller=\>“event”,:action=\>“index” %\> \<%= li…

---

## [Json variable passing](https://www.ruby-forum.com/t/json-variable-passing/237423)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [November 13, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/json-variable-passing/237423 "2013-11-13T17:26:29Z")

</div>

hello all (ruby newbie) - i have been using PHP for some time now to take a big complicated data structure and pass it right into jScript using something like the following: const Foo=JSON.parse(’\<?php echo addslashe…

---

## [How would I refactor these four \`unless\` statements?](https://www.ruby-forum.com/t/how-would-i-refactor-these-four-unless-statements/235292)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [June 12, 2013, 10:23am UTC](https://www.ruby-forum.com/t/how-would-i-refactor-these-four-unless-statements/235292 "2013-06-12T10:23:26Z")

</div>

Let’s say I have the following four unless statements in a row. At first I thought about using if and elsif statements and negate the condition but I’m not sure which way is suitable/readable/good-practice. unless @pa…

---

## [Ruby on Rail Developer Openings-Berlin,Hamburg,Munich](https://www.ruby-forum.com/t/ruby-on-rail-developer-openings-berlin-hamburg-munich/245432)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 3, 2013, 2:35pm UTC](https://www.ruby-forum.com/t/ruby-on-rail-developer-openings-berlin-hamburg-munich/245432 "2013-06-03T14:35:21Z")

</div>

What we’re looking for? • 3-5years of experience for Senior Developer opening • Beginner to 2 years of experience for Junior Developer opening What the Job offers? • Personal responsibility for implementation of …

---

## [Access\_log to track failed logins](https://www.ruby-forum.com/t/access-log-to-track-failed-logins/225158)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 20, 2012, 3:02pm UTC](https://www.ruby-forum.com/t/access-log-to-track-failed-logins/225158 "2012-12-20T15:02:48Z")

</div>

I have a login page that redirects (actually appends the parameter “?error=true” to the URL and lets the user try again). I was trying to re-define “access\_log” with a full path and (for now) “combined” to a separate …

---

## [Large Sample Spikes after Each Packet in tx\_bursts Example](https://www.ruby-forum.com/t/large-sample-spikes-after-each-packet-in-tx-bursts-example/220644)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 18, 2012, 8:58pm UTC](https://www.ruby-forum.com/t/large-sample-spikes-after-each-packet-in-tx-bursts-example/220644 "2012-06-18T20:58:05Z")

</div>

Hi All, (this might be a duplicate e-mail – if so, sorry everyone!) I am trying to generate on-off traffic patterns with high timing accuracy, so I decided to use the tx\_timed\_samples and tx\_bursts examples to do so. …

---

## [SWIG related problem with new filter function](https://www.ruby-forum.com/t/swig-related-problem-with-new-filter-function/208969)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 4, 2011, 4:44am UTC](https://www.ruby-forum.com/t/swig-related-problem-with-new-filter-function/208969 "2011-07-04T04:44:35Z")

</div>

Hi, Based on gr\_firdes.cc/gr\_firdes.h/gfr\_firdes.i I developed a similar class to generate filter taps for a Raised Cosine filter. The following is the SWIG interface file and the C++ header with .cc file containing …

---

## [OT: Programmers in Padua - meeting](https://www.ruby-forum.com/t/ot-programmers-in-padua-meeting/206330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 6, 2011, 12:16am UTC](https://www.ruby-forum.com/t/ot-programmers-in-padua-meeting/206330 "2011-05-06T00:16:12Z")

</div>

Su richiesta degli organizzatori e per chi interessato/in zona segnalo l’incontro del PiP11: (fb) http://www.facebook.com/event.php?eid=144595512275154 (pdf) http://www.programmersinpadua.it/pip11-4.pdf Michele.

---

## [New gem to showcase JRuby](https://www.ruby-forum.com/t/new-gem-to-showcase-jruby/192668)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 5\
**Last updated:** [August 4, 2010, 6:59pm UTC](https://www.ruby-forum.com/t/new-gem-to-showcase-jruby/192668 "2010-08-04T18:59:08Z")

</div>

Hi all, I just released a gem that provides a nice little example of how to take advantage of JRuby’s ability to use a Java library when it makes sense. It’s not exactly a masterpiece, but it does demonstrate some te…

---

## [Access to java class objects](https://www.ruby-forum.com/t/access-to-java-class-objects/185277)

<div class="topic-metadata">

**Author:** [@jahu](https://www.ruby-forum.com/u/jahu)\
**Replies:** 5\
**Last updated:** [March 18, 2010, 6:07pm UTC](https://www.ruby-forum.com/t/access-to-java-class-objects/185277 "2010-03-18T18:07:24Z")

</div>

Hi all, occasionally I need to get hold of java class objects (e.g. int.class or javax.swing.JLabel.class) from my jruby code. I java I would do Class cls = javax.swing.JLabel.class; What is the jruby equivalent? Cur…

---

## [Testing on Linux VM on winXP 3 times faster than XP](https://www.ruby-forum.com/t/testing-on-linux-vm-on-winxp-3-times-faster-than-xp/159796)

<div class="topic-metadata">

**Author:** [@itsastickup](https://www.ruby-forum.com/u/itsastickup)\
**Replies:** 5\
**Last updated:** [February 9, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/testing-on-linux-vm-on-winxp-3-times-faster-than-xp/159796 "2009-02-09T13:56:47Z")

</div>

Hello, Informational post in case any windows developers are interested. I had heard that ruby on a linux VM running on windows can be faster than on that same install of windows. I recently got fed up waiting 1min & …

---

## [Installazione di passenger (mod\_rails)](https://www.ruby-forum.com/t/installazione-di-passenger-mod-rails/150325)

<div class="topic-metadata">

**Author:** [@enrico](https://www.ruby-forum.com/u/enrico)\
**Replies:** 5\
**Last updated:** [October 7, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/installazione-di-passenger-mod-rails/150325 "2008-10-07T16:17:02Z")

</div>

Ciao a tutti! Sto muovendo i primi passi sul deploy di un’applicazione rails. Ho scelto di utilizzare Passanger come modulo di Apache. Ho installato il tutto su ubuntu server 8.04 seguendo questa guida ben fatta: ht…

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

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