# Top

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

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

---

## [String#encode('utf-8') throws IllegalArgumentException on long strings (1505 MByte)](https://www.ruby-forum.com/t/string-encode-utf-8-throws-illegalargumentexception-on-long-strings-1505-mbyte/245645)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 2, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/string-encode-utf-8-throws-illegalargumentexception-on-long-strings-1505-mbyte/245645 "2013-07-02T19:25:38Z")

</div>

Hi, I can reproduce this exception on Mac and Linux, for jruby-1.7.4 and jruby-head. I have not seen it on shorter strings. I have not tested exactly at which size the problem starts to occur, but it seems very repro…

---

## [\[ruby-trunk - Feature #7047\]\[Open\] Add new C API: rb\_newobj\_with](https://www.ruby-forum.com/t/ruby-trunk-feature-7047-open-add-new-c-api-rb-newobj-with/223114)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [October 3, 2012, 5:18am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-7047-open-add-new-c-api-rb-newobj-with/223114 "2012-10-03T05:18:49Z")

</div>

Issue #7047 has been reported by authorNari (Narihiro N.). Feature #7047: Add new C API: rb\_newobj\_with Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: Category: Target version: 2.0.0 n…

---

## [Celluloid 0.1.0: a concurrent object framework for Ruby](https://www.ruby-forum.com/t/celluloid-0-1-0-a-concurrent-object-framework-for-ruby/208577)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 29, 2011, 1:28am UTC](https://www.ruby-forum.com/t/celluloid-0-1-0-a-concurrent-object-framework-for-ruby/208577 "2011-06-29T01:28:12Z")

</div>

Celluloid is a concurrent object framework for Ruby inspired by Erlang and the Actor Model: Github: GitHub - tarcieri/celluloid: My personal fork of Celluloid. Please don't open PRs or issues here. RDoc: http://cell…

---

## [Understanding the return method](https://www.ruby-forum.com/t/understanding-the-return-method/205845)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [April 17, 2011, 4:52pm UTC](https://www.ruby-forum.com/t/understanding-the-return-method/205845 "2011-04-17T16:52:06Z")

</div>

Hi, As always, I’m asking simple questions sorry. Please help me to understand the “return” method because I dont see where or how to use it. Here I’m using the return method but the thing is that if remove it, it a…

---

## [Building ruby on windows 7](https://www.ruby-forum.com/t/building-ruby-on-windows-7/193050)

<div class="topic-metadata">

