# Top

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

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

---

## [Upload Progress](https://www.ruby-forum.com/t/upload-progress/225083)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 12, 2012, 1:10pm UTC](https://www.ruby-forum.com/t/upload-progress/225083 "2012-12-12T13:10:29Z")

</div>

Hello, I recently installed NGINX Upload Progress Module | NGINX with nginx 1.2.6. On the client side I have a request coming every second to check on the upload status. As I watch the access.log I can see all of the …

---

## [Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)](https://www.ruby-forum.com/t/error-installing-rails-on-ubuntu-11-10-gem-dependencyerror/218422)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 2, 2012, 11:07pm UTC](https://www.ruby-forum.com/t/error-installing-rails-on-ubuntu-11-10-gem-dependencyerror/218422 "2012-04-02T23:07:51Z")

</div>

I’m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error: $ sudo gem install rails ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rails requires activesu…

---

## [Question about passing an array iterator instance to a block](https://www.ruby-forum.com/t/question-about-passing-an-array-iterator-instance-to-a-block/217249)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 28, 2012, 3:24pm UTC](https://www.ruby-forum.com/t/question-about-passing-an-array-iterator-instance-to-a-block/217249 "2012-02-28T15:24:09Z")

</div>

I was always under assumption that the block accepts the return value of the iterator as the argument to the block, but look at this: Array.new(500) do | i | puts i end I expect i to be an array instance with 500 in…

---

## [How to report a bug in ruby-1.9.3-p0 that is not present in ruby-1.9.3-head (ruby-1.9.3-p6)](https://www.ruby-forum.com/t/how-to-report-a-bug-in-ruby-1-9-3-p0-that-is-not-present-in-ruby-1-9-3-head-ruby-1-9-3-p6/215327)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 3, 2012, 9:26am UTC](https://www.ruby-forum.com/t/how-to-report-a-bug-in-ruby-1-9-3-p0-that-is-not-present-in-ruby-1-9-3-head-ruby-1-9-3-p6/215327 "2012-01-03T09:26:53Z")

</div>

Hi, While running cucumber tests on shoes with ruby-1.9.3-p0 (on rvm on linux on 32 bit x86), I may have hit a ruby bug: /home/peterv/.rvm/gems/ruby-1.9.3-p0/gems/json-1.6.3/lib/json/common.rb:66: \[BUG\] unknown typ…

---

## [Rspec](https://www.ruby-forum.com/t/rspec/200819)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 22, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/rspec/200819 "2010-12-22T18:30:35Z")

</div>

Ciao, vorrei imparare ad usare Rspec con Rails, voi come fareste? libri (quale?) o tutorial (quale?) oppure altro? grazie .Stefano

---

## [Some newbie questions - bare with me ;)](https://www.ruby-forum.com/t/some-newbie-questions-bare-with-me/196305)

<div class="topic-metadata">

