# Top

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

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

---

## [Clean way to "inject" raw text from within a \<%%\> block?](https://www.ruby-forum.com/t/clean-way-to-inject-raw-text-from-within-a-block/78556)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 4\
**Last updated:** [December 6, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/clean-way-to-inject-raw-text-from-within-a-block/78556 "2006-12-06T22:34:32Z")

</div>

Source : \<% case list\_type.upcase when “BASE” then %\> Base Coverages \<% when “OPTIONAL” then %\> Optional Coverages \<% else “asdfadasdF” %\> Bogus \<% end %\> The above just looks sloppy to me… I would have hoped for …

---

## [Pasar parÃ¡metros](https://www.ruby-forum.com/t/pasar-para-metros/77120)

<div class="topic-metadata">

**Author:** [@Jantons](https://www.ruby-forum.com/u/Jantons)\
**Replies:** 4\
**Last updated:** [November 28, 2006, 8:58pm UTC](https://www.ruby-forum.com/t/pasar-para-metros/77120 "2006-11-28T20:58:29Z")

</div>

Hola, para aprender, estoy creando un mini-planificador de viajes casero. Tengo creado controlador/modelo… y bases de datos de: Viaje y To-do. Y funcionan OK. Paro ahora estÃ¡n separados, he creado los has\_many y bel…

---

## [Sites multiples avec mongrel](https://www.ruby-forum.com/t/sites-multiples-avec-mongrel/66095)

<div class="topic-metadata">

**Author:** [@evaisse](https://www.ruby-forum.com/u/evaisse)\
**Replies:** 4\
**Last updated:** [August 23, 2006, 3:01pm UTC](https://www.ruby-forum.com/t/sites-multiples-avec-mongrel/66095 "2006-08-23T15:01:22Z")

</div>

Bonjour, J’ai un site qui tourne avec lighttpd et l’autre avec mongrel sur mon dÃ©diÃ©. Comme je passe pas mal de temps Ã configurer tout Ã§a et que c’est pas vraiment ma passion, j’aimerais crÃ©er une instance de m…

---

## [Iconv buffer overflow?](https://www.ruby-forum.com/t/iconv-buffer-overflow/61909)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 4\
**Last updated:** [May 30, 2006, 12:58pm UTC](https://www.ruby-forum.com/t/iconv-buffer-overflow/61909 "2006-05-30T12:58:59Z")

</div>

Hi all. require ‘iconv’ max\_length = 513 str = ’ ’ \* max\_length Iconv.new(‘utf-8’, ‘windows-1252’).iconv(str) Error:in \`Iconv#iconv’: " " (Iconv::BrokenLibrary) If max\_length \<= 512, all is OK. Is it normal? Is i…

---

## [In-place form editing](https://www.ruby-forum.com/t/in-place-form-editing/58124)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 4\
**Last updated:** [April 28, 2006, 11:59pm UTC](https://www.ruby-forum.com/t/in-place-form-editing/58124 "2006-04-28T23:59:43Z")

</div>

Ive been following the rails recipes (great book) and wanted to have a larger a text field when editing in place. The chapter it mentions that I can “force the InPlaceEditor to create either a text ï¬eld or a ï¬el…

---

## [STI and foreign\_key problem](https://www.ruby-forum.com/t/sti-and-foreign-key-problem/57096)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 4\
**Last updated:** [April 7, 2006, 1:18pm UTC](https://www.ruby-forum.com/t/sti-and-foreign-key-problem/57096 "2006-04-07T13:18:51Z")

</div>

Hi, I am trying to use STI since my classes only vary by one column in the database. Here is the structure (names have been changed to protect the innocent): Case / \\ Registered Initial \\ / Children …

---

## [To Chris Hall - Re: DB Modelling the Rails way - Opinions?](https://www.ruby-forum.com/t/to-chris-hall-re-db-modelling-the-rails-way-opinions/59955)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 4\
**Last updated:** [January 7, 2006, 8:20am UTC](https://www.ruby-forum.com/t/to-chris-hall-re-db-modelling-the-rails-way-opinions/59955 "2006-01-07T08:20:33Z")

</div>

Chris, Finally got time to fully play with your suggestions. Had to re-code a bit of stuff but the concept works - just like a bought one :~). Many thanks for the solution, Kind Regards, Eric. For those curious - h…

---

## [.XML running PHP getting 403](https://www.ruby-forum.com/t/xml-running-php-getting-403/244113)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 22, 2016, 2:10pm UTC](https://www.ruby-forum.com/t/xml-running-php-getting-403/244113 "2016-02-22T14:10:15Z")

</div>

Hi, I want a PHP file to have the extension of .xml but when i do the below when accessing the php file via web browser i get a access denied. location ~ ^(.+.xml)(/.\*)?$ { fastcgi\_pass unix:/var/run/php5-fpm.sock; …

---

## [Caching not working with rack::offline in rails 4](https://www.ruby-forum.com/t/caching-not-working-with-rack-offline-in-rails-4/232259)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 29, 2014, 2:31pm UTC](https://www.ruby-forum.com/t/caching-not-working-with-rack-offline-in-rails-4/232259 "2014-09-29T14:31:38Z")

</div>

HI, I am trying to add the offline access with my rails 4 application with the reference of railscast ( #248 Offline Apps Part 2 - RailsCasts), but the problem with rails 4 is its not caching the JS & CSS files. its …

---

## [Unable to use custom variable with limit\_conn\_zone](https://www.ruby-forum.com/t/unable-to-use-custom-variable-with-limit-conn-zone/232249)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 27, 2014, 9:57pm UTC](https://www.ruby-forum.com/t/unable-to-use-custom-variable-with-limit-conn-zone/232249 "2014-09-27T21:57:02Z")

</div>

I am trying to use the limit connections / limit request. I have the server behind a proxy, the proxy has the following line : proxy\_set\_header X-Real-IP $remote\_addr; and in my nginx.conf on my server …

---

## [Regarding proxy\_next\_upstream parameter](https://www.ruby-forum.com/t/regarding-proxy-next-upstream-parameter/231479)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2014, 12:57pm UTC](https://www.ruby-forum.com/t/regarding-proxy-next-upstream-parameter/231479 "2014-08-15T12:57:01Z")

</div>

Hi, I am trying to do failover as per below configuration :- upstream backend { hash $key2 consistent; server 10.0.0.22:8080; server 10.0.0.23:8080; server 10.0.0.24:8080; server 10.0.0.25:8080; server 10.0.0.26:…

---

## [Changes to ngx.argnot getting reflected in final response](https://www.ruby-forum.com/t/changes-to-ngx-argnot-getting-reflected-in-final-response/230648)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [July 2, 2014, 1:46am UTC](https://www.ruby-forum.com/t/changes-to-ngx-argnot-getting-reflected-in-final-response/230648 "2014-07-02T01:46:45Z")

</div>

header\_filter\_by\_lua ’ ngx.header.content\_length = nil ngx.header.set\_cookie = nil if ngx.header.location then local \_location = ngx.header.location \_location = ngx.escape\_u…

---

## [\[ruby-trunk - Bug #8856\]\[Open\] gsub doesn't work properly with \\K](https://www.ruby-forum.com/t/ruby-trunk-bug-8856-open-gsub-doesnt-work-properly-with-k/236436)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 4, 2013, 3:24am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8856-open-gsub-doesnt-work-properly-with-k/236436 "2013-09-04T03:24:36Z")

</div>

Issue #8856 has been reported by k\_takata (Ken Takata). Bug #8856: gsub doesn’t work properly with \\K Author: k\_takata (Ken Takata) Status: Open Priority: Normal Assignee: Category: regexp Target version: ruby …

---

## [Rake Can't Require Logging Gem?](https://www.ruby-forum.com/t/rake-cant-require-logging-gem/228865)

<div class="topic-metadata">

**Author:** [@islepilot](https://www.ruby-forum.com/u/islepilot)\
**Replies:** 1\
**Last updated:** [May 10, 2013, 8:19pm UTC](https://www.ruby-forum.com/t/rake-cant-require-logging-gem/228865 "2013-05-10T20:19:19Z")

</div>

All - I’m trying to use the “logging” gem for the first time, and have a problem. If I have this file, x\_spec.rb: require ‘rspec’ require ‘logging’ …then I get this output when I run rspec x\_spec.rb: rspec x\_spec…

---

## [Need help : Getting 502 response status code for specific URL](https://www.ruby-forum.com/t/need-help-getting-502-response-status-code-for-specific-url/229803)

<div class="topic-metadata">

**Author:** [@Raghvendra\_Parashar](https://www.ruby-forum.com/u/Raghvendra_Parashar)\
**Replies:** 1\
**Last updated:** [February 12, 2013, 9:27pm UTC](https://www.ruby-forum.com/t/need-help-getting-502-response-status-code-for-specific-url/229803 "2013-02-12T21:27:58Z")

</div>

Hi nginx team, I am getting 502 bad gateway error for particular URL. Application details : Rails 3.1.0 Ruby 1.9.2 unicorn 4.2.0 resque 1.20.0 nginx/1.0.14 redis 2.4.8 nginx error log : 2013/02/12 07:36:16 \[err…

---

## [Rdoc not working?](https://www.ruby-forum.com/t/rdoc-not-working/217176)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 23, 2012, 4:54pm UTC](https://www.ruby-forum.com/t/rdoc-not-working/217176 "2012-02-23T16:54:11Z")

</div>

Hi guys. My computer runs Windows 7. I type “rdoc person.rb” in command prompt. It returns “No newer files.” A folder named ‘doc’ is created in the current directory, but it doesn’t contain any file. I type “rdoc p…

---

## [NoMethodError in Store#index](https://www.ruby-forum.com/t/nomethoderror-in-store-index/210239)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 3, 2011, 6:09am UTC](https://www.ruby-forum.com/t/nomethoderror-in-store-index/210239 "2011-08-03T06:09:53Z")

</div>

Thanks in advance I want to know how to solve No method errors Agile Rails 4th ed Great book But second time I get this type of error I would like to know how to troubleshoot and resolve Please see below thanks onc…

---

## [Proxy-cache serving expired content](https://www.ruby-forum.com/t/proxy-cache-serving-expired-content/204812)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 22, 2011, 1:59pm UTC](https://www.ruby-forum.com/t/proxy-cache-serving-expired-content/204812 "2011-06-22T13:59:49Z")

</div>

Hello list, we are using nginx as proxy/loadbalancer and cache in front of our serverpark consisting of 8 apache/php-servers. We are serving an average of 200 requests per second. Performance and flexibility is secon…

---

## [COM Interop Problem](https://www.ruby-forum.com/t/com-interop-problem/183703)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 1\
**Last updated:** [February 19, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/com-interop-problem/183703 "2010-02-19T16:01:31Z")

</div>

Anytime I invoke a method on a COM object with one or more arguments, I get the following error: Could not convert argument 0 for call to Open. (ArgumentError) What’s preplexing is the argument number is always the la…

---

## [Rupyscript2exe for Mac / Linux and good tutorial](https://www.ruby-forum.com/t/rupyscript2exe-for-mac-linux-and-good-tutorial/176473)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 1\
**Last updated:** [October 1, 2009, 9:22am UTC](https://www.ruby-forum.com/t/rupyscript2exe-for-mac-linux-and-good-tutorial/176473 "2009-10-01T09:22:38Z")

</div>

Hi, all I was wondering if somebody can recommend 2 things: An alternative for rubyscript2exe for Mac / Linux. It would be really nice if there was a unified way to “compile” quote on quote a wxruby app into an e…

---

## [Need documentation proofreading](https://www.ruby-forum.com/t/need-documentation-proofreading/162840)

<div class="topic-metadata">

**Author:** [@de\_Villamil\_FrSSSSd](https://www.ruby-forum.com/u/de_Villamil_FrSSSSd)\
**Replies:** 1\
**Last updated:** [March 16, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/need-documentation-proofreading/162840 "2009-03-16T20:22:43Z")

</div>

Hello, With Typo 5.3 release date approaching, I’ve written a migration documentation hosted at http://wiki.github.com/fdv/typo/upgrading-to-typo-53 . If some of you have the time and the will, I’d like to have it p…

---

## [Anyone having issues with rubyforge at the moment?](https://www.ruby-forum.com/t/anyone-having-issues-with-rubyforge-at-the-moment/147763)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 1\
**Last updated:** [September 5, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/anyone-having-issues-with-rubyforge-at-the-moment/147763 "2008-09-05T22:35:41Z")

</div>

Hi, Is anyone having trouble with rubyforge at the moment? Macintosh:myequity greg$ sudo gem update rails Password: Updating installed gems WARNING: RubyGems 1.2+ index not found for: RubyGems will revert to legac…

---

## [Restart mongrel](https://www.ruby-forum.com/t/restart-mongrel/145225)

<div class="topic-metadata">

**Author:** [@azazel](https://www.ruby-forum.com/u/azazel)\
**Replies:** 1\
**Last updated:** [August 7, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/restart-mongrel/145225 "2008-08-07T22:31:36Z")

</div>

can i, restart my mongrel server, from a rails application… i need to do it because i have to modify my database.yml and ldap.yml from my settings\_controller

---

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

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [May 5, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/mongrel-rails-output/136688 "2008-05-05T18:02:50Z")

</div>

I don’t know if this is a mongrel thing, but Completed in 0.61607 (1 reqs/sec) | Rendering: 0.59662 (96%) | DB: 0.00000 (0%) | 200 OK \[http://ties/\] This line always confuses me. And I’d imagine it confuses every new…

---

## [Acts\_as\_ferret and will\_paginate](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/131870)

<div class="topic-metadata">

**Author:** [@javiel](https://www.ruby-forum.com/u/javiel)\
**Replies:** 1\
**Last updated:** [March 28, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-and-will-paginate/131870 "2008-03-28T17:33:52Z")

</div>

hi! I have been trying to use will\_paginate with acts\_as\_ferret and it works correctly in the first page, but nowhere else. When I try to see the second or any other page I get a nil object error while evaluating nil…

---

## [Has anybody used rails on Servage.net?](https://www.ruby-forum.com/t/has-anybody-used-rails-on-servage-net/65680)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 31, 2007, 9:49am UTC](https://www.ruby-forum.com/t/has-anybody-used-rails-on-servage-net/65680 "2007-12-31T09:49:24Z")

</div>

Is anyone running a rails application on Servage.net? They are offering what looks like a very good value high bandwidth shared hosting plan. It’s a tempting offer for a couple of PHP sites I run, but I also notice th…

---

## [RForum part of www.ruby-forum.com site is broken](https://www.ruby-forum.com/t/rforum-part-of-www-ruby-forum-com-site-is-broken/80666)

<div class="topic-metadata">

**Author:** [@inboulder2](https://www.ruby-forum.com/u/inboulder2)\
**Replies:** 1\
**Last updated:** [January 2, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/rforum-part-of-www-ruby-forum-com-site-is-broken/80666 "2007-01-02T15:55:01Z")

</div>

Hi, I just thought I’d try and give whoever is in charge here a heads up that the site currently reports an application error when I try in login or when I try and email my password to myself. It’s just the generic Ap…

---

## [Custom Form Builder gives error](https://www.ruby-forum.com/t/custom-form-builder-gives-error/71137)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 1\
**Last updated:** [October 5, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/custom-form-builder-gives-error/71137 "2006-10-05T15:48:52Z")

</div>

Hi everyone, I’ve been trying to get the form builder recipe to work in the Recipes book to work. Just to start I’m trying to cut and past the code to get it happening. When I put the class TabularFormBuilder into t…

---

## [Outgoing trackbacks?](https://www.ruby-forum.com/t/outgoing-trackbacks/59104)

<div class="topic-metadata">

**Author:** [@NiLuJe](https://www.ruby-forum.com/u/NiLuJe)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/outgoing-trackbacks/59104 "2006-05-03T19:00:11Z")

</div>

Hello :slight\_smile: I’m using typo trunk (r1028), and I’m having a hard time trying to get outgoing trackbacks working… Do they actually work in current runk, and if so, how? There’s no ‘Trackback URL’ entry in the …

---

## [Make Ruby 3.0.3 on Solaris 10 by /opt/SUNWspro/bin/cc generates cc: acomp failed for vm.c](https://www.ruby-forum.com/t/make-ruby-3-0-3-on-solaris-10-by-opt-sunwspro-bin-cc-generates-cc-acomp-failed-for-vm-c/262340)

<div class="topic-metadata">

**Author:** [@dklein](https://www.ruby-forum.com/u/dklein)\
**Replies:** 0\
**Last updated:** [December 29, 2021, 12:38am UTC](https://www.ruby-forum.com/t/make-ruby-3-0-3-on-solaris-10-by-opt-sunwspro-bin-cc-generates-cc-acomp-failed-for-vm-c/262340 "2021-12-29T00:38:07Z")

</div>

make BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false CC = /opt/SUNWspro/bin/cc -xc99=all LD = /usr/ccs/bin/ld LDSHARED = /opt/SUNWspro/bin/cc -xc99=all -G CFLAGS …

---

## [Ruby script as Linux dynamic library](https://www.ruby-forum.com/t/ruby-script-as-linux-dynamic-library/245329)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 17, 2017, 1:40am UTC](https://www.ruby-forum.com/t/ruby-script-as-linux-dynamic-library/245329 "2017-04-17T01:40:55Z")

</div>

\[insert customary disclaimer that I’ve tried to find the answer to this elsewhere\] Is there a way to set a ruby module as a Linux dynamic library? Like, the module (or script or whatever it would be called) could be b…

---

## [Migration problem](https://www.ruby-forum.com/t/migration-problem/233284)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 30, 2014, 11:48pm UTC](https://www.ruby-forum.com/t/migration-problem/233284 "2014-11-30T23:48:41Z")

</div>

Hello, I have this migration file : class CreateUsers \< ActiveRecord::Migration def change create\_table :users do |t| t.string :name t.string :email t.timestamps null: false end end end but as soon as I do rak…

---

## [Best method for creating a new gem in 1.9.3 land](https://www.ruby-forum.com/t/best-method-for-creating-a-new-gem-in-1-9-3-land/224535)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 16, 2012, 3:03am UTC](https://www.ruby-forum.com/t/best-method-for-creating-a-new-gem-in-1-9-3-land/224535 "2012-11-16T03:03:26Z")

</div>

I’m starting to work on a new gem, a command line application. I looked around for the way to automatically build a new gem directory, as this is the ruby way. What I found seems out of date, and everything doesn’t wo…

---

## [WX GUI Widgets Under C++](https://www.ruby-forum.com/t/wx-gui-widgets-under-c/222356)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:16pm UTC](https://www.ruby-forum.com/t/wx-gui-widgets-under-c/222356 "2012-08-27T14:16:05Z")

</div>

I was wondering if there was any way to use WX GUI Widgets, such as the scope and fft plot, in a C++ flowgraph? Are any examples or other resources available? I have been designing these flowgraphs based on the dial t…

---

## [From Python to Ruby](https://www.ruby-forum.com/t/from-python-to-ruby/219500)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 4, 2012, 9:11pm UTC](https://www.ruby-forum.com/t/from-python-to-ruby/219500 "2012-05-04T21:11:28Z")

</div>

Hi everyone! I’ve been studying Python for a month or two but I didn’t like it. I did some interesting things with it, though: I added some form of currying, pipelining and, eventually, code blocks. The reaction of t…

---

## [Problem with new signal processing block](https://www.ruby-forum.com/t/problem-with-new-signal-processing-block/207696)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 7, 2011, 4:58pm UTC](https://www.ruby-forum.com/t/problem-with-new-signal-processing-block/207696 "2011-06-07T16:58:56Z")

</div>

Hello, I got this error when I did the last make check comand, trying to test a new signal processing block: File “/usr/lib/python2.6/unittest. py”, line 457, in run for test in self.\_tests: TypeError: in method ‘…

---

## [Yieldされたlambdaからのreturn/breakの動きについて](https://www.ruby-forum.com/t/yield-lambda-return-break/206969)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 15, 2011, 9:57am UTC](https://www.ruby-forum.com/t/yield-lambda-return-break/206969 "2011-05-15T09:57:39Z")

</div>

$BDTK$G$9!#(B lambda$B$H(Bproc$B$O!"(Breturn/break$B$NF0$-$H0z?t$N?t$N%A%’%C%/$NF0$-$K0c$$$,$"$j$^$9$,!"(B $B%V%m%C%/$H$7$FEO$7$?(Blambda$B$r(Byield$B$G8F$S=P$9$H(Breturn/break$B$,(Bproc$BAjEv$K$J$j$^$9(B ($B0z?t%A%’%…

---

## [RSS Maker : LastBuildDate / TTL / Copyright](https://www.ruby-forum.com/t/rss-maker-lastbuilddate-ttl-copyright/201948)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 18, 2011, 5:35pm UTC](https://www.ruby-forum.com/t/rss-maker-lastbuilddate-ttl-copyright/201948 "2011-01-18T17:35:46Z")

</div>

Hi, Does anyone know how to code an RSS maker to generate additional tags for the header of the feed? The gem has a method for ‘lastBuildDate=’ but I cannot get it to work … content = RSS::Maker.make(Version) do |…

---

## [Charset\_map don't support cp936?](https://www.ruby-forum.com/t/charset-map-dont-support-cp936/201371)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 7, 2011, 2:46am UTC](https://www.ruby-forum.com/t/charset-map-dont-support-cp936/201371 "2011-01-07T02:46:31Z")

</div>

My Nginx/Windows 0.8 running win2003 chinese edition. My files named used chinese. like http://localhost/中文目录/中文文件.rar 。 If use IE and firefox with encode gb2312 you can downloaded chinese named files，but if use utf…

---

## [JavaScript include order](https://www.ruby-forum.com/t/javascript-include-order/200308)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 9, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/javascript-include-order/200308 "2010-12-09T13:42:44Z")

</div>

Hi, how can I specify the order of included JavaScript files using javascript\_include\_tag :all? Thanks, Gustavo

---

## [Question about the env](https://www.ruby-forum.com/t/question-about-the-env/199007)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 13, 2010, 12:53pm UTC](https://www.ruby-forum.com/t/question-about-the-env/199007 "2010-11-13T12:53:31Z")

</div>

Hey, I noticed that the “env” directive in the main module is not an equivalent of “export” in bash or “putenv” in C stdlib. The variables defined by “env” seems only can be used by the embeded Perl module, right? Th…

---

## [Upload module and fastcgi\_pass](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 3\
**Last updated:** [August 5, 2010, 1:58pm UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696 "2010-08-05T13:58:56Z")

</div>

Hello guys, I need to run nginx upload progress module, however I got problem with fastcgi\_pass here’s my config server { listen 192.168.1.6:81; client\_max\_body\_size 15m; client\_body\_buffer\_size …

---

## [Migration question](https://www.ruby-forum.com/t/migration-question/192578)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [August 3, 2010, 4:42am UTC](https://www.ruby-forum.com/t/migration-question/192578 "2010-08-03T04:42:57Z")

</div>

Got this: no such file to load – spec/rake/spectask anybody know off hand what the equivalent is for rspec2? -r

---

## [\[Bug #3243\] Can't build Ruby after r26506](https://www.ruby-forum.com/t/bug-3243-cant-build-ruby-after-r26506/187965)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 3\
**Last updated:** [July 4, 2010, 10:54am UTC](https://www.ruby-forum.com/t/bug-3243-cant-build-ruby-after-r26506/187965 "2010-07-04T10:54:56Z")

</div>

Bug #3243: Can’t build Ruby after r26506 http://redmine.ruby-lang.org/issues/show/3243 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.1p412 (2010-01-30) \[i686-linux\] r26506e$B0J…

---

## [How to using golang for write a xxx.so for ruby?](https://www.ruby-forum.com/t/how-to-using-golang-for-write-a-xxx-so-for-ruby/179123)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 3\
**Last updated:** [November 19, 2009, 12:19am UTC](https://www.ruby-forum.com/t/how-to-using-golang-for-write-a-xxx-so-for-ruby/179123 "2009-11-19T00:19:33Z")

</div>

you may see http://golang.org I want to using golang create a shared object thant can call from ruby,Is it possiable?

---

## [Trying to use 301 redirect, but the server does a 302](https://www.ruby-forum.com/t/trying-to-use-301-redirect-but-the-server-does-a-302/172750)

<div class="topic-metadata">

**Author:** [@yannimac](https://www.ruby-forum.com/u/yannimac)\
**Replies:** 3\
**Last updated:** [July 27, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/trying-to-use-301-redirect-but-the-server-does-a-302/172750 "2009-07-27T14:46:35Z")

</div>

I am using the following code to do a 301 redirect in my controller: headers\[“Status”\] = “301 Moved Permanently” redirect\_to “/somepage” and return I am using nginx in front of mongrel cluster. When I tested the URL …

---

## [Converting an Object to Collection to Bind to DataGridView](https://www.ruby-forum.com/t/converting-an-object-to-collection-to-bind-to-datagridview/170474)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 3\
**Last updated:** [June 18, 2009, 1:27am UTC](https://www.ruby-forum.com/t/converting-an-object-to-collection-to-bind-to-datagridview/170474 "2009-06-18T01:27:32Z")

</div>

Hi, I have the following code which I am using to bind an object to the Window Forms dataGridView control: def bind\_customes\_to\_grid(customer) $gvCustomers.DataSource = customer end Now, I need to convert the custo…

---

## [Application design : background process](https://www.ruby-forum.com/t/application-design-background-process/167878)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 3\
**Last updated:** [May 13, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/application-design-background-process/167878 "2009-05-13T17:00:27Z")

</div>

Hi im making a simple app which takes a users search term and scrapes several sites rss feeds for relevant results. The scrape can take upto 10seconds. I want to make this a background process so I can update the user…

---

## [Nginx as Loadbalancer loading page somtimes not complete](https://www.ruby-forum.com/t/nginx-as-loadbalancer-loading-page-somtimes-not-complete/161391)

<div class="topic-metadata">

**Author:** [@misael](https://www.ruby-forum.com/u/misael)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 10:42am UTC](https://www.ruby-forum.com/t/nginx-as-loadbalancer-loading-page-somtimes-not-complete/161391 "2009-02-26T10:42:32Z")

</div>

hi nginx users, first of all i like to thank you for this great application, i recently used nginx for my community forum backend with vbulletin, and the average user online are 10.000 users. the problems was, some…

---

## [Nginx on Tru64/alpha](https://www.ruby-forum.com/t/nginx-on-tru64-alpha/161052)

<div class="topic-metadata">

**Author:** [@Dustin\_Marquess](https://www.ruby-forum.com/u/Dustin_Marquess)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 8:00am UTC](https://www.ruby-forum.com/t/nginx-on-tru64-alpha/161052 "2009-02-24T08:00:54Z")

</div>

Hello. I recently installed nginx 0.7.37 on Tru64 5.1B-4 using Compaq C V6.5-303 compiler. Everything works great if I leave the default of worker\_processes set to 1. However, if I increase it to 2 (since this machi…

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

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