# Top

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

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

---

## [Rubyscript2exe undefined 'run' method](https://www.ruby-forum.com/t/rubyscript2exe-undefined-run-method/226010)

<div class="topic-metadata">

**Author:** [@joseph\_edelstein](https://www.ruby-forum.com/u/joseph_edelstein)\
**Replies:** 7\
**Last updated:** [June 17, 2008, 10:22am UTC](https://www.ruby-forum.com/t/rubyscript2exe-undefined-run-method/226010 "2008-06-17T10:22:09Z")

</div>

After I ran my program through Rubyscript2exe, the Random.exe file that it created is causing the following error: D:\\Ruby projects\>random.exe C:\\DOCUME~1\\JEDELS~1\\eee\\eee.Random.exe.2\\app\\Random.rb:59: undefined me…

---

## [Grcc issues](https://www.ruby-forum.com/t/grcc-issues/232950)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [November 6, 2014, 8:44pm UTC](https://www.ruby-forum.com/t/grcc-issues/232950 "2014-11-06T20:44:58Z")

</div>

I have a flow-graph: https://www.cgran.org/svn/projects/simple\_ra It comes with a makefile, which sets up PYTHONPATH, and calls grcc -d That grcc -d consistently fails (“Error during compilation”) Yet, when I bring t…

---

## [Cannot create directory alias (with php pages)](https://www.ruby-forum.com/t/cannot-create-directory-alias-with-php-pages/231535)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 14, 2014, 7:32pm UTC](https://www.ruby-forum.com/t/cannot-create-directory-alias-with-php-pages/231535 "2014-08-14T19:32:31Z")

</div>

Hello, I have a hard time trying to make a “directory alias” (in Apache terminology - sorry, I still have a lot to learn on nginx)… I have piwik.example.com, configured to run piwik analytics (it is a php site), and …

---

## [Installing mysql gem on Win7 x64 for MySQL 5.1.x](https://www.ruby-forum.com/t/installing-mysql-gem-on-win7-x64-for-mysql-5-1-x/192601)

<div class="topic-metadata">

**Author:** [@growell](https://www.ruby-forum.com/u/growell)\
**Replies:** 5\
**Last updated:** [August 3, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/installing-mysql-gem-on-win7-x64-for-mysql-5-1-x/192601 "2010-08-03T20:07:40Z")

</div>

As of the time this was written, I’m running: Windows 7 x64 mysql Ver 14.14 Distrib 5.1.48, for Win64 (unknown) ruby 1.8.7 (2010-06-23 patchlevel 299) \[i386-mingw32\] gem 1.3.7 This setup presents a particular problem,…

---

## [SSL + Lighty + SCGI Beginner's Help Please](https://www.ruby-forum.com/t/ssl-lighty-scgi-beginners-help-please/127658)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 5\
**Last updated:** [February 9, 2008, 10:25am UTC](https://www.ruby-forum.com/t/ssl-lighty-scgi-beginners-help-please/127658 "2008-02-09T10:25:27Z")

</div>

Hi everyone, I tried looking around google and found not too many clear and elaborate tutorials for a absolute beginner. I knew I could count on all the people here. Here is what I want to do. I want to have a SSL …

---

## [Application.rb overload?](https://www.ruby-forum.com/t/application-rb-overload/107542)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 5\
**Last updated:** [June 26, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/application-rb-overload/107542 "2007-06-26T18:01:54Z")

</div>

Hi, I have an authentification application with methods such as “logged\_in?” in controllers/application.rb. But when I moved the application.rb from a real app to an engine, these methods are not known anymore. I call…

---

## [Help processing a file or array](https://www.ruby-forum.com/t/help-processing-a-file-or-array/89740)

<div class="topic-metadata">

**Author:** [@Eduardo\_YSSSSSSSSez](https://www.ruby-forum.com/u/Eduardo_YSSSSSSSSez)\
**Replies:** 5\
**Last updated:** [March 22, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/help-processing-a-file-or-array/89740 "2007-03-22T17:30:01Z")

</div>

Hello, I’m a newbie, and need some help to process a file. The file has lines with something like this: rewrewrwer rrrrrrrrrrrrr aa1 rrrrrrrrrr rewrwerwer rrrrrrrrrrrrr bb1 rrrrrrrrrr rwerfwdffsd rrrrrrrrrrrrr cc1 rr…

---

## [Developing an engine: What should I keep in mind?](https://www.ruby-forum.com/t/developing-an-engine-what-should-i-keep-in-mind/60491)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [May 18, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/developing-an-engine-what-should-i-keep-in-mind/60491 "2006-05-18T15:22:37Z")

</div>

Hi all I’d like to begin with clean development of engines that I will be able to re-use and give to the Rails community. Now my question: what should I always keep in mind when writing code for an engine? I’m thinki…

---

## [ActionController::Live in development without "config.cache\_classes = true"?](https://www.ruby-forum.com/t/actioncontroller-live-in-development-without-config-cache-classes-true/246020)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [April 2, 2014, 8:16am UTC](https://www.ruby-forum.com/t/actioncontroller-live-in-development-without-config-cache-classes-true/246020 "2014-04-02T08:16:14Z")

</div>

Hey all, we recently ported to Rails 4.0 from 3.2.13 with our application and were really excited about the new ActionController::Live functionalities. Part of our application is a messaging/notification system and …

---

## [Fwd: How to save file to s3 after processing by ffmpeg using carrierwave](https://www.ruby-forum.com/t/fwd-how-to-save-file-to-s3-after-processing-by-ffmpeg-using-carrierwave/236655)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 23, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/fwd-how-to-save-file-to-s3-after-processing-by-ffmpeg-using-carrierwave/236655 "2013-09-23T16:36:01Z")

</div>

HI All, I am trying to convert the bit rate of the Mp3 file before uploading to S3, I can able to create version for the mp3 file but the version is not saving in s3 instead original file is uploading to s3, any hel…

---

## [Install question RE:ruby-1.8.6, rubygems-1.2.0, rails, mongrel on redhat 4](https://www.ruby-forum.com/t/install-question-re-ruby-1-8-6-rubygems-1-2-0-rails-mongrel-on-redhat-4/246518)

<div class="topic-metadata">

**Author:** [@bishop](https://www.ruby-forum.com/u/bishop)\
**Replies:** 0\
**Last updated:** [August 6, 2008, 9:33am UTC](https://www.ruby-forum.com/t/install-question-re-ruby-1-8-6-rubygems-1-2-0-rails-mongrel-on-redhat-4/246518 "2008-08-06T09:33:03Z")

</div>

I’m working to get Rails properly configured and running on a GNU/ Linux RedHat4 server. I’ve been through many, many of the online documentation sets, and am still stuck on a couple of things, namely running mongrel …

---

## [Vulnerability related Doubts in Nginx](https://www.ruby-forum.com/t/vulnerability-related-doubts-in-nginx/244326)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [March 22, 2016, 1:22pm UTC](https://www.ruby-forum.com/t/vulnerability-related-doubts-in-nginx/244326 "2016-03-22T13:22:14Z")

</div>

Hi We are running Nginx version 1.8 ( nginx-1.8.1-1.amzn1.ngx.x86\_64 ) in our servers. So in the Vulnerability Assessment, Nessus gave report that it is vulnerable. Current version :- nginx-1.8.1-1.amzn1.ngx…

---

## [Installing ri documentation SLOW (Windows)](https://www.ruby-forum.com/t/installing-ri-documentation-slow-windows/219109)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 22, 2012, 2:24pm UTC](https://www.ruby-forum.com/t/installing-ri-documentation-slow-windows/219109 "2012-04-22T14:24:25Z")

</div>

Hi, When I install new GEMs the ri doc installs are taking forever. I am waiting now over 10 minutes on actionpack-3.2.3 ri documentation to install. I am running Ruby 1.9.3. My machine is Windows 7 x64, 2500k (fast)…

---

## [HTML embed tag and rails](https://www.ruby-forum.com/t/html-embed-tag-and-rails/107092)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [June 18, 2007, 12:42pm UTC](https://www.ruby-forum.com/t/html-embed-tag-and-rails/107092 "2007-06-18T12:42:59Z")

</div>

I have an embeded pluggin that I must use inside my RoR app. We have set up an application.rhtml page that renders the top, side menu and center of the application for every page via DIV’s. This works great. The prob…

---

## [Image\_tag problem](https://www.ruby-forum.com/t/image-tag-problem/70337)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [September 28, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/image-tag-problem/70337 "2006-09-28T12:37:37Z")

</div>

Hi I am very new to RoR and am learning using the Agile Web D. with Rails referece. I am slowly creating the Depot application and have a problem setting up an image to act as a hyper link. The code snippt I specific…

---

## [Programme.I can't get it](https://www.ruby-forum.com/t/programme-i-cant-get-it/245137)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [November 15, 2016, 7:32am UTC](https://www.ruby-forum.com/t/programme-i-cant-get-it/245137 "2016-11-15T07:32:12Z")

</div>

I need a little help in creating a programme that is able keep track of how much an individual consumes at the bar. It shall separate between soft drinks, bear and drinks.

---

## [Http\_flv\_module not working, any idea please](https://www.ruby-forum.com/t/http-flv-module-not-working-any-idea-please/208117)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [November 16, 2012, 8:32pm UTC](https://www.ruby-forum.com/t/http-flv-module-not-working-any-idea-please/208117 "2012-11-16T20:32:59Z")

</div>

Hi every1, I’ve NginX running on a “Debian GNU/Linux 5.0” with the following compile options: nginx version: nginx/0.8.53 TLS SNI support enabled configure arguments: –prefix=/dh/nginx --with-ipv6 --with-pcre --wit…

---

## [Carritos sin vincular a la sesion](https://www.ruby-forum.com/t/carritos-sin-vincular-a-la-sesion/182266)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 6\
**Last updated:** [February 12, 2010, 12:09am UTC](https://www.ruby-forum.com/t/carritos-sin-vincular-a-la-sesion/182266 "2010-02-12T00:09:04Z")

</div>

Hola de nuevo. Estoy tratando de hacer una historia con el carrito. Tengo actualmente un carrito que se inicializa con la sesiÃ³n. Tam-bien tengo un controlador basado en menu de arboles, el cual le llamÃ© “who”. El c…

---

## [How do I define a dynamic Matrix or](https://www.ruby-forum.com/t/how-do-i-define-a-dynamic-matrix-or/118562)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 6\
**Last updated:** [October 29, 2007, 12:17am UTC](https://www.ruby-forum.com/t/how-do-i-define-a-dynamic-matrix-or/118562 "2007-10-29T00:17:50Z")

</div>

Hello Team, On my quest to learn Ruby, I implemented a known algorithm to solve an odd nXn magic square. I tested my code using a 3x3 and a 5x5 magic squares. The problem that I am having is that I hard-code the ini…

---

## [Hiring](https://www.ruby-forum.com/t/hiring/107902)

<div class="topic-metadata">

**Author:** [@KSRajesh](https://www.ruby-forum.com/u/KSRajesh)\
**Replies:** 6\
**Last updated:** [July 3, 2007, 7:06am UTC](https://www.ruby-forum.com/t/hiring/107902 "2007-07-03T07:06:07Z")

</div>

Hi, I am looking to hire 2 experienced Rails programmers full-time in a Bangalore (India) based company. Feel free to contact me at removed\_email\_address@domain.invalid with your profiles. 1 year experience on Rails …

---

## [Cleanups for 4.1](https://www.ruby-forum.com/t/cleanups-for-4-1/64887)

<div class="topic-metadata">

**Author:** [@slembcke](https://www.ruby-forum.com/u/slembcke)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/cleanups-for-4-1/64887 "2006-08-15T17:44:56Z")

</div>

I’ve been working on some cleanups for 4.1 in a branch, and I wanted to give a heads-up here, so people can scream in terror before I commit it :-). The first change is that blog.url\_for now uses blog.canonical\_serve…

---

## [An Informal Contest](https://www.ruby-forum.com/t/an-informal-contest/62996)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 6\
**Last updated:** [July 3, 2006, 12:18am UTC](https://www.ruby-forum.com/t/an-informal-contest/62996 "2006-07-03T00:18:26Z")

</div>

Changeset 57 contains the following improvements: Updated db/setup.rb. Option parsing has been improved and you can now select a template for your new Radiant database. Added an export controller to make it easier to…

---

## [Installing on Solaris using sparc-sun-solaris-2.8](https://www.ruby-forum.com/t/installing-on-solaris-using-sparc-sun-solaris-2-8/57623)

<div class="topic-metadata">

**Author:** [@powerflower](https://www.ruby-forum.com/u/powerflower)\
**Replies:** 6\
**Last updated:** [April 13, 2006, 11:13am UTC](https://www.ruby-forum.com/t/installing-on-solaris-using-sparc-sun-solaris-2-8/57623 "2006-04-13T11:13:17Z")

</div>

I am a newbie to Solaris and Ruby. I have downloaded the source for Ruby 1.8.4, I added CC to the environment using “CC=/usr/local/bin/gcc” & “export CC”. I have run ./configure successfully. I then set my variables …

---

## [Ruby framework for creating Android applications](https://www.ruby-forum.com/t/ruby-framework-for-creating-android-applications/264581)

<div class="topic-metadata">

**Author:** [@gilar.kt](https://www.ruby-forum.com/u/gilar.kt)\
**Replies:** 2\
**Last updated:** [January 27, 2024, 9:09pm UTC](https://www.ruby-forum.com/t/ruby-framework-for-creating-android-applications/264581 "2024-01-27T21:09:23Z")

</div>

hello, I’m a beginner, I want to ask about recommended frameworks for creating Android applications? Thanks before.

---

## [How to use list store](https://www.ruby-forum.com/t/how-to-use-list-store/238554)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 18, 2014, 6:38pm UTC](https://www.ruby-forum.com/t/how-to-use-list-store/238554 "2014-01-18T18:38:48Z")

</div>

Hi, I want to create simple file manager using Ruby & Gtk3. I found an example but they used python. I didn’t understand structure of List Store how works? Also I read this http://ruby-gnome2.sourceforge.jp/hiki.cgi…

---

## [Ruby odbc](https://www.ruby-forum.com/t/ruby-odbc/108343)

<div class="topic-metadata">

**Author:** [@donv](https://www.ruby-forum.com/u/donv)\
**Replies:** 2\
**Last updated:** [July 4, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/ruby-odbc/108343 "2007-07-04T17:49:27Z")

</div>

Hi all! I am trying to use ActiveRecord migrations from Linux on an MS SQL Server database running on windows. I am following the instructions on http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServ…

---

## [How to delete heroku deployment](https://www.ruby-forum.com/t/how-to-delete-heroku-deployment/212357)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 1, 2011, 4:43pm UTC](https://www.ruby-forum.com/t/how-to-delete-heroku-deployment/212357 "2011-10-01T16:43:21Z")

</div>

i had deployed an app to heroku, called falling-sky-4350. i deleted the app from heroku.com, then created a new app clientside heroku create Creating sharp-window-8814… done, stack is bamboo-mri-1.9.2 http://sharp-wi…

---

## [Erb not fully rendering .js.erb files](https://www.ruby-forum.com/t/erb-not-fully-rendering-js-erb-files/185160)

<div class="topic-metadata">

**Author:** [@pkh](https://www.ruby-forum.com/u/pkh)\
**Replies:** 1\
**Last updated:** [March 15, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/erb-not-fully-rendering-js-erb-files/185160 "2010-03-15T12:09:32Z")

</div>

(Disclaimer: I’m new to rails, and running with rails --version: Rails 3.0.0.beta) The quick overview of what I’m trying to do: When the user hits a button that’s part of a table row, send an async POST to my server,…

---

## [Nitro security vulnerability](https://www.ruby-forum.com/t/nitro-security-vulnerability/157111)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 1:24pm UTC](https://www.ruby-forum.com/t/nitro-security-vulnerability/157111 "2009-01-07T13:24:03Z")

</div>

Hi, I’m not sure what the protocol is for reporting vulnerabilities, so I won’t say anything explict in this email. A security company tested our site and found a type of malformed URL that when handled by Nitro allo…

---

## [Random 502 bad gateway with php-fpm, why?](https://www.ruby-forum.com/t/random-502-bad-gateway-with-php-fpm-why/237467)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 16, 2013, 12:03am UTC](https://www.ruby-forum.com/t/random-502-bad-gateway-with-php-fpm-why/237467 "2013-11-16T00:03:47Z")

</div>

My PHP application went down for a few hours with 502 bad gateway. In the nginx error log all I see is: 2013/11/14 10:02:16 \[error\] 1466#0: \*57964 recv() failed (104: Connection reset by peer) while reading response…

---

## [Frequency-sweep with grc](https://www.ruby-forum.com/t/frequency-sweep-with-grc/235133)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 1, 2013, 3:19pm UTC](https://www.ruby-forum.com/t/frequency-sweep-with-grc/235133 "2013-06-01T15:19:07Z")

</div>

Hi I want to perform a frequency sweep with grc by sweeping the center-frequency argument of the usrp-block and generate and display a single complex-number for each value (this is for a vector-network analyzer). Wh…

---

## [Juggernaut hangs? Workaround?](https://www.ruby-forum.com/t/juggernaut-hangs-workaround/189184)

<div class="topic-metadata">

**Author:** [@hostep](https://www.ruby-forum.com/u/hostep)\
**Replies:** 3\
**Last updated:** [May 28, 2010, 11:52am UTC](https://www.ruby-forum.com/t/juggernaut-hangs-workaround/189184 "2010-05-28T11:52:28Z")

</div>

Hi guys I am using Juggernaut to broker a multi party chat service. For some reason it seems to hang often. I have isolated the hangs to the following line of code: def isloggedin? return !Juggernaut.show\_client(sel…

---

## [Testing Sub-domains with Cucumber](https://www.ruby-forum.com/t/testing-sub-domains-with-cucumber/157648)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 8\
**Last updated:** [January 28, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/testing-sub-domains-with-cucumber/157648 "2009-01-28T17:00:58Z")

</div>

My site uses sub-domains to create a context for the user. In my tests, I need to stipulate what domain is being used, to test whether the context is correct for the given user. But I cannot find if and where i can ch…

---

## [Test::Unit Functional failure puzzle](https://www.ruby-forum.com/t/test-unit-functional-failure-puzzle/153755)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 8\
**Last updated:** [November 24, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/test-unit-functional-failure-puzzle/153755 "2008-11-24T17:50:30Z")

</div>

Not an RSpec question, but I was led to this problem by starting to use autotest with cucumber and so, however unjustly, I feel that RSpec has to shoulder some of the blame. I have a failing test in my clients\_control…

---

## [Find\_by\_sql order by date field issue](https://www.ruby-forum.com/t/find-by-sql-order-by-date-field-issue/141563)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 8\
**Last updated:** [June 27, 2008, 12:21pm UTC](https://www.ruby-forum.com/t/find-by-sql-order-by-date-field-issue/141563 "2008-06-27T12:21:54Z")

</div>

I have a giant query that union around 10 tables together. Each of the queries consists of joins too. At the end I do a order by date field, time field. If I run this query in SQL alone it works just fine and if I …

---

## [\[OT\] - Career Advice](https://www.ruby-forum.com/t/ot-career-advice/56762)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 8\
**Last updated:** [April 3, 2006, 10:44pm UTC](https://www.ruby-forum.com/t/ot-career-advice/56762 "2006-04-03T22:44:17Z")

</div>

Hey everyone - I have a career-related question for you all. I currently work full time as a Sr. Sys Admin, and have been doing systems work for about 9 years. I have been doing web development work on and off during…

---

## [Understanding caching](https://www.ruby-forum.com/t/understanding-caching/244873)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 30, 2016, 7:18pm UTC](https://www.ruby-forum.com/t/understanding-caching/244873 "2016-06-30T19:18:12Z")

</div>

Hi there, i need to understand the caching options better. So, i have serval Questions :wink: I added some Cacherules like these: location /js { add\_header Cache-Control public; ad…

---

## [Proxy\_cache is not working](https://www.ruby-forum.com/t/proxy-cache-is-not-working/244638)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 17, 2016, 3:11pm UTC](https://www.ruby-forum.com/t/proxy-cache-is-not-working/244638 "2016-05-17T15:11:26Z")

</div>

nginx is not caching anything. Every request that’s supposed to be cached has “http cacheable: 0” in debug log. Test request is a static page with headers like those \< HTTP/1.1 200 OK \< Date: Tue, 17 May 2016 12:23:…

---

## [Minitest mock or stub methods](https://www.ruby-forum.com/t/minitest-mock-or-stub-methods/235248)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [June 10, 2013, 2:38am UTC](https://www.ruby-forum.com/t/minitest-mock-or-stub-methods/235248 "2013-06-10T02:38:25Z")

</div>

Hi I’m building a small library to use in my Rails app which interacts with a 3rd party API. It fetches artists and tracks. So I have: lib/my\_lib.rb lib/my\_lib/artist.rb lib/my\_lib/track.rb To get an artist I do …

---

## [Rake question: How to call a task from a different namespace](https://www.ruby-forum.com/t/rake-question-how-to-call-a-task-from-a-different-namespace/112555)

<div class="topic-metadata">

**Author:** [@Wayne\_ESSeguin](https://www.ruby-forum.com/u/Wayne_ESSeguin)\
**Replies:** 2\
**Last updated:** [August 20, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/rake-question-how-to-call-a-task-from-a-different-namespace/112555 "2007-08-20T22:55:24Z")

</div>

How does one call from inside a namespace, a task from another namespace? namespace :foo do task :a do puts “Hello from task a!” end end namespace :bar do task :b do Rake::Task\[:foo\]\[:a\] # How to call foo:a ??? …

---

## [How to catch Oracle errors in a rake task](https://www.ruby-forum.com/t/how-to-catch-oracle-errors-in-a-rake-task/183326)

<div class="topic-metadata">

**Author:** [@sultan](https://www.ruby-forum.com/u/sultan)\
**Replies:** 5\
**Last updated:** [February 11, 2010, 9:12pm UTC](https://www.ruby-forum.com/t/how-to-catch-oracle-errors-in-a-rake-task/183326 "2010-02-11T21:12:07Z")

</div>

How can I trap the following Oracle error in a rake task? I can trap most Oracle errors in the website with “@phone.errors.count \> 0”, but in the rake task the task stops before a check can be done. The rake task used…

---

## [Using ruby to open an Excel file on a mac](https://www.ruby-forum.com/t/using-ruby-to-open-an-excel-file-on-a-mac/171766)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 5\
**Last updated:** [July 9, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/using-ruby-to-open-an-excel-file-on-a-mac/171766 "2009-07-09T18:51:25Z")

</div>

Hello everyone, I have a bit of an issue that I’m trying to work through pertaining to opening an excel file I want to open using ruby. I tried looking in google and all sorts of places but all I could really find is…

---

## [Rspec | Missing id for create controller](https://www.ruby-forum.com/t/rspec-missing-id-for-create-controller/244851)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 29, 2016, 4:33pm UTC](https://www.ruby-forum.com/t/rspec-missing-id-for-create-controller/244851 "2016-06-29T16:33:29Z")

</div>

I am getting Id missing nil error in my create controller spec. Yet I have passed ID stuff in it still facing same everything. Here my create spec and controller file Create Spec describe ‘POST :create’ do context…

---

## [How to show photo preview in rails](https://www.ruby-forum.com/t/how-to-show-photo-preview-in-rails/220145)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 1, 2012, 7:38am UTC](https://www.ruby-forum.com/t/how-to-show-photo-preview-in-rails/220145 "2012-06-01T07:38:43Z")

</div>

hi all i’m trying to know how to show a photo preview before uploading a pic in rails can any one help me out . Thanks in advance

---

## [SQL/Paginate help needed for has\_many :through relationship](https://www.ruby-forum.com/t/sql-paginate-help-needed-for-has-many-through-relationship/186807)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [August 13, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/sql-paginate-help-needed-for-has-many-through-relationship/186807 "2010-08-13T17:19:28Z")

</div>

Hey all. I’m doing a paginated find with will\_paginate, with a fairly complex set of associations and ordering clauses. Here’s the associations relevant to this example: Question belongs\_to :subject #standard acts\_…

---

## [Ruby multiline comments and Coffee](https://www.ruby-forum.com/t/ruby-multiline-comments-and-coffee/228517)

<div class="topic-metadata">

**Author:** [@yan\_bernatsky](https://www.ruby-forum.com/u/yan_bernatsky)\
**Replies:** 7\
**Last updated:** [April 26, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/ruby-multiline-comments-and-coffee/228517 "2013-04-26T17:26:47Z")

</div>

Hey, I have to say I love almost everything about Ruby, but one thing I always hated is the multiline comments. Would it be possible to seek some inspiration from Coffeescript’s approach here, for a future version of…

---

## [I can't start Webrick](https://www.ruby-forum.com/t/i-cant-start-webrick/200242)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [April 24, 2011, 3:10pm UTC](https://www.ruby-forum.com/t/i-cant-start-webrick/200242 "2011-04-24T15:10:04Z")

</div>

I’m following a book and I just created a project. I’m in the project directory (on Windows 7) and in cmd line I typed:(as per instructions) ruby script/server Webrick I get the following error: ruby: no such file or…

---

## [Getting the last record for an each loop?](https://www.ruby-forum.com/t/getting-the-last-record-for-an-each-loop/178891)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 7\
**Last updated:** [November 13, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/getting-the-last-record-for-an-each-loop/178891 "2009-11-13T19:44:23Z")

</div>

Hi all, I need a very similar functionality to what is displayed on the group\_by Month railscast (#29 group\_by Month - RailsCasts). The code is this… \<% @task\_months.sort.each do |month, tasks| %\> \<%= month.strfti…

---

## [\[cucumber\] before/after scenarios](https://www.ruby-forum.com/t/cucumber-before-after-scenarios/155885)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 7\
**Last updated:** [January 14, 2009, 10:45am UTC](https://www.ruby-forum.com/t/cucumber-before-after-scenarios/155885 "2009-01-14T10:45:04Z")

</div>

Hi Guys, Sorry for the double-whine but I’ve seen references to these listeners but not a lot of luck finding any details. So…that’s it: Setup/Teardown Before/After scenarios…what’s the scoop? Thanks, Tim (Also, t…

---

## [Algo muy curioso con el find()](https://www.ruby-forum.com/t/algo-muy-curioso-con-el-find/143711)

<div class="topic-metadata">

**Author:** [@Manuel\_P](https://www.ruby-forum.com/u/Manuel_P)\
**Replies:** 7\
**Last updated:** [July 22, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/algo-muy-curioso-con-el-find/143711 "2008-07-22T17:26:45Z")

</div>

Hola a todos nuevamente, les comento cual es mi problema y de verdad que no se porque me esta pasando esto porque es algo muy estupido… bueno les comento que en mi proyecto una vez que el usuario se suscribe en el s…

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

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