# Top

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

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

---

## [One goal. 2 settings. Which one would you recommend?](https://www.ruby-forum.com/t/one-goal-2-settings-which-one-would-you-recommend/244926)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 11, 2016, 6:34pm UTC](https://www.ruby-forum.com/t/one-goal-2-settings-which-one-would-you-recommend/244926 "2016-07-11T18:34:39Z")

</div>

Hi I am debating what is a better setting between the 2 settings below. Setting#1 and Setting#2 attempt to do the same task (flow control by controlling the IP sources). Setting#1 uses one machine and Setting#2 uses …

---

## [Nginx client authentication with 2 intermediate CAs](https://www.ruby-forum.com/t/nginx-client-authentication-with-2-intermediate-cas/244168)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 29, 2016, 7:19pm UTC](https://www.ruby-forum.com/t/nginx-client-authentication-with-2-intermediate-cas/244168 "2016-02-29T19:19:35Z")

</div>

I’m trying to get nginx to verify client certificate issued through the following chain, with self-signed root: Root CA =\> Signing CA =\> Subordinate CA =\> Client cert. I installed root\_CA.crt on the server, and on th…

---

## [Beginner Stuck On Tutorial](https://www.ruby-forum.com/t/beginner-stuck-on-tutorial/231312)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 2, 2014, 8:01pm UTC](https://www.ruby-forum.com/t/beginner-stuck-on-tutorial/231312 "2014-08-02T20:01:43Z")

</div>

Hi all, I’m sure this is really easy but I’m having trouble working out how to complete a Ruby tutorial converting strings to symbols. The idea here is to convert the strings array to symbols using .to\_sym and to pus…

---

## [Two dimensional array](https://www.ruby-forum.com/t/two-dimensional-array/222116)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 13, 2012, 5:19pm UTC](https://www.ruby-forum.com/t/two-dimensional-array/222116 "2012-08-13T17:19:15Z")

</div>

def get2DArray(oneDarray) #oneDarray is of dimention 1Xn^2 ###what will be the code here?? return twoDarray end oneDarray is a one dimensional array, and is of dimention 1Xn^2, I would like to assign this to two dim…

---

## [List modules compiled with nginx in ec2?](https://www.ruby-forum.com/t/list-modules-compiled-with-nginx-in-ec2/214260)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 28, 2011, 10:14am UTC](https://www.ruby-forum.com/t/list-modules-compiled-with-nginx-in-ec2/214260 "2011-11-28T10:14:47Z")

</div>

I setup an amazon ec2 instance that had nginx pre-compiled is there a way to see what optional modules have been configured? Thanks Posted at Nginx Forum:

---

## [Connecting to MSSQL with Ruby on Ubuntu](https://www.ruby-forum.com/t/connecting-to-mssql-with-ruby-on-ubuntu/205999)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 29, 2011, 11:04am UTC](https://www.ruby-forum.com/t/connecting-to-mssql-with-ruby-on-ubuntu/205999 "2011-04-29T11:04:52Z")

</div>

Hello friends, I tried to connect MSSql with Ruby on Ubuntu follow this linkhttp://lambie.org/2008/02/28/connecting-to-an-mssql-database-from-ruby-on-ubuntu/ its working nice. But i tried with Sequel.connect method …

---

## [The future of the character-encodings library](https://www.ruby-forum.com/t/the-future-of-the-character-encodings-library/204594)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 17, 2011, 11:45am UTC](https://www.ruby-forum.com/t/the-future-of-the-character-encodings-library/204594 "2011-03-17T11:45:29Z")

</div>

Hi! As some of you know the character-encodings library is a bit stale. It currently can’t be used from Ruby 1.9 (you may ask yourself why you would, I suppose) because of the Encoding namespace being taken, there ha…

---

## [All contiguous subsets](https://www.ruby-forum.com/t/all-contiguous-subsets/185772)

<div class="topic-metadata">

