# Top

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

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

---

## [Re: Refactoring (#75)](https://www.ruby-forum.com/t/re-refactoring-75/58328)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 7\
**Last updated:** [April 20, 2006, 8:53pm UTC](https://www.ruby-forum.com/t/re-refactoring-75/58328 "2006-04-20T20:53:51Z")

</div>

James, Great summary. Wish I had participated in the quiz! I liked Dave B.'s ‘Removed Unused Scope’ example. Would you (or someone else) care to give examples of ‘Replace Similar Methods with Metaprogrammed Definit…

---

## [Search not working right](https://www.ruby-forum.com/t/search-not-working-right/243587)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [December 7, 2015, 6:53pm UTC](https://www.ruby-forum.com/t/search-not-working-right/243587 "2015-12-07T18:53:21Z")

</div>

when the search gets submitted it only returns results for records that had the searched value in publicists from my model: def self.search(search) where(“headline LIKE ?”, “%#{search}%”) where(“storyline LIKE ?”, …

---

## [\[JOBS\] Calling all Alpha Males with Ruby on Rails!](https://www.ruby-forum.com/t/jobs-calling-all-alpha-males-with-ruby-on-rails/195573)

<div class="topic-metadata">

**Author:** [@Ruby\_Kate](https://www.ruby-forum.com/u/Ruby_Kate)\
**Replies:** 6\
**Last updated:** [September 25, 2010, 11:58pm UTC](https://www.ruby-forum.com/t/jobs-calling-all-alpha-males-with-ruby-on-rails/195573 "2010-09-25T23:58:24Z")

</div>

Where are you Pack Leaders and/or Peaceful Warriors? Sr. Technology Manager RoR $250k-$300k+ Washington DC & NYC Well-funded, internal startup (a creative team with deep pockets - doesn’t get any better than that!) of…

---

## [Fast searching of large files](https://www.ruby-forum.com/t/fast-searching-of-large-files/190944)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 6\
**Last updated:** [July 1, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/fast-searching-of-large-files/190944 "2010-07-01T19:03:56Z")

</div>

Hey all, Could anyone advise me on a fast way to search a single, but very large file (1Gb) quickly for a string of text? Also, is there a library to identify the file offset this string was found within the file? Th…

---

## [Re: how to define \[\]=](https://www.ruby-forum.com/t/re-how-to-define/182149)

<div class="topic-metadata">

**Author:** [@hagbard](https://www.ruby-forum.com/u/hagbard)\
**Replies:** 6\
**Last updated:** [January 24, 2010, 12:53pm UTC](https://www.ruby-forum.com/t/re-how-to-define/182149 "2010-01-24T12:53:25Z")

</div>

But how do we define the set method \`\[\]=’? Just define it. def \[\]=(i, value) @ary\[i\] = value end

---

## [\*Please Help\* Cannot save a new user to the database](https://www.ruby-forum.com/t/please-help-cannot-save-a-new-user-to-the-database/174549)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 6\
**Last updated:** [August 29, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/please-help-cannot-save-a-new-user-to-the-database/174549 "2009-08-29T18:37:19Z")

</div>

Hello, I am following the RailsSpace tutorial and am at the point where I am creating a new user through (user/register) I have added the details into the form: screen\_name, email and password. When I click register…

---

## [RubyGems Missing, frustation with Solaris CoolStack and Jruby](https://www.ruby-forum.com/t/rubygems-missing-frustation-with-solaris-coolstack-and-jruby/171048)

<div class="topic-metadata">

**Author:** [@chiefgeek](https://www.ruby-forum.com/u/chiefgeek)\
**Replies:** 6\
**Last updated:** [June 25, 2009, 10:49pm UTC](https://www.ruby-forum.com/t/rubygems-missing-frustation-with-solaris-coolstack-and-jruby/171048 "2009-06-25T22:49:11Z")

</div>

I’m having growing doubts about Solaris Coolstack tomcat, it has a lot of weird timing issues with Jruby. Were seeing an issue where ‘sometimes’ when you startup tomcat it will give you this error : Rails requires Ru…

---

## [Rails 2.3.2](https://www.ruby-forum.com/t/rails-2-3-2/169565)

<div class="topic-metadata">

**Author:** [@petan](https://www.ruby-forum.com/u/petan)\
**Replies:** 6\
**Last updated:** [June 5, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/rails-2-3-2/169565 "2009-06-05T17:08:50Z")

</div>

Hi all, I am using rails v.2.3.2 and if I put following line to my ApplicationController: include LoginSystem and I moved my login\_system.rb to lib folder: module LoginSystem protected def is\_logged\_in? @logged\_i…

---

## [Is this how you start a hash?](https://www.ruby-forum.com/t/is-this-how-you-start-a-hash/163302)

<div class="topic-metadata">

**Author:** [@arghx1](https://www.ruby-forum.com/u/arghx1)\
**Replies:** 6\
**Last updated:** [March 23, 2009, 5:02pm UTC](https://www.ruby-forum.com/t/is-this-how-you-start-a-hash/163302 "2009-03-23T17:02:00Z")

</div>

I’m looking at the code below but still not clear about how this hash forms! The author of a ruby book I read claimed that the code forms hash. Is it? #not complete code, if you try to use it, it won’t work! requir…

---

## [Why isn't there a :dependent =\> false option?](https://www.ruby-forum.com/t/why-isnt-there-a-dependent-false-option/155771)

<div class="topic-metadata">

**Author:** [@Ed\_Lebert](https://www.ruby-forum.com/u/Ed_Lebert)\
**Replies:** 6\
**Last updated:** [December 16, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/why-isnt-there-a-dependent-false-option/155771 "2008-12-16T20:12:38Z")

</div>

I have an “audit” table that records when changes are made to another table. If a record is destroyed, I don’t want all the change audits for that record destroyed or nullified along with it.

---

## [Open source projects using RSpec](https://www.ruby-forum.com/t/open-source-projects-using-rspec/142193)

<div class="topic-metadata">

**Author:** [@reivilo](https://www.ruby-forum.com/u/reivilo)\
**Replies:** 6\
**Last updated:** [July 4, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/open-source-projects-using-rspec/142193 "2008-07-04T17:24:36Z")

</div>

Hello, Anyone knows of open source projects that uses RSpec and RSpec Stories? I’d love to see how it is being used in different projects. Thank you Olivier D.

---

## [Strange issue with Process.times](https://www.ruby-forum.com/t/strange-issue-with-process-times/140448)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 6\
**Last updated:** [June 14, 2008, 5:59am UTC](https://www.ruby-forum.com/t/strange-issue-with-process-times/140448 "2008-06-14T05:59:50Z")

</div>

Check this out… Process.times =\> # require ‘test’ =\> true Process.times \[hangs\] As soon as you require a file (test.rb above was blank) you get stuck in an infinite loop on UpdateAndExecute. Spec…

---

## [Â¿Fallo mÃ­o o del rails?](https://www.ruby-forum.com/t/a-fallo-ma-o-o-del-rails/140265)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 6\
**Last updated:** [June 12, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/a-fallo-ma-o-o-del-rails/140265 "2008-06-12T14:18:55Z")

</div>

Fijaos en este cÃ³digo, que saca los tres Ãºltimos productos de determinado subtipo y con plan completo: @productos\_guia = Producto.find(:all, :order =\> “productos.created\_at desc”, :limit =\> 3, :include =\> :images, :…

---

## [Date published page attribute](https://www.ruby-forum.com/t/date-published-page-attribute/116007)

<div class="topic-metadata">

**Author:** [@brogoz](https://www.ruby-forum.com/u/brogoz)\
**Replies:** 6\
**Last updated:** [October 2, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/date-published-page-attribute/116007 "2007-10-02T14:52:59Z")

</div>

Hi all, I was just thinking of adding date published attribute to the Radiant’s admin page view in order to have page published on a particular date. What would be the easiest and a right way to do this? Has anyone t…

---

## [Ruby script to EXE](https://www.ruby-forum.com/t/ruby-script-to-exe/85623)

<div class="topic-metadata">

**Author:** [@vinod](https://www.ruby-forum.com/u/vinod)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ruby-script-to-exe/85623 "2007-09-25T23:10:09Z")

</div>

Hi , Is there any other utility to create EXE out of Ruby scripts other than RubyScript2EXE.rb? I think RubyScript2EXE.rb is too buggy. in couple of weeks 3-4 times the generated EXE is producing different result tha…

---

## [Is possible to edit text field in console?](https://www.ruby-forum.com/t/is-possible-to-edit-text-field-in-console/114597)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 6\
**Last updated:** [September 17, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/is-possible-to-edit-text-field-in-console/114597 "2007-09-17T17:27:47Z")

</div>

A beginner question for sure, but one on which I’m stuck: I’m trying to determine if it’s possible, by any means whatsoever, to display a line of text on the console and allow the user to edit it, before pressing Ente…

---

## [Login Generator with Extensible authorisation](https://www.ruby-forum.com/t/login-generator-with-extensible-authorisation/93926)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 6\
**Last updated:** [April 14, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/login-generator-with-extensible-authorisation/93926 "2006-04-14T15:42:00Z")

</div>

I want my web app to have a signup/login generator but have 2 tiers of users - normal and premium. There seems to be lots of login generator and engines with scattered tutorials about extensible authorisation and Im …

---

## [Simply Getting Post Params](https://www.ruby-forum.com/t/simply-getting-post-params/90252)

<div class="topic-metadata">

**Author:** [@dmccray](https://www.ruby-forum.com/u/dmccray)\
**Replies:** 6\
**Last updated:** [March 31, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/simply-getting-post-params/90252 "2006-03-31T18:32:02Z")

</div>

I am a complete Rails newbie and am trying to understand how I can simply get the data from a password field in a form that is not mapped to a field in the database. The scenario is this. I have a User model that is m…

---

## [Rails form\_for + address picker jquery creates odd parameter format for post](https://www.ruby-forum.com/t/rails-form-for-address-picker-jquery-creates-odd-parameter-format-for-post/238062)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 15, 2013, 12:08pm UTC](https://www.ruby-forum.com/t/rails-form-for-address-picker-jquery-creates-odd-parameter-format-for-post/238062 "2013-12-15T12:08:10Z")

</div>

I am using the addresspicker jquery to get a user address. The user address fields and hidden fields for latitude and longitude are in fields\_for “:Locations”. In order for the jquery callback to fill in my latitude…

---

## [How to evaluate VBscript in Ruby 2.0.0 under Windows 7](https://www.ruby-forum.com/t/how-to-evaluate-vbscript-in-ruby-2-0-0-under-windows-7/235165)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 4, 2013, 2:50pm UTC](https://www.ruby-forum.com/t/how-to-evaluate-vbscript-in-ruby-2-0-0-under-windows-7/235165 "2013-06-04T14:50:24Z")

</div>

I’ve run into a little more pain running my existing scripts using Ruby 2.0.0 on Windows 7. This time, I’m trying to run a script that creates and uses a WIN32OLE ScriptControl in order to run a VBscript script. It w…

---

## [Problem in subclassing and new signals](https://www.ruby-forum.com/t/problem-in-subclassing-and-new-signals/228199)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 13, 2013, 1:48pm UTC](https://www.ruby-forum.com/t/problem-in-subclassing-and-new-signals/228199 "2013-04-13T13:48:13Z")

</div>

Hi, I have a problem with subclassing a widget, when I add new signals to this widget. See this smal example: require ‘gtk2’ class Box1 \< Gtk::VBox def initialize data super false, 2 end end class Box2 \< Gtk::VB…

---

## [Reverse proxy requires http header from upstream?](https://www.ruby-forum.com/t/reverse-proxy-requires-http-header-from-upstream/224227)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 4, 2012, 2:58pm UTC](https://www.ruby-forum.com/t/reverse-proxy-requires-http-header-from-upstream/224227 "2012-11-04T14:58:04Z")

</div>

Hi all, I’m trying to use nginx as a reverse proxy for several softwares that comes with webui, e.g. Transmission, MLDonkey, etc. All are working well except for aMule, which I can connect directly to its port, but…

---

## [Gtk::SourceView - how to disallow modifications? (read only)](https://www.ruby-forum.com/t/gtk-sourceview-how-to-disallow-modifications-read-only/211508)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 5:10pm UTC](https://www.ruby-forum.com/t/gtk-sourceview-how-to-disallow-modifications-read-only/211508 "2011-09-06T17:10:50Z")

</div>

Hi, I sometimes want to read in a file into SourceView but disallow the user from making modifications (unless a check box is clicked, for instance.) Is this possible?

---

## [Globalize2 enhancements (dynamic writers, blcks, validtions)](https://www.ruby-forum.com/t/globalize2-enhancements-dynamic-writers-blcks-validtions/188368)

<div class="topic-metadata">

**Author:** [@dasil003](https://www.ruby-forum.com/u/dasil003)\
**Replies:** 2\
**Last updated:** [June 1, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/globalize2-enhancements-dynamic-writers-blcks-validtions/188368 "2010-06-01T18:51:59Z")

</div>

Hey everyone, I am replacing some old Rails model localization with Globalize2. I am really impressed with the design of the Globalize2 plugin, but we have a pretty involved i18n setup on my site, so I’m finding a lo…

---

## [Got RForum working... now a few questions](https://www.ruby-forum.com/t/got-rforum-working-now-a-few-questions/113134)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 1:04am UTC](https://www.ruby-forum.com/t/got-rforum-working-now-a-few-questions/113134 "2008-02-23T01:04:12Z")

</div>

Finally got RForum running on Ubuntu Feisty with MySQL! Now I have a few questions about configuring some things: How can I prevent users without accounts from posting? I disabled anonymous posting, but if I put in …

---

## [ActiveRecord Query Building Questions](https://www.ruby-forum.com/t/activerecord-query-building-questions/118775)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 2\
**Last updated:** [October 30, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/activerecord-query-building-questions/118775 "2007-10-30T21:55:53Z")

</div>

In my own framework, I have a tool which converts forms into queries and has certain features I’m not seeing talked about for ActiveRecord. Before I go transcribing the tools I’m used to working with into Ruby , I fig…

---

## [WikiOnRuby, RailsOnWiki, RubyOnRails ... bah... whatever](https://www.ruby-forum.com/t/wikionruby-railsonwiki-rubyonrails-bah-whatever/83990)

<div class="topic-metadata">

**Author:** [@Aitor\_Garcia\_R](https://www.ruby-forum.com/u/Aitor_Garcia_R)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 11:27am UTC](https://www.ruby-forum.com/t/wikionruby-railsonwiki-rubyonrails-bah-whatever/83990 "2007-01-31T11:27:51Z")

</div>

Tiempo sin escribir a la lista …en fin. Â¿Sugerencias sobre wiki engines desarrollados en Ruby (y/o en Rails)?. He mirado unos cuantos con variopintas conclusiones: 1.- Instiki da por el saco. SÃ­. El original (Insti…

---

## [Load issues with engines 1.0.5 - also some path problems](https://www.ruby-forum.com/t/load-issues-with-engines-1-0-5-also-some-path-problems/52721)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/load-issues-with-engines-1-0-5-also-some-path-problems/52721 "2006-01-18T19:37:04Z")

</div>

Just upgraded to 1.0.5 from 1.0.2 on my production app. Runs fine here in development mode on my test boxes but when I push it to the production server I’m getting an 500 error and the log is telling me this… Note th…

---

## [Serve different pages for different IP](https://www.ruby-forum.com/t/serve-different-pages-for-different-ip/233548)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 24, 2014, 4:47pm UTC](https://www.ruby-forum.com/t/serve-different-pages-for-different-ip/233548 "2014-12-24T16:47:55Z")

</div>

I have one domain and I want to serve different pages based on the Client IP. Nginx refuse different server with same server\_name and both location must be / . Can you help me? Tnk Posted at Nginx Forum:

---

## [Unzipping a file on S3](https://www.ruby-forum.com/t/unzipping-a-file-on-s3/230990)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 16, 2014, 3:40pm UTC](https://www.ruby-forum.com/t/unzipping-a-file-on-s3/230990 "2014-07-16T15:40:10Z")

</div>

I have a Zip file on S3 that I uploaded with Paperclip. It contains a collection of related resources (an HTML5-animated banner ad unit and all of its support files), and my client would like to be able to review that…

---

## [Comportamiento raro en barra de naveacion usando bootstrap](https://www.ruby-forum.com/t/comportamiento-raro-en-barra-de-naveacion-usando-bootstrap/236166)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 12, 2013, 5:29am UTC](https://www.ruby-forum.com/t/comportamiento-raro-en-barra-de-naveacion-usando-bootstrap/236166 "2013-08-12T05:29:56Z")

</div>

Hola buenos días, compre una plantilla en www.wrapbootsrtap.com, viene sin ningún tipo de documentación, así que me ha tocado deducir, he visto algunos videos en donde copian a las carpetas del proyecto los archivos c…

---

## [Gem for creating translation scopes in classes (i18n\_scopes)](https://www.ruby-forum.com/t/gem-for-creating-translation-scopes-in-classes-i18n-scopes/226375)

<div class="topic-metadata">

**Author:** [@menostos](https://www.ruby-forum.com/u/menostos)\
**Replies:** 0\
**Last updated:** [July 24, 2012, 1:15pm UTC](https://www.ruby-forum.com/t/gem-for-creating-translation-scopes-in-classes-i18n-scopes/226375 "2012-07-24T13:15:41Z")

</div>

Hi everybody I’ve created a gem called i18n\_scopes. it lets you specify helper methods with default scopes, so you don’t need to always supply the :scope option to your t method. it is also possible to have dynamic…

---

## [Re g : benchmark\_add\_channel.py](https://www.ruby-forum.com/t/re-g-benchmark-add-channel-py/218771)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [April 13, 2012, 9:08am UTC](https://www.ruby-forum.com/t/re-g-benchmark-add-channel-py/218771 "2012-04-13T09:08:05Z")

</div>

I was wondering what is this benchmark\_add\_channel.py for. Is it for adding a new channel “on the fly” to an ongoing OFDM transmission :confused: using verbose it says the format to run it as ./benchmark\_add\_channel…

---

## [Nethttp memory leak on long-running daemon](https://www.ruby-forum.com/t/nethttp-memory-leak-on-long-running-daemon/85118)

<div class="topic-metadata">

**Author:** [@sjoonk](https://www.ruby-forum.com/u/sjoonk)\
**Replies:** 3\
**Last updated:** [October 7, 2011, 1:49am UTC](https://www.ruby-forum.com/t/nethttp-memory-leak-on-long-running-daemon/85118 "2011-10-07T01:49:15Z")

</div>

I used nethttp library to my small program. My program is simple. It loops and call nethttp get method at every loop. But when this program run for a long time, memory was up and up eventually. Here’s my program. Wha…

---

## [Ruby app core dump on shutdown](https://www.ruby-forum.com/t/ruby-app-core-dump-on-shutdown/206032)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 21, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/ruby-app-core-dump-on-shutdown/206032 "2011-04-21T23:14:28Z")

</div>

So my work computers are down for part of the day I thought I would post a question on a problem that I have been really trying to track down. I have a Ruby/GTK that runs fine through out is operations. But will segv …

---

## [Ruby CAS Server on Heroku](https://www.ruby-forum.com/t/ruby-cas-server-on-heroku/190415)

<div class="topic-metadata">

**Author:** [@amabdelsalam](https://www.ruby-forum.com/u/amabdelsalam)\
**Replies:** 3\
**Last updated:** [April 19, 2011, 9:36pm UTC](https://www.ruby-forum.com/t/ruby-cas-server-on-heroku/190415 "2011-04-19T21:36:10Z")

</div>

Hi, I’m implementing a single sign-on solution based on rubycas-server and rubycas-client plugins. I’m also deploying a demo for my application on heroku. Is it possible to deploy the CAS server on Heroku and connect…

---

## [Win32ole excel excelconst disable macros](https://www.ruby-forum.com/t/win32ole-excel-excelconst-disable-macros/189966)

<div class="topic-metadata">

**Author:** [@zak](https://www.ruby-forum.com/u/zak)\
**Replies:** 3\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/win32ole-excel-excelconst-disable-macros/189966 "2010-06-17T16:22:31Z")

</div>

Hi! I use book = self.excel.Workbooks.Open(file,ExcelConst::XlUpdateLinksNever) to never update links in excel files when opend with ruby. is there an excelconst to disable macros? i can’t find anything. Thanks, u…

---

## [Nginx as proxy for Amazon S3 protected files](https://www.ruby-forum.com/t/nginx-as-proxy-for-amazon-s3-protected-files/180325)

<div class="topic-metadata">

**Author:** [@Smrchy](https://www.ruby-forum.com/u/Smrchy)\
**Replies:** 3\
**Last updated:** [February 10, 2010, 8:05am UTC](https://www.ruby-forum.com/t/nginx-as-proxy-for-amazon-s3-protected-files/180325 "2010-02-10T08:05:21Z")

</div>

Hi everyone, i know Nginx could make for an excellent proxy for Amazon S3 files when there are publicly accessible. Did anyone ever setup Nginx to proxy files where the ACL ist set to “authenticated-read”? Nginx wou…

---

## [Awesome nested set; parent\_id](https://www.ruby-forum.com/t/awesome-nested-set-parent-id/179855)

<div class="topic-metadata">

**Author:** [@rmb](https://www.ruby-forum.com/u/rmb)\
**Replies:** 3\
**Last updated:** [December 13, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/awesome-nested-set-parent-id/179855 "2009-12-13T23:56:24Z")

</div>

Bonjour, Je débute en rails, et j’ai un petit souci pour lequel je ne vois pas bien de solution. J’ai un “model” nommé “Groupe”. Il a une relation de type has\_many vers un autre modèle (aucun pb) il a une relation a…

---

## [Exception trying to run Ruby 1.9 from Java](https://www.ruby-forum.com/t/exception-trying-to-run-ruby-1-9-from-java/156970)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 3\
**Last updated:** [January 6, 2009, 6:59pm UTC](https://www.ruby-forum.com/t/exception-trying-to-run-ruby-1-9-from-java/156970 "2009-01-06T18:59:31Z")

</div>

When I try running Ruby 1.9 from withing Java (JRuby 1.1.6), I see the following exception: Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: -1 at org.jruby.ast.executable.YARVMachine.pop(YARVMach…

---

## [JRuby 1.1.3 Released](https://www.ruby-forum.com/t/jruby-1-1-3-released/143490)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 3\
**Last updated:** [July 20, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/jruby-1-1-3-released/143490 "2008-07-20T19:19:48Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.1.3! Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.1.3 is the third point release of JRuby 1.1. The fixes in this …

---

## [Is there a built in variable for the current path?](https://www.ruby-forum.com/t/is-there-a-built-in-variable-for-the-current-path/140622)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 3\
**Last updated:** [June 16, 2008, 11:56pm UTC](https://www.ruby-forum.com/t/is-there-a-built-in-variable-for-the-current-path/140622 "2008-06-16T23:56:31Z")

</div>

Probably a silly question, but I’m trying to create a partial that I use in two seperate resources… one is called Tickets and one is TicketsSearch. I have links at the top of the page that order my seatrch by passing …

---

## [802.11 on USRP+GNURadio](https://www.ruby-forum.com/t/802-11-on-usrp-gnuradio/139750)

<div class="topic-metadata">

**Author:** [@sri\_ram](https://www.ruby-forum.com/u/sri_ram)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 11:58am UTC](https://www.ruby-forum.com/t/802-11-on-usrp-gnuradio/139750 "2008-06-07T11:58:04Z")

</div>

Sorry. The subject of my previous mail ought to have been 802.11 on USRP. Sriram

---

## [Number Spiral (#109)](https://www.ruby-forum.com/t/number-spiral-109/82245)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/number-spiral-109/82245 "2007-09-25T22:41:39Z")

</div>

I had trouble with this problem when it appeared on Code Golf. It seemed easy enough but I just couldn’t come up with a solid strategy. Luckily, the people who solved this week’s quiz are much smarter than me and I…

---

## [Execution timeout](https://www.ruby-forum.com/t/execution-timeout/51170)

<div class="topic-metadata">

**Author:** [@guytavor](https://www.ruby-forum.com/u/guytavor)\
**Replies:** 3\
**Last updated:** [December 28, 2005, 5:23pm UTC](https://www.ruby-forum.com/t/execution-timeout/51170 "2005-12-28T17:23:31Z")

</div>

Hi! I have a rails action controller method which takes long time to complete. After about 4-5 minutes running, I get a “execution expired” error which stops this method’s execution. I looked and looked, searched an…

---

## [How to run Ruby API script in R](https://www.ruby-forum.com/t/how-to-run-ruby-api-script-in-r/260807)

<div class="topic-metadata">

**Author:** [@mataruby](https://www.ruby-forum.com/u/mataruby)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 2:38am UTC](https://www.ruby-forum.com/t/how-to-run-ruby-api-script-in-r/260807 "2021-01-16T02:38:31Z")

</div>

Hi everyone. I’m completely new to Ruby, I typically use R for my projects. I am interested in testing Ruby’s google finance API (GitHub - dblock/google-finance-ruby-client: Google Finance web API ruby client with suppor…

---

## [Gio mount flags](https://www.ruby-forum.com/t/gio-mount-flags/238756)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 27, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/gio-mount-flags/238756 "2014-01-27T20:53:24Z")

</div>

Hi, I want to mount volumes under /media/username/. I get volumes: volume\_monitor = Gio::VolumeMonitor.get all\_volumes = volume\_monitor.volumes And I tried to mount volume under /media/username/, I am getting error: a…

---

## [Using upstream in access phase and problem when having many connections](https://www.ruby-forum.com/t/using-upstream-in-access-phase-and-problem-when-having-many-connections/162479)

<div class="topic-metadata">

**Author:** [@Huy\_Phan](https://www.ruby-forum.com/u/Huy_Phan)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 8:33am UTC](https://www.ruby-forum.com/t/using-upstream-in-access-phase-and-problem-when-having-many-connections/162479 "2009-03-12T08:33:19Z")

</div>

Hi there, I’ve done the nginx module that using upstream in access phase. It’s working properly with single request. When I use apache benchmark with requests = 10000 and concurrency = 500, the connection is always b…

---

## [Como saber el tamaÃ±o de un array](https://www.ruby-forum.com/t/como-saber-el-tamaa-o-de-un-array/155324)

<div class="topic-metadata">

**Author:** [@fromthaend](https://www.ruby-forum.com/u/fromthaend)\
**Replies:** 1\
**Last updated:** [December 10, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/como-saber-el-tamaa-o-de-un-array/155324 "2008-12-10T16:32:17Z")

</div>

saludos quiero saber cuantos registros vienen en un array producto de una consulta a una base de datos del tipo array = Modelo.find\_by\_sql(“consulta”) que atributo del array puedo consultar para conocer su tamaÃ±o d…

---

## [Variable for the real port of a proxy?](https://www.ruby-forum.com/t/variable-for-the-real-port-of-a-proxy/151882)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 1\
**Last updated:** [October 29, 2008, 6:33am UTC](https://www.ruby-forum.com/t/variable-for-the-real-port-of-a-proxy/151882 "2008-10-29T06:33:23Z")

</div>

Hi, Is there any way to set a header that identifies the real port of the proxy that’s handing a request? That is, if I have a round-robin proxy-set, a request forwarded to the proxy at port 8000 will have the header…

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

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