# Top

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

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

---

## [Custom error pages for retun directive](https://www.ruby-forum.com/t/custom-error-pages-for-retun-directive/231719)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 27, 2014, 5:02am UTC](https://www.ruby-forum.com/t/custom-error-pages-for-retun-directive/231719 "2014-08-27T05:02:12Z")

</div>

It is not possible to set custom error page. For example /usr/share/nginx/404.html contains “test”: server { error\_page 404 /404.html; if ($request\_method = “GET”) return 404; } location / { proxy\_pass http://loc…

---

## [QS1R SDR support?](https://www.ruby-forum.com/t/qs1r-sdr-support/223168)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 2, 2012, 3:50pm UTC](https://www.ruby-forum.com/t/qs1r-sdr-support/223168 "2012-10-02T15:50:08Z")

</div>

Hello, I just learned about gnuradio and am very interested in the possibilities. I currently own a QS1R (http://qs1r.wikispaces.com) and while I found a few posts referring to using it with gnu radio software, I di…

---

## [Prototype troubles with Rails 3.1.1 from 2.3.14](https://www.ruby-forum.com/t/prototype-troubles-with-rails-3-1-1-from-2-3-14/213791)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 11, 2011, 5:31pm UTC](https://www.ruby-forum.com/t/prototype-troubles-with-rails-3-1-1-from-2-3-14/213791 "2011-11-11T17:31:39Z")

</div>

I’m trying to transform a Rails 2.3.14 to 3.1.1 application. Prototype rails should provide all the lost remote\_foo… But it doesn’t work at all for me. It’s like if the gem was not enable anymore. I installed it, rei…

---

## [Rails 3.0 Internal Server Error - Not Enough Space](https://www.ruby-forum.com/t/rails-3-0-internal-server-error-not-enough-space/205717)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 23, 2011, 1:56am UTC](https://www.ruby-forum.com/t/rails-3-0-internal-server-error-not-enough-space/205717 "2011-04-23T01:56:50Z")

</div>

Hi, I have upgraded my project from rails 2.3.4 (ruby 186) to rails 3.0 (ruby 187). For some of the controllers I am getting following error on the frontend: Internal Server Error Not enough space WEBrick/1.3.1 (R…

---

## [Autotest doesn't load up rspec (rspec2, rails3, ruby 1.9.2)](https://www.ruby-forum.com/t/autotest-doesnt-load-up-rspec-rspec2-rails3-ruby-1-9-2/193463)

<div class="topic-metadata">

**Author:** [@Nils\_Riedemann](https://www.ruby-forum.com/u/Nils_Riedemann)\
**Replies:** 4\
**Last updated:** [August 18, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/autotest-doesnt-load-up-rspec-rspec2-rails3-ruby-1-9-2/193463 "2010-08-18T15:29:10Z")

</div>

Hi there, When i run rspec --drb spec everything works fine. Yet, when i want to use autotest it outputs the following: ~/code/ffr\[master\]% autotest /Users/nilsriedemann/.rvm/rubies/ruby-1.9.2-rc2/lib/ruby/1.9.1/ rub…

---

## [Autospec fails but rake spec tasks pass](https://www.ruby-forum.com/t/autospec-fails-but-rake-spec-tasks-pass/164186)

<div class="topic-metadata">

**Author:** [@jakepaul](https://www.ruby-forum.com/u/jakepaul)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/autospec-fails-but-rake-spec-tasks-pass/164186 "2009-03-30T18:53:59Z")

</div>

I can’t figure out what is causing this problem. I’m using the latest rspec and rspec-rails gems on rails 2.3.2. When I run autospec, the tests in the model spec that I am editing will all fail. The error messages a…

---

## [0.6.9 gem on site5](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142)

<div class="topic-metadata">

**Author:** [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Replies:** 4\
**Last updated:** [August 6, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142 "2008-08-06T13:09:58Z")

</div>

Hi list, So I’ve been trying to upgrade from 0.6.7-svn to the 0.6.9 gem using a Site5 account, and something’s blocking me. I am running gems 1.1.0, ruby 1.8.7 and have the radiant 0.6.9 gem installed locally with th…

---

## [Problema con acts\_as\_taggable\_on\_asteroids](https://www.ruby-forum.com/t/problema-con-acts-as-taggable-on-asteroids/137195)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 4\
**Last updated:** [May 9, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/problema-con-acts-as-taggable-on-asteroids/137195 "2008-05-09T21:54:14Z")

</div>

Hola a todos, me he encontrado con un error bastante extraÃ±o cuando he intentado utilizar el plugin acts\_as\_taggable\_on\_asteroids, el error que me devuelve es: ActionView::TemplateError (stack level too deep) on lin…

---

## [Freelance Marketplace- FieldEngineer](https://www.ruby-forum.com/t/freelance-marketplace-fieldengineer/251341)

<div class="topic-metadata">

**Author:** [@rjanagama](https://www.ruby-forum.com/u/rjanagama)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 12:53pm UTC](https://www.ruby-forum.com/t/freelance-marketplace-fieldengineer/251341 "2018-12-10T12:53:07Z")

</div>

A streamlined, on-demand workforce platform, FieldEngineer. is designed to enable telecom operators and equipment vendors, system integrators and enterprise-based firms to quickly find and engage with project-based engin…

---

## [Globalize2 Error](https://www.ruby-forum.com/t/globalize2-error/203227)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 15, 2011, 9:53pm UTC](https://www.ruby-forum.com/t/globalize2-error/203227 "2011-02-15T21:53:50Z")

</div>

Hi, After installing en configuring Globalize2 (0.9.1) the following message appear in the admin environment. ActionView::TemplateError (can’t convert nil into String) on line #10 of /opt/ruby-enterprise-1.8.7-2010.0…

---

## [Is normal or a best practice to have chained scopes in controllers actions?](https://www.ruby-forum.com/t/is-normal-or-a-best-practice-to-have-chained-scopes-in-controllers-actions/244646)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 19, 2016, 4:33pm UTC](https://www.ruby-forum.com/t/is-normal-or-a-best-practice-to-have-chained-scopes-in-controllers-actions/244646 "2016-05-19T16:33:46Z")

</div>

Hey, there! I’m pretty new to Rails so this may be a really stupid question but, I googled it and found just one specific reference (Say no to chained scopes!). In the application I’m working on there are some contro…

---

## [Password filtering does not work](https://www.ruby-forum.com/t/password-filtering-does-not-work/231839)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 3, 2014, 11:20am UTC](https://www.ruby-forum.com/t/password-filtering-does-not-work/231839 "2014-09-03T11:20:01Z")

</div>

In my Rails 4 application, when I have a form including a password, i.e. \<%= password\_field\_tag ‘admpwd’, nil, size:32, maxlength: 32, class: ‘admentry’ %\> I don’t like the fact that the password is shown plain text i…

---

## [Nginx -s reload problem](https://www.ruby-forum.com/t/nginx-s-reload-problem/230396)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [July 22, 2014, 10:16pm UTC](https://www.ruby-forum.com/t/nginx-s-reload-problem/230396 "2014-07-22T22:16:50Z")

</div>

hi all I use a endless rtmp stream /usr/local/nginx/wsgi/ffmpeg -i haha.mp4 -c:v libx264 -b:v 500k -c:a copy -f flv rtmp://172.16.205.50:1936/publish/you as you known, if I use nginx -s reload , then I got a lot …

---

## ["class Admin::UsersController \< ApplicationController". What does the double colon do here?](https://www.ruby-forum.com/t/class-admin-userscontroller-applicationcontroller-what-does-the-double-colon-do-here/240006)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 25, 2014, 11:10am UTC](https://www.ruby-forum.com/t/class-admin-userscontroller-applicationcontroller-what-does-the-double-colon-do-here/240006 "2014-03-25T11:10:52Z")

</div>

I saw this on a Gem implementation and don’t understand why it needed “::UsersController” at all. My understanding that it is trying to find the relative path of UsersController, but why is it necessary to be there?

---

## [OOT module based on file\_sink\_base generates symbol not found error](https://www.ruby-forum.com/t/oot-module-based-on-file-sink-base-generates-symbol-not-found-error/238996)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 7, 2014, 12:44am UTC](https://www.ruby-forum.com/t/oot-module-based-on-file-sink-base-generates-symbol-not-found-error/238996 "2014-02-07T00:44:22Z")

</div>

Guys, This may be a beginner question, but here it goes. I have built several OOT modules for my own blocks using gr\_modtool as indicated in the Out-of-tree tutorial w. great success. These blocks were subclasses of…

---

## [Using ngx\_conf\_t](https://www.ruby-forum.com/t/using-ngx-conf-t/221176)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 8:44pm UTC](https://www.ruby-forum.com/t/using-ngx-conf-t/221176 "2012-07-03T20:44:00Z")

</div>

Hello all, Is it possible to get ngx\_conf\_t in a handler? If it is, how to get it? Thank you. M. Posted at Nginx Forum:

---

## [Prevent Infinite loop in Self-Join Association](https://www.ruby-forum.com/t/prevent-infinite-loop-in-self-join-association/211129)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 29, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/prevent-infinite-loop-in-self-join-association/211129 "2011-08-29T16:59:10Z")

</div>

Hi, I have such a data base which has a self-join as association. I want to know that is there any good gem available which i can use for self-join in my application? My main intension is to prevent infinite loop in s…

---

## [Ruby unicode/string explosion (0xFF in utf-8)](https://www.ruby-forum.com/t/ruby-unicode-string-explosion-0xff-in-utf-8/200425)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 12, 2010, 10:57pm UTC](https://www.ruby-forum.com/t/ruby-unicode-string-explosion-0xff-in-utf-8/200425 "2010-12-12T22:57:11Z")

</div>

Hi, I’m using ruby 1.9.2 I’m reading a CSV file that has some non US-ASCII characters. I want to parse each value in each row and strip out any leading/lagging potential whitespace. However, when I come across some …

---

## [Using translation variable inside String](https://www.ruby-forum.com/t/using-translation-variable-inside-string/196361)

<div class="topic-metadata">

**Author:** [@arunachandu](https://www.ruby-forum.com/u/arunachandu)\
**Replies:** 2\
**Last updated:** [October 15, 2010, 10:59pm UTC](https://www.ruby-forum.com/t/using-translation-variable-inside-string/196361 "2010-10-15T22:59:07Z")

</div>

Hi , I am new to rails… I am having a line in the mailing queue.rb file as subject =“Mail : Welcome to app” I have added translation for Welcome to app as str\_welcome: “Welcome to app” Now i am trying to replace Wel…

---

## [Problem with JPA - entity type not found](https://www.ruby-forum.com/t/problem-with-jpa-entity-type-not-found/188682)

<div class="topic-metadata">

**Author:** [@rogergue](https://www.ruby-forum.com/u/rogergue)\
**Replies:** 2\
**Last updated:** [May 16, 2010, 12:56pm UTC](https://www.ruby-forum.com/t/problem-with-jpa-entity-type-not-found/188682 "2010-05-16T12:56:50Z")

</div>

Hi, I’m trying to use JPA from JRuby. The persistence.xml is found and a connection to the database is established. The problem: As soon as I try to execute createQuery I get : Exception Description: Error compiling…

---

## [Routing Error - No route matches '/xxx' with {:method=\>:get}](https://www.ruby-forum.com/t/routing-error-no-route-matches-xxx-with-method-get/157823)

<div class="topic-metadata">

**Author:** [@neoorion](https://www.ruby-forum.com/u/neoorion)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/routing-error-no-route-matches-xxx-with-method-get/157823 "2009-01-26T18:56:52Z")

</div>

Saludos, Soy nuevo en el foro, y novato con Ruby On Rails. Tan novato que llevo poco mÃ¡s de 24 horas con esto, desde que me decidÃ­ a montar todo y aprender. DespuÃ©s de pasar mÃ¡s de 8 horas para montar todo proban…

---

## [Nginx's client\_body tmp directory deleted every so often (causing uploads to fail)](https://www.ruby-forum.com/t/nginxs-client-body-tmp-directory-deleted-every-so-often-causing-uploads-to-fail/130242)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 14, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/nginxs-client-body-tmp-directory-deleted-every-so-often-causing-uploads-to-fail/130242 "2008-03-14T17:03:17Z")

</div>

Hello all, I am wondering if anybody else is seeing this happen. I am pretty stumped as to why. Basically, I when I compiled nginx, I told it to use the /tmp/nginx for all tmp directories (client\_body, fastcgi, and p…

---

## [Lazy-load model class variable hash](https://www.ruby-forum.com/t/lazy-load-model-class-variable-hash/131249)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 2\
**Last updated:** [March 7, 2008, 11:20am UTC](https://www.ruby-forum.com/t/lazy-load-model-class-variable-hash/131249 "2008-03-07T11:20:10Z")

</div>

Hi, I have a number of models which contain almost static data. I don’t want to hit to db when accessing a row, nor do I want to hit memcached. I am hoping to use a lazy-loaded model class variable hash. This will en…

---

## [Testing HTTP Basic Authentication](https://www.ruby-forum.com/t/testing-http-basic-authentication/124052)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 24, 2007, 8:47am UTC](https://www.ruby-forum.com/t/testing-http-basic-authentication/124052 "2007-12-24T08:47:33Z")

</div>

I’m using the new 2.0 HTTP Basic Authentication module mentioned in the announcement, and having trouble figuring out how to write a functional tests that will do both positive and negative tests. The framework docume…

---

## [Doubt about benchmark\_rx and benchmark\_tx](https://www.ruby-forum.com/t/doubt-about-benchmark-rx-and-benchmark-tx/120202)

<div class="topic-metadata">

**Author:** [@NCSU](https://www.ruby-forum.com/u/NCSU)\
**Replies:** 2\
**Last updated:** [November 14, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/doubt-about-benchmark-rx-and-benchmark-tx/120202 "2007-11-14T20:52:59Z")

</div>

We are trying to install USRP and set it up to transmit and receive packets. We are novices at this. We are trying to use benchmark\_tx.py and benchmark\_rx.py. We have Flex2400 daughter boards mounted on the motherboa…

---

## [Syntax error with array interpolation](https://www.ruby-forum.com/t/syntax-error-with-array-interpolation/107709)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 2\
**Last updated:** [June 25, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/syntax-error-with-array-interpolation/107709 "2007-06-25T17:04:05Z")

</div>

Below is a code snippet which gives me some headache: def headache yield(\*(foo(1)),“bar”) end def foo(n) \[n,n+2,n+5\] end headache { |a,b,c,d| puts a.to\_s; puts b.to\_s; puts c.to\_s; puts d } I had expected that th…

---

## [Best Linux distro to code Rails](https://www.ruby-forum.com/t/best-linux-distro-to-code-rails/203828)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 28, 2011, 3:35pm UTC](https://www.ruby-forum.com/t/best-linux-distro-to-code-rails/203828 "2011-02-28T15:35:58Z")

</div>

Hello Group, I want to start a project that uses Rails 3 and ruby 1.9.2 . with (Rmagick). Can any one tell me a Linux distro that supports these software seamlessly?

---

## [Exception\_access\_violation](https://www.ruby-forum.com/t/exception-access-violation/183295)

<div class="topic-metadata">

**Author:** [@olivert](https://www.ruby-forum.com/u/olivert)\
**Replies:** 6\
**Last updated:** [September 9, 2010, 8:23pm UTC](https://www.ruby-forum.com/t/exception-access-violation/183295 "2010-09-09T20:23:39Z")

</div>

Hi, I have some serious crash’s outside the jvm. It happens when using mechanize (0.9.3) and nokogiri (1.4.1-java) on Windows XP 32. jruby -v jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-12-04 6586) (Java HotSpo…

---

## [ActiveRecord Transaction Not Rolled back on a Java OutOfMemoryError](https://www.ruby-forum.com/t/activerecord-transaction-not-rolled-back-on-a-java-outofmemoryerror/185636)

<div class="topic-metadata">

**Author:** [@SchultzS\_Darcy\_L](https://www.ruby-forum.com/u/SchultzS_Darcy_L)\
**Replies:** 6\
**Last updated:** [March 27, 2010, 6:33am UTC](https://www.ruby-forum.com/t/activerecord-transaction-not-rolled-back-on-a-java-outofmemoryerror/185636 "2010-03-27T06:33:09Z")

</div>

If I raise a regular exception after the save the enclosing transaction is rolled back. But if the OutOfMemoryError exception occurs the transaction is committed. Am I missing something obvious? (Java 1.6.0\_03, JRub…

---

## [Attachment\_fu problems with image\_science](https://www.ruby-forum.com/t/attachment-fu-problems-with-image-science/138941)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 6\
**Last updated:** [April 22, 2009, 11:22pm UTC](https://www.ruby-forum.com/t/attachment-fu-problems-with-image-science/138941 "2009-04-22T23:22:30Z")

</div>

I’m following clark’s tutorial on attachment\_fu and the upload works great, but the code fails to generate thumbnails. I get this error “Problems loading image\_scienceProcessor: no such file to load – image\_science” t…

---

## [USRP FPGA 8-bit Data Ordering](https://www.ruby-forum.com/t/usrp-fpga-8-bit-data-ordering/158294)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 6\
**Last updated:** [January 22, 2009, 3:51am UTC](https://www.ruby-forum.com/t/usrp-fpga-8-bit-data-ordering/158294 "2009-01-22T03:51:45Z")

</div>

Context: I’m adding new quantization (sample width) options to the USRP FPGA configuration. (Long time in coming; yes, I know.) Question: I’m seeing that in 8-bit mode, the USRP outputs samples from its internal chan…

---

## [Come aggiungere un metodo alla classe String?](https://www.ruby-forum.com/t/come-aggiungere-un-metodo-alla-classe-string/153437)

<div class="topic-metadata">

**Author:** [@sdpurtill](https://www.ruby-forum.com/u/sdpurtill)\
**Replies:** 6\
**Last updated:** [November 17, 2008, 11:57pm UTC](https://www.ruby-forum.com/t/come-aggiungere-un-metodo-alla-classe-string/153437 "2008-11-17T23:57:27Z")

</div>

Salve a tutti Vorrei aggiungere un metodo “mio\_metodo” alla classe String, in modo da poter fare qualcosa tipo: str = “Mia Stringa”.mio\_metodo PerciÃ² nel controller ho messo: class String def mio\_metodo end end …

---

## [Newbie questions on processing numerical data from text file](https://www.ruby-forum.com/t/newbie-questions-on-processing-numerical-data-from-text-file/108151)

<div class="topic-metadata">

**Author:** [@baptiste\_AuguiSSSS](https://www.ruby-forum.com/u/baptiste_AuguiSSSS)\
**Replies:** 6\
**Last updated:** [June 29, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/newbie-questions-on-processing-numerical-data-from-text-file/108151 "2007-06-29T22:34:21Z")

</div>

Hi, Hope you can help me get started with these trivial questions. I’ve got a practical problem, and the Ruby cookbook to help me, but a few combinations of the two haven’t produced any interesting results yet. I’d n…

---

## [Problema con respond\_to](https://www.ruby-forum.com/t/problema-con-respond-to/86223)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 6\
**Last updated:** [February 21, 2007, 12:02pm UTC](https://www.ruby-forum.com/t/problema-con-respond-to/86223 "2007-02-21T12:02:22Z")

</div>

Hola, Estoy intentando utilizar respond\_to para servir un contenido diferente a las peticiones ajax de un controlador tal que así: def contacts @company = Company.find params\[:id\] respond\_to do |format| format.js…

---

## [Rails on Windows 98?](https://www.ruby-forum.com/t/rails-on-windows-98/86006)

<div class="topic-metadata">

**Author:** [@parasew](https://www.ruby-forum.com/u/parasew)\
**Replies:** 6\
**Last updated:** [February 19, 2007, 12:26am UTC](https://www.ruby-forum.com/t/rails-on-windows-98/86006 "2007-02-19T00:26:28Z")

</div>

I just asked this on instiki-devel http://rubyforge.org/pipermail/instiki-devel/2007-February/000039.html is there any way to run Rails 1.2.2 on Windows 98? It looks like Rails 1.1.2 is the last to run on Win98 http:…

---

## [What is really a class instance variable compare to a class](https://www.ruby-forum.com/t/what-is-really-a-class-instance-variable-compare-to-a-class/84918)

<div class="topic-metadata">

**Author:** [@rubarachni](https://www.ruby-forum.com/u/rubarachni)\
**Replies:** 6\
**Last updated:** [February 9, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/what-is-really-a-class-instance-variable-compare-to-a-class/84918 "2007-02-09T14:03:31Z")

</div>

Hi all, Given the following definition : class A @@class\_var = “a class variable” @class\_instance\_var = “a class instance variable” def a\_method @instance\_var = "an instance variable" end end I understand what …

---

## [Why the render speed is still so slow under apache?](https://www.ruby-forum.com/t/why-the-render-speed-is-still-so-slow-under-apache/66661)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 6\
**Last updated:** [August 28, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/why-the-render-speed-is-still-so-slow-under-apache/66661 "2006-08-28T18:44:40Z")

</div>

\<% for demand in @demands %\> \<% cache(:action =\> ‘list’,:part =\> article.id) do -%\> \<%= render :partial =\> ‘article’} %\> \<% end %\> \<% end %\> Under webrick,the time that list rendering costs will be very soon,but un…

---

## [Best Way To Get Where You Have Been](https://www.ruby-forum.com/t/best-way-to-get-where-you-have-been/48366)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 6\
**Last updated:** [November 14, 2005, 1:44am UTC](https://www.ruby-forum.com/t/best-way-to-get-where-you-have-been/48366 "2005-11-14T01:44:42Z")

</div>

Maybe not the most descriptive subject! :slight\_smile: I have a filter that redirects the user to a login page if they have not logged in on certain pages. Now what is the best way to get the page they where initiall…

---

## [Implementation of ieee 802-11 transeiver](https://www.ruby-forum.com/t/implementation-of-ieee-802-11-transeiver/241046)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 11, 2014, 1:14pm UTC](https://www.ruby-forum.com/t/implementation-of-ieee-802-11-transeiver/241046 "2014-05-11T13:14:29Z")

</div>

Hi, I would like to implement a transceiver in USRP E 110 with gnuradio. For that I found a code concerning an implementation of ieee 802-11 of a transeiver with USRP N 210 descibed in this GitHub - bastibl/gr-ieee80…

---

## [Review: Array\\to\_s fix for : properly handles recursive array](https://www.ruby-forum.com/t/review-array-to-s-fix-for-properly-handles-recursive-array/167733)

<div class="topic-metadata">

**Author:** [@Tim\_CSSSDO](https://www.ruby-forum.com/u/Tim_CSSSDO)\
**Replies:** 5\
**Last updated:** [May 12, 2009, 9:25am UTC](https://www.ruby-forum.com/t/review-array-to-s-fix-for-properly-handles-recursive-array/167733 "2009-05-12T09:25:12Z")

</div>

http://github.com/tnachen/ironruby/commit/eeaf82a8d833c763fc617b602cd7415cb228a0f6 Modified IListOps to fix the recursive array problem during to\_s call. It used to only print the values in the array, and skip over arr…

---

## [Unexpected BigDecimal rounding issue](https://www.ruby-forum.com/t/unexpected-bigdecimal-rounding-issue/167257)

<div class="topic-metadata">

**Author:** [@samlown](https://www.ruby-forum.com/u/samlown)\
**Replies:** 5\
**Last updated:** [May 6, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/unexpected-bigdecimal-rounding-issue/167257 "2009-05-06T13:07:08Z")

</div>

Hi, Some more not so fun rounding issues. Using Floats: ((30 / 1.16) \* 1.16) == 30 =\> true Cool, so you’d think it would work with BigDecimal: ((30 / BigDecimal(“1.16”)) \* BigDecimal(“1.16”)) == 30 =\> false …

---

## [Rails class cacheing in development mode](https://www.ruby-forum.com/t/rails-class-cacheing-in-development-mode/164273)

<div class="topic-metadata">

**Author:** [@interactivenyc](https://www.ruby-forum.com/u/interactivenyc)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 12:33am UTC](https://www.ruby-forum.com/t/rails-class-cacheing-in-development-mode/164273 "2009-03-31T00:33:34Z")

</div>

I have a rails application that patches ActiveRecord with a hand-coded validator. The patch is made by adding the following lines in config/ environment.rb Rails::Initializer.run do |config| … end class ActiveReco…

---

## [Rails: variabili globali troppo globali](https://www.ruby-forum.com/t/rails-variabili-globali-troppo-globali/161778)

<div class="topic-metadata">

**Author:** [@daneel\_olivaw](https://www.ruby-forum.com/u/daneel_olivaw)\
**Replies:** 5\
**Last updated:** [March 3, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/rails-variabili-globali-troppo-globali/161778 "2009-03-03T19:31:38Z")

</div>

Buongiorno lista. Ho fatto un’applicazione in rails usata in contemporanea da piÃ¹ persone ed avrei la necessitÃ di tenere dei dati in memoria, praticamente all’inizio l’operatore sceglie da un menÃ¹ a tendina una o…

---

## [Jruby command line scripts do not work with spaces in the path](https://www.ruby-forum.com/t/jruby-command-line-scripts-do-not-work-with-spaces-in-the-path/153910)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 5\
**Last updated:** [November 26, 2008, 7:02pm UTC](https://www.ruby-forum.com/t/jruby-command-line-scripts-do-not-work-with-spaces-in-the-path/153910 "2008-11-26T19:02:20Z")

</div>

I am including a full installation of JRuby with some software I am releasing. I’d like for my users to be able to install gems for extensibility purposes. The problem is, I need to install JRuby under a path with spa…

---

## [Module scope not clear to me](https://www.ruby-forum.com/t/module-scope-not-clear-to-me/150132)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 5\
**Last updated:** [October 4, 2008, 2:30pm UTC](https://www.ruby-forum.com/t/module-scope-not-clear-to-me/150132 "2008-10-04T14:30:03Z")

</div>

I had a program which inherits from a superclass. It also has common/convenience methods in a module. require 'common' include 'Common' class Prog \< Application f = Obj.new g = Foo.new #... etc ... Som…

---

## [Problems after updating to rails 2.1](https://www.ruby-forum.com/t/problems-after-updating-to-rails-2-1/146037)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 5\
**Last updated:** [August 16, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/problems-after-updating-to-rails-2-1/146037 "2008-08-16T16:45:43Z")

</div>

Hi everybody, I just updated to rails 2.1 as root user, and noticed that non root users have different rails versions than root. I thought updating as root would make 2.1 available for all users. I was hoping this b…

---

## [Benny Degezelle's Tags extension](https://www.ruby-forum.com/t/benny-degezelles-tags-extension/137082)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 5\
**Last updated:** [May 16, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/benny-degezelles-tags-extension/137082 "2008-05-16T18:03:14Z")

</div>

Benny (or anyone else who might know), I came across the Tags extension via a Google search: http://www.nabble.com/using-acts\_as\_taggable-td16390502.html This seems like it will meet my page tagging needs. I just want…

---

## [Changes to mongrel\_cluster.yml isn't taking](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768)

<div class="topic-metadata">

**Author:** [@mememe](https://www.ruby-forum.com/u/mememe)\
**Replies:** 5\
**Last updated:** [January 25, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/changes-to-mongrel-cluster-yml-isnt-taking/125768 "2008-01-25T16:44:24Z")

</div>

So, I’ve been able to deploy a single app just fine. But in my attempts to run multiple rails apps within the same domain, I made a change by adding prefix: /app1 to my mongrel\_cluster.yml file. Using Capistrano, …

---

## [SQLite3 par dÃ©faut dans Rails 2.0.2](https://www.ruby-forum.com/t/sqlite3-par-da-faut-dans-rails-2-0-2/123628)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 5\
**Last updated:** [December 21, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/sqlite3-par-da-faut-dans-rails-2-0-2/123628 "2007-12-21T14:31:12Z")

</div>

Bonjour à tous, J’ai vu que DHH a annoncé que SQLite3 devenait la base de données par défaut dans la nouvelle version de Rails 2.0.2 J’aurais aimé en savoir plus sur cette base de données, notamment en termes de pe…

---

## [How to specify access modifers for variables?](https://www.ruby-forum.com/t/how-to-specify-access-modifers-for-variables/105685)

<div class="topic-metadata">

**Author:** [@raja](https://www.ruby-forum.com/u/raja)\
**Replies:** 5\
**Last updated:** [June 1, 2007, 11:30am UTC](https://www.ruby-forum.com/t/how-to-specify-access-modifers-for-variables/105685 "2007-06-01T11:30:34Z")

</div>

I know this could be naive but still: class Person attr\_reader :genre protected :genre def psedonym @name end end In the class above, I can declare variable genre to be protected, but when I try to do the same…

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

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