# Top

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

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

---

## [Scope and RAII](https://www.ruby-forum.com/t/scope-and-raii/89980)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [March 24, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/scope-and-raii/89980 "2007-03-24T18:06:09Z")

</div>

def scope(\*args) yield(\*args) end scope(Array.new) { |array| array.push 1 array.push 7 array.push 11 puts array.join(",") } here the variable ‘array’ is gone – is it deallocated? I am interested in using ruby fo…

---

## [Can i shorten up this function?](https://www.ruby-forum.com/t/can-i-shorten-up-this-function/75594)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 7\
**Last updated:** [November 11, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/can-i-shorten-up-this-function/75594 "2006-11-11T16:11:33Z")

</div>

hey there, i have a function that checks to see if a string is in a comma separated list it looks like this def get\_in\_list(status) my\_list = ‘x,j,m,jrn,fnk,foo,other’ my\_list\_array = my\_list.split(’,’) if my\_list\_…

---

## [Mac vs Windows -- app works in Mac and not in Windows](https://www.ruby-forum.com/t/mac-vs-windows-app-works-in-mac-and-not-in-windows/73590)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 26, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/mac-vs-windows-app-works-in-mac-and-not-in-windows/73590 "2006-10-26T18:14:18Z")

</div>

Does anyone know why an application would work on Mac and not on Windows? When I attempt to start WEBrick it tries to start and then it just hangs. There is no error message. Is there a way to debug to get further inf…

---

## [Mongrel](https://www.ruby-forum.com/t/mongrel/71300)

<div class="topic-metadata">

