# Top

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

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

---

## [AJAX + form con interazioni multiple](https://www.ruby-forum.com/t/ajax-form-con-interazioni-multiple/87713)

<div class="topic-metadata">

**Author:** [@carminem](https://www.ruby-forum.com/u/carminem)\
**Replies:** 5\
**Last updated:** [March 5, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/ajax-form-con-interazioni-multiple/87713 "2007-03-05T14:45:37Z")

</div>

Salve a tutti, Mi scuso per l’oggetto poco chiaro ma, al momento, non ho saputo trovare di meglio. Inizio descrivendo dapprima ciÃ² che vorrei ottenere. All’utente viene mostrato una richiesta di nr badge (non c’Ã¨ …

---

## [Wiki.rubyonrails.org spam](https://www.ruby-forum.com/t/wiki-rubyonrails-org-spam/72510)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 5\
**Last updated:** [October 17, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/wiki-rubyonrails-org-spam/72510 "2006-10-17T19:59:56Z")

</div>

Hi, Who’s in charge of wiki.rubyonrails.org? The spam is ridiculous. The maintainer needs to step up and take action. -Andrew R.

---

## [2D display in Rails](https://www.ruby-forum.com/t/2d-display-in-rails/96526)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 5\
**Last updated:** [June 29, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/2d-display-in-rails/96526 "2006-06-29T19:23:29Z")

</div>

Hi, Imagine you have a program that contains information on an entity called a Player. There can be lots of Players, say a thousand of them. Players have 20 or so attributes, two of them are an X and Y position. T…

---

## [Admins and Customers vs. Users](https://www.ruby-forum.com/t/admins-and-customers-vs-users/163796)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 2\
**Last updated:** [March 25, 2009, 4:36am UTC](https://www.ruby-forum.com/t/admins-and-customers-vs-users/163796 "2009-03-25T04:36:38Z")

</div>

Hello, I wanted to ask how do most people approach this: I have several staff that act as admins and have control of products, customers, etc… I also have customers that can log in and change their details, password,…

---

## [Problem with Rails assets:precompile on 7u40](https://www.ruby-forum.com/t/problem-with-rails-assets-precompile-on-7u40/246216)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 18, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/problem-with-rails-assets-precompile-on-7u40/246216 "2013-09-18T22:18:28Z")

</div>

Hi I’m having problems running rake RAILS\_ENV=production RAILS\_GROUPS=assets assets:precompile with the following exception: This is with Rails 3.2.13, JRuby 1.7.4 on Ubuntu 12.04LTS and Oracle Java 7u40. The same…

---

## [Help: Constellation receiver Object Types](https://www.ruby-forum.com/t/help-constellation-receiver-object-types/245960)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 8, 2013, 2:29pm UTC](https://www.ruby-forum.com/t/help-constellation-receiver-object-types/245960 "2013-08-08T14:29:26Z")

</div>

I wanted to use the Constellation Receiver Block for QAM16 but the Class Referenceonly shows 8PSK, BPSK, DPSK PSK, and QPSK. Can this be used for 16QAM? Thanks…Tom

---

## [Best practice on FastCGI configuration to avoid ambiguous FCGI\_PARAMS keys](https://www.ruby-forum.com/t/best-practice-on-fastcgi-configuration-to-avoid-ambiguous-fcgi-params-keys/221855)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 2, 2012, 5:57pm UTC](https://www.ruby-forum.com/t/best-practice-on-fastcgi-configuration-to-avoid-ambiguous-fcgi-params-keys/221855 "2012-08-02T17:57:39Z")

</div>

Most of the times when configuring a FastCGI application it is just good enough to include the fastcgi.conf which ships with the Nginx distribution. On the other hand sometimes it is required to just change one or few…

---

## [Array product with nested arrays](https://www.ruby-forum.com/t/array-product-with-nested-arrays/218069)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 20, 2012, 11:57am UTC](https://www.ruby-forum.com/t/array-product-with-nested-arrays/218069 "2012-03-20T11:57:23Z")

</div>

I have a requirement that i need to not get the full cartesian product but a unique ordered single product of an array with nested arrays. For example. \[\[“X”,“Y”\] , \[“E”\], \[“S”,“T”,“R”\] \] My requirement is that the f…

---

## [Nginx Load balancer mode for JBoss / Icefaces application](https://www.ruby-forum.com/t/nginx-load-balancer-mode-for-jboss-icefaces-application/213855)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 15, 2011, 4:19am UTC](https://www.ruby-forum.com/t/nginx-load-balancer-mode-for-jboss-icefaces-application/213855 "2011-11-15T04:19:06Z")

</div>

Hello We have setup nginx as a Loadbalancer on Centos 5.2 x64. nginx is acting as a LB for a web application developed using Java servlets and Icefaces (1.8.2). The web application is deployed on JBoss 5.1. After …

---

## [Backtick and apostrophe in error message](https://www.ruby-forum.com/t/backtick-and-apostrophe-in-error-message/207846)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 5, 2011, 11:02am UTC](https://www.ruby-forum.com/t/backtick-and-apostrophe-in-error-message/207846 "2011-06-05T11:02:02Z")

</div>

Hi, I’m a little puzzled why error messages use backtick and apostrophe at the same time. For example: prog.rb:1:in \<main\>': undefined local variable or methodfoo’ for main:Object (NameError) here, before the “” an…

---

## [Rails + fastcgi... not working :/](https://www.ruby-forum.com/t/rails-fastcgi-not-working/186885)

<div class="topic-metadata">

**Author:** [@sebastien-p](https://www.ruby-forum.com/u/sebastien-p)\
**Replies:** 2\
**Last updated:** [May 24, 2010, 9:04pm UTC](https://www.ruby-forum.com/t/rails-fastcgi-not-working/186885 "2010-05-24T21:04:28Z")

</div>

Hello, I have plesk 9.3 and I am trying to make it go along with rails. So I installed ruby, rails, ruby-gems, fastcgi, etc. (I had tried Passenger, but it didn’t work with my distro due to dependencies… so I preferre…

---

## [How to display ListCtrl\_virtual using xrcise](https://www.ruby-forum.com/t/how-to-display-listctrl-virtual-using-xrcise/187144)

<div class="topic-metadata">

**Author:** [@uraya](https://www.ruby-forum.com/u/uraya)\
**Replies:** 2\
**Last updated:** [April 24, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/how-to-display-listctrl-virtual-using-xrcise/187144 "2010-04-24T14:03:16Z")

</div>

Hi, I’m trying to display text in a ListCtrl\_virtual using xrcise. To display text, I implemented on\_get\_item\_text() method in TestListCtrl module. However, no text displayed in my list. I’d appreciate it if you cou…

---

## [Instance variables added in rails helpers are not available](https://www.ruby-forum.com/t/instance-variables-added-in-rails-helpers-are-not-available/174556)

<div class="topic-metadata">

**Author:** [@satynos](https://www.ruby-forum.com/u/satynos)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/instance-variables-added-in-rails-helpers-are-not-available/174556 "2009-08-28T17:13:16Z")

</div>

I am trying to add some instance variables in helpers like the following: module ApplicationHelper def title=(title) @title = title end def title @title end end and when I assign title in views/pages/index.html…

---

## [Gem path issue wiith passenger (n00b)dave](https://www.ruby-forum.com/t/gem-path-issue-wiith-passenger-n00b-dave/170958)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 2\
**Last updated:** [June 25, 2009, 1:29am UTC](https://www.ruby-forum.com/t/gem-path-issue-wiith-passenger-n00b-dave/170958 "2009-06-25T01:29:18Z")

</div>

Hi, I’m to stage my first rails deployment using passenger and have hit a snag. I think I’ve narrowed it down to a gem path issue. Trouble is, I don’t how to fix it. Can someone point me to the file(s) I need to edi…

---

## ["No such file to load" error when running Rspec](https://www.ruby-forum.com/t/no-such-file-to-load-error-when-running-rspec/157082)

<div class="topic-metadata">

**Author:** [@eeby](https://www.ruby-forum.com/u/eeby)\
**Replies:** 2\
**Last updated:** [January 7, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-error-when-running-rspec/157082 "2009-01-07T15:40:39Z")

</div>

Mac OS 10.4 rspec (1.1.11, 1.1.4, 1.1.3, 0.5.15) rspec-rails (1.1.11) rspec\_generator (0.5.15) rails 2.2.2 ruby 1.8.6 (2007-03-13 patchlevel 0) \[universal-darwin8.0\] Created a new project… $ rails myproject Insta…

---

## [Problem mit update\_attributes](https://www.ruby-forum.com/t/problem-mit-update-attributes/153416)

<div class="topic-metadata">

**Author:** [@Frechdax75](https://www.ruby-forum.com/u/Frechdax75)\
**Replies:** 2\
**Last updated:** [November 17, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/problem-mit-update-attributes/153416 "2008-11-17T21:55:26Z")

</div>

Hi, ich stelle gerade meine kleine Anwendung auf Rails 2.1.0 um (vorher Rails 1.2.3). Jetzt stolper ich Ã¼ber eine alltÃ¤gliche Situation - update\_attributes. Mein Modell “User” hat u.a. ein Feld “Bemerkung”, welches…

---

## [Erfahrungen mit Plug-In Globalize / Umstellen auf Deutsch?](https://www.ruby-forum.com/t/erfahrungen-mit-plug-in-globalize-umstellen-auf-deutsch/149564)

<div class="topic-metadata">

**Author:** [@mcrj45](https://www.ruby-forum.com/u/mcrj45)\
**Replies:** 2\
**Last updated:** [September 26, 2008, 2:12pm UTC](https://www.ruby-forum.com/t/erfahrungen-mit-plug-in-globalize-umstellen-auf-deutsch/149564 "2008-09-26T14:12:46Z")

</div>

Hallo, vielleicht habt ihr schon Erfahrungen mit dem Globalize Plugin gemacht. Ich kriege meine Datumdarstellung damit nicht erhofft umgestellt. Hatte das einer von euch auch schon einmal? In der enviroment.rb habe i…

---

## [SortField via Drb](https://www.ruby-forum.com/t/sortfield-via-drb/148217)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [September 10, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/sortfield-via-drb/148217 "2008-09-10T17:36:51Z")

</div>

Hi, we need to use an SortField object so we can specify the column type: sf\_title = SortField.new(:title, :type =\> :string) Except SortField objects don’t appear to be marshalled properly across DRb. Luckily you ca…

---

## [RJS replace\_html for all divs with a class](https://www.ruby-forum.com/t/rjs-replace-html-for-all-divs-with-a-class/131704)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/rjs-replace-html-for-all-divs-with-a-class/131704 "2008-03-12T20:18:35Z")

</div>

Hi- I want to do a bunch of html\_replace 's for a class of divs, not one single div and I want to replace the content with a partial. I can round them up using page.select, but cannot find something that will easily…

---

## [Qt and QWT](https://www.ruby-forum.com/t/qt-and-qwt/130024)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 2\
**Last updated:** [February 24, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/qt-and-qwt/130024 "2008-02-24T22:28:51Z")

</div>

Hello! I’ve seen some messages reagrding Qt and GNU Radio, and some code in the repository. I’d like to use Qt and QWT. QWT simply looks great and very useful, and I hope to get better performance with Qt compared to …

---

## [Grid vs GridTableBase| + Sequel + SQLite3](https://www.ruby-forum.com/t/grid-vs-gridtablebase-sequel-sqlite3/128003)

<div class="topic-metadata">

**Author:** [@EchoB](https://www.ruby-forum.com/u/EchoB)\
**Replies:** 2\
**Last updated:** [February 6, 2008, 3:33pm UTC](https://www.ruby-forum.com/t/grid-vs-gridtablebase-sequel-sqlite3/128003 "2008-02-06T15:33:23Z")

</div>

Hey all, Wondering if i could get an example of working code that ties Sequel (or any other database layer) into a GridTableBase and then into a Grid. I am just now trying it and i cant seem to get it to work - no err…

---

## [Nitro RBAC + goodies](https://www.ruby-forum.com/t/nitro-rbac-goodies/121472)

<div class="topic-metadata">

**Author:** [@Arne\_B](https://www.ruby-forum.com/u/Arne_B)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/nitro-rbac-goodies/121472 "2007-11-28T15:00:06Z")

</div>

Dear fans and friends of Nitro, Over the past few days I’ve coded up a reusable part for your (and my) Nitro applications. It started out as simply user authentication and access control, but now also includes a crude…

---

## [Need help with FlexMock (or mocking in general)](https://www.ruby-forum.com/t/need-help-with-flexmock-or-mocking-in-general/95874)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 17, 2006, 4:31am UTC](https://www.ruby-forum.com/t/need-help-with-flexmock-or-mocking-in-general/95874 "2006-06-17T04:31:23Z")

</div>

I’m trying to mock a single method call in a controller I’m testing (this isn’t a Rails question). I only want to mock the method for certain tests while the “real” method continues to function as before in the remain…

---

## [Benchmark - Thanks Dave for making this gnawer this FAST!](https://www.ruby-forum.com/t/benchmark-thanks-dave-for-making-this-gnawer-this-fast/60389)

<div class="topic-metadata">

**Author:** [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Replies:** 2\
**Last updated:** [May 16, 2006, 9:04am UTC](https://www.ruby-forum.com/t/benchmark-thanks-dave-for-making-this-gnawer-this-fast/60389 "2006-05-16T09:04:40Z")

</div>

Hi List, I’ve took some time and made some tests on the performance of java-lucene, hyperestraier and ferret as Dave encourages the community of ferret to do so. Quite intersting numbers. Ferret indeed deserves to be…

---

## [Problems using ruby:libcrypto.so.0.9.8: open failed: No such](https://www.ruby-forum.com/t/problems-using-ruby-libcrypto-so-0-9-8-open-failed-no-such/48461)

<div class="topic-metadata">

**Author:** [@vshevde](https://www.ruby-forum.com/u/vshevde)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 3:51pm UTC](https://www.ruby-forum.com/t/problems-using-ruby-libcrypto-so-0-9-8-open-failed-no-such/48461 "2005-11-21T15:51:51Z")

</div>

Hi, I wanted to request help on trying to resolve an error while running a rb script. I am a Java developer and also CVS admin for a development group.I have been wanting to try Ruby for a while,and when i came acro…

---

## [Have the GNU Radio turorials changed recently](https://www.ruby-forum.com/t/have-the-gnu-radio-turorials-changed-recently/260548)

<div class="topic-metadata">

**Author:** [@John\_Spence](https://www.ruby-forum.com/u/John_Spence)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 8:24pm UTC](https://www.ruby-forum.com/t/have-the-gnu-radio-turorials-changed-recently/260548 "2020-12-02T20:24:11Z")

</div>

About 2 weeks ago I was going through the tutorials for GNU Radio. I came back to one today and it seems to be different. I have a screenshot of what I did 2 weeks ago and a link to the page I thought it came from. You c…

---

## [Very simple question about cache](https://www.ruby-forum.com/t/very-simple-question-about-cache/244905)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 5, 2016, 9:23pm UTC](https://www.ruby-forum.com/t/very-simple-question-about-cache/244905 "2016-07-05T21:23:31Z")

</div>

Hi,I set simply reverse proxy (backend is an Apache web server): upstream backend { ip\_hash; server 127.0.0.1:8080; } server { listen x.y.w.z:80; # IP goes here. server\_name somedomain.com;…

---

## [How to install ruby on rails with mysql on ubuntu 15](https://www.ruby-forum.com/t/how-to-install-ruby-on-rails-with-mysql-on-ubuntu-15/244331)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [March 24, 2016, 10:27am UTC](https://www.ruby-forum.com/t/how-to-install-ruby-on-rails-with-mysql-on-ubuntu-15/244331 "2016-03-24T10:27:31Z")

</div>

how to install ruby on rails with mysql on ubuntu 15

---

## [\[ANN\] primes-utils rubygem](https://www.ruby-forum.com/t/ann-primes-utils-rubygem/241397)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [July 1, 2015, 5:36pm UTC](https://www.ruby-forum.com/t/ann-primes-utils-rubygem/241397 "2015-07-01T17:36:24Z")

</div>

“primes-utils” is a Rubygem which provides a suite of extremely fast (relative to Ruby’s standard library) utility methods for testing and generating primes. Install it the usual way: $ gem install primes-utils Then…

---

## [Why is this variable an object?](https://www.ruby-forum.com/t/why-is-this-variable-an-object/242142)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 1, 2015, 7:54am UTC](https://www.ruby-forum.com/t/why-is-this-variable-an-object/242142 "2015-06-01T07:54:30Z")

</div>

Hi, I’ve been going through the “The well grounded rubyist” recently but got stuck when I came across this particular code snippet. My questions are in the #comments lines below as well. A variable is getting assigne…

---

## [Caches\_action does not go off the entire URL](https://www.ruby-forum.com/t/caches-action-does-not-go-off-the-entire-url/53688)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 3\
**Last updated:** [May 26, 2015, 12:20am UTC](https://www.ruby-forum.com/t/caches-action-does-not-go-off-the-entire-url/53688 "2015-05-26T00:20:38Z")

</div>

I am trying to use caches\_action and the agile book says that it is keyed off the URL, however it does not seem to pick up the URL parameters. http://localhost:3000/controller/action/id?foo=bar and http://localhost:…

---

## [Compile error with OpenSSL source on Solaris 11 sparc](https://www.ruby-forum.com/t/compile-error-with-openssl-source-on-solaris-11-sparc/239156)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 14, 2014, 3:48pm UTC](https://www.ruby-forum.com/t/compile-error-with-openssl-source-on-solaris-11-sparc/239156 "2014-02-14T15:48:30Z")

</div>

Hi. My system: uname -a: SunOS web-srv 5.11 11.1 sun4v sparc sun4v My configure line: /configure --prefix=/opt/nginx --group=webservd --user=webservd –with-cc-opt=‘-I …/pcre-8.34’ --with-cpu-opt=sparc64 –with-pcre=…

---

## [Installing Hierarchical Blocks](https://www.ruby-forum.com/t/installing-hierarchical-blocks/235177)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [June 14, 2013, 3:13pm UTC](https://www.ruby-forum.com/t/installing-hierarchical-blocks/235177 "2013-06-14T15:13:34Z")

</div>

Hi all, I’m working on a OOT module and created a hierarchical block in GRC. I wonder if there is a nice way to include it in the installation process. Currently, the user would have to open the hier block in GRC, bui…

---

## [Watir read from 2 files issue](https://www.ruby-forum.com/t/watir-read-from-2-files-issue/224907)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 2, 2012, 6:40pm UTC](https://www.ruby-forum.com/t/watir-read-from-2-files-issue/224907 "2012-12-02T18:40:18Z")

</div>

Hello everybody, I am somehow new in ruby&watir. All i want to do today its to fill a form, and 2 fields are taken from 2 different files.(urlimages.txt and title.txt) like you see in attACHMENT. After all fields are…

---

## [Newbie: Calling dll functions from Ruby for a customer dll](https://www.ruby-forum.com/t/newbie-calling-dll-functions-from-ruby-for-a-customer-dll/214154)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 23, 2011, 6:18pm UTC](https://www.ruby-forum.com/t/newbie-calling-dll-functions-from-ruby-for-a-customer-dll/214154 "2011-11-23T18:18:18Z")

</div>

Hello, I have searched to forum previosly but have found little in the way on concrete examples. This might just be my inexperience hence the ‘Newbie’ in the title. I want to introduce Ruby into my Python addicted off…

---

## [Double render/redirect philosophy](https://www.ruby-forum.com/t/double-render-redirect-philosophy/183133)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [February 9, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/double-render-redirect-philosophy/183133 "2010-02-09T16:59:19Z")

</div>

Ok, I think I understand why RoR will flag an attempt double render in an action. What I don’t understand is the philosophy of render and redirect\_to. Specifically, why isn’t a return implicit in both those methods? O…

---

## [Difference de perf entre rails 2.3.2 et 2.3.5](https://www.ruby-forum.com/t/difference-de-perf-entre-rails-2-3-2-et-2-3-5/181670)

<div class="topic-metadata">

**Author:** [@guero\_loco](https://www.ruby-forum.com/u/guero_loco)\
**Replies:** 3\
**Last updated:** [January 18, 2010, 10:27am UTC](https://www.ruby-forum.com/t/difference-de-perf-entre-rails-2-3-2-et-2-3-5/181670 "2010-01-18T10:27:25Z")

</div>

Bonjour, J’ai les deux serveur suivant Ã disposition : Serveur 1 : Intel® 2 core @ 2.66GHz 4 GO de ram Rails 2.3.2 ruby 1.8.5 gem Serveur 2 Intel® Xeon® 4 core @ 2.83GHz 8 GO de ram Rails 2.3.5 ruby 1.8.7 …

---

## [Running simple rspec, no output](https://www.ruby-forum.com/t/running-simple-rspec-no-output/179206)

<div class="topic-metadata">

**Author:** [@roxanne](https://www.ruby-forum.com/u/roxanne)\
**Replies:** 3\
**Last updated:** [November 20, 2009, 11:27am UTC](https://www.ruby-forum.com/t/running-simple-rspec-no-output/179206 "2009-11-20T11:27:12Z")

</div>

Hi, I am very new to Ruby and Rspec, and found a simple tutorial online about rspec. It involves two files: bowling.rb and bowling\_spec.rb bowling\_spec.rb require’rubygems’ require ‘spec’ require ‘bowling’ desc…

---

## [Rake db:create:all error](https://www.ruby-forum.com/t/rake-dball-error/171669)

<div class="topic-metadata">

**Author:** [@mka](https://www.ruby-forum.com/u/mka)\
**Replies:** 3\
**Last updated:** [July 7, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/rake-dball-error/171669 "2009-07-07T15:05:21Z")

</div>

Hi, I am getting this error when i execute rake db:create:all /opt/gitorious/vendor/rails/activerecord/lib/active\_record/connection\_adapters/mysql\_adapter.rb:569: \[BUG\] unknown type 0x22 (0xc given) any clues ? -Man…

---

## [Private API in REST](https://www.ruby-forum.com/t/private-api-in-rest/119256)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 3\
**Last updated:** [November 5, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/private-api-in-rest/119256 "2007-11-05T19:52:26Z")

</div>

In a app RESTful, all api’s are public. How to leave a private API?

---

## [How to determine a location from IP address](https://www.ruby-forum.com/t/how-to-determine-a-location-from-ip-address/106308)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 3\
**Last updated:** [June 12, 2007, 2:52am UTC](https://www.ruby-forum.com/t/how-to-determine-a-location-from-ip-address/106308 "2007-06-12T02:52:08Z")

</div>

Hello, I want to know how to determine a location from IP address in Rails. For example, 124.108.48.2 is from which country, using which ISP, Time Zone, lat and lng. Appreciate if have any ideas? Thanks Chamnap

---

## [Should I set RAILS\_GEM\_VERSION = 'XXX'?](https://www.ruby-forum.com/t/should-i-set-rails-gem-version-xxx/84470)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [February 5, 2007, 1:58am UTC](https://www.ruby-forum.com/t/should-i-set-rails-gem-version-xxx/84470 "2007-02-05T01:58:35Z")

</div>

Hi, Just wondering what the collective wisdom is regarding whether the environment.rb file should have a “RAILS\_GEM\_VERSION = ‘1.1.6’” type line set or not? I noted on Dreamhost previously after a rails upgrade my s…

---

## [String date parsing](https://www.ruby-forum.com/t/string-date-parsing/52540)

<div class="topic-metadata">

**Author:** [@Derek\_DeVries](https://www.ruby-forum.com/u/Derek_DeVries)\
**Replies:** 3\
**Last updated:** [January 16, 2006, 5:09am UTC](https://www.ruby-forum.com/t/string-date-parsing/52540 "2006-01-16T05:09:14Z")

</div>

Does anyone know if a Ruby package has been written to handle functionality similar to php’s strtotime(). I’m looking for something that can parse almost any string (such as “1 day ago”, “+1 week”, “last tuesday”) int…

---

## [Count number of letters(only) and the other code number of words(only)](https://www.ruby-forum.com/t/count-number-of-letters-only-and-the-other-code-number-of-words-only/245251)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 13, 2017, 6:02pm UTC](https://www.ruby-forum.com/t/count-number-of-letters-only-and-the-other-code-number-of-words-only/245251 "2017-02-13T18:02:35Z")

</div>

I want to make the first code count only letters, how can I do that? #----------give the number of the characters len = info.length len1 = len readFile(“wiki.txt”) @info = info + “” + $myinfo len = @info.length(&:l…

---

## [Specific permissions for fastcgi\_temp\_path?](https://www.ruby-forum.com/t/specific-permissions-for-fastcgi-temp-path/231482)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 10, 2014, 8:20pm UTC](https://www.ruby-forum.com/t/specific-permissions-for-fastcgi-temp-path/231482 "2014-08-10T20:20:29Z")

</div>

Hi all, I looked into /src/core/ngx\_file.c and noticed that ngx\_conf\_set\_access\_slot() defines the access type. What is the variable I need to use in order to force new files to be written 0640, instead of 0600 as a…

---

## [Method Missing as Filter](https://www.ruby-forum.com/t/method-missing-as-filter/219268)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [April 27, 2012, 11:06am UTC](https://www.ruby-forum.com/t/method-missing-as-filter/219268 "2012-04-27T11:06:43Z")

</div>

Let’s say I have a model called User. User has two attributes or table columns: id, username By using the code below I can check that there is a username “Tom” and return 1 ifthere is and 0 if there is not User.find\_…

---

## [Parameter passing](https://www.ruby-forum.com/t/parameter-passing/194008)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 7\
**Last updated:** [August 28, 2010, 12:28pm UTC](https://www.ruby-forum.com/t/parameter-passing/194008 "2010-08-28T12:28:26Z")

</div>

Is it possible, to pass local variables by refrerence to method? I would like to do something like that: def meth(dest) dest = 0 if some\_condition end … local\_var = 1 some\_condition evaluates to true meth(local\_va…

---

## [Accessing Class Variables in mixed in define\_method](https://www.ruby-forum.com/t/accessing-class-variables-in-mixed-in-define-method/190383)

<div class="topic-metadata">

**Author:** [@jamiequint](https://www.ruby-forum.com/u/jamiequint)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 10:01am UTC](https://www.ruby-forum.com/t/accessing-class-variables-in-mixed-in-define-method/190383 "2010-06-21T10:01:44Z")

</div>

I am using define\_method inside a module to dynamically create a class after the module is mixed in. The module is writing out class variables for the class it is mixed into (yes I am aware that class variables are ge…

---

## [Mysql db migration jams up with Typo 5.4.4](https://www.ruby-forum.com/t/mysql-db-migration-jams-up-with-typo-5-4-4/187491)

<div class="topic-metadata">

**Author:** [@Simon\_Brown](https://www.ruby-forum.com/u/Simon_Brown)\
**Replies:** 1\
**Last updated:** [April 24, 2010, 10:29am UTC](https://www.ruby-forum.com/t/mysql-db-migration-jams-up-with-typo-5-4-4/187491 "2010-04-24T10:29:07Z")

</div>

Cyril M. cyril.mougel at gmail.com Fri Apr 23 08:10:29 EDT 2010 It’s seems that this error because you don’t starting your database by migration. Can you send us the result of : select \* from schema\_migrations; C…

---

## [Getting a timestamp](https://www.ruby-forum.com/t/getting-a-timestamp/179179)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [November 19, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/getting-a-timestamp/179179 "2009-11-19T17:34:56Z")

</div>

Hi, I would like to get a timestamp from a Date object. What is the best aproach for this? thank you

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

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