**Author:** [@manu1001](https://www.ruby-forum.com/u/manu1001)\
**Replies:** 8\
**Last updated:** [November 2, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/building-ruby-on-windows-7/193050 "2010-11-02T15:01:09Z")

</div>

I’m trying to build ruby 1.9.2 rc2 on windows 7. When I run configure.bat it aborts with the following message. cl -nologo -MD rtname.c user32.lib -link \> nul NMAKE : fatal error U1077: ‘cl’ : return code ‘0x2’ Stop. …

---

## [Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems](https://www.ruby-forum.com/t/amazon-s3-paperclip-rails3-basic-setup-noob-simple-problems/198305)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [October 31, 2010, 10:04pm UTC](https://www.ruby-forum.com/t/amazon-s3-paperclip-rails3-basic-setup-noob-simple-problems/198305 "2010-10-31T22:04:17Z")

</div>

Hi all, I’ve got a feeling from other posts that this should be very simple, but believe me I’ve looked around many tutorials / blogs, but still cant even get the most basic setup working with paperclip and s3. I am h…

---

## [\[ANN\] JRuby 1.1.6RC1 Released](https://www.ruby-forum.com/t/ann-jruby-1-1-6rc1-released/154856)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 8\
**Last updated:** [December 5, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/ann-jruby-1-1-6rc1-released/154856 "2008-12-05T19:31:50Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.1.6RC1! Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.1.6RC1 is the first release candidate for our sixth point r…

---

## [Â¿CÃ³mo mantener las sesiones pequeÃ±as?](https://www.ruby-forum.com/t/a-ca-mo-mantener-las-sesiones-pequea-as/116875)

<div class="topic-metadata">

**Author:** [@vicmargar](https://www.ruby-forum.com/u/vicmargar)\
**Replies:** 8\
**Last updated:** [October 10, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/a-ca-mo-mantener-las-sesiones-pequea-as/116875 "2007-10-10T21:18:16Z")

</div>

A ver si alguien me puede ayudar con una duda. Generalmente se suele recomendar mantener las sesiones pequeÃ±as, lo cual implica almacenar exclusivamente ids de objetos en vez de objetos enteros y acceder al objeto en…

---

## [Re: Array#to\_s in Ruby 1.9 Head](https://www.ruby-forum.com/t/re-array-to-s-in-ruby-1-9-head/72934)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 8\
**Last updated:** [October 20, 2006, 6:46am UTC](https://www.ruby-forum.com/t/re-array-to-s-in-ruby-1-9-head/72934 "2006-10-20T06:46:45Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] Mauricio F. writes in eigenclass.org +Ruby+1.9+update+5 that Ruby 1.9 Head has changed Array#to\_s to be an alias for Array#to\_…

---

## [Ferret 0.10.11 & AAF: sorting Time fields doesn't work](https://www.ruby-forum.com/t/ferret-0-10-11-aaf-sorting-time-fields-doesnt-work/72033)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 3\
**Last updated:** [October 14, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/ferret-0-10-11-aaf-sorting-time-fields-doesnt-work/72033 "2006-10-14T17:37:46Z")

</div>

Ferret 0.10.11 & AAF: the time seems to be stored in a format that can’t be sorted, the order doesn’t make any sense. Workaround: use to\_i on the Time object before putting it into the index.

---

## [Writing a script to download videos](https://www.ruby-forum.com/t/writing-a-script-to-download-videos/239103)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 12, 2014, 9:52am UTC](https://www.ruby-forum.com/t/writing-a-script-to-download-videos/239103 "2014-02-12T09:52:53Z")

</div>

I’m trying to write a script to download my edX course videos for me. This is what I’ve written but it doesn’t seem to be working. can someone help me out please? require ‘open-uri’ require ‘rubygems’ File.open(“v…

---

## [Terminating benckmark\_rx.py after TIMEOUT](https://www.ruby-forum.com/t/terminating-benckmark-rx-py-after-timeout/227804)

<div class="topic-metadata">

**Author:** [@sumitstop](https://www.ruby-forum.com/u/sumitstop)\
**Replies:** 4\
**Last updated:** [March 29, 2013, 8:41am UTC](https://www.ruby-forum.com/t/terminating-benckmark-rx-py-after-timeout/227804 "2013-03-29T08:41:21Z")

</div>

How can I terminate benchmark\_rx.py after a certain number of TIMEOUTS. I have observed two things When I dump Tx data using --to-file option and then demod them using benchmark\_rx , benchmark\_rx terminates after de…

---

## [Sqrt of rational numbers](https://www.ruby-forum.com/t/sqrt-of-rational-numbers/220601)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 14, 2012, 3:13pm UTC](https://www.ruby-forum.com/t/sqrt-of-rational-numbers/220601 "2012-06-14T15:13:45Z")

</div>

I was a bit surprised when I ran the following irb(main):001:0\> include Math =\> Object irb(main):002:0\> sqrt(Rational(16,9)) =\> 1.3333333333333333 I was able to correct this as follows: include Math class Integer …

---

## [Private method - Fixnum (NoMethodError)](https://www.ruby-forum.com/t/private-method-fixnum-nomethoderror/170447)

<div class="topic-metadata">

**Author:** [@koko](https://www.ruby-forum.com/u/koko)\
**Replies:** 4\
**Last updated:** [June 30, 2009, 5:14pm UTC](https://www.ruby-forum.com/t/private-method-fixnum-nomethoderror/170447 "2009-06-30T17:14:03Z")

</div>

Dear All, I can’t find the error in my code. Can you explain me "private method Fixnum (NoMethodError)"? Many thanks in advance, koko def subtotal(qty = 1) return nil if self.to\_f \<= 0 || qty.to\_f \<= 0 self.to\_f …

---

## [How do i refresh a window](https://www.ruby-forum.com/t/how-do-i-refresh-a-window/154787)

<div class="topic-metadata">

**Author:** [@ramo](https://www.ruby-forum.com/u/ramo)\
**Replies:** 4\
**Last updated:** [December 11, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/how-do-i-refresh-a-window/154787 "2008-12-11T21:19:10Z")

</div>

wel, I’m back with another newbee question. the problem i’m having and that i coldn’t find it on the internet is how to refresh a window, but someting more explained, maybe a tutorial or some doc? when i put muy wind…

---

## [Ruby con Ensamblador](https://www.ruby-forum.com/t/ruby-con-ensamblador/154785)

<div class="topic-metadata">

**Author:** [@bedomax](https://www.ruby-forum.com/u/bedomax)\
**Replies:** 4\
**Last updated:** [December 4, 2008, 12:52am UTC](https://www.ruby-forum.com/t/ruby-con-ensamblador/154785 "2008-12-04T00:52:41Z")

</div>

Hola a todos En la universidad me han mandado hacer un programa con ensamblador. Cual es la forma de insertar cÃ³digo assembler en Ruby, por ejemplo en C++ existe el metodo ASM para ingresar ese tipo de cÃ³digos. Bue…

---

## [Saving HTML as MHT](https://www.ruby-forum.com/t/saving-html-as-mht/191798)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 2\
**Last updated:** [July 19, 2010, 3:34am UTC](https://www.ruby-forum.com/t/saving-html-as-mht/191798 "2010-07-19T03:34:45Z")

</div>

Hello. I want to download some HTML page, but I also want to save with it the images it contains. I was thinking about saving it as a MHT file, this will make my life easier because I won’t have to handle the files. I…

---

## [Create pseudo sandbox for hosted IronRuby script](https://www.ruby-forum.com/t/create-pseudo-sandbox-for-hosted-ironruby-script/183105)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 2\
**Last updated:** [February 9, 2010, 1:11pm UTC](https://www.ruby-forum.com/t/create-pseudo-sandbox-for-hosted-ironruby-script/183105 "2010-02-09T13:11:35Z")

</div>

Hi, I have an multi-user VoIP application that allows users to execute IronRuby scripts for their call dial plans. I’m looking to restrict what the IronRuby scripts are allowed to do to protect the server in case a n…

---

## [Can not download plugins for jEdit (help!)](https://www.ruby-forum.com/t/can-not-download-plugins-for-jedit-help/75335)

<div class="topic-metadata">

**Author:** [@BillJosephson](https://www.ruby-forum.com/u/BillJosephson)\
**Replies:** 2\
**Last updated:** [November 9, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/can-not-download-plugins-for-jedit-help/75335 "2006-11-09T13:38:31Z")

</div>

Hi all. I am trying to use jEdit, but can’t seem to download any plugins. I go to Plugin Manager, and select Download options. I update the mirro and can see lots of servers. I select the first (plugin central default…

---

## [Nginx Cache and WP canonical URL create infinite loop (bug ?)](https://www.ruby-forum.com/t/nginx-cache-and-wp-canonical-url-create-infinite-loop-bug/214167)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [November 24, 2011, 2:35pm UTC](https://www.ruby-forum.com/t/nginx-cache-and-wp-canonical-url-create-infinite-loop-bug/214167 "2011-11-24T14:35:32Z")

</div>

Hello everybody. Just want to report this to all people who have an NGINX that cache request in front a Wordpress installation Scenario Nginx is configured as reverse proxy in front of an Apache that run Wordpress. …

---

## [Question about gem licensing in RoR world](https://www.ruby-forum.com/t/question-about-gem-licensing-in-ror-world/207996)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [June 8, 2011, 10:05am UTC](https://www.ruby-forum.com/t/question-about-gem-licensing-in-ror-world/207996 "2011-06-08T10:05:42Z")

</div>

Hy guys, What is the situation in licensing a particular gem ? For example, I can download and install the rails gem with “gem install”, and this procedure does not ask me to agree with the particular licensing rules…

---

## [Server\_name \_; doesn't work](https://www.ruby-forum.com/t/server-name-doesnt-work/184800)

<div class="topic-metadata">

**Author:** [@kleinchris](https://www.ruby-forum.com/u/kleinchris)\
**Replies:** 6\
**Last updated:** [March 9, 2010, 1:34am UTC](https://www.ruby-forum.com/t/server-name-doesnt-work/184800 "2010-03-09T01:34:18Z")

</div>

Hello, when I set a default vhosts with server\_name \_; it doesn’t work. Here the example file: server { listen 80; server\_name \_ ; # underdash means for all hosts location / { root /var/www/html; …

---

## [Anyone use rubyscript2exe to change app to .exe?](https://www.ruby-forum.com/t/anyone-use-rubyscript2exe-to-change-app-to-exe/136364)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 6\
**Last updated:** [May 1, 2008, 9:33am UTC](https://www.ruby-forum.com/t/anyone-use-rubyscript2exe-to-change-app-to-exe/136364 "2008-05-01T09:33:39Z")

</div>

hi. I want to make .exe that can run in other computer in my app that I use ruby-gnome2 GUI. I follow this guide http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips\_rubyscript2exe in ‘rubyscript2exe on Windows, solution …

---

## [\[OT\] Centro de rehabilitaciÃ³n para 	programadores Java gracias a Ruby](https://www.ruby-forum.com/t/ot-centro-de-rehabilitacia-n-para-programadores-java-gracias-a-ruby/132177)

<div class="topic-metadata">

**Author:** [@Pablo\_Formoso\_E](https://www.ruby-forum.com/u/Pablo_Formoso_E)\
**Replies:** 6\
**Last updated:** [March 18, 2008, 9:20am UTC](https://www.ruby-forum.com/t/ot-centro-de-rehabilitacia-n-para-programadores-java-gracias-a-ruby/132177 "2008-03-18T09:20:52Z")

</div>

A modo de broma, me hizo gracia este post: Un saludo a todos.

---

## [\[ANN\] Rails 3.0.10](https://www.ruby-forum.com/t/ann-rails-3-0-10/210774)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 17, 2011, 1:34am UTC](https://www.ruby-forum.com/t/ann-rails-3-0-10/210774 "2011-08-17T01:34:22Z")

</div>

Hi everyone, Rails 3.0.10 has been released. This release contains critical security fixes. CHANGES You can find an exhaustive list of changes on github. Here are some notable excerpts: 4 Security Fixes Filter…

---

## [Decoding funcube telemetry with gnuradio](https://www.ruby-forum.com/t/decoding-funcube-telemetry-with-gnuradio/237329)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 8, 2013, 11:03pm UTC](https://www.ruby-forum.com/t/decoding-funcube-telemetry-with-gnuradio/237329 "2013-11-08T23:03:28Z")

</div>

FUNcube-1 will be launched in about two weeks time and I would like to ask if anybody has aleady worked or is working on receiving / decoding the FUNcube telemetry with gnuradio (and an RTL-SDR as receiver)? Modulatio…

---

## [Howto enter nonbreaking spaces in I18n translarion file](https://www.ruby-forum.com/t/howto-enter-nonbreaking-spaces-in-i18n-translarion-file/204092)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 4, 2011, 9:08pm UTC](https://www.ruby-forum.com/t/howto-enter-nonbreaking-spaces-in-i18n-translarion-file/204092 "2011-03-04T21:08:38Z")

</div>

I have the following in my en.yml file date\_time\_key: “yyyy mm dd hh:mm utc ±hmm” I would like to have the spaces in ‘yyyy mm dd’ and ‘utc ±hmm’ replaced with a non-breaking character unicode \<U+00A0\>. How is this do…

---

## [A patch for using postfix as smtp-backend with xclient extension](https://www.ruby-forum.com/t/a-patch-for-using-postfix-as-smtp-backend-with-xclient-extension/132697)

<div class="topic-metadata">

**Author:** [@Yingbo\_Qiu](https://www.ruby-forum.com/u/Yingbo_Qiu)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/a-patch-for-using-postfix-as-smtp-backend-with-xclient-extension/132697 "2008-03-23T19:29:55Z")

</div>

Hi, Igor The XCLIENT command that nginx send to backend include “LOGIN=foobar” attribute. But postfix couldn’t recognise it and report “501 5.5.4 Bad XCLIENT attribute name: LOGIN” and close connection. I wrote this …

---

## [How to intercept an instance method from StdLib (1.9.2)](https://www.ruby-forum.com/t/how-to-intercept-an-instance-method-from-stdlib-1-9-2/204061)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 6, 2011, 11:53am UTC](https://www.ruby-forum.com/t/how-to-intercept-an-instance-method-from-stdlib-1-9-2/204061 "2011-03-06T11:53:56Z")

</div>

Hi, I’m struggling with something that seems to be simple, and I’ve not had any joy following the RSpec books suggestions (p. 187). I’d like to test that a method raises and error when a file is not found. I’ve trie…

---

## [Nginx, Sinatra, HAML, GlassFish gem blogs](https://www.ruby-forum.com/t/nginx-sinatra-haml-glassfish-gem-blogs/166884)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 5\
**Last updated:** [April 30, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/nginx-sinatra-haml-glassfish-gem-blogs/166884 "2009-04-30T18:07:42Z")

</div>

I’ve published a few blog entries this week that’ll be useful for this audience: nginx + GlassFish recipe: http://blogs.sun.com/arungupta/entry/totd\_81\_how\_to\_use Sinatra CRUD + HAML + GlassFish Gem: http://blogs.su…

---

## [Problema subiendo archivos con file\_field](https://www.ruby-forum.com/t/problema-subiendo-archivos-con-file-field/148620)

<div class="topic-metadata">

**Author:** [@juancarom](https://www.ruby-forum.com/u/juancarom)\
**Replies:** 5\
**Last updated:** [September 15, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/problema-subiendo-archivos-con-file-field/148620 "2008-09-15T18:57:24Z")

</div>

Hola a todos nuevamente! Aqui estoy yo molestando con otro de mis problemas… resulta que esta vez necesito que los usuarios suban archivos XLS al sistema, para esto utilicé un tutorial que encontré en la web \[1\]. El p…

---

## [Remove instance of model and its associations](https://www.ruby-forum.com/t/remove-instance-of-model-and-its-associations/142282)

<div class="topic-metadata">

**Author:** [@THEBIGO](https://www.ruby-forum.com/u/THEBIGO)\
**Replies:** 5\
**Last updated:** [July 6, 2008, 1:03am UTC](https://www.ruby-forum.com/t/remove-instance-of-model-and-its-associations/142282 "2008-07-06T01:03:50Z")

</div>

I’m a newb with a quick question. I have a model class Call has\_many :visits and class Visit belongs\_to :call If I delete a call will it automatically delete the associated visits?? Any help will be greatly appr…

---

## [Stoping bots and wget in nginx](https://www.ruby-forum.com/t/stoping-bots-and-wget-in-nginx/123557)

<div class="topic-metadata">

**Author:** [@Alexis\_Torres\_Garni](https://www.ruby-forum.com/u/Alexis_Torres_Garni)\
**Replies:** 5\
**Last updated:** [December 20, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/stoping-bots-and-wget-in-nginx/123557 "2007-12-20T18:37:06Z")

</div>

Hi guys, I am new to the list. Is there a way to stop or block the bots access and wget to a nginx web server? tnks att: alex

---

## [Question about Array's size instance method](https://www.ruby-forum.com/t/question-about-arrays-size-instance-method/81801)

<div class="topic-metadata">

**Author:** [@javamllama](https://www.ruby-forum.com/u/javamllama)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/question-about-arrays-size-instance-method/81801 "2007-09-25T22:50:44Z")

</div>

Hello all, I have a quick question regarding the way the size instance method works for Arrays. When an array is asked for its size multiple times in a piece of code (say a method). Which of the following happens? a…

---

## [Text Editor for Windows with SFTP support + Ruby syntax high](https://www.ruby-forum.com/t/text-editor-for-windows-with-sftp-support-ruby-syntax-high/109435)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 5\
**Last updated:** [July 27, 2007, 4:27am UTC](https://www.ruby-forum.com/t/text-editor-for-windows-with-sftp-support-ruby-syntax-high/109435 "2007-07-27T04:27:03Z")

</div>

Does anybody know of any good text editors for Windows with SFTP support + Ruby syntax highlighting? SFTP support could include the ability to automatically sync projects and/or the abillity to edit remote files local…

---

## [Link\_to](https://www.ruby-forum.com/t/link-to/93207)

<div class="topic-metadata">

**Author:** [@raj](https://www.ruby-forum.com/u/raj)\
**Replies:** 5\
**Last updated:** [April 29, 2007, 11:19am UTC](https://www.ruby-forum.com/t/link-to/93207 "2007-04-29T11:19:57Z")

</div>

\<%= link\_to “Home”, :controller =\> ‘home’, :action =\> ‘index’ %\> I need to format “Home” like make it bold, chage it color, put it in div element…i tried putting that line in div tag but its not working… How do I do t…

---

## [PHP path\_info problem](https://www.ruby-forum.com/t/php-path-info-problem/243917)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [January 28, 2016, 11:58pm UTC](https://www.ruby-forum.com/t/php-path-info-problem/243917 "2016-01-28T23:58:19Z")

</div>

I have a web app in php that relays on path\_info to processs a request but i always get a 404 when do http://localhost/folder/app/app.php/controller/method nginx always respond 404 any ideas how to solve this and gai…

---

## [Monkey patch Exception class](https://www.ruby-forum.com/t/monkey-patch-exception-class/228985)

<div class="topic-metadata">

**Author:** [@hoshbad](https://www.ruby-forum.com/u/hoshbad)\
**Replies:** 3\
**Last updated:** [May 15, 2013, 2:00am UTC](https://www.ruby-forum.com/t/monkey-patch-exception-class/228985 "2013-05-15T02:00:44Z")

</div>

What I want to achieve is, is that I can hook into the Exception class of Ruby so that I can trigger special logging events, when an exception occurs. I could easily define custom error classes, but I would like to ta…

---

## [Graphs with decorated edges](https://www.ruby-forum.com/t/graphs-with-decorated-edges/87567)

<div class="topic-metadata">

**Author:** [@Edgardo\_H](https://www.ruby-forum.com/u/Edgardo_H)\
**Replies:** 3\
**Last updated:** [March 4, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/graphs-with-decorated-edges/87567 "2007-03-04T16:36:10Z")

</div>

Hello dear rubyists, I’m working on an application that simulates several components interacting with each other. I would like to represent this situation using a graph, where each component is a vertex and the intera…

---

## [How to mock a model method for unit tests?](https://www.ruby-forum.com/t/how-to-mock-a-model-method-for-unit-tests/63486)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [June 15, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/how-to-mock-a-model-method-for-unit-tests/63486 "2006-06-15T18:25:38Z")

</div>

I have a model class, say, model.rb, and in the normal course of things it creates an instance of another class, say utility.rb (also in the models directory). class Utility def initialize(obj) # do stuff… end def…

---

## [Text\_field\_tag options](https://www.ruby-forum.com/t/text-field-tag-options/60122)

<div class="topic-metadata">

**Author:** [@Spyros\_Vasileiadis](https://www.ruby-forum.com/u/Spyros_Vasileiadis)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/text-field-tag-options/60122 "2006-05-10T14:52:24Z")

</div>

Hi all, can someone explain to me how the options for helper text\_field\_tag supposed to be written. I really tried a bunch of stuff without success. For example I need a field with id “query”, so I write \<%= text\_fie…

---

## [Simple Skript Codierung](https://www.ruby-forum.com/t/simple-skript-codierung/262315)

<div class="topic-metadata">

**Author:** [@specie](https://www.ruby-forum.com/u/specie)\
**Replies:** 2\
**Last updated:** [December 28, 2021, 6:13pm UTC](https://www.ruby-forum.com/t/simple-skript-codierung/262315 "2021-12-28T18:13:42Z")

</div>

Hello, I am trying to learn ruby and wanted to try a simple script from a book. unfortunately this does not work. puts "Text:" text = gets.chomp print "Schlüssel (1..255):" key = gets.to\_i #Fehlermeldung und Ende bei …

---

## [Parsing KML files with REXML?](https://www.ruby-forum.com/t/parsing-kml-files-with-rexml/259138)

<div class="topic-metadata">

**Author:** [@Winfried](https://www.ruby-forum.com/u/Winfried)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 1:55pm UTC](https://www.ruby-forum.com/t/parsing-kml-files-with-rexml/259138 "2020-07-08T13:55:03Z")

</div>

Hello, I’m only getting started with Ruby, and need to edit KML files. According to this article, it looks like two major tools are available to parse XML files: REXML which is pure Ruby and is included in the Windows …

---

## [Mongrel Hanging (Apache, mod\_proxy, Mongrel Cluster, Rails)](https://www.ruby-forum.com/t/mongrel-hanging-apache-mod-proxy-mongrel-cluster-rails/171257)

<div class="topic-metadata">

**Author:** [@Justin\_Erickson](https://www.ruby-forum.com/u/Justin_Erickson)\
**Replies:** 2\
**Last updated:** [February 8, 2010, 3:08pm UTC](https://www.ruby-forum.com/t/mongrel-hanging-apache-mod-proxy-mongrel-cluster-rails/171257 "2010-02-08T15:08:38Z")

</div>

We have been having a problem with our mongrel servers hanging at seemingly random times. The problem can be most often reproduced by accessing a page, leaving the browser open for some time (60+ min) then making anot…

---

## [High CPU usage problem](https://www.ruby-forum.com/t/high-cpu-usage-problem/136050)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 2\
**Last updated:** [April 30, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/high-cpu-usage-problem/136050 "2008-04-30T12:53:53Z")

</div>

Hi, Iâ€™ve been working with ruby on rails now for around 4 weeks, I am having several issues with an apps Iâ€™m working on that was not developed by myself, the site was made by a company that we no longer in contac…

---

## [Instalar gemas localemente](https://www.ruby-forum.com/t/instalar-gemas-localemente/91182)

<div class="topic-metadata">

**Author:** [@albertofs](https://www.ruby-forum.com/u/albertofs)\
**Replies:** 2\
**Last updated:** [April 10, 2007, 11:24am UTC](https://www.ruby-forum.com/t/instalar-gemas-localemente/91182 "2007-04-10T11:24:10Z")

</div>

sabeis algÃºn buen enlace donde te expliquen bien Â¿cÃ³mo instalar localmente las gemas, para cuando en nuestros shared hosting no nos dejen? La Ãºltima vez, seguÃ­ un par de instrucciones y me carguÃ© toda la instal…

---

## [Invalid multibyte escape: /\[\\177-\\377\]/](https://www.ruby-forum.com/t/invalid-multibyte-escape-177-377/263974)

<div class="topic-metadata">

**Author:** [@jsusmina](https://www.ruby-forum.com/u/jsusmina)\
**Replies:** 1\
**Last updated:** [June 13, 2023, 9:50pm UTC](https://www.ruby-forum.com/t/invalid-multibyte-escape-177-377/263974 "2023-06-13T21:50:23Z")

</div>

Hi! Are you familiar with this error “/data/cvs/doc/doclocations/CVSROOT/cvsspam.rb:173: invalid multibyte escape: /\[\\177-\\377\]/” This is running fine on ruby 1.8 but has error on ruby 2.0 Thanks in advance. Regards, …

---

## [Re: using uhd\_fft with USRP1](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [May 19, 2014, 3:48pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208 "2014-05-19T15:48:51Z")

</div>

On Wed, Apr 30, 2014 at 4:17 AM, Martin B. removed\_email\_address@domain.invalidwrote: Unfortunately it becomes incompatible after the uhd update: RuntimeError: GR-UHD detected ABI compatibility mismatch with UHD lib…

---

## [Need to change loudness of a mp3 file using ruby script](https://www.ruby-forum.com/t/need-to-change-loudness-of-a-mp3-file-using-ruby-script/227605)

<div class="topic-metadata">

**Author:** [@chandan0707](https://www.ruby-forum.com/u/chandan0707)\
**Replies:** 7\
**Last updated:** [March 25, 2013, 3:06am UTC](https://www.ruby-forum.com/t/need-to-change-loudness-of-a-mp3-file-using-ruby-script/227605 "2013-03-25T03:06:39Z")

</div>

I need to change the loudness of a mp3 file using mp3gain.I am toatally helpless how to do that. How to fetch a file in ruby program and then set the loudness.

---

## [Rails in produzione su Windows](https://www.ruby-forum.com/t/rails-in-produzione-su-windows/224875)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [December 2, 2012, 11:00pm UTC](https://www.ruby-forum.com/t/rails-in-produzione-su-windows/224875 "2012-12-02T23:00:10Z")

</div>

Innanzitutto salve a tutti!!! E’ da un po che leggo e seguo questo forum (come ogni sviluppatore Ruby e Ror in italia :smiley: )ma e’ la prima volta che posto. Ho fatto varie esperienze di pubblicazioni di applicativi…

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

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