**Author:** [@BSMaffettone](https://www.ruby-forum.com/u/BSMaffettone)\
**Replies:** 7\
**Last updated:** [October 12, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/mongrel/71300 "2006-10-12T19:07:59Z")

</div>

Ciao Ho installato mongrel su un server remoto. Vorrei provarlo in sostituzione di lighttpd scgi per una applicazione giÃ in prod. Mi date un esempio di configurazione standard ed eventualmente un esempio per gest…

---

## [Syntax for specifying :html fallback on form\_remote\_tag](https://www.ruby-forum.com/t/syntax-for-specifying-html-fallback-on-form-remote-tag/100046)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 7\
**Last updated:** [July 28, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/syntax-for-specifying-html-fallback-on-form-remote-tag/100046 "2006-07-28T18:49:09Z")

</div>

Has anyone gotten the :html option for specifying a ‘fallback’ action if javascript’s not enabled working on form\_remote\_tag (or remote\_form\_for)? I can’t figure out how to specify the action that’s supposed to be in…

---

## [Range to integer](https://www.ruby-forum.com/t/range-to-integer/253362)

<div class="topic-metadata">

**Author:** [@Kdobson93](https://www.ruby-forum.com/u/Kdobson93)\
**Replies:** 1\
**Last updated:** [November 20, 2019, 7:51am UTC](https://www.ruby-forum.com/t/range-to-integer/253362 "2019-11-20T07:51:48Z")

</div>

Hi So I’m creating a game using RPG maker XP, which uses RGSS. But I am using a text editor to make sure the a method works before pasting it into the game. I have created a method that loops through an array and when …

---

## [Your connection is not secure](https://www.ruby-forum.com/t/your-connection-is-not-secure/245312)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 6:27pm UTC](https://www.ruby-forum.com/t/your-connection-is-not-secure/245312 "2017-03-29T18:27:45Z")

</div>

how to handle your connection is not secure in ruby

---

## [\_\_method\_\_](https://www.ruby-forum.com/t/method/232013)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 13, 2014, 2:58am UTC](https://www.ruby-forum.com/t/method/232013 "2014-09-13T02:58:44Z")

</div>

Hi, I am a newbie in ruby. I try to read the stdlib code to learn ruby. I got confused In the file lib/find.rb (1.9.3): def find(\*paths) # :yield: path block\_given? or return enum\_for(method, \*paths) … what is the m…

---

## [Ruby with Assembler](https://www.ruby-forum.com/t/ruby-with-assembler/154786)

<div class="topic-metadata">

**Author:** [@bedomax](https://www.ruby-forum.com/u/bedomax)\
**Replies:** 1\
**Last updated:** [December 4, 2008, 12:40am UTC](https://www.ruby-forum.com/t/ruby-with-assembler/154786 "2008-12-04T00:40:43Z")

</div>

Hello everyone At university I have to program in Assembler Which is the way to insert assembler code in Ruby, for example in C + + is the ASM method for entering such codes. Well, thanks for the help Greetings Max…

---

## [Cursor-color in a Gtk::TextView](https://www.ruby-forum.com/t/cursor-color-in-a-gtk-textview/82432)

<div class="topic-metadata">

**Author:** [@Mac\_Tuitui](https://www.ruby-forum.com/u/Mac_Tuitui)\
**Replies:** 1\
**Last updated:** [January 19, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/cursor-color-in-a-gtk-textview/82432 "2007-01-19T17:34:19Z")

</div>

Hello everyone, My name is Alexis Andre, and I have been using ruby-gnome2 to develop simple apps. The only one that I made public can be found at http://duby.rubyforge.org . It is a clone of filelight. I tried to po…

---

## [Variable names not allowed "?" and "!" but method name does - why?](https://www.ruby-forum.com/t/variable-names-not-allowed-and-but-method-name-does-why/235565)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 2, 2013, 9:11am UTC](https://www.ruby-forum.com/t/variable-names-not-allowed-and-but-method-name-does-why/235565 "2013-07-02T09:11:02Z")

</div>

We can write a method name as foo! or foo?; but not the same with variable names. Like foo? = 2 ~\> -:1: syntax error, unexpected ‘=’ ~\> foo? = 2 So why such design?

---

## [Need help on Kernel#eval](https://www.ruby-forum.com/t/need-help-on-kernel-eval/227709)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 5\
**Last updated:** [March 26, 2013, 7:19pm UTC](https://www.ruby-forum.com/t/need-help-on-kernel-eval/227709 "2013-03-26T19:19:51Z")

</div>

From the link → Class: Binding (Ruby 2.0.0) Objects of class Binding encapsulate the execution context at some particular place in the code and retain this context for future use. The variables, methods, value of self…

---

## [Mysql query optimization for order condition](https://www.ruby-forum.com/t/mysql-query-optimization-for-order-condition/226168)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 5\
**Last updated:** [December 16, 2010, 10:48am UTC](https://www.ruby-forum.com/t/mysql-query-optimization-for-order-condition/226168 "2010-12-16T10:48:10Z")

</div>

Hello everyone! I’ve a question that I hope someone in here would be able to answer. Today I was writing a simple test for a method that takes the last “n” (where n is an integer) users that signed up on my web app. …

---

## [Request: jirb --1.9](https://www.ruby-forum.com/t/request-jirb-1-9/179551)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [November 30, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/request-jirb-1-9/179551 "2009-11-30T22:32:14Z")

</div>

C:\\dev\\ruby\\p2pwebclient\\documents\\writeup\\final\>jirb --1.9 c:/dev/ruby/downloads/jruby/lib/ruby/1.8/irb/init.rb:192:in parse\_opts': Unrecognized switch: --1.9 (IRB::UnrecognizedSwitch) from c:/dev/ruby/downloads/jruby…

---

## [Nested form is giving me the wrong params](https://www.ruby-forum.com/t/nested-form-is-giving-me-the-wrong-params/172721)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 5\
**Last updated:** [July 27, 2009, 3:17am UTC](https://www.ruby-forum.com/t/nested-form-is-giving-me-the-wrong-params/172721 "2009-07-27T03:17:36Z")

</div>

I am working on an invoice tracking system for my business and have gotten so close to getting this portion to work! I have an Invoice model with many InvoiceItems. I am following this example (which is based off of r…

---

## [Annoyance with gems and zlib](https://www.ruby-forum.com/t/annoyance-with-gems-and-zlib/164652)

<div class="topic-metadata">

**Author:** [@spobo](https://www.ruby-forum.com/u/spobo)\
**Replies:** 5\
**Last updated:** [April 4, 2009, 1:19am UTC](https://www.ruby-forum.com/t/annoyance-with-gems-and-zlib/164652 "2009-04-04T01:19:22Z")

</div>

Hi … i’ve been trying to get rails up and running on my system. I run OS X leopard. updated ruby to 1.8.7. Installed ruby 1.9 with a suffix following this guide (http://ruby.tie-rack.org/28/installing-19/) So I checke…

---

## [Classic\_pagination error in rails-2.2](https://www.ruby-forum.com/t/classic-pagination-error-in-rails-2-2/153533)

<div class="topic-metadata">

**Author:** [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Replies:** 5\
**Last updated:** [November 30, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/classic-pagination-error-in-rails-2-2/153533 "2008-11-30T21:10:43Z")

</div>

uninitialized constant ActionController::Pagination::Inflector C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active\_support/dependencies.rb:428:in load\_missing\_constant' C:/ruby/lib/ruby/gems/1.8/gems/activesu…

---

## [Nginx et gzip pour les assets rails](https://www.ruby-forum.com/t/nginx-et-gzip-pour-les-assets-rails/120391)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 16, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/nginx-et-gzip-pour-les-assets-rails/120391 "2007-11-16T18:56:26Z")

</div>

Bonjour, je suis en train de tester le déploiement d’une application rails avec nginx et mongrel\_cluster. Tout se passe plutôt bien jusqu’ici mais lorsque je teste mon application, je vois que mes fichiers recupérés d…

---

## [Updating attributes in HABTM association](https://www.ruby-forum.com/t/updating-attributes-in-habtm-association/56878)

<div class="topic-metadata">

**Author:** [@hennebausv](https://www.ruby-forum.com/u/hennebausv)\
**Replies:** 5\
**Last updated:** [April 5, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/updating-attributes-in-habtm-association/56878 "2006-04-05T22:32:49Z")

</div>

Hi, I am trying to find a way tp update attributes in a habtm association. I am trying to use the code from ticket #2462, but as my association\_class\_primary\_key\_name seems to be empty the generated sql code is corru…

---

## [Problem with https connection in Ruby 1.8.4](https://www.ruby-forum.com/t/problem-with-https-connection-in-ruby-1-8-4/102068)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 5\
**Last updated:** [March 29, 2006, 11:12pm UTC](https://www.ruby-forum.com/t/problem-with-https-connection-in-ruby-1-8-4/102068 "2006-03-29T23:12:10Z")

</div>

I’m getting the following error when executing in Ruby 1.8.4 (tried it both on Windows and OS X). I did not see this problem in 1.8.2. Here is the code: def init\_server(url) @url = URI.parse(url) @server = Net::HT…

---

## [Whats the difference of ActiveRuby and "regular" Ruby instal](https://www.ruby-forum.com/t/whats-the-difference-of-activeruby-and-regular-ruby-instal/70777)

<div class="topic-metadata">

**Author:** [@jeisma](https://www.ruby-forum.com/u/jeisma)\
**Replies:** 5\
**Last updated:** [February 21, 2006, 3:07am UTC](https://www.ruby-forum.com/t/whats-the-difference-of-activeruby-and-regular-ruby-instal/70777 "2006-02-21T03:07:22Z")

</div>

hello! as the subject goes, what’s the difference of ActiveRuby and “regular” Ruby install? on windows, ActiveRuby defaults to C:\\program files, while “regular” ruby on c:\\ruby. do i need both if i use ruby as wsh sc…

---

## [Lost connection to MySQL server during query](https://www.ruby-forum.com/t/lost-connection-to-mysql-server-during-query/48986)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 5\
**Last updated:** [November 29, 2005, 7:29pm UTC](https://www.ruby-forum.com/t/lost-connection-to-mysql-server-during-query/48986 "2005-11-29T19:29:49Z")

</div>

hello, I just upgraded to latest version of Rails in an attempt to get rid of the SessionRestore issue discussed here: Peak Obsession. At the bottom of the page, it says this problem has been fixed in the newest ver…

---

## [A digital clock in a thread](https://www.ruby-forum.com/t/a-digital-clock-in-a-thread/233357)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 8, 2014, 12:52pm UTC](https://www.ruby-forum.com/t/a-digital-clock-in-a-thread/233357 "2014-12-08T12:52:42Z")

</div>

My code goes here - Threading a clock in Ruby. - Pastebin.com I’m new to threading and also new to animations. I’m trying to run a thread that prints out the time in (H:M:S) format. Can you look at it and say somethin…

---

## [Nginx 1.7.0 failed make with Phusion Passenger?](https://www.ruby-forum.com/t/nginx-1-7-0-failed-make-with-phusion-passenger/240679)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 25, 2014, 10:32am UTC](https://www.ruby-forum.com/t/nginx-1-7-0-failed-make-with-phusion-passenger/240679 "2014-04-25T10:32:41Z")

</div>

Anyone experience this problem ? I have Nginx 1.5.13 working fine with Phusion Passenger 4.0.37 source compile. But trying to update Nginx from 1.5.13 to 1.7.0 fails at make stage. I tried both Phusion Passenger 4.0.3…

---

## [Calling render from a module](https://www.ruby-forum.com/t/calling-render-from-a-module/203474)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 22, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/calling-render-from-a-module/203474 "2011-02-22T23:21:26Z")

</div>

Ok, so, I’m trying to write my first gem to learn how it all works. Basically the gem would just be an extra view helper, so I want any methods in my module to be accessible in a rails app view. I want my method to ca…

---

## [Need help improving mongodb BSON JRuby native extension](https://www.ruby-forum.com/t/need-help-improving-mongodb-bson-jruby-native-extension/192998)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 4\
**Last updated:** [August 13, 2010, 6:34am UTC](https://www.ruby-forum.com/t/need-help-improving-mongodb-bson-jruby-native-extension/192998 "2010-08-13T06:34:37Z")

</div>

The Mongodb project is adding a native java extension to support JRuby from their Ruby driver. You can see the current code here \[1\]. There’s a “slight” problem though. The native Java code is only about 2x faster tha…

---

## [Nested steps](https://www.ruby-forum.com/t/nested-steps/181511)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [January 13, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/nested-steps/181511 "2010-01-13T19:30:13Z")

</div>

Question. Currently rspec appears to allow for a two-step test system, like context “abc” it ‘should do y’ do end end It might be convenient to have an arbitrary number of nests, like context “abc” it ‘should do …

---

## [Problem when make is called to install gnuradio](https://www.ruby-forum.com/t/problem-when-make-is-called-to-install-gnuradio/166901)

<div class="topic-metadata">

**Author:** [@zainab-qureshi](https://www.ruby-forum.com/u/zainab-qureshi)\
**Replies:** 4\
**Last updated:** [May 1, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/problem-when-make-is-called-to-install-gnuradio/166901 "2009-05-01T12:15:35Z")

</div>

When i make GNU radio on mingw i get the following error. Can someone figure out the problem? $ make make all-recursive make\[1\]: Entering directory /c/gnuradio-3.1.3' Making all in config make\[2\]: Entering director…

---

## [Rack, Warbler and servlet filter behavior](https://www.ruby-forum.com/t/rack-warbler-and-servlet-filter-behavior/156415)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 4\
**Last updated:** [December 27, 2008, 3:25am UTC](https://www.ruby-forum.com/t/rack-warbler-and-servlet-filter-behavior/156415 "2008-12-27T03:25:16Z")

</div>

Hi, I’m trying to get my rack app to run as a true servlet filter within another java web app. I’ve got it running fine as a standalone servlet handler (basically the same web.xml file that warbler created). Is it po…

---

## [Rails, Threads, Mongrel y Webrick](https://www.ruby-forum.com/t/rails-threads-mongrel-y-webrick/127149)

<div class="topic-metadata">

**Author:** [@silvioq](https://www.ruby-forum.com/u/silvioq)\
**Replies:** 4\
**Last updated:** [January 28, 2008, 11:25am UTC](https://www.ruby-forum.com/t/rails-threads-mongrel-y-webrick/127149 "2008-01-28T11:25:01Z")

</div>

Hola amigos: Leo asiduamente esta lista y en alguna oportunidad he contestado aunque no soy un conocedor de Rails. Tengo un inconveniente desde hace unos dÃ­as que tiene que ver con el manejo de Threads. Mi contro…

---

## [How to test if one range of dates overlaps another?](https://www.ruby-forum.com/t/how-to-test-if-one-range-of-dates-overlaps-another/126274)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 4\
**Last updated:** [January 16, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/how-to-test-if-one-range-of-dates-overlaps-another/126274 "2008-01-16T23:27:58Z")

</div>

Hi all, I have a situation with a recurring billing application where I need to test if one range of dates “overlaps” another range of dates. Does anyone know a rails find or mysql select statement that will test for …

---

## [Match until new line](https://www.ruby-forum.com/t/match-until-new-line/84768)

<div class="topic-metadata">

**Author:** [@anon1m0us](https://www.ruby-forum.com/u/anon1m0us)\
**Replies:** 4\
**Last updated:** [February 7, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/match-until-new-line/84768 "2007-02-07T17:59:07Z")

</div>

I am running a server utility that allows me to view server shares and permissions. The command I am using is: SHARES=Array.new SHARES=\`srvcheck \\\\testserver.split("\\n") This will change to be a variable. the outpu…

---

## [Managing number of dispatch.fcgi processes?](https://www.ruby-forum.com/t/managing-number-of-dispatch-fcgi-processes/76743)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 4\
**Last updated:** [March 4, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/managing-number-of-dispatch-fcgi-processes/76743 "2006-03-04T23:10:03Z")

</div>

I have a problem where when I try and access my site a dispatch.fcgi process is started but then exits right after the page has loaded. Requireing it to start all over agin the next time a request is made. I’ve read a…

---

## [Indexed\_search\_engine: index multiple fields](https://www.ruby-forum.com/t/indexed-search-engine-index-multiple-fields/53721)

<div class="topic-metadata">

**Author:** [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Replies:** 4\
**Last updated:** [February 14, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/indexed-search-engine-index-multiple-fields/53721 "2006-02-14T19:24:40Z")

</div>

Does anyone know of a way to index multiple fields in this engine? I’ve tried making an array from the field list, but it doesn’t seem to work. Any help would be appreciated. Thanks Josh

---

## [Announce OOT module for IEEE-802.15.4g MR-FSK](https://www.ruby-forum.com/t/announce-oot-module-for-ieee-802-15-4g-mr-fsk/237410)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 13, 2013, 8:17pm UTC](https://www.ruby-forum.com/t/announce-oot-module-for-ieee-802-15-4g-mr-fsk/237410 "2013-11-13T20:17:49Z")

</div>

I have reached release functionality of out-of-tree module I use to help in PHY conformance/interoperability to the MR-FSK standard in IEEE-802.15.4g. This work was done because this standard is currently being imple…

---

## [GR-Radar, Passive Radar](https://www.ruby-forum.com/t/gr-radar-passive-radar/227698)

<div class="topic-metadata">

**Author:** [@Karl\_Petrow](https://www.ruby-forum.com/u/Karl_Petrow)\
**Replies:** 2\
**Last updated:** [March 26, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/gr-radar-passive-radar/227698 "2013-03-26T20:41:04Z")

</div>

Does anyone have a link to any recent progress made on this? I recently saw this lecture: http://diydrones.com/profiles/blogs/detect-airplaneuav-using and this project http://comsec.com/gnuradio-project-2006.html b…

---

## [Possibble to use fastcgi cache with set-cookie header](https://www.ruby-forum.com/t/possibble-to-use-fastcgi-cache-with-set-cookie-header/193578)

<div class="topic-metadata">

**Author:** [@Jools\_W](https://www.ruby-forum.com/u/Jools_W)\
**Replies:** 2\
**Last updated:** [August 20, 2010, 12:35am UTC](https://www.ruby-forum.com/t/possibble-to-use-fastcgi-cache-with-set-cookie-header/193578 "2010-08-20T00:35:07Z")

</div>

Hi, I’m wondering if it is possible to force fastcgi\_cache even when there is a Set-Cookie header? I was testing with http://nginxtest.exotica.org.uk/index.php which sets Set-Cookie: site=nginxtest; HttpOnly Expire…

---

## [Using an external link with r:navigation](https://www.ruby-forum.com/t/using-an-external-link-with-r-navigation/142898)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 2\
**Last updated:** [April 18, 2010, 2:06am UTC](https://www.ruby-forum.com/t/using-an-external-link-with-r-navigation/142898 "2010-04-18T02:06:03Z")

</div>

My client wants a link in their nav that is outbound. I have their nav setup through the \<r:navigation\> tag, but there is a problem using absolute URLs \<r:navigation urls=“About: /about | Foo: http://foo.com”\> This …

---

## [How to implement drag and drop](https://www.ruby-forum.com/t/how-to-implement-drag-and-drop/156024)

<div class="topic-metadata">

**Author:** [@arati](https://www.ruby-forum.com/u/arati)\
**Replies:** 2\
**Last updated:** [December 19, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/how-to-implement-drag-and-drop/156024 "2008-12-19T15:57:30Z")

</div>

Hi, I have a set of draggable objects inside a span. I tried to implement drag n drop using win32ole library. I used ‘’ function. This funtion requires x and y coordinates of soucre and destination. I was sucessfuly …

---

## [New rails deployment getting errors starting webrick/thin](https://www.ruby-forum.com/t/new-rails-deployment-getting-errors-starting-webrick-thin/145436)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 2\
**Last updated:** [August 10, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/new-rails-deployment-getting-errors-starting-webrick-thin/145436 "2008-08-10T16:02:46Z")

</div>

I just installed rails on a new development environment running ubuntu 8.04 i have installed gem 1.2.0 and the following ruby packages: sudo aptitude install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1…

---

## [How can I count frequency of terms in a document?](https://www.ruby-forum.com/t/how-can-i-count-frequency-of-terms-in-a-document/90957)

<div class="topic-metadata">

**Author:** [@jameskelly](https://www.ruby-forum.com/u/jameskelly)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/how-can-i-count-frequency-of-terms-in-a-document/90957 "2007-09-25T23:09:49Z")

</div>

Hi, there. I need some help. Is there a way to count frequencies of terms in a document on Ferret? I know that Ferret has IndexReader#terms\_docs\_for method which counts all documents. I need to count frequencies of …

---

## [RMagick: Round corner borders on images](https://www.ruby-forum.com/t/rmagick-round-corner-borders-on-images/81361)

<div class="topic-metadata">

**Author:** [@dougal](https://www.ruby-forum.com/u/dougal)\
**Replies:** 2\
**Last updated:** [January 9, 2007, 11:23am UTC](https://www.ruby-forum.com/t/rmagick-round-corner-borders-on-images/81361 "2007-01-09T11:23:36Z")

</div>

Hi there. I’m trying to create rounded corners on images. I looked at the script at: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/137315 but was unable to get it to work. :o( Anyone done this before an…

---

## [Racc Parser help](https://www.ruby-forum.com/t/racc-parser-help/262484)

<div class="topic-metadata">

**Author:** [@ArkansasCoder](https://www.ruby-forum.com/u/ArkansasCoder)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 9:03pm UTC](https://www.ruby-forum.com/t/racc-parser-help/262484 "2022-02-04T21:03:49Z")

</div>

I am building my first simple parser but am running into a problem. I have a racc scanner that is working and outputs a tokens array of arrays of token type and name. For example: \[\[:UNIT, 'one'\], \[:TEN, 'twenty'\]\]. The…

---

## [Rewrite or internal redirection cycle while internally redirecting to "/index.php"](https://www.ruby-forum.com/t/rewrite-or-internal-redirection-cycle-while-internally-redirecting-to-index-php/225285)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 27, 2012, 12:35pm UTC](https://www.ruby-forum.com/t/rewrite-or-internal-redirection-cycle-while-internally-redirecting-to-index-php/225285 "2012-12-27T12:35:19Z")

</div>

Hello everyone, I’m having some issue with X-accel and I’d be happy if someone could look over my configuration file and let me know what I did wrong. I am basically running nginx/1.2.5 with php-fpm 5.3.3 on Centos 5…

---

## [\[GSoC\] It has begun](https://www.ruby-forum.com/t/gsoc-it-has-begun/235042)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [June 5, 2013, 1:23am UTC](https://www.ruby-forum.com/t/gsoc-it-has-begun/235042 "2013-06-05T01:23:07Z")

</div>

Hi everyone, just a quick notice concerning GSoC: It has officially begun, and the students who were accepted have been announced. A full list can be found here: http://www.google-melange.com/gsoc/org/google/gsoc2013…

---

## [Set arbitrary http header?](https://www.ruby-forum.com/t/set-arbitrary-http-header/229430)

<div class="topic-metadata">

**Author:** [@zacharyalexstern](https://www.ruby-forum.com/u/zacharyalexstern)\
**Replies:** 6\
**Last updated:** [February 1, 2013, 9:47pm UTC](https://www.ruby-forum.com/t/set-arbitrary-http-header/229430 "2013-02-01T21:47:47Z")

</div>

Currently in our setup, we are using the X-Real-IP header setting in nginx, to tell in our backend apache logs the IP address of the client. Is it possible to set up nginx to insert an arbitrary HTTP header with text …

---

## [Setting of initial values after start with FCD](https://www.ruby-forum.com/t/setting-of-initial-values-after-start-with-fcd/219018)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [April 20, 2012, 1:07am UTC](https://www.ruby-forum.com/t/setting-of-initial-values-after-start-with-fcd/219018 "2012-04-20T01:07:31Z")

</div>

dear readers, I am using the new GR 3.5.3 (tar) on OpenSuse with FCD. My FCD needs some special values at IQphase an IQgain balance as well as DC I and DC Q offset to suppress unwanted sidebands. When I fill the know…

---

## [\[Rails3\] Whitelist Rails 3 aggressive sanitizer](https://www.ruby-forum.com/t/rails3-whitelist-rails-3-aggressive-sanitizer/203132)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 14, 2011, 9:37am UTC](https://www.ruby-forum.com/t/rails3-whitelist-rails-3-aggressive-sanitizer/203132 "2011-02-14T09:37:46Z")

</div>

I have the following code: \<%= link\_to(image\_tag(…)) %\> The problem is that Rails sanitizes the images so it gets rendered as: \<img src=… /\> I could use html\_safe, but that’s painful and makes my code less readable. …

---

## [Depreciation warning when running a db migrate!](https://www.ruby-forum.com/t/depreciation-warning-when-running-a-db-migrate/193570)

<div class="topic-metadata">

**Author:** [@jakx12](https://www.ruby-forum.com/u/jakx12)\
**Replies:** 6\
**Last updated:** [August 20, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/depreciation-warning-when-running-a-db-migrate/193570 "2010-08-20T13:59:26Z")

</div>

Hey, Whenever i try and run a db migrate i get this error: DEPRECATION WARNING: Rake tasks in vendor/plugins/livevalidation/tasks and vendor/plugins/restful-authentication/tasks are deprecated. Use lib/tasks instead.…

---

## [\[Bug #2776\] can't return from lambda with outer block](https://www.ruby-forum.com/t/bug-2776-cant-return-from-lambda-with-outer-block/183859)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 6\
**Last updated:** [March 1, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/bug-2776-cant-return-from-lambda-with-outer-block/183859 "2010-03-01T15:11:14Z")

</div>

Bug #2776: can’t return from lambda with outer block http://redmine.ruby-lang.org/issues/show/2776 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$BC4Ev\<Te(B: Koichi Sasada, e$B%+%F%4%je(B: core, T…

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

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