# Top

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

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

---

## [Polymorphic Association with Single Table Inheritance?](https://www.ruby-forum.com/t/polymorphic-association-with-single-table-inheritance/100061)

<div class="topic-metadata">

**Author:** [@Stephan\_S](https://www.ruby-forum.com/u/Stephan_S)\
**Replies:** 2\
**Last updated:** [July 27, 2006, 10:13am UTC](https://www.ruby-forum.com/t/polymorphic-association-with-single-table-inheritance/100061 "2006-07-27T10:13:49Z")

</div>

Hello, is it possible to setup a model/table schema like this: Groupable --\> Membership \<-- Group ^ ^ | | User UserGroup I tried the followi…

---

## [ActionWebService and namespaces](https://www.ruby-forum.com/t/actionwebservice-and-namespaces/57165)

<div class="topic-metadata">

**Author:** [@Paul\_Stadig](https://www.ruby-forum.com/u/Paul_Stadig)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 5:25pm UTC](https://www.ruby-forum.com/t/actionwebservice-and-namespaces/57165 "2006-04-07T17:25:50Z")

</div>

Hi all, I’ve tried to search the mailing list, web, etc. and haven’t found anything that seems to answer my question. I have a WSDL for a web service written in Java, and I’m trying to consume it in ruby using Action…

---

## [Accepted at Wroclove.rb 2026: "Building Rails SPAs in Ruby using Glimmer DSL for Web"](https://www.ruby-forum.com/t/accepted-at-wroclove-rb-2026-building-rails-spas-in-ruby-using-glimmer-dsl-for-web/268219)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [March 17, 2026, 1:40am UTC](https://www.ruby-forum.com/t/accepted-at-wroclove-rb-2026-building-rails-spas-in-ruby-using-glimmer-dsl-for-web/268219 "2026-03-17T01:40:46Z")

</div>

For those who missed it, my 3-hour workshop proposal “Building Rails SPAs in Ruby using Glimmer DSL for Web” was accepted at the Wroclove.rb 2026 Ruby Conference, which takes place April 17-19, 2026 in Wroclaw, Poland. H…

---

## [Can i convert array to nested json file](https://www.ruby-forum.com/t/can-i-convert-array-to-nested-json-file/252567)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 12:51pm UTC](https://www.ruby-forum.com/t/can-i-convert-array-to-nested-json-file/252567 "2019-06-11T12:51:02Z")

</div>

ex: i have one array with elements(arr\[\]) so this array i have to conevrt in below formate json file formate. { “name”: “John”, “age”: “twenty”, “cars”: \[{ “name”: “sunil”, “models”: \[“Fiesta”, “Focus”, “Mustang”\] …

---

## [AM Stereo (C-QUAM) Transmitter](https://www.ruby-forum.com/t/am-stereo-c-quam-transmitter/234785)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 26, 2014, 9:26pm UTC](https://www.ruby-forum.com/t/am-stereo-c-quam-transmitter/234785 "2014-06-26T21:26:46Z")

</div>

I have finished work on a CQUAM https://en.wikipedia.org/wiki/C-QUAM transmitter in GNURadio. CQUAM was among many competing standards for Stereo AM radio, and is still in use around the world. I didn’t see much fo a…

---

## [Array.new(n) { |i| }](https://www.ruby-forum.com/t/array-new-n-i/239769)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 13, 2014, 8:27pm UTC](https://www.ruby-forum.com/t/array-new-n-i/239769 "2014-03-13T20:27:41Z")

</div>

Hi guys ! Is there a method like this : Array.new(n) { |i| …} but that works with an existing array ? Like that : array.append(5) { |i| … } ? Thank U ! :slight\_smile: Sébastien

---

## [OSParam Error](https://www.ruby-forum.com/t/osparam-error/237527)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 18, 2013, 8:49am UTC](https://www.ruby-forum.com/t/osparam-error/237527 "2013-11-18T08:49:21Z")

</div>

I am running a USRP source through a throttle to an FFT sink and a file sink. Last time I ran it, I got an “OSParam error”, followed by a bunch of "D"s and the FFT was lagging and jumping. Any ideas as to what this is…

---

## [Resolution of USRP N210 and N200](https://www.ruby-forum.com/t/resolution-of-usrp-n210-and-n200/237273)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 6, 2013, 6:23pm UTC](https://www.ruby-forum.com/t/resolution-of-usrp-n210-and-n200/237273 "2013-11-06T18:23:29Z")

</div>

Hi, Both of USRP N210 and N200 have 14 bit ADC, which means a range of +/-2e13=+/-8129. However, as I tested a N210 with LFRX, I got values from -32704 ~ 30073, close to +/-2e15=32768. Last year, I also tested a N20…

---

## [Minitest\_tu\_shim 1.3.3 Released](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-3-released/236376)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 30, 2013, 4:41am UTC](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-3-released/236376 "2013-08-30T04:41:24Z")

</div>

minitest\_tu\_shim version 1.3.3 has been released! http://rubyforge.org/projects/bfts minitest\_tu\_shim bridges the gap between the small and fast minitest and ruby’s huge and slow test/unit. Changes: 1.3.3 / 2013-0…

---

## [Reset\_timedout\_connection](https://www.ruby-forum.com/t/reset-timedout-connection/227816)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 11:11am UTC](https://www.ruby-forum.com/t/reset-timedout-connection/227816 "2013-04-04T11:11:44Z")

</div>

Hi. Why is this parameter disabled by default? Best regards, Dmitriy Shalashov

---

## [Running code in another controller action](https://www.ruby-forum.com/t/running-code-in-another-controller-action/225130)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 17, 2012, 5:13am UTC](https://www.ruby-forum.com/t/running-code-in-another-controller-action/225130 "2012-12-17T05:13:13Z")

</div>

I am doing a partial render in the view from one controller. Here is the code -\> \<%= render :template =\> ‘restaurants/new’ %\>. I want the other controller new action code to do it. Is there a way to call an actio…

---

## [Try\_files and filter modules](https://www.ruby-forum.com/t/try-files-and-filter-modules/216754)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 13, 2012, 3:07pm UTC](https://www.ruby-forum.com/t/try-files-and-filter-modules/216754 "2012-02-13T15:07:56Z")

</div>

Hello, is there a reason (or workaround) why try\_files doesn’t work with filter modules (in my case its image\_filter)? For example: location ~ (.)/small\_(.) { try\_files $uri $1/medium\_$2 $1/large\_$2; image\_filter …

---

## [Getting the API version at compile time](https://www.ruby-forum.com/t/getting-the-api-version-at-compile-time/212740)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 13, 2011, 11:43am UTC](https://www.ruby-forum.com/t/getting-the-api-version-at-compile-time/212740 "2011-10-13T11:43:47Z")

</div>

I have been using version 3.1.3 for a while now, but have recently configured a new PC and installed 3.2.2 (packaged with Ubuntu). Unfortunately my code does not compile on the new system because of a change in the AP…

---

## [Net::http does not return what a browser returns](https://www.ruby-forum.com/t/net-http-does-not-return-what-a-browser-returns/212183)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 25, 2011, 1:04am UTC](https://www.ruby-forum.com/t/net-http-does-not-return-what-a-browser-returns/212183 "2011-09-25T01:04:55Z")

</div>

Hello, I trying to access an API with ruby, but I can’t get net::http to get me the response. Here is the code : http.start do |session| response = session.get(’/\_\_GetChallenge’) result = Digest::SHA1.hexdigest res…

---

## [Recommended way to support multiple APIs from one codebase](https://www.ruby-forum.com/t/recommended-way-to-support-multiple-apis-from-one-codebase/211800)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 14, 2011, 6:39pm UTC](https://www.ruby-forum.com/t/recommended-way-to-support-multiple-apis-from-one-codebase/211800 "2011-09-14T18:39:24Z")

</div>

I am the author of the ffi-rzmq gem. It wraps the 0mq \[1\] (libzmq) library for use by all of the major Ruby runtimes. Recently, the 0mq project developers used their 2.x branch to create a 3.x and a 4.x branch. These …

---

## [Why return(XXX) is valid within a "value = case N."?](https://www.ruby-forum.com/t/why-return-xxx-is-valid-within-a-value-case-n/209456)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 14, 2011, 11:59am UTC](https://www.ruby-forum.com/t/why-return-xxx-is-valid-within-a-value-case-n/209456 "2011-07-14T11:59:37Z")

</div>

Hi, the following code does not “compile”: def test1 value = return(“lalala”) end =\> SyntaxError: (irb):11: void value expression Ok, it makes sense. So then, why the following does not fail? def test2 value = ca…

---

## [JRuby picking up native bundler?](https://www.ruby-forum.com/t/jruby-picking-up-native-bundler/208457)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 23, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/jruby-picking-up-native-bundler/208457 "2011-06-23T17:54:05Z")

</div>

Hi, I’m running a JTestR script via JRuby’s distribution jar: (forgive the very long command) /opt/boisvert/jdk1.6.0\_26/bin/java -classpath /home/boisvert/git/buildr/lib/buildr/java:/home/boisvert/.m2/repository/or…

---

## [Using custom signal processing module](https://www.ruby-forum.com/t/using-custom-signal-processing-module/207926)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 7, 2011, 1:04am UTC](https://www.ruby-forum.com/t/using-custom-signal-processing-module/207926 "2011-06-07T01:04:57Z")

</div>

Hello, I followed “writing a signal processing block for GNU radio” with little bit of modification and I was able to compile and ran make check without any problem. When I launch gnuradio-companion, the module I mad…

---

## [Entry not updated in database table(Active Record Error)](https://www.ruby-forum.com/t/entry-not-updated-in-database-table-active-record-error/204636)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 17, 2011, 2:01pm UTC](https://www.ruby-forum.com/t/entry-not-updated-in-database-table-active-record-error/204636 "2011-03-17T14:01:38Z")

</div>

Hello All, I have a table invitation\_workflows.Entry to this table is done via method send\_invite which is called on the click of an Invite button. When I click on Invite button for the first time,entry gets created i…

---

## [Problem with accepts\_nested\_attributes\_for and reject\_if](https://www.ruby-forum.com/t/problem-with-accepts-nested-attributes-for-and-reject-if/202180)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 24, 2011, 11:27am UTC](https://www.ruby-forum.com/t/problem-with-accepts-nested-attributes-for-and-reject-if/202180 "2011-01-24T11:27:28Z")

</div>

Hi, m using rails 3.0.3 and i m getting problem with reject\_if .I just want to check the condition that if all fields of educations table are blank then reject otherwise their values should be stored in database. bu…

---

## [Rails 3 reload! broken - potential fixes?](https://www.ruby-forum.com/t/rails-3-reload-broken-potential-fixes/202051)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 20, 2011, 4:49pm UTC](https://www.ruby-forum.com/t/rails-3-reload-broken-potential-fixes/202051 "2011-01-20T16:49:27Z")

</div>

Crossposted from In Rails 3.03 the reload! method in the console seems to be broken. If your app gets large, this becomes annoying because you have to wait for the console to load a lot. There are solutions propose…

---

## [Un chiarimento sulle migrations](https://www.ruby-forum.com/t/un-chiarimento-sulle-migrations/200082)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 4, 2010, 10:44am UTC](https://www.ruby-forum.com/t/un-chiarimento-sulle-migrations/200082 "2010-12-04T10:44:50Z")

</div>

Se, una volta completata un’applicazione e deploiata, avessi bisogno di modificare le tabelle, per esempio aggiungendo dei campi, mi basta aggiungere una migration in fase di sviluppo che la modifica alla tabella vien…

---

## [Standard IO streams in Ruby](https://www.ruby-forum.com/t/standard-io-streams-in-ruby/192541)

<div class="topic-metadata">

**Author:** [@silver-spoon](https://www.ruby-forum.com/u/silver-spoon)\
**Replies:** 3\
**Last updated:** [August 4, 2010, 3:55am UTC](https://www.ruby-forum.com/t/standard-io-streams-in-ruby/192541 "2010-08-04T03:55:44Z")

</div>

In my rails controller, I am doing the following : @output = g++ j.cpp -o "prog" && ./prog This gives the output in the @output variable which i can display in my view. But the above works only if the j.cpp is correct…

---

## [Rails 3 + RSpec-Rails 2.0 generators?](https://www.ruby-forum.com/t/rails-3-rspec-rails-2-0-generators/189557)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 3\
**Last updated:** [June 3, 2010, 3:19am UTC](https://www.ruby-forum.com/t/rails-3-rspec-rails-2-0-generators/189557 "2010-06-03T03:19:14Z")

</div>

I followed the instructions on the wiki but I don’t seem to have the generator: rails g rspec:install Are the generators not working? btw, I don’t see rspec listed when I run ‘rails generate’ Brian

---

## [Rmagick install fail](https://www.ruby-forum.com/t/rmagick-install-fail/188110)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 3\
**Last updated:** [May 5, 2010, 11:59pm UTC](https://www.ruby-forum.com/t/rmagick-install-fail/188110 "2010-05-05T23:59:15Z")

</div>

I can’t seem to install rmagic on ubuntu 9.10 using ruby 1.9, I have imagemagick installed but i keep seeing the following error yadav@VMLux:$ sudo gem install rmagick Building native extensions. This could take a wh…

---

## [Rainbows! 0.91.1 - use a less-broken parser from Unicorn](https://www.ruby-forum.com/t/rainbows-0-91-1-use-a-less-broken-parser-from-unicorn/187214)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 3\
**Last updated:** [April 19, 2010, 11:28pm UTC](https://www.ruby-forum.com/t/rainbows-0-91-1-use-a-less-broken-parser-from-unicorn/187214 "2010-04-19T23:28:51Z")

</div>

Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily b…

---

## [Building ruby on rails](https://www.ruby-forum.com/t/building-ruby-on-rails/183449)

<div class="topic-metadata">

**Author:** [@Michael\_Felt](https://www.ruby-forum.com/u/Michael_Felt)\
**Replies:** 3\
**Last updated:** [February 16, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/building-ruby-on-rails/183449 "2010-02-16T16:53:12Z")

</div>

Hello, I have downloaded ruby-1.91-1-p376, configured and built (./configure --with-pthreads; make;make install) downloaded rubygem 1.3.5, unpacked, then ruby setup.rb And when I run gem install rails I get the fol…

---

## [Thread example](https://www.ruby-forum.com/t/thread-example/182058)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 3\
**Last updated:** [January 22, 2010, 9:49am UTC](https://www.ruby-forum.com/t/thread-example/182058 "2010-01-22T09:49:40Z")

</div>

Hello, Just copied the code piece from the ruby cookbook: require ‘thread’ class CounterThread \< Thread def initialize @count = 0 @continue = true super do @count += 1 while @continue puts “I counted up to #{@co…

---

## [Auto Sprite 1.0](https://www.ruby-forum.com/t/auto-sprite-1-0/181372)

<div class="topic-metadata">

**Author:** [@stephen](https://www.ruby-forum.com/u/stephen)\
**Replies:** 3\
**Last updated:** [January 16, 2010, 6:32pm UTC](https://www.ruby-forum.com/t/auto-sprite-1-0/181372 "2010-01-16T18:32:09Z")

</div>

Hi all, Just want to announce my auto\_sprite gem which some of you may find handy… It makes using CSS sprites painless. As a bonus - should you remove it some day, it doesn’t break you app, it just reverts to tags…

---

## [Gcell build problem](https://www.ruby-forum.com/t/gcell-build-problem/246526)

<div class="topic-metadata">

**Author:** [@ShivaramaiahS\_Nagar](https://www.ruby-forum.com/u/ShivaramaiahS_Nagar)\
**Replies:** 0\
**Last updated:** [December 25, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/gcell-build-problem/246526 "2009-12-25T17:11:54Z")

</div>

Hi, I’m trying to build the GNURadio 3.2.2 on Fedora 12. the gcell fails to build. I followed the solutions at these other posts (going through those posts shows that they were were facing similar problems) gnu rad…

---

## [GNU Radio Companion and noise source](https://www.ruby-forum.com/t/gnu-radio-companion-and-noise-source/176802)

<div class="topic-metadata">

**Author:** [@dennis](https://www.ruby-forum.com/u/dennis)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/gnu-radio-companion-and-noise-source/176802 "2009-10-06T13:01:13Z")

</div>

Hello @ all Sorry for the bad question! I’m trying to create a simple block with GRC, but i don’t know how to do this. I want to transmit noise on a specific frequency but only on a range of ± 1MHz. … … | noise so…

---

## [How to incorporate any chart in a rails application](https://www.ruby-forum.com/t/how-to-incorporate-any-chart-in-a-rails-application/196997)

<div class="topic-metadata">

**Author:** [@soutom](https://www.ruby-forum.com/u/soutom)\
**Replies:** 3\
**Last updated:** [September 8, 2009, 6:46pm UTC](https://www.ruby-forum.com/t/how-to-incorporate-any-chart-in-a-rails-application/196997 "2009-09-08T18:46:10Z")

</div>

i just want to incorporate a chat in a my rails application… please help me how to incorporate a chart in my rails application

---

## [Configure error while configure](https://www.ruby-forum.com/t/configure-error-while-configure/174081)

<div class="topic-metadata">

**Author:** [@dawson](https://www.ruby-forum.com/u/dawson)\
**Replies:** 3\
**Last updated:** [August 20, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/configure-error-while-configure/174081 "2009-08-20T17:13:19Z")

</div>

while i configure the nginx-0.7.39 , I found the error .what should i do ? I configure the other version of nginx , but the same error occur .Is there anyone could provide the useful information . Thank you! root@u1…

---

## [Unit testing generated content](https://www.ruby-forum.com/t/unit-testing-generated-content/173925)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 18, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/unit-testing-generated-content/173925 "2009-08-18T17:20:13Z")

</div>

Hi, I’m writing unit test. I’ve programmed already an assert method, which purpose it to compare a string or a file with unix diff. The goal is to assert that a generated content multiline is exactly what I expect. …

---

## [\[BUG: 1.9\] encoding warning](https://www.ruby-forum.com/t/bug-1-9-encoding-warning/159513)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [July 16, 2009, 10:14am UTC](https://www.ruby-forum.com/t/bug-1-9-encoding-warning/159513 "2009-07-16T10:14:48Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!0J2\<$N$h$&$K!$e(B-v e$B$de(B -w e$BIU$-$Ne(B ruby e$B$Ge(B erb e$B$re(B require e$B$9$k$H!$e(B"coding: …" e$B$N\>l=j$,0c$&$h!$$H$$$&7Y9p$,=P$^$9!%e(B $ cat test.rb require ‘erb’ $ /tmp/trun…

---

## [\[ANN\] rbeautify 0.0.3](https://www.ruby-forum.com/t/ann-rbeautify-0-0-3/171721)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [July 9, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/ann-rbeautify-0-0-3/171721 "2009-07-09T18:09:43Z")

</div>

ruby\_beautifier/code prettifier. What it does: you run rbeautify ill-aligned code, like def go if 3 end end and it converts said file to def go if 3 end end Quite convenient for those of us working on the com…

---

## [Caches\_page caching a javascript response](https://www.ruby-forum.com/t/caches-page-caching-a-javascript-response/167679)

<div class="topic-metadata">

**Author:** [@diarmuid](https://www.ruby-forum.com/u/diarmuid)\
**Replies:** 3\
**Last updated:** [May 11, 2009, 2:49pm UTC](https://www.ruby-forum.com/t/caches-page-caching-a-javascript-response/167679 "2009-05-11T14:49:47Z")

</div>

I am using caches\_page to cache a controller action which returns javascript caches\_page :show\_county def show\_county @county = County.find(params\[:id\]) respond\_to do |format| format.js end However when I hit the…

---

## [Error reverting back to a previous version of rails](https://www.ruby-forum.com/t/error-reverting-back-to-a-previous-version-of-rails/164753)

<div class="topic-metadata">

**Author:** [@furrot](https://www.ruby-forum.com/u/furrot)\
**Replies:** 3\
**Last updated:** [April 13, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/error-reverting-back-to-a-previous-version-of-rails/164753 "2009-04-13T18:40:25Z")

</div>

I want to revert back to a previous version of rails (1.2.3) but the project I want to work on was created in 2.0.2. I have uninstalled 2.0.2 and gem installed 1.2.3 but when I run script\\server I get the following er…

---

## [Rdoc question: C v Ruby](https://www.ruby-forum.com/t/rdoc-question-c-v-ruby/164637)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 3\
**Last updated:** [April 6, 2009, 7:37am UTC](https://www.ruby-forum.com/t/rdoc-question-c-v-ruby/164637 "2009-04-06T07:37:27Z")

</div>

Hello, I have one class that gets defined in C and has some methods which were easier to write in Ruby (so there’s rbmodule.c and module.rb, which extends the class with some methods) . I’ve documented both the metho…

---

## [Error\_messages\_for does not display the error](https://www.ruby-forum.com/t/error-messages-for-does-not-display-the-error/164579)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/error-messages-for-does-not-display-the-error/164579 "2009-04-03T14:14:30Z")

</div>

Hi all I’ve approached Rails since a couple of months to develop a quick application for my company. Fantastic framework. As every noob, I do have some gaps to cover. The one which is giving me a little frustration, …

---

## [Can't run production console: custom\_require.rb:27: \[BUG\] terminated node (0x8117eb8)](https://www.ruby-forum.com/t/cant-run-production-console-custom-require-rb-bug-terminated-node-0x8117eb8/162927)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [March 25, 2009, 4:06pm UTC](https://www.ruby-forum.com/t/cant-run-production-console-custom-require-rb-bug-terminated-node-0x8117eb8/162927 "2009-03-25T16:06:45Z")

</div>

Suddenly I can’t run the production console anymore for my app :(. Here’s the error I get: 08:12pm fggedsaa:~/rails/production/app\>./script/console production Loading production environment (Rails 2.1.1) /opt/csw/li…

---

## [How to get started with cucumber and assert{ 2.0 }](https://www.ruby-forum.com/t/how-to-get-started-with-cucumber-and-assert-2-0/161724)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [March 1, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/how-to-get-started-with-cucumber-and-assert-2-0/161724 "2009-03-01T18:51:18Z")

</div>

\[Warning: The following is not a question\] Cucumberists: One of the irons in my fires is learning a little Cuke. So I try an experiment: Feature: join In order to get premium content As an unregistered member I wa…

---

## [Complex CSV parsing](https://www.ruby-forum.com/t/complex-csv-parsing/157596)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 3\
**Last updated:** [January 14, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/complex-csv-parsing/157596 "2009-01-14T13:35:37Z")

</div>

I am trying to parse data from a file where the values are common seperated, however there is slightly more to the file than just commas, see below for (;;);{“t”:“msg”,“c”:“p\_114000000”,“ms”:\[{“type”:“msg”,“msg”:{“te…

---

## [Does ruby support global expression?](https://www.ruby-forum.com/t/does-ruby-support-global-expression/157515)

<div class="topic-metadata">

**Author:** [@Jarod\_Z](https://www.ruby-forum.com/u/Jarod_Z)\
**Replies:** 3\
**Last updated:** [January 12, 2009, 9:01pm UTC](https://www.ruby-forum.com/t/does-ruby-support-global-expression/157515 "2009-01-12T21:01:12Z")

</div>

Hi, all In my project, there are some rules using global expression( '\*' as one or more characters ) to match some functions’ output. Such as: rule1e$B!'e(B the \* apple (will match the output “the red apple”) r…

---

## [Nginx problem with allow when forwarding through 2 proxy's](https://www.ruby-forum.com/t/nginx-problem-with-allow-when-forwarding-through-2-proxys/155954)

<div class="topic-metadata">

**Author:** [@Tomasz\_P](https://www.ruby-forum.com/u/Tomasz_P)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/nginx-problem-with-allow-when-forwarding-through-2-proxys/155954 "2008-12-19T15:15:19Z")

</div>

Schema: nginx1 -\> nginx2 -\> apache On nginx2 i’ve got stub status module, and I want to allow only one ip to view the data. But when I add the directive, it won’t work, because nginx2 sees that connection came from …

---

## [Apache module porting guide](https://www.ruby-forum.com/t/apache-module-porting-guide/154415)

<div class="topic-metadata">

**Author:** [@Chang\_S](https://www.ruby-forum.com/u/Chang_S)\
**Replies:** 3\
**Last updated:** [December 2, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/apache-module-porting-guide/154415 "2008-12-02T22:00:48Z")

</div>

Hi, folks. I was wondering if anyone has any guide on how to port apache module to nginx? Any help will be greatly appreciated. Thanks in advance. Chang

---

## [Unexpected error in time difference](https://www.ruby-forum.com/t/unexpected-error-in-time-difference/154279)

<div class="topic-metadata">

**Author:** [@phasis](https://www.ruby-forum.com/u/phasis)\
**Replies:** 3\
**Last updated:** [November 27, 2008, 9:01am UTC](https://www.ruby-forum.com/t/unexpected-error-in-time-difference/154279 "2008-11-27T09:01:30Z")

</div>

Hi, I found some unexpected errors in time difference test. Is this a bug or feature? irb(main):001:0\> Time.now-1 =\> Thu Nov 27 16:19:35 +0900 2008 irb(main):002:0\> Time.now -1 ArgumentError: wrong number of argume…

---

## [How to create Virtual Host In Apache](https://www.ruby-forum.com/t/how-to-create-virtual-host-in-apache/153814)

<div class="topic-metadata">

**Author:** [@Piyush\_with\_Rails](https://www.ruby-forum.com/u/Piyush_with_Rails)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 11:38pm UTC](https://www.ruby-forum.com/t/how-to-create-virtual-host-in-apache/153814 "2008-11-21T23:38:47Z")

</div>

Hi All, I am new to server configurations in apache web server. I want to learn how to create virtual hosts in apache server and run configure domains and making domain up. Can anyone guide me here or provide me some…

---

## [Why?](https://www.ruby-forum.com/t/why/151506)

<div class="topic-metadata">

**Author:** [@Kyung\_won\_C](https://www.ruby-forum.com/u/Kyung_won_C)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/why/151506 "2008-10-22T21:08:46Z")

</div>

in irb self =\> main def why? end =\> nil self.why? =\> nil in test.rb p self # =\> main def why? end self.why? # private method ‘why?’ called for main:Object (NoMethodError) Anyway, one more… …

---

## [0.18.0 plan](https://www.ruby-forum.com/t/0-18-0-plan/148295)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 3\
**Last updated:** [October 5, 2008, 4:02am UTC](https://www.ruby-forum.com/t/0-18-0-plan/148295 "2008-10-05T04:02:43Z")

</div>

Hi, I’ll list 0.18.0 plan because 0.17.0 has been released. If someone who is interested in them, please help us. High priority: GIO support → deprecate GnomeVFS GLib 2.18 support GTK+ 2.14 support Pango 1.20 su…

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

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