**Author:** [@egervari](https://www.ruby-forum.com/u/egervari)\
**Replies:** 5\
**Last updated:** [October 11, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/some-newbie-questions-bare-with-me/196305 "2010-10-11T12:16:15Z")

</div>

Question 1 I was curious what “:” before a identifier was exactly. It seems that it’s often used as a map key… but what is it exactly? Printing :bob to the screen results in “bob”… but testing for equality between :b…

---

## [Cannot load php page, please help](https://www.ruby-forum.com/t/cannot-load-php-page-please-help/195588)

<div class="topic-metadata">

**Author:** [@feelexit](https://www.ruby-forum.com/u/feelexit)\
**Replies:** 5\
**Last updated:** [September 26, 2010, 3:27am UTC](https://www.ruby-forum.com/t/cannot-load-php-page-please-help/195588 "2010-09-26T03:27:27Z")

</div>

I have nginx, php 5 and php5-fpm installed on ubuntu 10.04 server edition. After I started the nginx server, I have no problem loading the regular html pages. but all .php pages cannot be viewed, firefox just pop out …

---

## [HTML shortcuts](https://www.ruby-forum.com/t/html-shortcuts/89538)

<div class="topic-metadata">

**Author:** [@ckonrad](https://www.ruby-forum.com/u/ckonrad)\
**Replies:** 5\
**Last updated:** [December 28, 2009, 9:43am UTC](https://www.ruby-forum.com/t/html-shortcuts/89538 "2009-12-28T09:43:21Z")

</div>

I am just learning ruby on rails, i have known HTML for a few years now and i dont really see how the HTML control shortcuts in Erb are shortcuts they just seem to be a different way of creating an HTML control not a …

---

## [RoR performance analyis](https://www.ruby-forum.com/t/ror-performance-analyis/173855)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 5\
**Last updated:** [August 17, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/ror-performance-analyis/173855 "2009-08-17T16:17:41Z")

</div>

Hi, Does anyone knows any article, post (blog), research that treats about “Performance analysis of Ruby on Rails applications on web servers implemented on load balancing clusters”? Regards

---

## [Nginx error](https://www.ruby-forum.com/t/nginx-error/162310)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 5\
**Last updated:** [March 12, 2009, 8:59am UTC](https://www.ruby-forum.com/t/nginx-error/162310 "2009-03-12T08:59:39Z")

</div>

Hello, My nginx server always redirect all traffic to 50x page from time to time. I can’t even restart it. I need to reboot. The worker\_processes 5 and worker\_connections is 4096, is it too many? How can I check wh…

---

## [Routes.rb ... killing the apps?](https://www.ruby-forum.com/t/routes-rb-killing-the-apps/161928)

<div class="topic-metadata">

**Author:** [@ialuronico](https://www.ruby-forum.com/u/ialuronico)\
**Replies:** 5\
**Last updated:** [March 6, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/routes-rb-killing-the-apps/161928 "2009-03-06T12:28:16Z")

</div>

create a RoR project on Netbean 2)generate scaffold car name:string power:string db:create 4:)db:migrate Run project now on http://localhost:3000/cars you can find the app and play a little , the app …

---

## [Error accessing db through model - Rails 2.2.2, MySql 5.1.30](https://www.ruby-forum.com/t/error-accessing-db-through-model-rails-2-2-2-mysql-5-1-30/161378)

<div class="topic-metadata">

**Author:** [@sktib](https://www.ruby-forum.com/u/sktib)\
**Replies:** 5\
**Last updated:** [February 27, 2009, 12:29am UTC](https://www.ruby-forum.com/t/error-accessing-db-through-model-rails-2-2-2-mysql-5-1-30/161378 "2009-02-27T00:29:36Z")

</div>

Folks, I just installed Rails 2.2.2 on my box and MySql 5.1.30. Running a simple .find(:all) gives me a bunch of errors - snippet below. The only answer I have found in searching around is to go back to an older vers…

---

## [How to make a call to an applet in RoR?](https://www.ruby-forum.com/t/how-to-make-a-call-to-an-applet-in-ror/159395)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 5\
**Last updated:** [February 4, 2009, 8:47am UTC](https://www.ruby-forum.com/t/how-to-make-a-call-to-an-applet-in-ror/159395 "2009-02-04T08:47:52Z")

</div>

Hi… I need to call a java applet from my rails application… Can anyone please help and tell me…how do I do it??? Thank you so much…

---

## [How can I access after an exception (in the rescue area) the file, class, method, line number for wh](https://www.ruby-forum.com/t/how-can-i-access-after-an-exception-in-the-rescue-area-the-file-class-method-line-number-for-wh/157435)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [January 12, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/how-can-i-access-after-an-exception-in-the-rescue-area-the-file-class-method-line-number-for-wh/157435 "2009-01-12T19:29:18Z")

</div>

Hi, How can I access after an exception (in the rescue area) the following information do you know (i.e. associated with where the error occured)? file, line number class method thanks

---

## [Strange behavior of expire\_fragment](https://www.ruby-forum.com/t/strange-behavior-of-expire-fragment/196846)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 5\
**Last updated:** [November 24, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/strange-behavior-of-expire-fragment/196846 "2008-11-24T23:48:36Z")

</div>

I’m following railscasts tutorial on fragment caching, everything works great except for the sweepers. When i put expire\_fragment(%r{.\*}) directly in my controller, i can expire my fragments with wonderful ease. Yet w…

---

## [Realtime FFT (No GUI)](https://www.ruby-forum.com/t/realtime-fft-no-gui/152988)

<div class="topic-metadata">

**Author:** [@Mayank\_G](https://www.ruby-forum.com/u/Mayank_G)\
**Replies:** 5\
**Last updated:** [November 11, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/realtime-fft-no-gui/152988 "2008-11-11T15:32:46Z")

</div>

Hi all, I am new to GNURadio. I need to do realtime FFT (GUI is not required). I need to feed this FFT to other components of the system so I ned simple FFT values of the signal. I tried hacking the fftsink2.py and w…

---

## [Nginx-0.7.15](https://www.ruby-forum.com/t/nginx-0-7-15/148018)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 5\
**Last updated:** [September 8, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/nginx-0-7-15/148018 "2008-09-08T21:49:25Z")

</div>

Changes with nginx 0.7.15 08 Sep 2008 \*) Feature: the ngx\_http\_random\_index\_module. \*) Feature: the "directio" directive has been optimized for file requests starting from arb…

---

## [Giochiamo coi layouts, piÃ¹ che altro aiutatemi!](https://www.ruby-forum.com/t/giochiamo-coi-layouts-pia-che-altro-aiutatemi/131182)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 5\
**Last updated:** [March 10, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/giochiamo-coi-layouts-pia-che-altro-aiutatemi/131182 "2008-03-10T17:17:24Z")

</div>

Ciao a tutti, sto giocando con la mia applicazione di prova, la sto aggiornando a rails 2.0.2 ed intanto cerco di migliorarla. Nel tentativo di applicare il DRY, vorrei avere un unico layout applicativo ed aggiungere …

---

## [How to setup path](https://www.ruby-forum.com/t/how-to-setup-path/117866)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 5\
**Last updated:** [October 22, 2007, 12:25am UTC](https://www.ruby-forum.com/t/how-to-setup-path/117866 "2007-10-22T00:25:27Z")

</div>

how to setup the ruby path that my code can look at runtime for the libraries.

---

## [Richiesta di info](https://www.ruby-forum.com/t/richiesta-di-info/113469)

<div class="topic-metadata">

**Author:** [@Alberto\_P](https://www.ruby-forum.com/u/Alberto_P)\
**Replies:** 5\
**Last updated:** [August 31, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/richiesta-di-info/113469 "2007-08-31T15:38:47Z")

</div>

Ciao a tutti scusate l’ intrusione ma avrei bisogno di un paio di info. Allora io creo siti statici con html css qualcosina di flash ma vorrei portare le mie applicazioni ad un livello piu alto. Non conosco linguaggi …

---

## [Control c](https://www.ruby-forum.com/t/control-c/107306)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 20, 2007, 11:14am UTC](https://www.ruby-forum.com/t/control-c/107306 "2007-06-20T11:14:55Z")

</div>

Salve a tutti, come posso gestire l’uscita dall’esecuzione di uno script via “control ^C”? Vorrei che una volta premuto “^C” lo script esca in maniera pulita senza riportare warning a video. Grazie p.s. se nella fo…

---

## [Mysql "query browser" freezes on Mac OSX - does it do this f](https://www.ruby-forum.com/t/mysql-query-browser-freezes-on-mac-osx-does-it-do-this-f/84094)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [February 27, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/mysql-query-browser-freezes-on-mac-osx-does-it-do-this-f/84094 "2007-02-27T16:25:10Z")

</div>

Hi, Just getting setup on my new Macbook but I’m noting (re getting a SQL browser working) that the MySQL “Query Browser” product itself does not shut itself down properly when you close. I have to Force Quit to kil…

---

## [Too many columns for list.rhtml to display](https://www.ruby-forum.com/t/too-many-columns-for-list-rhtml-to-display/79560)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 5\
**Last updated:** [December 17, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/too-many-columns-for-list-rhtml-to-display/79560 "2006-12-17T17:08:26Z")

</div>

Hi all in the list.rhtml generated by the scaffoldhow can I select the columns I want to display. the code by default shows everything % for column in Person.content\_columns %\> \<%= column.human\_name %\> \<% end %\> …

---

## [Google map to\_html not working](https://www.ruby-forum.com/t/google-map-to-html-not-working/76995)

<div class="topic-metadata">

**Author:** [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Replies:** 5\
**Last updated:** [November 27, 2006, 12:53am UTC](https://www.ruby-forum.com/t/google-map-to-html-not-working/76995 "2006-11-27T00:53:22Z")

</div>

Hi,there This question might sound a bit out-dated but I am still struggling with it. When I try to display the google map in my application, I rendered @map.to\_html like everyone else does, but didnt get any result.…

---

## [RadiantCMS newbie question](https://www.ruby-forum.com/t/radiantcms-newbie-question/70054)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 5\
**Last updated:** [September 26, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/radiantcms-newbie-question/70054 "2006-09-26T18:11:28Z")

</div>

Hello all, I wander if it is possible to use ruby code directly in RadiantCMS or one have to wrap code in radius tags? What I would like is to use rails helper methods directly in snippets and layouts. thanks for ans…

---

## [Installation serveur dedibox](https://www.ruby-forum.com/t/installation-serveur-dedibox/67132)

<div class="topic-metadata">

**Author:** [@pierre\_FAUQUEMBERGU](https://www.ruby-forum.com/u/pierre_FAUQUEMBERGU)\
**Replies:** 5\
**Last updated:** [September 1, 2006, 11:34am UTC](https://www.ruby-forum.com/t/installation-serveur-dedibox/67132 "2006-09-01T11:34:17Z")

</div>

Salut, Pour ceux qui souhaite installer un serveur ROR, je vous propose un tutorial tire de mon experience voir =\> http://pierre.fauquembergue.free.fr/tutoriaux/ror/ror.html

---

## [How to capture a SOAP exception from a webservice?](https://www.ruby-forum.com/t/how-to-capture-a-soap-exception-from-a-webservice/101029)

<div class="topic-metadata">

**Author:** [@imaqaguy](https://www.ruby-forum.com/u/imaqaguy)\
**Replies:** 5\
**Last updated:** [August 4, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/how-to-capture-a-soap-exception-from-a-webservice/101029 "2006-08-04T16:42:11Z")

</div>

Iâ??m trying to catch a soap exception from a web service, but Iâ??m a n00b and am having a hard time figuring it out. Iâ??m using ruby 1.8.4 (win32)–if it matters. Iâ??ve got the start of my program created and can r…

---

## [Print Out Code in Program](https://www.ruby-forum.com/t/print-out-code-in-program/59979)

<div class="topic-metadata">

**Author:** [@patrick](https://www.ruby-forum.com/u/patrick)\
**Replies:** 5\
**Last updated:** [May 9, 2006, 3:43pm UTC](https://www.ruby-forum.com/t/print-out-code-in-program/59979 "2006-05-09T15:43:34Z")

</div>

class Ab def code a = 5 b = 2 end end Is there a way to store the actual code of a class or definition as a string without manually doing it? Such as if you were doing a tutorial on how something works. So basica…

---

## [Make install may make other ruby processs SEGV](https://www.ruby-forum.com/t/make-install-may-make-other-ruby-processs-segv/75806)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [March 2, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/make-install-may-make-other-ruby-processs-segv/75806 "2006-03-02T18:32:11Z")

</div>

e$B$?$^$K!“F0$$$F$$$ke(B ruby e$B%W%m%;%9$,$”$k$H$-$Ke(B make install e$B$7e(B e$B$F$7$^$&$3$H$,$"$k$N$G$9$,!"$=$N$H$-$K$=$Ne(B ruby e$B%W%m%;%9$,e(B segv e$B$K$J$k$3$H$,$"$j$^$9!#e(B e$BNc$($P!"0J2\<$N$h$&$J%W%m%0%i%…

---

## [Ruby on Rails / Full-Stack Developer - Los Angeles, CA (Full Time)](https://www.ruby-forum.com/t/ruby-on-rails-full-stack-developer-los-angeles-ca-full-time/251824)

<div class="topic-metadata">

**Author:** [@s1v4](https://www.ruby-forum.com/u/s1v4)\
**Replies:** 0\
**Last updated:** [February 6, 2019, 9:24pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-full-stack-developer-los-angeles-ca-full-time/251824 "2019-02-06T21:24:16Z")

</div>

The Guestbook We’re looking to add 2 full-time, Jr to mid-level, Ruby on Rails Engineers to work on-site, at our main office in West Hollywood. You will be an integral member and will help architect, design, and implem…

---

## [Restrict application layout for certain views](https://www.ruby-forum.com/t/restrict-application-layout-for-certain-views/242782)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 9, 2015, 7:44pm UTC](https://www.ruby-forum.com/t/restrict-application-layout-for-certain-views/242782 "2015-08-09T19:44:59Z")

</div>

Hi folks Is there any way to change / restrict the application layout for certain views? For example, I don’t want to render the header for a certain view, is there any code such as: \<% if View != show.html.erb%\> \<%…

---

## [Rails where clause help](https://www.ruby-forum.com/t/rails-where-clause-help/239232)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 18, 2014, 3:18pm UTC](https://www.ruby-forum.com/t/rails-where-clause-help/239232 "2014-02-18T15:18:53Z")

</div>

Hi, I found one answer from - sql - Rails .where(.... and ....) Searching for two values of the same attribute - Stack Overflow @users = User.where(name: \[@request.requester, @request.regional\_sales\_mgr\]).all Here @u…

---

## [Controlling flowgraph](https://www.ruby-forum.com/t/controlling-flowgraph/246389)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 4:42pm UTC](https://www.ruby-forum.com/t/controlling-flowgraph/246389 "2013-10-11T16:42:37Z")

</div>

Hi all guys, I wanted to implement a ask transmitter and a button for triggering transmition of a single frame of data. My idea was to do that with a sort of state machine and a button, but as far as i can see there …

---

## [What is the best way to convert a currency string 'USD' to locale :en-US?](https://www.ruby-forum.com/t/what-is-the-best-way-to-convert-a-currency-string-usd-to-locale-en-us/246306)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-convert-a-currency-string-usd-to-locale-en-us/246306 "2013-09-24T21:46:29Z")

</div>

What is the best way to convert a currency string ‘USD’ to locale :en-US? Right now trying to make it flexible to show the money and symbol correctly based on the currency string (like ‘USD’ or ‘AUD’) stored against …

---

## [Rails sites went down without my knowledge](https://www.ruby-forum.com/t/rails-sites-went-down-without-my-knowledge/246153)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [September 10, 2013, 9:26am UTC](https://www.ruby-forum.com/t/rails-sites-went-down-without-my-knowledge/246153 "2013-09-10T09:26:15Z")

</div>

I found that both of my Rails sites went down tonight without my knowledge, and I was getting 502 errors when I tried to visit these sites. Both are hosted by the same company. Fortunately, I was able to get the si…

---

## ["TypeError: data type not understood" when writting block in python](https://www.ruby-forum.com/t/typeerror-data-type-not-understood-when-writting-block-in-python/236438)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 3, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/typeerror-data-type-not-understood-when-writting-block-in-python/236438 "2013-09-03T17:26:07Z")

</div>

Hi all, this thread is more or less extension of the thread: http://gnuradio.4.n7.nabble.com/3-6-4-2-test-fail-tc43452.html It looks that my 3.6.4git versio doesn’t support message passing logic within python, so I s…

---

## [Rails adding computed field to a join of multiple tables](https://www.ruby-forum.com/t/rails-adding-computed-field-to-a-join-of-multiple-tables/227400)

<div class="topic-metadata">

**Author:** [@Sumit\_S](https://www.ruby-forum.com/u/Sumit_S)\
**Replies:** 3\
**Last updated:** [March 15, 2013, 12:16pm UTC](https://www.ruby-forum.com/t/rails-adding-computed-field-to-a-join-of-multiple-tables/227400 "2013-03-15T12:16:55Z")

</div>

I did join on three tables. arel = OfferOrder.includes(:a, :b, :c) arel = arel.select(’(CASE WHEN ISNULL(c.field2) THEN c.field1 ELSE c.field2 END) AS fraud’) but when I run my code it gives error that (Mysql2::Error…

---

## [Regarding the instantiation relations in Ruby?](https://www.ruby-forum.com/t/regarding-the-instantiation-relations-in-ruby/226857)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 3\
**Last updated:** [February 23, 2013, 3:43pm UTC](https://www.ruby-forum.com/t/regarding-the-instantiation-relations-in-ruby/226857 "2013-02-23T15:43:15Z")

</div>

Is the below statement holds true in the course of instantiation relations ? (a) BasicObject is an instance of Class (as well as (kind) of Module, Object, BasicObject). (b) Object is an instance of Class (as well as …

---

## [Generate graph](https://www.ruby-forum.com/t/generate-graph/208567)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 22, 2011, 4:14am UTC](https://www.ruby-forum.com/t/generate-graph/208567 "2011-06-22T04:14:39Z")

</div>

hi, there’s any one know can i build a 3D graph to represent a links between users in a social graph !? thanks.

---

## [What is - !ruby/object:?](https://www.ruby-forum.com/t/what-is-ruby-object/205413)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 6, 2011, 8:08pm UTC](https://www.ruby-forum.com/t/what-is-ruby-object/205413 "2011-04-06T20:08:16Z")

</div>

I’m trying to get this plugin to work: It basically gets you all the cities and states in the United States. However, it reads: “I havent added a rake task to populate the database yet. But the YAML files are in vend…

---

## [Logwatch and nginx logs](https://www.ruby-forum.com/t/logwatch-and-nginx-logs/205077)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 1, 2011, 8:21am UTC](https://www.ruby-forum.com/t/logwatch-and-nginx-logs/205077 "2011-04-01T08:21:32Z")

</div>

Hello, Does anyone know how to configure logwatch to parse nginx logs instead of apache ones? Thanks. Alex. Posted at Nginx Forum:

---

## [Showing a time-varying quantity in GNU Radio (with qtgui)](https://www.ruby-forum.com/t/showing-a-time-varying-quantity-in-gnu-radio-with-qtgui/201980)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 21, 2011, 7:21am UTC](https://www.ruby-forum.com/t/showing-a-time-varying-quantity-in-gnu-radio-with-qtgui/201980 "2011-01-21T07:21:26Z")

</div>

Dear all, I’m implementing a GUI to show the time-varying wireless channel gain with qtgui. To be specific, I want to implement is a history plot. The X-axis is discrete time and the Y-axis is a channel gain. And t…

---

## [How do I figure out which (wrong) file rspec is loading?](https://www.ruby-forum.com/t/how-do-i-figure-out-which-wrong-file-rspec-is-loading/198437)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 1, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/how-do-i-figure-out-which-wrong-file-rspec-is-loading/198437 "2010-11-01T18:19:42Z")

</div>

I’m using Rails 3.0.1, RSpec-Rails 2.0.1 and Webrat 0.7.1. I have the following test: describe PagesController do describe “GET ‘main’” do it “should have the right title” do get ‘main’ response.should have\_selecto…

---

## [Insufficient database clean-up between specs](https://www.ruby-forum.com/t/insufficient-database-clean-up-between-specs/185163)

<div class="topic-metadata">

**Author:** [@jollyroger](https://www.ruby-forum.com/u/jollyroger)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 1:29pm UTC](https://www.ruby-forum.com/t/insufficient-database-clean-up-between-specs/185163 "2010-03-20T13:29:09Z")

</div>

Hey guys, unfortunately I’ve got one more issue with rspec right now. It seems like rspec isnt properly cleaning up the database after each spec. I have the following spec: ##########################################…

---

## [Mysterious JRuby stack trace](https://www.ruby-forum.com/t/mysterious-jruby-stack-trace/184628)

<div class="topic-metadata">

**Author:** [@cage](https://www.ruby-forum.com/u/cage)\
**Replies:** 3\
**Last updated:** [March 7, 2010, 2:49pm UTC](https://www.ruby-forum.com/t/mysterious-jruby-stack-trace/184628 "2010-03-07T14:49:18Z")

</div>

Hi guys, I’m using JRuby 1.4.0 complete jar in one of my projects. I’m executing it from ant via the exec task: java -jar jruby1.4.0.jar script.rb script\_params The thing is, on some computers I receive this: \[exec\]…

---

## [Spec time reporting precision](https://www.ruby-forum.com/t/spec-time-reporting-precision/180856)

<div class="topic-metadata">

**Author:** [@t73net](https://www.ruby-forum.com/u/t73net)\
**Replies:** 3\
**Last updated:** [December 30, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/spec-time-reporting-precision/180856 "2009-12-30T17:34:06Z")

</div>

Hey all, So I woke up early this morning, and was running some tests through autospec, and it returned a time as follows: Finished in 0.0151600000000001 seconds I know that there are alot of other more important issu…

---

## [$gem\_hom](https://www.ruby-forum.com/t/gem-hom/165645)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 3\
**Last updated:** [April 17, 2009, 12:25am UTC](https://www.ruby-forum.com/t/gem-hom/165645 "2009-04-17T00:25:17Z")

</div>

I am running cygwin with ruby version ruby 1.8.7 (2008-08-11 patchlevel 72) \[i386-cygwin\] When I installed zipruby I noticed this: make install mkdir -p /usr/lib/ruby/gems/1.8/gems/gems/gems/zipruby-0.2.9/lib /usr/b…

---

## [Ruby/Tk version?](https://www.ruby-forum.com/t/ruby-tk-version/161592)

<div class="topic-metadata">

**Author:** [@diego\_v](https://www.ruby-forum.com/u/diego_v)\
**Replies:** 3\
**Last updated:** [March 7, 2009, 12:26am UTC](https://www.ruby-forum.com/t/ruby-tk-version/161592 "2009-03-07T00:26:14Z")

</div>

Hello, what version of Tk does Ruby 1.9.1 uses? And if they are not uptodate, any plan to bring it to the latest version? Thank you Diego

---

## [Conversione fra basi! Lo sapevate?](https://www.ruby-forum.com/t/conversione-fra-basi-lo-sapevate/159545)

<div class="topic-metadata">

**Author:** [@giampiz](https://www.ruby-forum.com/u/giampiz)\
**Replies:** 3\
**Last updated:** [February 5, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/conversione-fra-basi-lo-sapevate/159545 "2009-02-05T21:39:12Z")

</div>

ho scoperto quanto segue dato un numero si puÃ² convertire nella rappresentazione in una base qualunque usando il metodo to\_s passando come parametro la base; seguono esempi p 18.to\_s 2 restituisce “10010” (18 base 1…

---

## [When download a file named with english and num and chinese character,the file name is garbled](https://www.ruby-forum.com/t/when-download-a-file-named-with-english-and-num-and-chinese-character-the-file-name-is-garbled/159301)

<div class="topic-metadata">

**Author:** [@lhmwzy](https://www.ruby-forum.com/u/lhmwzy)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 8:28pm UTC](https://www.ruby-forum.com/t/when-download-a-file-named-with-english-and-num-and-chinese-character-the-file-name-is-garbled/159301 "2009-02-03T20:28:22Z")

</div>

When download a file named with english and num and chinese character,ÇÉ»¢¿ìÀÖ°æ2008Äê12ÔÂºÅDVD0812.iso,for example,the file name will garbled like “%c7%c9%bb%a2%bf%ec%c0%d6%b0%e62008%c4%ea12%d4%c2%ba%c5DVD0812.iso”…

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

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