**Author:** [@joe\_chesak](https://www.ruby-forum.com/u/joe_chesak)\
**Replies:** 4\
**Last updated:** [March 26, 2010, 1:17pm UTC](https://www.ruby-forum.com/t/all-contiguous-subsets/185772 "2010-03-26T13:17:41Z")

</div>

Hello list, I know the ruby community is filled with algorithmic folks. I have a fairly simple algorithm that I have solved, but I know it can be done cleaner than I have. Given a short string of words separated b…

---

## [Unit test problem,](https://www.ruby-forum.com/t/unit-test-problem/164803)

<div class="topic-metadata">

**Author:** [@ps\_gem](https://www.ruby-forum.com/u/ps_gem)\
**Replies:** 4\
**Last updated:** [April 13, 2009, 2:00am UTC](https://www.ruby-forum.com/t/unit-test-problem/164803 "2009-04-13T02:00:15Z")

</div>

Hi, I am new in ROR. I have 4 fixtures in my ‘…/test/fixtures’ folder: user.yml, aggregationfeedmaps.yml, aggregations.yml, and feeds.yml. I have few test files in unit tests folder like user\_test.rb, feeds\_test.rb, a…

---

## [Comprendre les messages d'erreurs](https://www.ruby-forum.com/t/comprendre-les-messages-derreurs/164910)

<div class="topic-metadata">

**Author:** [@angelo](https://www.ruby-forum.com/u/angelo)\
**Replies:** 4\
**Last updated:** [April 10, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/comprendre-les-messages-derreurs/164910 "2009-04-10T15:18:05Z")

</div>

Bonjour à tous et désolé pour ce titre peu explicite (j’ai pas eu beaucoup d’inspiration) J’ai une application faite en ruby développé par eclipse Normalement je n’ai rien à changer dans le code mais lors du déploiem…

---

## [Managing ads banner](https://www.ruby-forum.com/t/managing-ads-banner/162779)

<div class="topic-metadata">

**Author:** [@semyou](https://www.ruby-forum.com/u/semyou)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 11:22pm UTC](https://www.ruby-forum.com/t/managing-ads-banner/162779 "2009-04-09T23:22:25Z")

</div>

Hi guys, What is the best way to include ad banners in rails? Do you include them in default layout? What is the ideal way if the ad has to change each time? Thanks,

---

## [Help -Ultrasphinx::UsageError (Invalid class name "Product")](https://www.ruby-forum.com/t/help-ultrasphinx-usageerror-invalid-class-name-product/134597)

<div class="topic-metadata">

**Author:** [@a2ahmad](https://www.ruby-forum.com/u/a2ahmad)\
**Replies:** 4\
**Last updated:** [April 8, 2009, 9:44am UTC](https://www.ruby-forum.com/t/help-ultrasphinx-usageerror-invalid-class-name-product/134597 "2009-04-08T09:44:17Z")

</div>

Hi, I’ve got Ultrasphinx running under RoR on both my local Windows development machine and now on the production Linux server. On my dev machine I’m able to search and it returns queries. On my production server I g…

---

## [Cannot pass id field to ActiveRecord](https://www.ruby-forum.com/t/cannot-pass-id-field-to-activerecord/161231)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 4\
**Last updated:** [February 24, 2009, 3:26pm UTC](https://www.ruby-forum.com/t/cannot-pass-id-field-to-activerecord/161231 "2009-02-24T15:26:53Z")

</div>

Dear all I have a dummy question. The model code as follow: class User \< ActiveRecord::Base set\_primary\_key “username” end In script/console user = {:username =\> “123”, :display\_name =\> “345”} =\> {:username=\>“123”…

---

## [Xmlsimple warning](https://www.ruby-forum.com/t/xmlsimple-warning/152746)

<div class="topic-metadata">

**Author:** [@ginty](https://www.ruby-forum.com/u/ginty)\
**Replies:** 4\
**Last updated:** [January 21, 2009, 3:50am UTC](https://www.ruby-forum.com/t/xmlsimple-warning/152746 "2009-01-21T03:50:13Z")

</div>

Hi All, Anyone know how to fix the below warnings which I get when I run most if not all of the ./script executables, some googling reveals the odd mention of it but I haven’t seen a good fix for it. It’s not causing…

---

## [Time zone and UTC offset](https://www.ruby-forum.com/t/time-zone-and-utc-offset/152510)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 4\
**Last updated:** [November 6, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/time-zone-and-utc-offset/152510 "2008-11-06T15:32:56Z")

</div>

Hi all, I am trying to change a date from a time zone to UTC. First I set the time zone and then get its offset from UTC. Then I am trying to change the time zone of my date by substracting the offset but it failed. …

---

## [Lire entete d(un fichier](https://www.ruby-forum.com/t/lire-entete-d-un-fichier/145144)

<div class="topic-metadata">

**Author:** [@katebe](https://www.ruby-forum.com/u/katebe)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 3:53am UTC](https://www.ruby-forum.com/t/lire-entete-d-un-fichier/145144 "2008-08-07T03:53:44Z")

</div>

Bonjour, Je voudrais savoir s’il existe un gems ou plugin qui lit les entetes des fichier quelconque … j’ai besoin de ce gems pour connaitre le type exacte de fichier plus l’information (png,jpg,pdf…). si j’utilise …

---

## [Render :update returns js wrapped in a HTML body](https://www.ruby-forum.com/t/render-update-returns-js-wrapped-in-a-html-body/125364)

<div class="topic-metadata">

**Author:** [@wepic](https://www.ruby-forum.com/u/wepic)\
**Replies:** 4\
**Last updated:** [January 9, 2008, 9:16am UTC](https://www.ruby-forum.com/t/render-update-returns-js-wrapped-in-a-html-body/125364 "2008-01-09T09:16:43Z")

</div>

Hi. From what I’m learned the below is suppose to return “alert(‘Im JS’);” to the javascriptGenerator that’s suppose to make the page scream ‘Im JS’…(?) render :update do |page| page.call :alert, “Im JS” end In Ra…

---

## [En route vers RoR 2.0 : Using Sitealizer plugin with Rails 2.0 (RC2)](https://www.ruby-forum.com/t/en-route-vers-ror-2-0-using-sitealizer-plugin-with-rails-2-0-rc2/122290)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 11:20am UTC](https://www.ruby-forum.com/t/en-route-vers-ror-2-0-using-sitealizer-plugin-with-rails-2-0-rc2/122290 "2007-12-06T11:20:50Z")

</div>

Le passage en Rails 2.0 peut coÃ»ter quelques heures bataille avec des plugins rÃ©calcitrants. La solution - une fois qu’on a trouvÃ©e - peut tenir en une ligne. Si Ã§a peut profiter Ã d’autres : http://blog.lachais…

---

## [Pagina en espaÃ±ol e ingles](https://www.ruby-forum.com/t/pagina-en-espaa-ol-e-ingles/89161)

<div class="topic-metadata">

**Author:** [@juapdiaz](https://www.ruby-forum.com/u/juapdiaz)\
**Replies:** 4\
**Last updated:** [March 22, 2007, 9:20am UTC](https://www.ruby-forum.com/t/pagina-en-espaa-ol-e-ingles/89161 "2007-03-22T09:20:55Z")

</div>

Hola a todos, Estoy desarrollando un sitio y me gustarÃ­a que sea en espaÃ±ol e ingles, se del plugin globalize pero como yo solo necesito tener texto del sitio en dos idiomas y no las base de datos quizÃ¡s no sea l…

---

## [Ruby/erb S5 Helper?](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443)

<div class="topic-metadata">

**Author:** [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Replies:** 4\
**Last updated:** [March 5, 2007, 11:34am UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443 "2007-03-05T11:34:06Z")

</div>

I had a thought today about trying to create a ruby DSL for generating S5 presentations. Granted, S5 is fairly simple. But I think we could do better and have more functionality by using a combination of Rake and Er…

---

## [How to create multiple applications?](https://www.ruby-forum.com/t/how-to-create-multiple-applications/66598)

<div class="topic-metadata">

**Author:** [@JimL](https://www.ruby-forum.com/u/JimL)\
**Replies:** 4\
**Last updated:** [January 31, 2007, 12:48am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-applications/66598 "2007-01-31T00:48:12Z")

</div>

Hi, I’m just starting with Ruby/Rails, and working through OnLamp’s “Rolling with etc”. I got the cookbook app working OK, but now I want to create a little project of my own. I now realise that the url used to acces…

---

## [Calling method defined in ruby script from external world](https://www.ruby-forum.com/t/calling-method-defined-in-ruby-script-from-external-world/67591)

<div class="topic-metadata">

**Author:** [@Saumya\_D](https://www.ruby-forum.com/u/Saumya_D)\
**Replies:** 4\
**Last updated:** [September 6, 2006, 10:41am UTC](https://www.ruby-forum.com/t/calling-method-defined-in-ruby-script-from-external-world/67591 "2006-09-06T10:41:33Z")

</div>

How can we make C routine call a “method” defined in a ruby script ? I am familiar with extending ruby to call C routines with/without swig. But I was not able to find a easy solution for it. The only way it may worko…

---

## [Re: Trying to stir conversation in the rrobots community](https://www.ruby-forum.com/t/re-trying-to-stir-conversation-in-the-rrobots-community/58950)

<div class="topic-metadata">

**Author:** [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Replies:** 4\
**Last updated:** [April 28, 2006, 1:22am UTC](https://www.ruby-forum.com/t/re-trying-to-stir-conversation-in-the-rrobots-community/58950 "2006-04-28T01:22:42Z")

</div>

Hi Greg, well there was some talk about new feature in february but all in all you are right. This might be my fault, (at least part of) I was planing tournaments on a regular basis but was distracted by several - pe…

---

## [Ri, rdoc, OS 10.4](https://www.ruby-forum.com/t/ri-rdoc-os-10-4/56914)

<div class="topic-metadata">

**Author:** [@Jean-Charles\_Carell](https://www.ruby-forum.com/u/Jean-Charles_Carell)\
**Replies:** 4\
**Last updated:** [April 5, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/ri-rdoc-os-10-4/56914 "2006-04-05T20:18:03Z")

</div>

I recently follow the excellent tutorial at the HiveLogic site on installing Ruby on OS 10.4. Dan Benjamin ruby\_rails\_lighttpd\_mysql\_tiger My Problem: is with ri and rdoc: When I first tried running ri, I got an er…

---

## [How Render data from a model inside of /views/pages/somepage.html.erb](https://www.ruby-forum.com/t/how-render-data-from-a-model-inside-of-views-pages-somepage-html-erb/251092)

<div class="topic-metadata">

**Author:** [@Einsen](https://www.ruby-forum.com/u/Einsen)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 12:24pm UTC](https://www.ruby-forum.com/t/how-render-data-from-a-model-inside-of-views-pages-somepage-html-erb/251092 "2018-11-29T12:24:35Z")

</div>

Good morning! I need render data from a model inside of a page “.html.erb”, i have this tree in my project: app/models/dte.rb (this is the model with the table from i want the data) app/controllers/dtes\_controller.r…

---

## [Gsub not matching?](https://www.ruby-forum.com/t/gsub-not-matching/238915)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [February 5, 2014, 10:49am UTC](https://www.ruby-forum.com/t/gsub-not-matching/238915 "2014-02-05T10:49:02Z")

</div>

Hi, Can anyone see an obvious reason why question.gsub!(/{#{number\_range}}/, new\_num) is not finding the existing match in the question? question = "A {30-45} year old {asthmatic, diabetic, hypertensive} {male, .4} …

---

## [Message passing test](https://www.ruby-forum.com/t/message-passing-test/238797)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [January 30, 2014, 11:20am UTC](https://www.ruby-forum.com/t/message-passing-test/238797 "2014-01-30T11:20:09Z")

</div>

Dear sir I want to implement a feedback system for example attached feedbackmessageoassing.pdf attached. Its output is zero. No thing comes for output. I tested message passing in different ways. No clear output come…

---

## [Help with net-ssh shell-script timing](https://www.ruby-forum.com/t/help-with-net-ssh-shell-script-timing/221658)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 26, 2012, 9:08pm UTC](https://www.ruby-forum.com/t/help-with-net-ssh-shell-script-timing/221658 "2012-07-26T21:08:07Z")

</div>

I’m working on a script to connect to a remote server, run a custom su script, and then execute commands after it finishes and hands the root prompt back. my main issue seems to be that net-ssh likes to fire-and-forge…

---

## [Usrp2 on windows - network cable unplugged](https://www.ruby-forum.com/t/usrp2-on-windows-network-cable-unplugged/210811)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 6, 2012, 4:54pm UTC](https://www.ruby-forum.com/t/usrp2-on-windows-network-cable-unplugged/210811 "2012-01-06T16:54:32Z")

</div>

I tried to use usrp2 on windows with the newest sd card image. Worked on ubuntu. But on windows, when I plug in the Ethernet cable and the power, initially windows shows acquiring network address, connected firewalle…

---

## [Different code for each record, how to implement?](https://www.ruby-forum.com/t/different-code-for-each-record-how-to-implement/209345)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 28, 2011, 12:38pm UTC](https://www.ruby-forum.com/t/different-code-for-each-record-how-to-implement/209345 "2011-07-28T12:38:13Z")

</div>

Hi, I want to screen scrape information from some websites (I have permission to do it). I am using the Mechanize plugin. The websites are different from each other, so I need to write a different RoR code to screen …

---

## [Nginx as load balancer + apache as a web server issue](https://www.ruby-forum.com/t/nginx-as-load-balancer-apache-as-a-web-server-issue/193031)

<div class="topic-metadata">

**Author:** [@josesan311](https://www.ruby-forum.com/u/josesan311)\
**Replies:** 7\
**Last updated:** [August 10, 2010, 11:56pm UTC](https://www.ruby-forum.com/t/nginx-as-load-balancer-apache-as-a-web-server-issue/193031 "2010-08-10T23:56:54Z")

</div>

Hello guys, Im having some weird issue. I currently have my website setup as follows, 1 nginx server configured as a load balancer 2 apache servers configured to server the http traffic from the nginx server I have…

---

## [Exiting the function](https://www.ruby-forum.com/t/exiting-the-function/187566)

<div class="topic-metadata">

**Author:** [@mohammed\_a](https://www.ruby-forum.com/u/mohammed_a)\
**Replies:** 7\
**Last updated:** [April 27, 2010, 7:12pm UTC](https://www.ruby-forum.com/t/exiting-the-function/187566 "2010-04-27T19:12:40Z")

</div>

Hi I have this code def destroy @property = Property.find(params\[:id\]) IsAuthorized?(@property.user\_id) @property.destroy respond\_to do |format| format.html { redirect\_to(properties\_url) } format.xml { head :o…

---

## [System function using variables from fieldset](https://www.ruby-forum.com/t/system-function-using-variables-from-fieldset/179788)

<div class="topic-metadata">

**Author:** [@musty](https://www.ruby-forum.com/u/musty)\
**Replies:** 7\
**Last updated:** [December 4, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/system-function-using-variables-from-fieldset/179788 "2009-12-04T20:26:51Z")

</div>

Hey everyone…trying to get a handle on Ruby syntax but having a bit of an issue. I am trying to create a form and then call a linux system call that will create a directory using the value of the variable within the f…

---

## [One-click Windows installer for Ruby 1.9](https://www.ruby-forum.com/t/one-click-windows-installer-for-ruby-1-9/173952)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 7\
**Last updated:** [August 19, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/one-click-windows-installer-for-ruby-1-9/173952 "2009-08-19T19:45:29Z")

</div>

Hi, Does anyone know when they’re be a one-click installer for Ruby 1.9? I really don’t trust the .zip file that’s on the Ruby site now. There’s no real install script for it. I’m too dumb to do any kind of “manual” …

---

## [How to deploy multiple apps on one Mac OSX development machine](https://www.ruby-forum.com/t/how-to-deploy-multiple-apps-on-one-mac-osx-development-machine/159482)

<div class="topic-metadata">

**Author:** [@LaughingNinja](https://www.ruby-forum.com/u/LaughingNinja)\
**Replies:** 7\
**Last updated:** [February 6, 2009, 5:31am UTC](https://www.ruby-forum.com/t/how-to-deploy-multiple-apps-on-one-mac-osx-development-machine/159482 "2009-02-06T05:31:14Z")

</div>

I have split off the User Authentication of our main application into it’s own application. I would like have this called from the main application. How can I have multiple instances of “script/server” running when th…

---

## [Should this work? - "validates\_inclusion\_of :start\_date, :in =\> (Time.now.to\_date - 100.years)..(Tim](https://www.ruby-forum.com/t/should-this-work-validates-inclusion-of-start-date-in-time-now-to-date-100-years-tim/153768)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 7\
**Last updated:** [November 24, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/should-this-work-validates-inclusion-of-start-date-in-time-now-to-date-100-years-tim/153768 "2008-11-24T22:06:05Z")

</div>

wondering if should this work? - “validates\_inclusion\_of :start\_date, :in =\> (Time.now.to\_date - 100.years)…(Time.now.to\_date + 100.years)” (doesn’t seem to for me) i.e. should I be able to “validates\_inclusion\_of” to…

---

## [Uninitialized constant ActionController::Caching::Fragments](https://www.ruby-forum.com/t/uninitialized-constant-actioncontroller-fragments/153787)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 12:01pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-actioncontroller-fragments/153787 "2008-11-21T12:01:49Z")

</div>

Hey, i’m trying to use “s3cache” plugin with my app, but after adding it to my vendor/plugins directory and following the install steps i’m getting this error after running script/server: /Users/richardschneeman/Docum…

---

## [Inherited behaviour](https://www.ruby-forum.com/t/inherited-behaviour/136375)

<div class="topic-metadata">

**Author:** [@Peter\_Morris](https://www.ruby-forum.com/u/Peter_Morris)\
**Replies:** 7\
**Last updated:** [October 29, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/inherited-behaviour/136375 "2008-10-29T13:26:56Z")

</div>

Folks, would there be any DOWNSIDE to the call to the parents INHERITED method being deferred from the start to the end of the definition of the subclass? At the moment if you… class A def self.inherited klass end …

---

## [SVN question?](https://www.ruby-forum.com/t/svn-question/147520)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 7\
**Last updated:** [September 6, 2008, 10:29pm UTC](https://www.ruby-forum.com/t/svn-question/147520 "2008-09-06T22:29:23Z")

</div>

I am using running rails using instant rails and was trying to install the acts\_as\_ferret plugin located at svn://site\_ad. I have a SVN cleint on my machine tortoise but I can not get the pug in to install. i type the…

---

## [Good RoR design example](https://www.ruby-forum.com/t/good-ror-design-example/129027)

<div class="topic-metadata">

**Author:** [@kupsztal](https://www.ruby-forum.com/u/kupsztal)\
**Replies:** 7\
**Last updated:** [February 18, 2008, 9:38am UTC](https://www.ruby-forum.com/t/good-ror-design-example/129027 "2008-02-18T09:38:38Z")

</div>

Hi all, I was wondering if anyone could point me to a good (ideally simple) example of RoR design. I am rather new to this subject, and I am playing with https://rubyforge.org/projects/mystic/ as an simple example to …

---

## [Rake db:migrate - where is my table?](https://www.ruby-forum.com/t/rake-db-migrate-where-is-my-table/124250)

<div class="topic-metadata">

**Author:** [@alfredojahn](https://www.ruby-forum.com/u/alfredojahn)\
**Replies:** 7\
**Last updated:** [January 15, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-where-is-my-table/124250 "2008-01-15T16:23:36Z")

</div>

Not sure if this is another rails 2.0 issue and the info in AWDWR 2nd ed, or not… (I’m new to Rails) I modified the 001\_create\_products.rb file and added the needed info to create 3 tables in a database that I create…

---

## [Free RAM 1.0](https://www.ruby-forum.com/t/free-ram-1-0/111401)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 7\
**Last updated:** [August 7, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/free-ram-1-0/111401 "2007-08-07T23:28:12Z")

</div>

Hey! Despite your best efforts, Todd, I managed to create a tool which will free RAM to be used by other programs. At the moment, it is only usable on \*nix machines (BSD, Linux, and Mac). Will add Windows support soo…

---

## [Defining methods dynamically?](https://www.ruby-forum.com/t/defining-methods-dynamically/111040)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 7\
**Last updated:** [August 2, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/defining-methods-dynamically/111040 "2007-08-02T14:35:59Z")

</div>

Having looked through the Class and Method rdoc, and the Reflection section of Pickaxe, and still not seeing anything (even though it was probably right in front of my nose), I’m forced to fall on the mercy of strange…

---

## [Bug in Ruby with adding strings?](https://www.ruby-forum.com/t/bug-in-ruby-with-adding-strings/82717)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 7\
**Last updated:** [January 22, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/bug-in-ruby-with-adding-strings/82717 "2007-01-22T21:00:35Z")

</div>

I just found what looks like a bug in Ruby 184-20. (I haven’t tried it in newer builds.) Here’s a simple script that will expose this bug: irb(main):001:0\> x = 1 =\> 1 irb(main):002:0\> puts ‘foo’ + x.to\_s +‘bar’ Synt…

---

## [The real difference between Mutex and Sync](https://www.ruby-forum.com/t/the-real-difference-between-mutex-and-sync/67512)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [September 5, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/the-real-difference-between-mutex-and-sync/67512 "2006-09-05T16:14:49Z")

</div>

As I’ve mentioned before, Sync and Mutex are very similar, and Mutex is very simple. Their locking algorithm (for exclusive locking) is essentially identical. And in some detailed examinations of Mutex’s behavior, th…

---

## [Passing methods around](https://www.ruby-forum.com/t/passing-methods-around/54720)

<div class="topic-metadata">

**Author:** [@Greg\_Buchholz](https://www.ruby-forum.com/u/Greg_Buchholz)\
**Replies:** 7\
**Last updated:** [March 14, 2006, 5:26am UTC](https://www.ruby-forum.com/t/passing-methods-around/54720 "2006-03-14T05:26:25Z")

</div>

I’m a Ruby novice working my way through the pickaxe book, and I’ve got what should be an easy syntax question. On page 84 of chapter 6, the authors present the following program… print "(t)imes or (p)lus: " times = …

---

## [Large select list, speed issues](https://www.ruby-forum.com/t/large-select-list-speed-issues/102772)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 7\
**Last updated:** [January 13, 2006, 1:35pm UTC](https://www.ruby-forum.com/t/large-select-list-speed-issues/102772 "2006-01-13T13:35:24Z")

</div>

Rails mailing list removed\_email\_address@domain.invalid http://lists.rubyonrails.org/mailman/listinfo/rails

---

## [Variables in layouts](https://www.ruby-forum.com/t/variables-in-layouts/51618)

<div class="topic-metadata">

**Author:** [@reevesg](https://www.ruby-forum.com/u/reevesg)\
**Replies:** 7\
**Last updated:** [January 4, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/variables-in-layouts/51618 "2006-01-04T20:23:02Z")

</div>

I have a layout that provides the basic outline of each page in my app. It has a title, footer and a navigation bar. In the title I want to put the name of the current user that is logged in. I could do something lik…

---

## [Advanced ActiveRecord tutorials](https://www.ruby-forum.com/t/advanced-activerecord-tutorials/239375)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 27, 2014, 6:06am UTC](https://www.ruby-forum.com/t/advanced-activerecord-tutorials/239375 "2014-02-27T06:06:21Z")

</div>

Any recommendations for good advanced tutorials on ActiveRecord in Rails4? I’m interested in joins, group, counts especially for deep associations. Thanks, Ganesh

---

## [Detect a key and replace its value in hash](https://www.ruby-forum.com/t/detect-a-key-and-replace-its-value-in-hash/236507)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 9, 2013, 8:35pm UTC](https://www.ruby-forum.com/t/detect-a-key-and-replace-its-value-in-hash/236507 "2013-09-09T20:35:25Z")

</div>

Hi. I’m new to ruby and to programming too.I have a task which i need to complete. I have problems with the update part of the code. I need to check if the key given by the user exists in the hash and if yes i need t…

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

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