# Top

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

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

---

## [Loading yield within an Iframe](https://www.ruby-forum.com/t/loading-yield-within-an-iframe/179414)

<div class="topic-metadata">

**Author:** [@prionko](https://www.ruby-forum.com/u/prionko)\
**Replies:** 3\
**Last updated:** [November 25, 2009, 4:39am UTC](https://www.ruby-forum.com/t/loading-yield-within-an-iframe/179414 "2009-11-25T04:39:55Z")

</div>

Hi All, Im building an application in RoR. The client wants to put the main content inside an iframe. By main content I mean, the contents which gets displayed by the calling yield inside application.html.erb file. C…

---

## [Crawler for Ferret](https://www.ruby-forum.com/t/crawler-for-ferret/163403)

<div class="topic-metadata">

**Author:** [@HuangS\_ZijianSVicto](https://www.ruby-forum.com/u/HuangS_ZijianSVicto)\
**Replies:** 3\
**Last updated:** [March 20, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/crawler-for-ferret/163403 "2009-03-20T13:54:01Z")

</div>

Hi, guys: Can you please recommend a good crawler for Ferret? Nutch is pretty powerful in the Java side, do we have some thing is similar in Ruby? It will be great if the crawler also handlers incremental index update …

---

## [How to check if more input is available on an input stream](https://www.ruby-forum.com/t/how-to-check-if-more-input-is-available-on-an-input-stream/157102)

<div class="topic-metadata">

**Author:** [@Mir\_A](https://www.ruby-forum.com/u/Mir_A)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/how-to-check-if-more-input-is-available-on-an-input-stream/157102 "2009-01-07T21:39:29Z")

</div>

Hi, I have a simple question. I have a block that has 2 input streams and the inputs are consumed at different rates. For each 1 input consumed on the first input stream N inputs are consumed in the second stream. T…

---

## [Radiant 0.6.6 - admin JavaScript issues](https://www.ruby-forum.com/t/radiant-0-6-6-admin-javascript-issues/135414)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 3\
**Last updated:** [April 22, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/radiant-0-6-6-admin-javascript-issues/135414 "2008-04-22T20:06:52Z")

</div>

I found a few issues relating to the admin JavaScript file move in Radiant 0.6.6. When upgrading an existing project, the new JS files are added to public/javascripts/admin/ as expected, but their old equivalents insi…

---

## [\[HELP\]No :secret given to the #protect\_from\_forgery call](https://www.ruby-forum.com/t/help-no-secret-given-to-the-protect-from-forgery-call/132042)

<div class="topic-metadata">

**Author:** [@Camilo\_T](https://www.ruby-forum.com/u/Camilo_T)\
**Replies:** 3\
**Last updated:** [March 16, 2008, 3:27pm UTC](https://www.ruby-forum.com/t/help-no-secret-given-to-the-protect-from-forgery-call/132042 "2008-03-16T15:27:43Z")

</div>

I am starting to BDD. When specing the controller I want to test for object creation: it “deberia crear una nueva persona en post create” do Usuario.should\_receive(:create).with({:nombre =\> “camilo”, :clave =\> “secre…

---

## [Text\_field "maxsize" not working?](https://www.ruby-forum.com/t/text-field-maxsize-not-working/67446)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 3\
**Last updated:** [September 4, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/text-field-maxsize-not-working/67446 "2006-09-04T14:44:02Z")

</div>

Is this something I’m doing wrong, or is there a bug (or something else)? The agile book and the ROR API seems to indicate this should work. rhtml: \<%= text\_field(‘state’, ‘abbreviation’, :size =\> 2, :maxsize =\> 2…

---

## [Apparent external-command hang due to stdin activity](https://www.ruby-forum.com/t/apparent-external-command-hang-due-to-stdin-activity/228844)

<div class="topic-metadata">

**Author:** [@Paul\_Madden](https://www.ruby-forum.com/u/Paul_Madden)\
**Replies:** 1\
**Last updated:** [October 11, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/apparent-external-command-hang-due-to-stdin-activity/228844 "2013-10-11T16:25:03Z")

</div>

I have a strange case where, if I press in the shell where a certain (non-interactive) program is running under JRuby, that program apparently hangs for some indeterminate amount of time. Pressing again somehow allo…

---

## [Simple script not working](https://www.ruby-forum.com/t/simple-script-not-working/224873)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [December 4, 2012, 1:25pm UTC](https://www.ruby-forum.com/t/simple-script-not-working/224873 "2012-12-04T13:25:45Z")

</div>

Hi, require ‘rubygems’ require ‘watir-webdriver’ children=\[\] count=0 fact=0 5.times do children\<\<Thread.new do 1.times do fact+=1 begin br=Watir::Browser.new :ie br.goto(‘some-site’) br.link(:text,‘Sign In’)…

---

## [jQueryUI autocomplete (Rails 3.1): can't get source as url to work](https://www.ruby-forum.com/t/jqueryui-autocomplete-rails-3-1-cant-get-source-as-url-to-work/223069)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [September 28, 2012, 1:17am UTC](https://www.ruby-forum.com/t/jqueryui-autocomplete-rails-3-1-cant-get-source-as-url-to-work/223069 "2012-09-28T01:17:41Z")

</div>

Hey, I’m able to duplicate everything in Ryan B.’ screencast on jQueryUI autocomplete (#102http://railscasts.com/episodes/102-auto-complete-association-revised), except for the piece that calls the server for complet…

---

## [How to become effective and professional in Rails?](https://www.ruby-forum.com/t/how-to-become-effective-and-professional-in-rails/221132)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 4, 2012, 10:47am UTC](https://www.ruby-forum.com/t/how-to-become-effective-and-professional-in-rails/221132 "2012-07-04T10:47:55Z")

</div>

Dear Group, I know that this kind of question may sound not very good to you. But I just wanted to ask you that what is the best way to become perfectly effective and professional with good knowledge in rails. I’m …

---

## [ANN: Sequel 3.4.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-4-0-released/174822)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 7\
**Last updated:** [September 3, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-4-0-released/174822 "2009-09-03T12:24:11Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Parsing pdf files](https://www.ruby-forum.com/t/parsing-pdf-files/174216)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 7\
**Last updated:** [August 24, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/parsing-pdf-files/174216 "2009-08-24T14:23:59Z")

</div>

hello all, Does anyone know a good pdf parser that retains formatting after its extracted text? I used PDF::Reader, but when you extract text you just get a stream of characters that are not at all intelligible. Whe…

---

## [ActionController::InvalidAuthenticityToken](https://www.ruby-forum.com/t/actioncontroller-invalidauthenticitytoken/155699)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 7\
**Last updated:** [December 16, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/actioncontroller-invalidauthenticitytoken/155699 "2008-12-16T13:15:28Z")

</div>

Bonjour, Un visiteur m’a signalé qu’il n’arrivait pas à valider un formulaire. Dans les logs j’ai ceci: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): /vendor/rails/actionpa…

---

## [NGINX: Reverse Proxy (SSL) with non-ssl backend](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl-with-non-ssl-backend/229992)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 29, 2014, 1:16am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl-with-non-ssl-backend/229992 "2014-05-29T01:16:14Z")

</div>

Hi, I currently run a small system which consists on an Apache HTTP with PHP (8080) backend (no SSL on localhost) with a Varnish HTTP accelerator on Port 9000 (localhost) and a NGINX reverse proxy (SSL). I am facing …

---

## [Fixtures and validation](https://www.ruby-forum.com/t/fixtures-and-validation/215004)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 19, 2011, 6:18pm UTC](https://www.ruby-forum.com/t/fixtures-and-validation/215004 "2011-12-19T18:18:00Z")

</div>

Hello, I’m pretty new to Rails - very impressed not only by how much faster I can create working programs but also by how it helps me to think more clearly about design. What has me confused is why does the fixture…

---

## [Composite index via command line migration, different behaviour in file](https://www.ruby-forum.com/t/composite-index-via-command-line-migration-different-behaviour-in-file/205974)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 20, 2011, 9:32pm UTC](https://www.ruby-forum.com/t/composite-index-via-command-line-migration-different-behaviour-in-file/205974 "2011-04-20T21:32:53Z")

</div>

Hello everybody, I have a class like this: class Foos \< ActiveRecord::Migration def self.up create\_table :foos,:id =\> false, do |t| t.references :table1 t.references :table2 t.timestamps end end def self.down …

---

## [Globalize1 migration path, scopes and namespaces](https://www.ruby-forum.com/t/globalize1-migration-path-scopes-and-namespaces/184690)

<div class="topic-metadata">

**Author:** [@JSSS\_rgen\_FeSSSSlme](https://www.ruby-forum.com/u/JSSS_rgen_FeSSSSlme)\
**Replies:** 2\
**Last updated:** [March 6, 2010, 9:41pm UTC](https://www.ruby-forum.com/t/globalize1-migration-path-scopes-and-namespaces/184690 "2010-03-06T21:41:32Z")

</div>

Hi, I am working on this plugin I am calling globalize\_bridge. It is meant to provide a seamless migration path for rails apps using Globalize (1) and utilizing the built in rails I18n mechanism. I am pretty much don…

---

## [Ferret result set returning maximum of 10 rows](https://www.ruby-forum.com/t/ferret-result-set-returning-maximum-of-10-rows/172387)

<div class="topic-metadata">

**Author:** [@shaunp](https://www.ruby-forum.com/u/shaunp)\
**Replies:** 2\
**Last updated:** [July 28, 2009, 12:22pm UTC](https://www.ruby-forum.com/t/ferret-result-set-returning-maximum-of-10-rows/172387 "2009-07-28T12:22:24Z")

</div>

I have just upgraded to acts\_as\_ferret-0.4.4 and am experiencing some unexpected behaviour. Although the number of search results can be many e.g. @search\_products = Product.find\_with\_ferret(“query”) @search\_products…

---

## [Formatting values of numbers using text\_field](https://www.ruby-forum.com/t/formatting-values-of-numbers-using-text-field/72938)

<div class="topic-metadata">

**Author:** [@HoganS\_Brian\_P](https://www.ruby-forum.com/u/HoganS_Brian_P)\
**Replies:** 2\
**Last updated:** [February 26, 2006, 12:47pm UTC](https://www.ruby-forum.com/t/formatting-values-of-numbers-using-text-field/72938 "2006-02-26T12:47:30Z")

</div>

Anyone have a quick solution on how to format a number in a text\_field tag? \<% text\_field “price”, “amount” %\> returns 100.0 and it would be nice if it showed 100.00 Of course, number\_with\_precision works nicely, …

---

## [What is YARV?](https://www.ruby-forum.com/t/what-is-yarv/101120)

<div class="topic-metadata">

**Author:** [@jim](https://www.ruby-forum.com/u/jim)\
**Replies:** 2\
**Last updated:** [February 5, 2006, 11:56pm UTC](https://www.ruby-forum.com/t/what-is-yarv/101120 "2006-02-05T23:56:39Z")

</div>

I see it’s a VM for Ruby, but what does that mean and what is it good for?

---

## [Postgres real being treated as boolean?](https://www.ruby-forum.com/t/postgres-real-being-treated-as-boolean/51283)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 11:55pm UTC](https://www.ruby-forum.com/t/postgres-real-being-treated-as-boolean/51283 "2005-11-21T23:55:54Z")

</div>

I have a real number column (“real”) in Postgres and I think it might be being treated as a boolean. In my template I have: \<%= number\_with\_precision(item.vote\_average, 2) %\> and it’s outputting 1.00 for everything (…

---

## [Devops system profiler](https://www.ruby-forum.com/t/devops-system-profiler/264566)

<div class="topic-metadata">

**Author:** [@sablokgaurav](https://www.ruby-forum.com/u/sablokgaurav)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 12:39pm UTC](https://www.ruby-forum.com/t/devops-system-profiler/264566 "2024-01-24T12:39:15Z")

</div>

a ruby gem to help you with your devops integration class DevopsSystemUtil def initialize(dir\_path, backup\_dir\_path, file\_extension) @dir\_path = dir\_path @backup\_dir = backup\_dir\_path @extens…

---

## [My workaround to avoid System.java:-2:in \`arraycopy': java.lang.ArrayIndexOutOfBoundsException](https://www.ruby-forum.com/t/my-workaround-to-avoid-system-javain-arraycopy-java-lang-arrayindexoutofboundsexception/207245)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 28, 2011, 4:17pm UTC](https://www.ruby-forum.com/t/my-workaround-to-avoid-system-javain-arraycopy-java-lang-arrayindexoutofboundsexception/207245 "2011-05-28T16:17:31Z")

</div>

You should install arel v 2.0.9 before installing rails. Then install rails. Then in your Gemfile you should put gem ‘arel’, ‘2.0.9’. The problem is also on rspec 2.6.0 so in your Gemfile you should put gem ‘rspec-r…

---

## [Re: ListCtrl.get\_selections broken?](https://www.ruby-forum.com/t/re-listctrl-get-selections-broken/162575)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/re-listctrl-get-selections-broken/162575 "2009-03-12T22:42:15Z")

</div>

Christian - you didn’t say, but I’m assuming you’re working on Windows b/c I now tried it there and can reproduce the problem. I’ve no idea why Windows differs here, but fortunately it’s easy to fix. The definition of…

---

## [Bug in 1.9.14 or something else?](https://www.ruby-forum.com/t/bug-in-1-9-14-or-something-else/244416)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [April 11, 2016, 6:52pm UTC](https://www.ruby-forum.com/t/bug-in-1-9-14-or-something-else/244416 "2016-04-11T18:52:47Z")

</div>

I’m running a WordPress 4.4.2-based membership site on Ubuntu 12.04 LTS with PHP 5.6.20. After upgrading to 1.9.14 (compiling from source with no errors or warnings), I could no longer log in to my site, using Firefo…

---

## [Ubuntu SourceView](https://www.ruby-forum.com/t/ubuntu-sourceview/197200)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 4\
**Last updated:** [February 10, 2012, 4:41am UTC](https://www.ruby-forum.com/t/ubuntu-sourceview/197200 "2012-02-10T04:41:22Z")

</div>

hi, i’m resending this mail, because it’s been considered Spam, and i’m still stuck on this. i wanted to test my app on ubuntu lucid, but while require ‘gtksourceview’ on gentoo works fine i find out that on ubuntu…

---

## [\[RSpec, Rails\] POST create action spec and before\_filter](https://www.ruby-forum.com/t/rspec-rails-post-create-action-spec-and-before-filter/168277)

<div class="topic-metadata">

**Author:** [@Florent\_F.rent](https://www.ruby-forum.com/u/Florent_F.rent)\
**Replies:** 4\
**Last updated:** [May 19, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/rspec-rails-post-create-action-spec-and-before-filter/168277 "2009-05-19T21:18:06Z")

</div>

Hello, I face the following problem for a POST create action spec. I have this controller: http://pastie.org/482270 I wrote this spec: http://pastie.org/482273 The spec “should set @context” works fine. But when run…

---

## [String Indexing](https://www.ruby-forum.com/t/string-indexing/168071)

<div class="topic-metadata">

**Author:** [@rubist](https://www.ruby-forum.com/u/rubist)\
**Replies:** 4\
**Last updated:** [May 15, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/string-indexing/168071 "2009-05-15T15:40:50Z")

</div>

Hi all, I have a piece of data like so: aaaaaaa bbbbbbb ccccccc 123 ddddddd yes eeeeeee I need to find the string yes and the string 123, however I first have to find the string yes. I have this code to do this…

---

## [Upload di cartelle](https://www.ruby-forum.com/t/upload-di-cartelle/133852)

<div class="topic-metadata">

**Author:** [@h\_g](https://www.ruby-forum.com/u/h_g)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/upload-di-cartelle/133852 "2008-04-07T12:24:58Z")

</div>

Ciao a tutti, Ã¨ possibile da ror effettuare un upload di cartelle? Ancora Ciao e Grazie

---

## [Installation issue](https://www.ruby-forum.com/t/installation-issue/104394)

<div class="topic-metadata">

**Author:** [@Roberto\_Luis\_Iriart](https://www.ruby-forum.com/u/Roberto_Luis_Iriart)\
**Replies:** 4\
**Last updated:** [May 29, 2007, 1:35am UTC](https://www.ruby-forum.com/t/installation-issue/104394 "2007-05-29T01:35:30Z")

</div>

Hello, I’m trying to install Radiant, but after trying on and off for a week, it’s been unsuccessful. Right know I’m getting this error and I don’t know what to do next. I’m trying in a VMware instance with Windows 20…

---

## [Ruby Script to accept Spanish characters](https://www.ruby-forum.com/t/ruby-script-to-accept-spanish-characters/203529)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 23, 2011, 7:34am UTC](https://www.ruby-forum.com/t/ruby-script-to-accept-spanish-characters/203529 "2011-02-23T07:34:11Z")

</div>

Hi All, I have a ruby script which picks up data from a text file and then adds the corresponding data into my postgresql database. However, it not picking up “diacritic” i.e. characters like “Á, é, ó” etc and throwin…

---

## [Getting a unique filename?](https://www.ruby-forum.com/t/getting-a-unique-filename/194960)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [September 14, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/getting-a-unique-filename/194960 "2010-09-14T16:50:19Z")

</div>

I need to build a Zip-Archive with a unique name that is served by Apache using its X-SendFile mechanism. Tempfile doesn’t appear to be suitable in this case as it unlinks its managed file when the Tempfile object is …

---

## [Data Binding to IronRuby Objects in WPF](https://www.ruby-forum.com/t/data-binding-to-ironruby-objects-in-wpf/172288)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [July 21, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/data-binding-to-ironruby-objects-in-wpf/172288 "2009-07-21T19:48:31Z")

</div>

Hi there, I’m trying to databind IronRuby objects to a WPF listbox with no success My data is a Ruby array of objects. The array seems to be bound fine as I see the expected number of rows in the listbox. However, eve…

---

## [Indexing the local file system](https://www.ruby-forum.com/t/indexing-the-local-file-system/163385)

<div class="topic-metadata">

**Author:** [@HuangS\_ZijianSVicto](https://www.ruby-forum.com/u/HuangS_ZijianSVicto)\
**Replies:** 3\
**Last updated:** [March 19, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/indexing-the-local-file-system/163385 "2009-03-19T22:43:28Z")

</div>

Hi, all: I am new to Ferret, can anyone please tell me what do I do to index some text files in a local directory? Thanks Victor

---

## [Found some inconsistently behavior on its method](https://www.ruby-forum.com/t/found-some-inconsistently-behavior-on-its-method/201768)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 14, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/found-some-inconsistently-behavior-on-its-method/201768 "2011-01-14T22:06:12Z")

</div>

Hi there, I’ve just started using rspec and rspec-rails (both are the newest version on git repository). I met some inconsistently behavior on it method and its method. The following is the way to reproduce it: com…

---

## [Any idea why spec\_server gets 'cannot remove Object' error?](https://www.ruby-forum.com/t/any-idea-why-spec-server-gets-cannot-remove-object-error/170839)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 5\
**Last updated:** [June 25, 2009, 1:16am UTC](https://www.ruby-forum.com/t/any-idea-why-spec-server-gets-cannot-remove-object-error/170839 "2009-06-25T01:16:43Z")

</div>

I am sure better minds than mine can figure this out, but I am stumped. When I run any spec using spec\_server, a get 0 failures and the command prompt returns without issue. If I run the same spec again, I still get 0…

---

## [Maximum number of files on a disk?](https://www.ruby-forum.com/t/maximum-number-of-files-on-a-disk/154337)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 5\
**Last updated:** [November 28, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/maximum-number-of-files-on-a-disk/154337 "2008-11-28T21:45:43Z")

</div>

Dear all, is there a way to read out the maximum number of files that can be created on a hard disk/memory stick etc., from Ruby ? I’d need to know this for ext3, NTFS and fat32 systems, and from a search about ext3…

---

## [One Rails App - thousands of vHosts pointing to it](https://www.ruby-forum.com/t/one-rails-app-thousands-of-vhosts-pointing-to-it/144272)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 5\
**Last updated:** [July 28, 2008, 2:53am UTC](https://www.ruby-forum.com/t/one-rails-app-thousands-of-vhosts-pointing-to-it/144272 "2008-07-28T02:53:37Z")

</div>

I have a new client with a project that will be organized a lot like “blogspot.com” (aka blogger) where there are a large number of content providers, and each one of those people gets their own subdomain off the main…

---

## [Client Certificates in Mongrel](https://www.ruby-forum.com/t/client-certificates-in-mongrel/91859)

<div class="topic-metadata">

**Author:** [@fredknowles](https://www.ruby-forum.com/u/fredknowles)\
**Replies:** 5\
**Last updated:** [February 29, 2008, 5:31am UTC](https://www.ruby-forum.com/t/client-certificates-in-mongrel/91859 "2008-02-29T05:31:35Z")

</div>

I’m running Apache 2.2.4 w/SSL and required client authentication proxying to a Mongrel cluster. I can’t seem to figure out how to get the client\_certificate information out of my ruby App. If I place \<%= debug(reque…

---

## [Callback oder nicht](https://www.ruby-forum.com/t/callback-oder-nicht/119374)

<div class="topic-metadata">

**Author:** [@roslind](https://www.ruby-forum.com/u/roslind)\
**Replies:** 5\
**Last updated:** [November 6, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/callback-oder-nicht/119374 "2007-11-06T23:59:01Z")

</div>

Hallo Gruppe, ich suche gerade nach der besten Methode, um CRUD Actions in einem Model zu Ã¼berschreiben. Ziel: Beim Speichern sollen Daten manipuliert werden, beim Lesen sollen diese Manipulationen wieder rÃ¼ckgÃ¤ngi…

---

## [IndexReader#terms for all fields?](https://www.ruby-forum.com/t/indexreader-terms-for-all-fields/91471)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 5\
**Last updated:** [April 12, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/indexreader-terms-for-all-fields/91471 "2007-04-12T15:26:29Z")

</div>

Is it possible to query the index for a TermEnum for all fields in the index instead of just ? Thanks, John

---

## [Loops in a helper](https://www.ruby-forum.com/t/loops-in-a-helper/88300)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/loops-in-a-helper/88300 "2007-03-09T16:42:41Z")

</div>

Hello Why this doesnt work? application\_helper def check\_collection(collection,partial\_array,msg) if collection.empty? msg else partial\_array.each do |partial| render :partial =\> partial end end end view \<%=…

---

## [Render failing in 5.2.3](https://www.ruby-forum.com/t/render-failing-in-5-2-3/252395)

<div class="topic-metadata">

**Author:** [@Padashar](https://www.ruby-forum.com/u/Padashar)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 8:04pm UTC](https://www.ruby-forum.com/t/render-failing-in-5-2-3/252395 "2019-05-09T20:04:59Z")

</div>

I’m receiving the following error after trying out Rails 5.2.3: Missing partial homes/\_header, application/\_header with {:locale=\>\[:en\], :formats=\>\[:html\], :variants=\>\[\], :handlers=\>\[:raw, :erb, :html, :builder, :ruby, …

---

## [Generating regex to remove the beginning of a string](https://www.ruby-forum.com/t/generating-regex-to-remove-the-beginning-of-a-string/245246)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 8, 2017, 4:51pm UTC](https://www.ruby-forum.com/t/generating-regex-to-remove-the-beginning-of-a-string/245246 "2017-02-08T16:51:05Z")

</div>

Am required to delete the numbers in the beginning of the string. “12mthenhdca\_fld1414” is there any regex to match the numbers in the beginning of the string. Any help is highly appreciated. Thanks, Sai

---

## [Lexical scope in Ruby](https://www.ruby-forum.com/t/lexical-scope-in-ruby/232861)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 5, 2014, 12:24pm UTC](https://www.ruby-forum.com/t/lexical-scope-in-ruby/232861 "2014-11-05T12:24:20Z")

</div>

From the “Progamming Languages” Coursera course (https://class.coursera.org/proglang-003), this is a characteristic of a lexically scoped language: val x = 1 fun f y = x + y val x = 2 val y = 3 val z = f (x+y) z …

---

## [Uestion about ruby continuations](https://www.ruby-forum.com/t/uestion-about-ruby-continuations/237719)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 6, 2013, 8:45am UTC](https://www.ruby-forum.com/t/uestion-about-ruby-continuations/237719 "2013-12-06T08:45:12Z")

</div>

Hi guys, I was playing with continuations in Scheme and decided to port one puzzle from scheme to ruby. But it works in a different way. Here is my code and explatations: http://blog.gonzih.me/blog/2013/11/26/yin-yang…

---

## [How to pass more than one argument to Rails validation hooks?](https://www.ruby-forum.com/t/how-to-pass-more-than-one-argument-to-rails-validation-hooks/235095)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 30, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/how-to-pass-more-than-one-argument-to-rails-validation-hooks/235095 "2013-05-30T18:14:25Z")

</div>

I don’t know how to pass many arguments to before\_validation hook. I want to implement the hook on both create and update methods: before\_validation(:on =\> \[:create, :update\]) { // do something } But this form of ar…

---

## [2048 worker\_connections are not enough while connecting to upstream](https://www.ruby-forum.com/t/2048-worker-connections-are-not-enough-while-connecting-to-upstream/206791)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 10, 2011, 12:29pm UTC](https://www.ruby-forum.com/t/2048-worker-connections-are-not-enough-while-connecting-to-upstream/206791 "2011-05-10T12:29:57Z")

</div>

I’m using nginx as a remote proxy server in front of some Tomcat instances, with pretty high traffic. Suddenly yesterday afternoon we started getting the error in the message subject, one I’d never seen before, and it…

---

## [Running GzipWriter on same input produces different output](https://www.ruby-forum.com/t/running-gzipwriter-on-same-input-produces-different-output/121799)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 2\
**Last updated:** [February 28, 2011, 5:24am UTC](https://www.ruby-forum.com/t/running-gzipwriter-on-same-input-produces-different-output/121799 "2011-02-28T05:24:01Z")

</div>

Hi, Is it normal that everytime I gzip the same contents, the output is different? For example, calling gzip writer on the same input twice, gives different results: strio = StringIO.open(’’,‘w’) gz = Zlib::GzipW…

---

## [SVN \_\_AND\_\_ Git revisions pushed](https://www.ruby-forum.com/t/svn-and-git-revisions-pushed/157309)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [January 9, 2009, 11:56am UTC](https://www.ruby-forum.com/t/svn-and-git-revisions-pushed/157309 "2009-01-09T11:56:07Z")

</div>

My changes went in this morning, so I have pushed SVN 183 and Git revision 69815c7. Two things: Git may be in a bad state due to CRLF issues and casing. Can I get a confirmation that it compiles and runs? T…

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

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