# Top

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

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

---

## [Wish list item: Method#to\_proc](https://www.ruby-forum.com/t/wish-list-item-method-to-proc/153919)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 7\
**Last updated:** [December 1, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/wish-list-item-method-to-proc/153919 "2008-12-01T20:59:29Z")

</div>

would this be useful/theoretically possible? UnboundMethod#to\_proc Thanks! -=R

---

## ['ab\\c' and 'ab\\\\c'](https://www.ruby-forum.com/t/ab-c-and-ab-c/142558)

<div class="topic-metadata">

**Author:** [@subbu](https://www.ruby-forum.com/u/subbu)\
**Replies:** 7\
**Last updated:** [July 9, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/ab-c-and-ab-c/142558 "2008-07-09T18:23:12Z")

</div>

I encountered a rather peculiar behavior of strings today. Here is my irb session: irb(main):001:0\> ‘ab\\c’ irb(main):002:0’ ’ SyntaxError: compile error (irb):2: unterminated string meets end of file from (irb):2 i…

---

## [Mac OS X 10.5.4 - no new Ruby?](https://www.ruby-forum.com/t/mac-os-x-10-5-4-no-new-ruby/141951)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 7\
**Last updated:** [July 3, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/mac-os-x-10-5-4-no-new-ruby/141951 "2008-07-03T20:50:45Z")

</div>

The Mac OS X 10.5.4 update came out yesterday, but it did not update the installed Ruby to 1.8.7. I thought the idea that this sort of thing would happen was part of the promise of keeping Ruby in a system library fra…

---

## [Mocking Models in Controller Specs](https://www.ruby-forum.com/t/mocking-models-in-controller-specs/138695)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 7\
**Last updated:** [May 27, 2008, 11:38am UTC](https://www.ruby-forum.com/t/mocking-models-in-controller-specs/138695 "2008-05-27T11:38:26Z")

</div>

I find myself doing this kind of thing a lot in Controller Specs: @vacancy = mock\_model(Vacancy) @vacancy.stub!(:reference) @vacancy.stub!(:title) @vacancy.stub!(:created\_at) @vacancy.stub!(:updated\_at) @vac…

---

## [Rails story runner returning a nil response code](https://www.ruby-forum.com/t/rails-story-runner-returning-a-nil-response-code/120113)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 7\
**Last updated:** [November 16, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/rails-story-runner-returning-a-nil-response-code/120113 "2007-11-16T18:05:57Z")

</div>

Has anyone noticed any problems with the Rails story runner returning a response code of “0” when doing get/post/etc methods? I just grabbed the latest rails/rspec and just started noticing this problem, http://pasti…

---

## [Trying to print on the console a single column from a db](https://www.ruby-forum.com/t/trying-to-print-on-the-console-a-single-column-from-a-db/116148)

<div class="topic-metadata">

**Author:** [@newrubyuser](https://www.ruby-forum.com/u/newrubyuser)\
**Replies:** 7\
**Last updated:** [October 3, 2007, 4:10am UTC](https://www.ruby-forum.com/t/trying-to-print-on-the-console-a-single-column-from-a-db/116148 "2007-10-03T04:10:03Z")

</div>

Trying to get a grasp on how ruby works with data, so used to perl. Here is what im trying to do in my app/models scrap.rb def self.START all = MyDb.find\_all\_by\_server\_name('myserver', :limit =\> 1) puts all # all i g…

---

## [Rhtml](https://www.ruby-forum.com/t/rhtml/115682)

<div class="topic-metadata">

**Author:** [@matteeduccio](https://www.ruby-forum.com/u/matteeduccio)\
**Replies:** 7\
**Last updated:** [September 27, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/rhtml/115682 "2007-09-27T17:26:07Z")

</div>

Ciao a tutti. Sono nuovo di questo linguaggio, vorrei chiedervi come posso far visualizzare le mie pagine rhtml al mio browser. Il codice html da me scritto viene visualizzato correttamente tranne il codice ruby fra \<%…

---

## [Find si error](https://www.ruby-forum.com/t/find-si-error/108277)

<div class="topic-metadata">

**Author:** [@wifer](https://www.ruby-forum.com/u/wifer)\
**Replies:** 7\
**Last updated:** [July 9, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/find-si-error/108277 "2007-07-09T15:05:47Z")

</div>

Buenos dias. como hago para realizar una consulta en un modelo que cuando no encuentre el rregistro no me genere error? no me digan que le ponga rescue, por que eso no es lo que necesito. modelo = Modelo.find\_by\_id(1…

---

## [Noob struggling to learn](https://www.ruby-forum.com/t/noob-struggling-to-learn/91218)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [April 19, 2007, 11:07am UTC](https://www.ruby-forum.com/t/noob-struggling-to-learn/91218 "2007-04-19T11:07:44Z")

</div>

I am learning Rails by building a real application for someone. Ultimately the app may become a much larger thing, however for now i am concentrating on just a tricky login situation. I will essentially have 2 pages,…

---

## [Golfing the Farey Sequence](https://www.ruby-forum.com/t/golfing-the-farey-sequence/89174)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 7\
**Last updated:** [March 27, 2007, 2:21am UTC](https://www.ruby-forum.com/t/golfing-the-farey-sequence/89174 "2007-03-27T02:21:26Z")

</div>

A Farey Sequence is all the fractions between 0 and 1 (inclusive) with a denominator no bigger than N, arranged in increasing order of magnitude. For example, the Farey Sequence of order 3 is: 0/1, 1/3, 1/2, 2/3, 1/1 …

---

## [=?iso-8859-1?q?Pb\_de\_cr=E9ation/modification\_d=27enreg?= =?i](https://www.ruby-forum.com/t/iso-8859-1-q-pb-de-cr-e9ation-modification-d-27enreg-i/64011)

<div class="topic-metadata">

**Author:** [@Samuel\_DECHOMETS](https://www.ruby-forum.com/u/Samuel_DECHOMETS)\
**Replies:** 7\
**Last updated:** [June 22, 2006, 9:29am UTC](https://www.ruby-forum.com/t/iso-8859-1-q-pb-de-cr-e9ation-modification-d-27enreg-i/64011 "2006-06-22T09:29:32Z")

</div>

Bonjour, Je souhaite crÃ©er un nouvel enregistrement dans une table sans clÃ© autonum. Si la clÃ© est dÃ©finie dans le modÃ¨le (set\_primary\_key), la mÃ©thode new ne permet pas d’affecter une valeur Ã cette clÃ©. Si…

---

## [Belongs\_to relation busted....why?](https://www.ruby-forum.com/t/belongs-to-relation-busted-why/55828)

<div class="topic-metadata">

**Author:** [@meltman](https://www.ruby-forum.com/u/meltman)\
**Replies:** 7\
**Last updated:** [March 24, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/belongs-to-relation-busted-why/55828 "2006-03-24T16:35:34Z")

</div>

Ok, been banging my head on this and just can’t figure it. Normally, any table that has a belongs\_to to another table you can easily access it by: table1.table2.field And it works perfectly for one table I have. Let’…

---

## [Multi-page printing moving on](https://www.ruby-forum.com/t/multi-page-printing-moving-on/74482)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 7\
**Last updated:** [March 1, 2006, 7:11am UTC](https://www.ruby-forum.com/t/multi-page-printing-moving-on/74482 "2006-03-01T07:11:55Z")

</div>

I have some nice forms done using stylesheets. I currently have them displaying on screen and the user could simply just print. This works when there is only one form (facility) to be viewed/printed. I have created th…

---

## [Help remove duplication in my app](https://www.ruby-forum.com/t/help-remove-duplication-in-my-app/51200)

<div class="topic-metadata">

**Author:** [@sorenson](https://www.ruby-forum.com/u/sorenson)\
**Replies:** 7\
**Last updated:** [December 28, 2005, 5:59am UTC](https://www.ruby-forum.com/t/help-remove-duplication-in-my-app/51200 "2005-12-28T05:59:35Z")

</div>

I’m porting an old site of mine into Rails and I’m running into some duplication that could / needs to be weeded out. For each of my actions, I have to wrap the view content in the following HTML: # content…

---

## [Way to combing Hash Definition sans =\> with %w()?](https://www.ruby-forum.com/t/way-to-combing-hash-definition-sans-with-w/50099)

<div class="topic-metadata">

**Author:** [@dandiebolt](https://www.ruby-forum.com/u/dandiebolt)\
**Replies:** 7\
**Last updated:** [December 13, 2005, 1:32am UTC](https://www.ruby-forum.com/t/way-to-combing-hash-definition-sans-with-w/50099 "2005-12-13T01:32:38Z")

</div>

I have a large amount of text pairs (no spaces inthe text) that I need to turn into a hash. Is there a shorcut that will allow me to create the hash without entering the quotes and arrows? %w(apple bananna orange grap…

---

## [Arrays with csv file](https://www.ruby-forum.com/t/arrays-with-csv-file/253226)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 2:24pm UTC](https://www.ruby-forum.com/t/arrays-with-csv-file/253226 "2019-10-27T14:24:34Z")

</div>

headers = \[id,name,dept\] val\_arr = \[\[1,2,3\],\[“sunil”,“anil”,“kumar”\],\[“IT”,“IT”,“IT”\]\] i need to write these thing in csv file like the below ways(form) id name dept 1 sunil IT 2 anil IT 3 kumar IT

---

## [Web application to call C code](https://www.ruby-forum.com/t/web-application-to-call-c-code/243571)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 5, 2015, 11:45pm UTC](https://www.ruby-forum.com/t/web-application-to-call-c-code/243571 "2015-12-05T23:45:29Z")

</div>

I am writing a web application and am interested in whether I can use nginx. For each request for the web server, I want it to call some C code I have written. The code C will generate the HTML I want to send back. Is…

---

## [Gradual loss of amplitude as flowgraph runs](https://www.ruby-forum.com/t/gradual-loss-of-amplitude-as-flowgraph-runs/243015)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 18, 2015, 12:51am UTC](https://www.ruby-forum.com/t/gradual-loss-of-amplitude-as-flowgraph-runs/243015 "2015-08-18T00:51:57Z")

</div>

Still working with the polyphase channelizer program. While everything “works”, there is something very strange: the output amplitude slowly drops the longer the program runs. As near I can tell, this happens in or …

---

## [Watir- unable to locate element](https://www.ruby-forum.com/t/watir-unable-to-locate-element/240441)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 14, 2014, 9:05pm UTC](https://www.ruby-forum.com/t/watir-unable-to-locate-element/240441 "2014-04-14T21:05:39Z")

</div>

Hi everyone, I am attempting to select link inside of a cell. When i give the direct path, with exact elements, it works. When i try to pass a variable, it cannot find the element. any suggestions? –Works Fine– Then…

---

## [Rails Acts\_as\_tree and many to many associations (Product, Category) Issue](https://www.ruby-forum.com/t/rails-acts-as-tree-and-many-to-many-associations-product-category-issue/203576)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 23, 2011, 9:28am UTC](https://www.ruby-forum.com/t/rails-acts-as-tree-and-many-to-many-associations-product-category-issue/203576 "2011-02-23T09:28:15Z")

</div>

Hi, I want to create simple many to many association between my product and category model. Category model currently also acts\_as\_tree for navigation. The code works fine but not sure why after updating product categ…

---

## [Problems using Globalize 2 crud with rails 2.3 nested attributes](https://www.ruby-forum.com/t/problems-using-globalize-2-crud-with-rails-2-3-nested-attributes/163254)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 2\
**Last updated:** [June 8, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/problems-using-globalize-2-crud-with-rails-2-3-nested-attributes/163254 "2010-06-08T17:11:46Z")

</div>

Hi to all ! Seems that none can help me on ruby-i18n group…, I hope someone can help me… :frowning: I’ve try to make a crud sample application using Globalize2 and Rails 2.3.2 nested attributes. All works great for …

---

## [Failing test despite "expected" and "got" being identical](https://www.ruby-forum.com/t/failing-test-despite-expected-and-got-being-identical/188132)

<div class="topic-metadata">

**Author:** [@ben\_rooney](https://www.ruby-forum.com/u/ben_rooney)\
**Replies:** 2\
**Last updated:** [May 6, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/failing-test-despite-expected-and-got-being-identical/188132 "2010-05-06T17:07:09Z")

</div>

Slightly flummoxed on this one. Spec::Mocks::MockExpectationError in ‘ChartEventsController handling GET /chart\_events should find all chart\_events given a value’ expected: (\[:all, {:conditions=\>\[“value LIKE ?”, “%cha…

---

## [Af83 recherche des prestataires Rails](https://www.ruby-forum.com/t/af83-recherche-des-prestataires-rails/184216)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 2\
**Last updated:** [March 3, 2010, 1:54am UTC](https://www.ruby-forum.com/t/af83-recherche-des-prestataires-rails/184216 "2010-03-03T01:54:34Z")

</div>

Bonjour, af83 est une société spécialisée dans la réalisation de sites web communautaires. Pour pouvoir faire face à certaines demandes de nos clients, nous avons besoin de renforts. Nous recherchons actuellement des…

---

## [Paso de Parametros desde rails a jasper report](https://www.ruby-forum.com/t/paso-de-parametros-desde-rails-a-jasper-report/138042)

<div class="topic-metadata">

**Author:** [@melj\_mat](https://www.ruby-forum.com/u/melj_mat)\
**Replies:** 2\
**Last updated:** [April 21, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/paso-de-parametros-desde-rails-a-jasper-report/138042 "2009-04-21T21:21:07Z")

</div>

Buenas muchachos tengo por aqui una gran duda, he buscado en goggle como pasar parametros desde rails 2.0 a jasper report pero no he encontrado nada… el parametro se llama titulo, y quiero pasarle el valor desde rails…

---

## [Got an error on returning data as json format when the data is nil](https://www.ruby-forum.com/t/got-an-error-on-returning-data-as-json-format-when-the-data-is-nil/157419)

<div class="topic-metadata">

**Author:** [@wolfgang](https://www.ruby-forum.com/u/wolfgang)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/got-an-error-on-returning-data-as-json-format-when-the-data-is-nil/157419 "2009-01-13T22:06:55Z")

</div>

Hi there, One of my app’s actions returns data as a json format. If the data exists, everything works perfect. But if the data is nil, I get the following error. ActionView::MissingTemplate (Missing template user/show…

---

## [Multiline input](https://www.ruby-forum.com/t/multiline-input/138014)

<div class="topic-metadata">

**Author:** [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Replies:** 2\
**Last updated:** [May 19, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/multiline-input/138014 "2008-05-19T18:27:13Z")

</div>

Hi Supposing i have a table Employees as follows id | Name | Age | Salary | and use scaffold while generating model, view and controller by the command. ruby script/generate scaffold Employee When I go to the new e…

---

## [Unmanageable?](https://www.ruby-forum.com/t/unmanageable/118524)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 7:58am UTC](https://www.ruby-forum.com/t/unmanageable/118524 "2007-10-28T07:58:25Z")

</div>

I don’t get the use case for unmanageable. Why would one make a class an Og object but have Og manager not manage it? BTW, “unmanageable” means “impossible to manage”, as in “out of control” – could there be a better…

---

## [GPS active antenna biasing](https://www.ruby-forum.com/t/gps-active-antenna-biasing/84212)

<div class="topic-metadata">

**Author:** [@davide\_a](https://www.ruby-forum.com/u/davide_a)\
**Replies:** 2\
**Last updated:** [February 2, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/gps-active-antenna-biasing/84212 "2007-02-02T19:57:10Z")

</div>

HI List, I get a USRP + DSBRX. Now I need to buy an active antenna for GPS, but I don’t know how to bias it. Can anyone helps me? Greetings, Davide “Rocker” Anastasia Web: www.davideanastasia.com Linux User #34109…

---

## [Glimmer-dsl-wx 0.1.0 Released](https://www.ruby-forum.com/t/glimmer-dsl-wx-0-1-0-released/264809)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [May 21, 2024, 4:55am UTC](https://www.ruby-forum.com/t/glimmer-dsl-wx-0-1-0-released/264809 "2024-05-21T04:55:53Z")

</div>

Glimmer DSL for WX 0.1.0 (glimmer-dsl-wx Ruby gem) has been released! It is the newest desktop development Glimmer GUI DSL, supporting the very mature platform-independent native widget toolkit: wxWidgets. It now include…

---

## [Slides & Code for RubyConf 2023 Workshop "How To Build Desktop Applications in Ruby"](https://www.ruby-forum.com/t/slides-code-for-rubyconf-2023-workshop-how-to-build-desktop-applications-in-ruby/264412)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [November 15, 2023, 3:24am UTC](https://www.ruby-forum.com/t/slides-code-for-rubyconf-2023-workshop-how-to-build-desktop-applications-in-ruby/264412 "2023-11-15T03:24:02Z")

</div>

Thanks to everyone who attended my RubyConf 2023 2-Hour Workshop “How To Build Desktop Applications in Ruby”. For those who missed the event, I posted the presentation slides and code exercises (27 exercises) on GitHub. …

---

## [Caused by: java.lang.NoSuchMethodError: org.jruby.internal.runtime.GlobalVariables.define(](https://www.ruby-forum.com/t/caused-by-java-lang-nosuchmethoderror-org-jruby-internal-runtime-globalvariables-define/242871)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 10:06am UTC](https://www.ruby-forum.com/t/caused-by-java-lang-nosuchmethoderror-org-jruby-internal-runtime-globalvariables-define/242871 "2015-08-04T10:06:28Z")

</div>

There is a problem with jruby deploying one bpm application that uses internally jruby. The application is deployed on EAP 6.4. 14:59:36,247 ERROR \[org.jboss.msc.service.fail\] (MSC service thread 1-6) MSC000001: Faile…

---

## [Einladung: DÃ¼sseldorf on Rail s am 30.06 mit Tanja Otto und Hussein Morsy](https://www.ruby-forum.com/t/einladung-da-sseldorf-on-rail-s-am-30-06-mit-tanja-otto-und-hussein-morsy/170717)

<div class="topic-metadata">

**Author:** [@Tim\_Keller](https://www.ruby-forum.com/u/Tim_Keller)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/einladung-da-sseldorf-on-rail-s-am-30-06-mit-tanja-otto-und-hussein-morsy/170717 "2009-06-21T18:37:04Z")

</div>

Hi zusammen, ich wollte euch zum kommenden Treffen der Ruby on Rails User Group DÃ¼sseldorf einladen: Datum: 30.06.09 Uhrzeit: 18:30 (TÃ¼ren auf) - 22:00 Veranstaltungsort: Heinrich-Heine-UniversitÃ¤t DÃ¼sseldorf (H…

---

## [DRb Service Segfaults when stopping with Long running DRb Client](https://www.ruby-forum.com/t/drb-service-segfaults-when-stopping-with-long-running-drb-client/230086)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 5\
**Last updated:** [June 2, 2014, 2:25pm UTC](https://www.ruby-forum.com/t/drb-service-segfaults-when-stopping-with-long-running-drb-client/230086 "2014-06-02T14:25:26Z")

</div>

I have a long running DRb client (parent process) that starts and stops DRb servers (child process) when requests come in via Process.spawn. I am doing this so that there is a separate process available to service req…

---

## [Installation-Problem:](https://www.ruby-forum.com/t/installation-problem/228640)

<div class="topic-metadata">

**Author:** [@Wolfgang\_Buesser](https://www.ruby-forum.com/u/Wolfgang_Buesser)\
**Replies:** 5\
**Last updated:** [May 3, 2013, 10:33pm UTC](https://www.ruby-forum.com/t/installation-problem/228640 "2013-05-03T22:33:56Z")

</div>

I am trying to install gnuradio on a new computer running suse 12.3 to use it with my usrp. upon cmake I keep getting the message: “Could Not find PythonLibs”. Any hint what rpm or sources I need to install on Suse 1…

---

## [Confusion with has object creation](https://www.ruby-forum.com/t/confusion-with-has-object-creation/227584)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 5\
**Last updated:** [March 20, 2013, 8:36am UTC](https://www.ruby-forum.com/t/confusion-with-has-object-creation/227584 "2013-03-20T08:36:00Z")

</div>

I know we create Hash object with Hash.new,it calls initialize method. Here it is: class Hash alias\_method :\_initialize, :initialize def initialize puts ‘welcome!!’ \_initialize end end Hash.new #welcome But how…

---

## [Setting expires header to multiple locations](https://www.ruby-forum.com/t/setting-expires-header-to-multiple-locations/226544)

<div class="topic-metadata">

**Author:** [@howard\_chen](https://www.ruby-forum.com/u/howard_chen)\
**Replies:** 5\
**Last updated:** [December 14, 2012, 3:39pm UTC](https://www.ruby-forum.com/t/setting-expires-header-to-multiple-locations/226544 "2012-12-14T15:39:01Z")

</div>

Currently I need to use tricks since I have multiple locations in my site config. e.g. ===================================== location ~\* /a { location ~\* ^/.\*.(?:css|js|jpg|jpeg|gif|png)$ { expires 1y; } } loca…

---

## [NGINX as proxy before apache, and localy store php generated images](https://www.ruby-forum.com/t/nginx-as-proxy-before-apache-and-localy-store-php-generated-images/223293)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 28, 2012, 11:42am UTC](https://www.ruby-forum.com/t/nginx-as-proxy-before-apache-and-localy-store-php-generated-images/223293 "2012-09-28T11:42:49Z")

</div>

Hello everyone, I am using nginx as proxy before apache a long time already. And it is really terrific what it does. Ram usage dropped like 3 times I mainly set up image cache headers in nginx config Today I’ve spot…

---

## [Insert at index](https://www.ruby-forum.com/t/insert-at-index/223157)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 24, 2012, 2:48pm UTC](https://www.ruby-forum.com/t/insert-at-index/223157 "2012-09-24T14:48:35Z")

</div>

Hi, Is there any alternative for insert in string. I need to insert different characters at different indices using a loop, but since insert modifies the string it goes wrong. Please help.

---

## [How to optimize these config / rewrite rules](https://www.ruby-forum.com/t/how-to-optimize-these-config-rewrite-rules/219012)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 18, 2012, 7:14pm UTC](https://www.ruby-forum.com/t/how-to-optimize-these-config-rewrite-rules/219012 "2012-04-18T19:14:29Z")

</div>

Hi there, I’m running nginx and xenforo but need to rewrite some old legacy URL’s (left over from vbulletin + vbseo)… Here is just a very small selection of my config which I want to optimise as fully as possible:- \[…

---

## [A C extension Gem](https://www.ruby-forum.com/t/a-c-extension-gem/218641)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 8, 2012, 1:49am UTC](https://www.ruby-forum.com/t/a-c-extension-gem/218641 "2012-04-08T01:49:53Z")

</div>

Hey guys, Firstly I know that having a C extension in JRUBY is not a great idea, however, I am kind of being forced in a way. I have a system at the moment that uses a Ruby KDTree It works, but its not very quick. I…

---

## [NougakuDo - Ruby 1.9 and Rails installer for Windows x64 with fastest server](https://www.ruby-forum.com/t/nougakudo-ruby-1-9-and-rails-installer-for-windows-x64-with-fastest-server/206515)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 4, 2011, 4:55pm UTC](https://www.ruby-forum.com/t/nougakudo-ruby-1-9-and-rails-installer-for-windows-x64-with-fastest-server/206515 "2011-05-04T16:55:09Z")

</div>

Hi, I’ve released Windows x64 installer package for Rails. It bundles a rack handler calling http.sys, named Ennou. So very native Windows friendly pakcage (but you may build unbundled gems with VS2010). Details on N…

---

## ["index" directive not working with dynamic server\_name](https://www.ruby-forum.com/t/index-directive-not-working-with-dynamic-server-name/200522)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 16, 2010, 10:44am UTC](https://www.ruby-forum.com/t/index-directive-not-working-with-dynamic-server-name/200522 "2010-12-16T10:44:33Z")

</div>

Hi, I recently upgraded to nginx 0.8.53 as it has support for regular expressions in the server\_name directive. However, when using this, the index directive gets ignored and a directory listing is displayed. I’ve i…

---

## [Ruby dispatcher and work processes](https://www.ruby-forum.com/t/ruby-dispatcher-and-work-processes/200176)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 9, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/ruby-dispatcher-and-work-processes/200176 "2010-12-09T17:29:39Z")

</div>

I would like to implement an (open source) application platform analogous to SAP’s ABAP platform in Ruby. (See below for link to SAP architecture diagrams). In part, this requires having different Ruby processes talk …

---

## [KQueue: 2 or more IPv6 listen ports + HUPing causes repeated log spam](https://www.ruby-forum.com/t/kqueue-2-or-more-ipv6-listen-ports-huping-causes-repeated-log-spam/191218)

<div class="topic-metadata">

**Author:** [@WolfSage](https://www.ruby-forum.com/u/WolfSage)\
**Replies:** 5\
**Last updated:** [July 7, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/kqueue-2-or-more-ipv6-listen-ports-huping-causes-repeated-log-spam/191218 "2010-07-07T18:10:14Z")

</div>

With 2 or more IPv6 listen ports enabled in nginx, if you send it about 3-4 HUPs, it will start to log spam repeatedly in /var/log/nginx-error.log until the partition fills up with the following error message: I’ve …

---

## [How to disable a drop down list after selecting one value](https://www.ruby-forum.com/t/how-to-disable-a-drop-down-list-after-selecting-one-value/185320)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 5\
**Last updated:** [March 19, 2010, 6:27am UTC](https://www.ruby-forum.com/t/how-to-disable-a-drop-down-list-after-selecting-one-value/185320 "2010-03-19T06:27:35Z")

</div>

my question is i have a drop down list to choose some vales from an xml file.after selecting one vaale and saving it will b saved. but when i tried to edit that it should be disabled. can any one prov…

---

## [Problem requiring rspec within jruby-complete jar](https://www.ruby-forum.com/t/problem-requiring-rspec-within-jruby-complete-jar/166907)

<div class="topic-metadata">

**Author:** [@figo2476](https://www.ruby-forum.com/u/figo2476)\
**Replies:** 5\
**Last updated:** [April 30, 2009, 11:06pm UTC](https://www.ruby-forum.com/t/problem-requiring-rspec-within-jruby-complete-jar/166907 "2009-04-30T23:06:11Z")

</div>

Hi, I am trying to use rspec that is included in the jruby-complete jar. I have a test.rb created that has the following two lines: require ‘rubygems’ require ‘spec’ Then when I run “java -jar jruby-complete-1.1.6.…

---

## [Forwarding POST requests to upstream](https://www.ruby-forum.com/t/forwarding-post-requests-to-upstream/164825)

<div class="topic-metadata">

**Author:** [@MichaSSSSSJaszczyk](https://www.ruby-forum.com/u/MichaSSSSSJaszczyk)\
**Replies:** 5\
**Last updated:** [April 7, 2009, 9:16am UTC](https://www.ruby-forum.com/t/forwarding-post-requests-to-upstream/164825 "2009-04-07T09:16:50Z")

</div>

Hey, I work at a company where we use Nginx a lot and so far we are very happy with it :). Now we want to add another feature to our website and long story short we need to forward files that users send by POST reque…

---

## [Messaggio di errore di Rails](https://www.ruby-forum.com/t/messaggio-di-errore-di-rails/150039)

<div class="topic-metadata">

**Author:** [@mentat](https://www.ruby-forum.com/u/mentat)\
**Replies:** 5\
**Last updated:** [October 3, 2008, 2:15am UTC](https://www.ruby-forum.com/t/messaggio-di-errore-di-rails/150039 "2008-10-03T02:15:23Z")

</div>

Salve a tutti! Eccomi di nuovo con una domanda per una situazione che non riesco a risolvere. Questo e’ il messaggio che mi compare quando mi collego alla pagina http://localhost:3000/say/hello … Inizio errore … My…

---

## [Wig-Wug Simulator](https://www.ruby-forum.com/t/wig-wug-simulator/145928)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 5\
**Last updated:** [August 15, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/wig-wug-simulator/145928 "2008-08-15T23:58:37Z")

</div>

I have started a Wig-Wug (therubyist.com) simulator and thrown it on github (GitHub - JEG2/wig-wug: An unofficial simulator for the first homework assignment (August issue) in The Rubyist. ). It probably still has is…

---

## [Rails 2, cache y el forgery protection](https://www.ruby-forum.com/t/rails-2-cache-y-el-forgery-protection/139077)

<div class="topic-metadata">

**Author:** [@fesplugas](https://www.ruby-forum.com/u/fesplugas)\
**Replies:** 5\
**Last updated:** [May 31, 2008, 2:05am UTC](https://www.ruby-forum.com/t/rails-2-cache-y-el-forgery-protection/139077 "2008-05-31T02:05:05Z")

</div>

No se si alguien se habrá encontrado con este problema pero se me ayer se me quedó la cara de tonto al poner en pre-producción una aplicación que se habia testeado a conciencia. Gran parte del contenido está cacheado…

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

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