# Top

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

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

---

## [Problem with dynamic selects](https://www.ruby-forum.com/t/problem-with-dynamic-selects/166955)

<div class="topic-metadata">

**Author:** [@bradherman](https://www.ruby-forum.com/u/bradherman)\
**Replies:** 3\
**Last updated:** [May 1, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/problem-with-dynamic-selects/166955 "2009-05-01T22:09:28Z")

</div>

I’m trying to create dynamic select menus for my application. I have a partial that is rendered by an action in my site controller after an :onchange event is triggered. I’ll post the three pieces of code and the er…

---

## [Memcache\_pass not allowed in if block?](https://www.ruby-forum.com/t/memcache-pass-not-allowed-in-if-block/163560)

<div class="topic-metadata">

**Author:** [@John\_Luxford](https://www.ruby-forum.com/u/John_Luxford)\
**Replies:** 3\
**Last updated:** [March 22, 2009, 5:27am UTC](https://www.ruby-forum.com/t/memcache-pass-not-allowed-in-if-block/163560 "2009-03-22T05:27:09Z")

</div>

Hi, I would like to check for a session cookie before using memcached\_pass, since authenticated users in our site would be seeing more dynamic content on the same pages that anonymous users would see cached copies of…

---

## [Execute an SQL statement each time DB connection is set up](https://www.ruby-forum.com/t/execute-an-sql-statement-each-time-db-connection-is-set-up/160718)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 3\
**Last updated:** [February 19, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/execute-an-sql-statement-each-time-db-connection-is-set-up/160718 "2009-02-19T19:23:26Z")

</div>

Hi everyone. I need to execute a “SET SQL\_MODE=‘STRICT\_ALL\_TABLES’” after my application’s DB connection is established by AcriveRecord. This is important since I want the DB itself be more strict about logical data …

---

## [How to view a list of currently installed gem versions?](https://www.ruby-forum.com/t/how-to-view-a-list-of-currently-installed-gem-versions/144948)

<div class="topic-metadata">

**Author:** [@CPerry](https://www.ruby-forum.com/u/CPerry)\
**Replies:** 3\
**Last updated:** [August 5, 2008, 1:12am UTC](https://www.ruby-forum.com/t/how-to-view-a-list-of-currently-installed-gem-versions/144948 "2008-08-05T01:12:23Z")

</div>

Hey all, I am new to Rails so sorry if this is such an elementary question… From a command line, how can I list out all of my currently installed gems and their version numbers? I am pretty sure that I have a few tha…

---

## [Recherche architecte open-source apprÃ©ciant Ruby / Rails](https://www.ruby-forum.com/t/recherche-architecte-open-source-appra-ciant-ruby-rails/134344)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 11:45am UTC](https://www.ruby-forum.com/t/recherche-architecte-open-source-appra-ciant-ruby-rails/134344 "2008-04-10T11:45:54Z")

</div>

Bonjour, vous me direz \<\< pourquoi rechercher un architecte open-source sur Railsfrance \>\> ? En fait \<\< JTEK \>\>, société dont je suis gérant ainsi que seul et unique “organe de production” (en tant que consultant/arc…

---

## [ZenTest 3.7.0 Released](https://www.ruby-forum.com/t/zentest-3-7-0-released/123978)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 3\
**Last updated:** [December 23, 2007, 12:58am UTC](https://www.ruby-forum.com/t/zentest-3-7-0-released/123978 "2007-12-23T00:58:56Z")

</div>

ZenTest version 3.7.0 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools and 1 library: zen…

---

## [Search and replace text in files](https://www.ruby-forum.com/t/search-and-replace-text-in-files/103282)

<div class="topic-metadata">

**Author:** [@philswenson](https://www.ruby-forum.com/u/philswenson)\
**Replies:** 3\
**Last updated:** [May 3, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/search-and-replace-text-in-files/103282 "2007-05-03T21:36:02Z")

</div>

I need to search a file for text “InstallDir=” + newline character and replace it with something like: InstallDir=C:\\mws71 + newline My own experimentation with this had problems with writing the back- slashes to the…

---

## [Error on optimize leads to corrupt index?](https://www.ruby-forum.com/t/error-on-optimize-leads-to-corrupt-index/92012)

<div class="topic-metadata">

**Author:** [@iamdirkcalloway](https://www.ruby-forum.com/u/iamdirkcalloway)\
**Replies:** 3\
**Last updated:** [April 15, 2007, 6:57am UTC](https://www.ruby-forum.com/t/error-on-optimize-leads-to-corrupt-index/92012 "2007-04-15T06:57:24Z")

</div>

The following exception occurred while trying optimize a large index: vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in \`optimize’: End-of- File Error occured at \<except.c\>:93 in xraise (EOFError) Error occured in store.…

---

## [Mysql mem-tables vs. memcached](https://www.ruby-forum.com/t/mysql-mem-tables-vs-memcached/50437)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 3\
**Last updated:** [December 16, 2005, 5:48pm UTC](https://www.ruby-forum.com/t/mysql-mem-tables-vs-memcached/50437 "2005-12-16T17:48:40Z")

</div>

Could someone please elaborate on the technical differences and practical impact of whether choosing memory-based tables in MySQL or using memcached. I got this far on my own: It seems that MySQL uses the NDB engine…

---

## [Why does it fail? def Module1::Module2.hello](https://www.ruby-forum.com/t/why-does-it-fail-def-module1-module2-hello/221894)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [August 4, 2012, 10:19pm UTC](https://www.ruby-forum.com/t/why-does-it-fail-def-module1-module2-hello/221894 "2012-08-04T22:19:31Z")

</div>

Hi, the following code fails: module Module1 module Module2 end end def Module1::Module2.hello puts “HELLO” end syntax error, unexpected keyword\_end, expecting $end But I can do: def Module1.hello puts “HELLO” …

---

## [Create a form in rails](https://www.ruby-forum.com/t/create-a-form-in-rails/204580)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 16, 2011, 7:51am UTC](https://www.ruby-forum.com/t/create-a-form-in-rails/204580 "2011-03-16T07:51:44Z")

</div>

hi i want to create a form which shud have following components:- textboxes checkboxes radio buttons submit and reset button and very important dropdown box dropdown box should be connected to recodset.

---

## [Help finding database items that lost parent item](https://www.ruby-forum.com/t/help-finding-database-items-that-lost-parent-item/187537)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 6\
**Last updated:** [April 26, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/help-finding-database-items-that-lost-parent-item/187537 "2010-04-26T16:46:11Z")

</div>

I have a table for private messages similar to: PMS: title body sent\_to (foreign key to users table) sent\_from (foreign key to users table) When I originally set it up I didn’t have it automatically a users pm’s w…

---

## [0.8.0 + fancyindex = error](https://www.ruby-forum.com/t/0-8-0-fancyindex-error/169355)

<div class="topic-metadata">

**Author:** [@gregbugaj](https://www.ruby-forum.com/u/gregbugaj)\
**Replies:** 6\
**Last updated:** [November 16, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/0-8-0-fancyindex-error/169355 "2009-11-16T18:29:15Z")

</div>

Hello. I have problem during make with nginx 0.8.0 and fancyindex module. Error that I get: -o objs/addon/nginx\_fancyindex/ngx\_http\_fancyindex\_module.o /usr/src/nginx\_fancyindex/ngx\_http\_fancyindex\_modu…

---

## [Removing eval from seed.rb code](https://www.ruby-forum.com/t/removing-eval-from-seed-rb-code/175614)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 6\
**Last updated:** [September 17, 2009, 10:31pm UTC](https://www.ruby-forum.com/t/removing-eval-from-seed-rb-code/175614 "2009-09-17T22:31:01Z")

</div>

I have written the below code in my seed.rb file. It takes my old data in tab delimited format and brings it into the Rails database. I want to remove the eval statement as I understand there are problems with eval. …

---

## [Problem with layout for partials](https://www.ruby-forum.com/t/problem-with-layout-for-partials/157595)

<div class="topic-metadata">

**Author:** [@morgler](https://www.ruby-forum.com/u/morgler)\
**Replies:** 6\
**Last updated:** [January 13, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/problem-with-layout-for-partials/157595 "2009-01-13T14:57:19Z")

</div>

I like the feature to have layouts even for partials now. But I have a problem related to this topic: My controller sets the variable @my\_profile somewhere before rendering. In the view I have the following code: \<%=…

---

## [Ruby on Rails Development Services](https://www.ruby-forum.com/t/ruby-on-rails-development-services/150933)

<div class="topic-metadata">

**Author:** [@salescog](https://www.ruby-forum.com/u/salescog)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-development-services/150933 "2008-10-18T16:48:55Z")

</div>

Cognitation provides agile Ruby on Rails development services and web/technology strategy consulting. Our unique approach to projects keeps you, the client, involved at every step of the way and ensures an end product…

---

## [Sphinx + Ultrasphinx](https://www.ruby-forum.com/t/sphinx-ultrasphinx/142031)

<div class="topic-metadata">

**Author:** [@mauro78](https://www.ruby-forum.com/u/mauro78)\
**Replies:** 6\
**Last updated:** [July 4, 2008, 11:44am UTC](https://www.ruby-forum.com/t/sphinx-ultrasphinx/142031 "2008-07-04T11:44:18Z")

</div>

Muy buenas, una pregunta cortita… Estoy haciendo unos experimentos con Sphinx + Ultrasphinx (+ Interlock), pero me surge una duda, como hacen para mantener la consistencia entre el indice de Sphinx y la DB? Como se m…

---

## [Problema de rutas REST](https://www.ruby-forum.com/t/problema-de-rutas-rest/126332)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 6\
**Last updated:** [January 17, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/problema-de-rutas-rest/126332 "2008-01-17T17:08:00Z")

</div>

Estoy empezando con el REST, y tengo un problema con rutas, pero no sÃ© quÃ© es lo que estÃ¡ mal, a ver si alguien lo encuentra… Se trata de una clase articulos y otra articulo\_comentarios, ambas montadas sobre la tab…

---

## [Just want the id's back from the dynamic find](https://www.ruby-forum.com/t/just-want-the-ids-back-from-the-dynamic-find/108145)

<div class="topic-metadata">

**Author:** [@bowenmark](https://www.ruby-forum.com/u/bowenmark)\
**Replies:** 6\
**Last updated:** [July 1, 2007, 4:18am UTC](https://www.ruby-forum.com/t/just-want-the-ids-back-from-the-dynamic-find/108145 "2007-07-01T04:18:37Z")

</div>

Hey folks, in the rdoc for the ActiveRecord Base class they indicate how to retrieve records dynamically using find\_by\_XYZ, however, what if you don’t want the whole record back? Do all the find methods return arra…

---

## [How to call a class method from an instance](https://www.ruby-forum.com/t/how-to-call-a-class-method-from-an-instance/84547)

<div class="topic-metadata">

**Author:** [@BSLars](https://www.ruby-forum.com/u/BSLars)\
**Replies:** 6\
**Last updated:** [February 6, 2007, 10:07am UTC](https://www.ruby-forum.com/t/how-to-call-a-class-method-from-an-instance/84547 "2007-02-06T10:07:25Z")

</div>

I am trying to call a class method from an instance, e.g. @item = @item.class.find(params\[:id\]) or @item = @item.type.find(params\[:id\]) @Item can reference objects form different classes. With either of the above exa…

---

## [Yet another linux \<-\> win32 question](https://www.ruby-forum.com/t/yet-another-linux-win32-question/84387)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 6\
**Last updated:** [February 3, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/yet-another-linux-win32-question/84387 "2007-02-03T22:45:19Z")

</div>

Hi, Sorry for these dumb questions but I am really off when it comes to doing anything with win32. So, the thing is that I have a function that creates a temp file, then does something with it and deletes it. I am do…

---

## [SQL WHERE equivalent in rails](https://www.ruby-forum.com/t/sql-where-equivalent-in-rails/58797)

<div class="topic-metadata">

**Author:** [@BBBBBB](https://www.ruby-forum.com/u/BBBBBB)\
**Replies:** 6\
**Last updated:** [April 26, 2006, 1:35am UTC](https://www.ruby-forum.com/t/sql-where-equivalent-in-rails/58797 "2006-04-26T01:35:05Z")

</div>

What is the equivalent of the WHERE SQL condition in rails? I’m thinkin this could be something like: \<% for product in @products where category=“1” %\> but obviously the syntax is wrong.

---

## [Svn and ruby structure](https://www.ruby-forum.com/t/svn-and-ruby-structure/79281)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [March 10, 2006, 4:41am UTC](https://www.ruby-forum.com/t/svn-and-ruby-structure/79281 "2006-03-10T04:41:15Z")

</div>

I just set up svn and did a checkout. When I set up the repository, I did an import of the entire base directory of the rails application which was great because it allowed me to do a checkout on to my computer with e…

---

## [Making my internal speaker beep](https://www.ruby-forum.com/t/making-my-internal-speaker-beep/54019)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 6\
**Last updated:** [February 21, 2006, 1:04am UTC](https://www.ruby-forum.com/t/making-my-internal-speaker-beep/54019 "2006-02-21T01:04:43Z")

</div>

Hello. I’m trying to execute a beep on my computer with ruby as an alert, but I can’t seem to get it to work. I’ve looked online and I have this. require “Win32API” def beep o = Win32API.new(“kernel32”,“Beep”,%w(i i…

---

## [Safer "fuzzy" find -- how would you do this?](https://www.ruby-forum.com/t/safer-fuzzy-find-how-would-you-do-this/244925)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 12, 2016, 5:20pm UTC](https://www.ruby-forum.com/t/safer-fuzzy-find-how-would-you-do-this/244925 "2016-07-12T17:20:25Z")

</div>

I was just looking over some code I wrote last year, and found this in one of my mailers: @item = eval(params\[:item\].classify).send(:find, params\[:item\_id\]) The idea here is that I can have the mailer respond to a pol…

---

## [Adding Bootstrap CSS](https://www.ruby-forum.com/t/adding-bootstrap-css/243851)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 17, 2016, 8:10am UTC](https://www.ruby-forum.com/t/adding-bootstrap-css/243851 "2016-01-17T08:10:01Z")

</div>

I am working on The Ruby on Rails Tutorial on Linux Xubuntu, and everything is working until I add: app/assets/stylesheets/custom.css.scss @import “bootstrap-sprockets”;@import “bootstrap”; Then I get an error messa…

---

## [Install UHD after GNURadio installation](https://www.ruby-forum.com/t/install-uhd-after-gnuradio-installation/242546)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 3, 2015, 1:54pm UTC](https://www.ruby-forum.com/t/install-uhd-after-gnuradio-installation/242546 "2015-07-03T13:54:01Z")

</div>

Hi, now I need to install also the UHD module of gnuradio(before I’ve used only RTL). Is possible to install this module without reinstall the entire gnuradio? I’ve tried the easiest apprach, mkdir/cmake/make… in gn…

---

## [Cannot send multiple emails in a loop](https://www.ruby-forum.com/t/cannot-send-multiple-emails-in-a-loop/213993)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 18, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/cannot-send-multiple-emails-in-a-loop/213993 "2011-11-18T15:00:00Z")

</div>

This is my first Rails project, and I may be missing something obvious, but… I need to send emails to a group of people, but the content is individualised, so I cannot bcc them, so I put it into a loop. It sends the f…

---

## [Error: deadlock happened in ngx\_http\_file\_cache\_expire()](https://www.ruby-forum.com/t/error-deadlock-happened-in-ngx-http-file-cache-expire/213773)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 11, 2011, 12:28pm UTC](https://www.ruby-forum.com/t/error-deadlock-happened-in-ngx-http-file-cache-expire/213773 "2011-11-11T12:28:48Z")

</div>

{{{ proxy\_cache\_path /nginx/cache/three levels=1:1:2 keys\_zone=three:1000m; proxy\_cache\_valid 200 304 302 60m; }}} Nginx version: 1.0.1 nginx: configure arguments: --with-pcre --group=admin --user=admin –prefix…

---

## [Destroying a Wx::GridTableBase with an active editor](https://www.ruby-forum.com/t/destroying-a-wx-gridtablebase-with-an-active-editor/188164)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/destroying-a-wx-gridtablebase-with-an-active-editor/188164 "2010-06-10T18:28:07Z")

</div>

Hi! I’m getting a strange effect when I exchange the table base while an editor is active. The edit control would stay active and it would be impossible to remove it from the GUI. Here’s how my app works: There is a…

---

## [Ocra](https://www.ruby-forum.com/t/ocra/187424)

<div class="topic-metadata">

**Author:** [@bankai](https://www.ruby-forum.com/u/bankai)\
**Replies:** 2\
**Last updated:** [April 24, 2010, 3:46pm UTC](https://www.ruby-forum.com/t/ocra/187424 "2010-04-24T15:46:08Z")

</div>

Hi All, Is it possible to package the sourcecode in to an .exe file with IronRuby? If not, will there be a tool in the near future for IronRuby to support this method? With the MRI version I can use OCRA or Rubyscri…

---

## [Can mailer do BCC or send multiple emails?](https://www.ruby-forum.com/t/can-mailer-do-bcc-or-send-multiple-emails/185670)

<div class="topic-metadata">

**Author:** [@alphalux](https://www.ruby-forum.com/u/alphalux)\
**Replies:** 2\
**Last updated:** [March 24, 2010, 9:42pm UTC](https://www.ruby-forum.com/t/can-mailer-do-bcc-or-send-multiple-emails/185670 "2010-03-24T21:42:15Z")

</div>

Hi, I am working mailer and database mailer and was wondering if anyone has ever implemented a BCC field for the mailer page part. Can such a thing be done? My main goal was to send a form email to 2 parties, but ha…

---

## [Deployment task in jruby on rails](https://www.ruby-forum.com/t/deployment-task-in-jruby-on-rails/159525)

<div class="topic-metadata">

**Author:** [@LSSSSszlSSSSBSSSSc](https://www.ruby-forum.com/u/LSSSSszlSSSSBSSSSc)\
**Replies:** 2\
**Last updated:** [February 6, 2009, 5:02am UTC](https://www.ruby-forum.com/t/deployment-task-in-jruby-on-rails/159525 "2009-02-06T05:02:33Z")

</div>

Hi, I’m new to this list, so hello everyone. I’m LÃ¡szlÃ³ BÃ¡csi from Hungary, where I work for Virgo Systems as the lead ruby developer. I have a problem that have bugged me for I while. The question is how to deplo…

---

## [How-to unmixin a module](https://www.ruby-forum.com/t/how-to-unmixin-a-module/133321)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/how-to-unmixin-a-module/133321 "2008-03-31T14:53:36Z")

</div>

Hi, How do you undo the mixing in of a module? Is it possible? I guess you would have to save the state (current methods) of the class before the mixin, then iterate through the methods and class variables of the m…

---

## [Ticket #11394, Adding ActiveRecord::Errors#merge! method](https://www.ruby-forum.com/t/ticket-11394-adding-activerecord-errors-merge-method/133080)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/ticket-11394-adding-activerecord-errors-merge-method/133080 "2008-03-27T16:15:02Z")

</div>

Ticket 11394 adds the merge! method to any ActiveRecord::Errors object. If anyone has time to review the ticket and post their comments on if they like the idea of having this functionality: http://dev.rubyonrails.org…

---

## [Help Installing Ferret Gem on Media Temple Grid Server](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-media-temple-grid-server/116370)

<div class="topic-metadata">

**Author:** [@Chap\_Ambrose](https://www.ruby-forum.com/u/Chap_Ambrose)\
**Replies:** 2\
**Last updated:** [November 21, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-media-temple-grid-server/116370 "2007-11-21T20:56:29Z")

</div>

It seems that I’ve successfully installed the ferret gem on my Media Temple Grid Server \[ ferret 0.11.4 (ruby) \] but now my application won’t start and gives me this error in my mongrel.log /home/25280/data/rubygem…

---

## [1.2RC1 and broken routes?](https://www.ruby-forum.com/t/1-2rc1-and-broken-routes/77066)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 3:34am UTC](https://www.ruby-forum.com/t/1-2rc1-and-broken-routes/77066 "2006-11-24T03:34:32Z")

</div>

Hello all. I’m experimenting with 1.2RC1. Alas, Rails and Engines appears to conspire to break routes? rails project cd project script/plugin install engines script/server which results in : Expected /Users/jodi/D…

---

## [getElementById on a SVG object](https://www.ruby-forum.com/t/getelementbyid-on-a-svg-object/100138)

<div class="topic-metadata">

**Author:** [@guillaume](https://www.ruby-forum.com/u/guillaume)\
**Replies:** 2\
**Last updated:** [July 27, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/getelementbyid-on-a-svg-object/100138 "2006-07-27T19:05:20Z")

</div>

Hi all, I would like to know if it is possible to retreive a SVG object (in fact an image in a vector format that needs aa Adobe plugin to be displayed) by writing something like mySVGObject = ie.document.getElementBy…

---

## [Any suggestions for active Ubuntu nginx-mainline repo?](https://www.ruby-forum.com/t/any-suggestions-for-active-ubuntu-nginx-mainline-repo/231435)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 8, 2014, 10:58pm UTC](https://www.ruby-forum.com/t/any-suggestions-for-active-ubuntu-nginx-mainline-repo/231435 "2014-08-08T22:58:07Z")

</div>

For a while I was quite happily using the ubuntu nginx ppa repo to get my nginx mainline fix (NGINX Mainline (1.15.x) : “Nginx” team) However, for some weeks now, it seems to have become inactive and “stuck” on 1.7…

---

## [Encoding files with utf-8 using Ruby](https://www.ruby-forum.com/t/encoding-files-with-utf-8-using-ruby/240153)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 9, 2014, 2:54am UTC](https://www.ruby-forum.com/t/encoding-files-with-utf-8-using-ruby/240153 "2014-04-09T02:54:29Z")

</div>

I can’t set ruby to use the utf-8 for encoding files. Script like this # encoding: UTF-8 puts "ą" works fine but such # encoding: UTF-8 File.open("test.txt", "w:UTF-8") do |f| f.write "ą" end causes the console p…

---

## [Confusion with class\_eval](https://www.ruby-forum.com/t/confusion-with-class-eval/227898)

<div class="topic-metadata">

**Author:** [@pritamdey](https://www.ruby-forum.com/u/pritamdey)\
**Replies:** 4\
**Last updated:** [April 4, 2013, 7:18am UTC](https://www.ruby-forum.com/t/confusion-with-class-eval/227898 "2013-04-04T07:18:32Z")

</div>

class A end A.class\_eval do @@attr = 100 def self.get\_attr @@attr end def self.set\_attr(\_x) p “hi” @@attr = \_x end end p A.class\_variable\_get(:@@attr) p Object.class\_variable\_get(:@@attr) Output: D:/Rubysc…

---

## [Random#rand\_inclusive?](https://www.ruby-forum.com/t/random-rand-inclusive/227196)

<div class="topic-metadata">

**Author:** [@capnregex](https://www.ruby-forum.com/u/capnregex)\
**Replies:** 4\
**Last updated:** [March 7, 2013, 1:02pm UTC](https://www.ruby-forum.com/t/random-rand-inclusive/227196 "2013-03-07T13:02:19Z")

</div>

Hi, Random#rand and Kernel#rand are exclusive i.e. they return a value \>= 0.0 but \<max if max is a Float. What if one wants a rand that is inclusive of the max? Would any of the below approaches guarantee to give an …

---

## [SSI stubs/blocks](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 25, 2012, 11:16am UTC](https://www.ruby-forum.com/t/ssi-stubs-blocks/223972 "2012-10-25T11:16:57Z")

</div>

Hello, I am using nginx/1.2.3 on my server, and tried to use this in my SSI includes: However, this doesn’t seem to work. I just get a blank page, and nothing is included. Is my NGINX too old, or do I need to it …

---

## [Convert time to ruby time to calculate the time difference](https://www.ruby-forum.com/t/convert-time-to-ruby-time-to-calculate-the-time-difference/195258)

<div class="topic-metadata">

**Author:** [@woow](https://www.ruby-forum.com/u/woow)\
**Replies:** 4\
**Last updated:** [March 9, 2011, 5:43pm UTC](https://www.ruby-forum.com/t/convert-time-to-ruby-time-to-calculate-the-time-difference/195258 "2011-03-09T17:43:37Z")

</div>

Hi all, I have following two time stamps, 12:35:10:757 & 12:35:10:759 I want to convert them to ruby time and find the time difference. which is a 2 micro seconds. I would appreciate any help… thanks in advance

---

## [Expecr error help!](https://www.ruby-forum.com/t/expecr-error-help/192806)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 4\
**Last updated:** [August 6, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/expecr-error-help/192806 "2010-08-06T23:05:00Z")

</div>

Hi Ruby folks! Any ideas? Output and error is below at OUT Also I am fairly new to Ruby…coming from Perl, so what does the w\_f.sync do? thank u! #!/usr/bin/env ruby -w require ‘pty’ require ‘expect’ DN = “/usr/lo…

---

## [Gemspec development dependencies seems to be messed up](https://www.ruby-forum.com/t/gemspec-development-dependencies-seems-to-be-messed-up/179205)

<div class="topic-metadata">

**Author:** [@grimen](https://www.ruby-forum.com/u/grimen)\
**Replies:** 4\
**Last updated:** [November 21, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/gemspec-development-dependencies-seems-to-be-messed-up/179205 "2009-11-21T17:44:20Z")

</div>

$ sudo gem install rspec-rails --development Password: ERROR: Error installing rspec-rails: rspec requires cucumber (\>= 0.3, development) …and when installed cucumber manually, it ends up with weird stuff. Is this …

---

## [New User, cannot run "Hello World" on OS X](https://www.ruby-forum.com/t/new-user-cannot-run-hello-world-on-os-x/162100)

<div class="topic-metadata">

**Author:** [@jsulmar](https://www.ruby-forum.com/u/jsulmar)\
**Replies:** 4\
**Last updated:** [March 6, 2009, 7:51am UTC](https://www.ruby-forum.com/t/new-user-cannot-run-hello-world-on-os-x/162100 "2009-03-06T07:51:57Z")

</div>

I installed a ROR environment on my OS X machine, and I cant’ past “go” with my “hello world” application. Can anyone help me figure this out? Problem Summary I cannot get my “Hello World” application to work. http…

---

## [Storing Array in Hash](https://www.ruby-forum.com/t/storing-array-in-hash/153945)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [November 23, 2008, 3:28pm UTC](https://www.ruby-forum.com/t/storing-array-in-hash/153945 "2008-11-23T15:28:29Z")

</div>

I am having the most insane time with Ruby’s Hash class. I have Array’s of varied length, but whenever they are stored and then retrieved from a Hash they become length of 1 and all the values are somehow combined in …

---

## [:group en paginate de rails no funciona](https://www.ruby-forum.com/t/group-en-paginate-de-rails-no-funciona/119157)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 4\
**Last updated:** [September 10, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/group-en-paginate-de-rails-no-funciona/119157 "2008-09-10T17:09:55Z")

</div>

Hola , estoy intentando hacer un paginate rails de una tabla que contiene una consulta inner join la siguiente consulta funciona correctamente @series\_obras\_join = SeriesObra.find(:all, :joins=\>“INNER JOIN obras ON…

---

## [Radiant and mongrel reloading](https://www.ruby-forum.com/t/radiant-and-mongrel-reloading/116659)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 4\
**Last updated:** [October 8, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/radiant-and-mongrel-reloading/116659 "2007-10-08T16:14:09Z")

</div>

For the first time ever (for me :)) I set up a radiant site on a nginx mongrel setup (http://vincenzomaiorano.it) and it works fine, but I have a problem when I update the radiant code via capistrano, adding an exten…

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

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