# Top

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

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

---

## [Can not make WordPress pretty permalinks work (404 error)](https://www.ruby-forum.com/t/can-not-make-wordpress-pretty-permalinks-work-404-error/219620)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 9, 2012, 4:34pm UTC](https://www.ruby-forum.com/t/can-not-make-wordpress-pretty-permalinks-work-404-error/219620 "2012-05-09T16:34:06Z")

</div>

I’ve tried to follow the guide at as suggested in the post Re: Wordpress Permalinks , but it still doesn’t work. I’ve copied and replaced the server settings from the guide, and changed the parts pertaining to my se…

---

## [2d array class](https://www.ruby-forum.com/t/2d-array-class/180954)

<div class="topic-metadata">

**Author:** [@Tommy\_C](https://www.ruby-forum.com/u/Tommy_C)\
**Replies:** 8\
**Last updated:** [March 2, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/2d-array-class/180954 "2010-03-02T18:56:35Z")

</div>

Hi, Is there an equivalent gem that mimics the narray gem? thanks, tommy To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [Bj gem/plugin](https://www.ruby-forum.com/t/bj-gem-plugin/141570)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 8\
**Last updated:** [October 28, 2008, 2:25am UTC](https://www.ruby-forum.com/t/bj-gem-plugin/141570 "2008-10-28T02:25:39Z")

</div>

Has anyone successfully used the Bj (http://agilewebdevelopment.com/plugins/bj) gem or plugin using JRuby? If not, what’s everyone in JRuby land using for background processes? Rich ÆƒuÉlÉuÉÉ¯ É¥É”Ä±É¹

---

## [Piping two shell commands together](https://www.ruby-forum.com/t/piping-two-shell-commands-together/111106)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 8\
**Last updated:** [August 3, 2007, 4:29am UTC](https://www.ruby-forum.com/t/piping-two-shell-commands-together/111106 "2007-08-03T04:29:51Z")

</div>

I want to pipe two system commands together from within ruby. cmd1 and cmd2 are arrays, e.g. cmd1 = \[‘oggdec’,’-o’,’-’,oldpath\] cmd2 = \[‘lame’,’-’,newpath\] I think I can do the following, IO.popen(’-’,‘r’) do |p1| …

---

## [Copy block changed in 3.8](https://www.ruby-forum.com/t/copy-block-changed-in-3-8/253642)

<div class="topic-metadata">

**Author:** [@ThunderGod](https://www.ruby-forum.com/u/ThunderGod)\
**Replies:** 2\
**Last updated:** [February 3, 2020, 9:39am UTC](https://www.ruby-forum.com/t/copy-block-changed-in-3-8/253642 "2020-02-03T09:39:13Z")

</div>

I have a problem with gnuradio 3.8. Seem the copy block in GRC is changed. It has a radio button for enable/disable. Now I can’t put a for example “variable\_qtgui\_check\_box” to control it. Any help or example how to cont…

---

## [How to get the DDL for a RoR application](https://www.ruby-forum.com/t/how-to-get-the-ddl-for-a-ror-application/252183)

<div class="topic-metadata">

**Author:** [@Sa1bah3](https://www.ruby-forum.com/u/Sa1bah3)\
**Replies:** 2\
**Last updated:** [April 10, 2019, 12:16pm UTC](https://www.ruby-forum.com/t/how-to-get-the-ddl-for-a-ror-application/252183 "2019-04-10T12:16:17Z")

</div>

Hello. I want to first start that I am not a Ruby developer. I work in an EDW (Enterprise data warehouse) which supports many applications built on different technology stacks (Java, Angular JS, Python, Ruby, etc.) For …

---

## [Range request with Accept-Encoding:“gzip,deflate" for \*.pdf.\* file-name pattern returns 416](https://www.ruby-forum.com/t/range-request-with-accept-encoding-gzip-deflate-for-pdf-file-name-pattern-returns-416/244589)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 19, 2016, 1:44pm UTC](https://www.ruby-forum.com/t/range-request-with-accept-encoding-gzip-deflate-for-pdf-file-name-pattern-returns-416/244589 "2016-05-19T13:44:21Z")

</div>

We are facing this weird behavior wherein if a range request with Accept-Encoding:“gzip,deflate" is called for a url having .pdf as part of path, nginx would throw 416 even if the range is well within overall size of …

---

## [Problem with double slashes in urls with uwsgi and sockets](https://www.ruby-forum.com/t/problem-with-double-slashes-in-urls-with-uwsgi-and-sockets/246235)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 13, 2013, 4:27pm UTC](https://www.ruby-forum.com/t/problem-with-double-slashes-in-urls-with-uwsgi-and-sockets/246235 "2013-09-13T16:27:20Z")

</div>

I have python app running under uwsgi with nginx. I’m using unix sockets to connect nginx to uwsgi. My python app is receiving single slashes in urls that originally had a double slash. For example, if the url is ht…

---

## [What am I doing wrong with find\_in\_batches?](https://www.ruby-forum.com/t/what-am-i-doing-wrong-with-find-in-batches/196348)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 2\
**Last updated:** [October 12, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/what-am-i-doing-wrong-with-find-in-batches/196348 "2010-10-12T15:35:12Z")

</div>

I’m testing out ActiveRecord’s find\_in\_batches and I’m missing something very basic I think. I can only get it to return the values from the first chunk (batch\_size) and nothing more…how do I get it to process chunks…

---

## [Phusion Passenger Version Check](https://www.ruby-forum.com/t/phusion-passenger-version-check/153852)

<div class="topic-metadata">

**Author:** [@perezda](https://www.ruby-forum.com/u/perezda)\
**Replies:** 2\
**Last updated:** [November 23, 2008, 1:14am UTC](https://www.ruby-forum.com/t/phusion-passenger-version-check/153852 "2008-11-23T01:14:21Z")

</div>

Hello, Sry if this sounds stupid, but how do I check to see what version of phussion passenger I am running, I did a recent upgrade and want to make sure the new version is in use. Thanks.

---

## [Reload environment.rb without restarting server](https://www.ruby-forum.com/t/reload-environment-rb-without-restarting-server/68253)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/reload-environment-rb-without-restarting-server/68253 "2006-09-22T15:41:18Z")

</div>

Hey all, I’m running Rails with a shared hosting provider, and can’t restart the web server - so how do I get Rails to recognize the new paths I’ve added to /config/environment.rb? Thanks, Ben

---

## [NameError: undefined local variable or method \`testapp' for main:Object](https://www.ruby-forum.com/t/nameerror-undefined-local-variable-or-method-testapp-for-main-object/174702)

<div class="topic-metadata">

**Author:** [@maddy](https://www.ruby-forum.com/u/maddy)\
**Replies:** 3\
**Last updated:** [August 31, 2009, 10:02pm UTC](https://www.ruby-forum.com/t/nameerror-undefined-local-variable-or-method-testapp-for-main-object/174702 "2009-08-31T22:02:55Z")

</div>

Hi, I am new to Ruby on Rails. Recently, I downloaded and installed the InstantRails in the D:\\ drive of my system. Now I wanted to try some small examples in ‘irb’, so I created a file “testapp.rb” and in that paste…

---

## [Rails 2.3 and TimeZone](https://www.ruby-forum.com/t/rails-2-3-and-timezone/164303)

<div class="topic-metadata">

**Author:** [@suer\_rick](https://www.ruby-forum.com/u/suer_rick)\
**Replies:** 3\
**Last updated:** [May 13, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-timezone/164303 "2009-05-13T23:14:56Z")

</div>

My rails 2.3 app is interpreting times retrieved from the database as local (in my case, Eastern) instead of UTC. I created a test table in a SQL Server database with one row. The table is called events and contains…

---

## [Rake variables](https://www.ruby-forum.com/t/rake-variables/166431)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 3\
**Last updated:** [May 10, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/rake-variables/166431 "2009-05-10T16:22:43Z")

</div>

I’m a rake beginner with a couple of questions: (1) Is there any way to set rake options from the within the Rakefile, as though they had been specified on the command-line? I always want to run a particular Rakefile…

---

## [Gr-display-master install (was Re: Writing text to a QT GUI Window)](https://www.ruby-forum.com/t/gr-display-master-install-was-re-writing-text-to-a-qt-gui-window/241634)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 20, 2015, 5:53pm UTC](https://www.ruby-forum.com/t/gr-display-master-install-was-re-writing-text-to-a-qt-gui-window/241634 "2015-04-20T17:53:17Z")

</div>

In the gr-display-master README file under “2. Installation” when it states… $cmake -DCMAKE\_INSTALL\_PREFIX= …/ What is meant by “”? gnuradio gets installed across many directories, to which does this refer? Sorry f…

---

## [Specifying an HTTP status code](https://www.ruby-forum.com/t/specifying-an-http-status-code/121847)

<div class="topic-metadata">

**Author:** [@Francis\_H](https://www.ruby-forum.com/u/Francis_H)\
**Replies:** 5\
**Last updated:** [December 2, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/specifying-an-http-status-code/121847 "2007-12-02T14:17:15Z")

</div>

Hi all, I’m just starting to work w/ RSpec, so I hope this question isn’t too obvious or missing the point somehow: Is there a way in RSpec to specify that a controller action should use a specific HTTP status code? …

---

## [Oggetto Math](https://www.ruby-forum.com/t/oggetto-math/106121)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 5\
**Last updated:** [June 6, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/oggetto-math/106121 "2007-06-06T17:47:57Z")

</div>

una domanda stupida, ma cerco, cerco e non riesco a trovare… come si eleva a potenza un numero in ruby? tks

---

## [Codici nazione in codice fiscale](https://www.ruby-forum.com/t/codici-nazione-in-codice-fiscale/243643)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 13, 2016, 9:50am UTC](https://www.ruby-forum.com/t/codici-nazione-in-codice-fiscale/243643 "2016-01-13T09:50:17Z")

</div>

Per un progetto Ruby a cui sto lavorando devo convertire il codice nazione a 4 caratteri contenuto in fondo al codice fiscale (per i nati all’estero) in un codice nazione a due lettere ISO3361. Non ho trovato nulla di…

---

## [\[HELP\] strange result in production mode on remote server cannot find why it happens \[rails 3.2.12\]](https://www.ruby-forum.com/t/help-strange-result-in-production-mode-on-remote-server-cannot-find-why-it-happens-rails-3-2-12/229893)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [February 12, 2013, 3:32pm UTC](https://www.ruby-forum.com/t/help-strange-result-in-production-mode-on-remote-server-cannot-find-why-it-happens-rails-3-2-12/229893 "2013-02-12T15:32:02Z")

</div>

I have a simple localization which is not working correctly for one language in ‘production’ mode … ( fine in dev, and fine in env production on localhost ) in the view ( haml) = I18n.t(:is\_written\_by, scope: ‘po…

---

## [Add dynamic nested attributes without nested form gem](https://www.ruby-forum.com/t/add-dynamic-nested-attributes-without-nested-form-gem/213541)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 7, 2011, 3:54pm UTC](https://www.ruby-forum.com/t/add-dynamic-nested-attributes-without-nested-form-gem/213541 "2011-11-07T15:54:55Z")

</div>

Hello people In my rails 3.0.9 app I’m trying to add nested attributes dynamically, but I don’t want to use “nested form gem” So I found this example but this code doesn’t work module ProjectsHelper def remove\_l…

---

## [Preamble and simple framer and correlator](https://www.ruby-forum.com/t/preamble-and-simple-framer-and-correlator/208682)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 24, 2011, 3:16pm UTC](https://www.ruby-forum.com/t/preamble-and-simple-framer-and-correlator/208682 "2011-06-24T15:16:01Z")

</div>

Continueing with How to synchronize RX with TX? - GNU Radio - Ruby-Forum, and Appending preamble with different power - GNU Radio - Ruby-Forum I am trying to append preamble to a signal so that RX can recognize it and …

---

## [What is the the best style and theory of writing a complier in your language](https://www.ruby-forum.com/t/what-is-the-the-best-style-and-theory-of-writing-a-complier-in-your-language/200884)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [December 25, 2010, 9:47am UTC](https://www.ruby-forum.com/t/what-is-the-the-best-style-and-theory-of-writing-a-complier-in-your-language/200884 "2010-12-25T09:47:26Z")

</div>

What is the the best style and theory of writing a complier in your language Maybe a book will suffice. http://www.veteranstoday.com/2010/12/18/gordon-duff-gov-jesse-ventura-proves-911-cover-up-will-americas-governmen…

---

## [Mes tÃ¢ches rake ne fonctionnent pas avec cron](https://www.ruby-forum.com/t/mes-ta-ches-rake-ne-fonctionnent-pas-avec-cron/182903)

<div class="topic-metadata">

**Author:** [@julien](https://www.ruby-forum.com/u/julien)\
**Replies:** 7\
**Last updated:** [February 6, 2010, 12:31am UTC](https://www.ruby-forum.com/t/mes-ta-ches-rake-ne-fonctionnent-pas-avec-cron/182903 "2010-02-06T00:31:21Z")

</div>

Salut Ã tous, Je rencontre un problÃ¨me avec mes tÃ¢ches rake programmÃ©es par un cron : une erreur me dit que le gem rack 1.0.1 n’est pas prÃ©sent. Or, si je lance les tÃ¢ches manuellement en ligne de commande, l’er…

---

## [La estrella de Rails 1.2 - REST](https://www.ruby-forum.com/t/la-estrella-de-rails-1-2-rest/83095)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 7\
**Last updated:** [January 23, 2007, 9:53pm UTC](https://www.ruby-forum.com/t/la-estrella-de-rails-1-2-rest/83095 "2007-01-23T21:53:21Z")

</div>

Despues de estar mirando un poco REST, aun no lo veo la importancia que puede tener. LeÃ­ que conseguiria reducir el codigo que escribiriamos, pero yo sigo creando en mis controladores los tipicos “index o list”, “new…

---

## [/admin in https](https://www.ruby-forum.com/t/admin-in-https/69357)

<div class="topic-metadata">

**Author:** [@Beber](https://www.ruby-forum.com/u/Beber)\
**Replies:** 7\
**Last updated:** [October 1, 2006, 11:58am UTC](https://www.ruby-forum.com/t/admin-in-https/69357 "2006-10-01T11:58:33Z")

</div>

Hi, Is there a way to make the /admin into https and everything else in http ? Thanks

---

## ["no route matches"](https://www.ruby-forum.com/t/no-route-matches/190019)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [June 11, 2010, 3:03pm UTC](https://www.ruby-forum.com/t/no-route-matches/190019 "2010-06-11T15:03:27Z")

</div>

Hi all, I’m getting an error in my rails 3 app when trying to update a user’s profile: Started POST “/users/1328-mturner” for 127.0.0.1 at 2010-06-11 13:02:09 ActionController::RoutingError (No route matches “/users…

---

## [Regular Expression Intersection](https://www.ruby-forum.com/t/regular-expression-intersection/79900)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 4\
**Last updated:** [March 12, 2006, 10:25pm UTC](https://www.ruby-forum.com/t/regular-expression-intersection/79900 "2006-03-12T22:25:36Z")

</div>

Regular languages are closed under intersection (as well as difference, complement, and of course union). I find myself needing to know whether two regexps intersect. That is, whether the intersection of the two regex…

---

## [Method name resolution](https://www.ruby-forum.com/t/method-name-resolution/223217)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 26, 2012, 7:08am UTC](https://www.ruby-forum.com/t/method-name-resolution/223217 "2012-09-26T07:08:01Z")

</div>

For the method invocation expression o.m, Ruby performs name resolution with the following steps: 1) first, it checks the eigenclass of o for singleton methods named m. 2) If no method m is found in the eigenclass, Ru…

---

## [Serialize limitations?](https://www.ruby-forum.com/t/serialize-limitations/89355)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/serialize-limitations/89355 "2007-03-19T21:49:19Z")

</div>

Banging my head about this one today and I can’t find any information on this in the API… I have two models… User and PersonRecord. PersonRecord is a model that is shared among several applications and hooked into a…

---

## [Localize Slim templates in seconds for your Rails i18n](https://www.ruby-forum.com/t/localize-slim-templates-in-seconds-for-your-rails-i18n/231840)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 2, 2014, 3:49pm UTC](https://www.ruby-forum.com/t/localize-slim-templates-in-seconds-for-your-rails-i18n/231840 "2014-09-02T15:49:16Z")

</div>

If you ever had to make existing (Slim) templates localizable for the internationalization of your Rails app, you know it is a real pain and takes ages! We have built a neat tool to extract all localizable strings fro…

---

## [\[ANN\] Typo 6.1.4](https://www.ruby-forum.com/t/ann-typo-6-1-4/229723)

<div class="topic-metadata">

**Author:** [@SSFrSSdSSric\_de\_Vil](https://www.ruby-forum.com/u/SSFrSSdSSric_de_Vil)\
**Replies:** 0\
**Last updated:** [February 12, 2013, 10:05pm UTC](https://www.ruby-forum.com/t/ann-typo-6-1-4/229723 "2013-02-12T22:05:22Z")

</div>

Good evening, This was rather unplanned, but due to another critical security flaw fixed in Ruby on Rails, we’ve jus released Typo 6.1.4 for Rails 3.2.12. As usual, you can download the latest stable at http://typosp…

---

## [Creation de sous\_items en meme temps qu'un item](https://www.ruby-forum.com/t/creation-de-sous-items-en-meme-temps-quun-item/170745)

<div class="topic-metadata">

**Author:** [@moustach](https://www.ruby-forum.com/u/moustach)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 11:51am UTC](https://www.ruby-forum.com/t/creation-de-sous-items-en-meme-temps-quun-item/170745 "2009-06-29T11:51:28Z")

</div>

Bonjour, je ne savais pas trop quoi mettre comme titre alors je vais expliquer ce sera plus clair. Actuellement je doit creer une application qui va referencer des produits. A chaque produits, on pourra lui attacher …

---

## [Bases de donnÃ©es gÃ©ographiques sous Rail s](https://www.ruby-forum.com/t/bases-de-donna-es-ga-ographiques-sous-rail-s/159966)

<div class="topic-metadata">

**Author:** [@Luc\_T](https://www.ruby-forum.com/u/Luc_T)\
**Replies:** 6\
**Last updated:** [February 11, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/bases-de-donna-es-ga-ographiques-sous-rail-s/159966 "2009-02-11T12:05:59Z")

</div>

Bonjour à tous, je voudrai savoir si certains parmi vous ont déjà travaillé avec des bases de données géographiques sous rails, est-ce qu’il y a des api (genre googlemaps ou geoportail) mieux que d’autres, des formats…

---

## [Lighter-weight ActiveMQ-like thingy in Ruby?](https://www.ruby-forum.com/t/lighter-weight-activemq-like-thingy-in-ruby/67022)

<div class="topic-metadata">

**Author:** [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Replies:** 6\
**Last updated:** [August 31, 2006, 1:12am UTC](https://www.ruby-forum.com/t/lighter-weight-activemq-like-thingy-in-ruby/67022 "2006-08-31T01:12:33Z")

</div>

Has anyone worked on an ActiveMQ (http://activemq.org ) like messaging broker in pure Ruby? Or if now has anyone thought about it? Any thoughts on what it would take? ActiveMQ is a beast (especially if you’re not fa…

---

## [Sending files over a network](https://www.ruby-forum.com/t/sending-files-over-a-network/56587)

<div class="topic-metadata">

**Author:** [@Pieter\_Breed](https://www.ruby-forum.com/u/Pieter_Breed)\
**Replies:** 6\
**Last updated:** [April 3, 2006, 11:16am UTC](https://www.ruby-forum.com/t/sending-files-over-a-network/56587 "2006-04-03T11:16:23Z")

</div>

Hi All, I am relatively new to Ruby and I am considering using it for a little itch of my own I want to scratch. It deals with sending files over a network, but in a one-computer-to-one-computer way, not swarming like …

---

## [DBPSK transmission and reception of text file](https://www.ruby-forum.com/t/dbpsk-transmission-and-reception-of-text-file/252719)

<div class="topic-metadata">

**Author:** [@varvarip](https://www.ruby-forum.com/u/varvarip)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 8:41pm UTC](https://www.ruby-forum.com/t/dbpsk-transmission-and-reception-of-text-file/252719 "2019-07-15T20:41:27Z")

</div>

Hello everyone! I am setting up the following GNURadio algorithm to send and receive data from a text file. If I don’t use TX-RX and simply connect the DPSK Mod block to Costas Loop the system works perfectly. So I must …

---

## [Ruby - Ruote](https://www.ruby-forum.com/t/ruby-ruote/237061)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 23, 2013, 5:32pm UTC](https://www.ruby-forum.com/t/ruby-ruote/237061 "2013-10-23T17:32:14Z")

</div>

Good afternoon, in order to complete a task for a schoolar subject me and my group had to install Ruote. We have already installed ruby and we managed how to install Ruote but we can’t understand how it works or it is…

---

## [Accessing a variable from an each loop](https://www.ruby-forum.com/t/accessing-a-variable-from-an-each-loop/210412)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 8, 2011, 10:15am UTC](https://www.ruby-forum.com/t/accessing-a-variable-from-an-each-loop/210412 "2011-08-08T10:15:53Z")

</div>

Hi If you look at the attached file you will see the jQuery is inside the each loop, result, it toggles all comments when any hide is clicked. I want to move the jQuery outside the loop but if I do it throws an error…

---

## [Library and PaperClipped](https://www.ruby-forum.com/t/library-and-paperclipped/198821)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 10, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/library-and-paperclipped/198821 "2010-11-10T14:47:23Z")

</div>

Have been trying to get a gallery to work with Radiant. I’ve tried the ‘Galleries’ extension - but could see no way to add images from the asset list to the gallery. Am also now looking at the Library extension and th…

---

## [I18n assets management / translation UI](https://www.ruby-forum.com/t/i18n-assets-management-translation-ui/194534)

<div class="topic-metadata">

**Author:** [@andras](https://www.ruby-forum.com/u/andras)\
**Replies:** 8\
**Last updated:** [September 10, 2010, 12:14am UTC](https://www.ruby-forum.com/t/i18n-assets-management-translation-ui/194534 "2010-09-10T00:14:20Z")

</div>

Hello everyone, i’m building a multi-lingual webapp with i18n from the ground up, and while i myself can deal with an army of yml files, the languages i speak are ( very ) limited, and would eventually like to ask for …

---

## [Proxy\_pass and $content\_type](https://www.ruby-forum.com/t/proxy-pass-and-content-type/175548)

<div class="topic-metadata">

**Author:** [@cedjo](https://www.ruby-forum.com/u/cedjo)\
**Replies:** 8\
**Last updated:** [September 15, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/proxy-pass-and-content-type/175548 "2009-09-15T18:24:41Z")

</div>

Hello all, We’re wanting to use nginx as a proxy between a varnish and a S3 storage. We’re using debian lenny, nginx version is 0.6.32-3. What we’re dowing: server { location / { proxy\_pass … if ($content\_type !~\*…

---

## [Has\_many :photos](https://www.ruby-forum.com/t/has-many-photos/161028)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 8\
**Last updated:** [February 22, 2009, 10:13pm UTC](https://www.ruby-forum.com/t/has-many-photos/161028 "2009-02-22T22:13:44Z")

</div>

Hallo Zwei Tabellen model product has\_many :photos model photo belongs\_to :product View: product =\> index \<% for product in @products %\> \<%=product.photo.filename %\>… undefined method \`photo’ oder \<%=product.ph…

---

## [Getting "undefined method \`macro'" for different classes](https://www.ruby-forum.com/t/getting-undefined-method-macro-for-different-classes/146985)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 8\
**Last updated:** [August 27, 2008, 7:58pm UTC](https://www.ruby-forum.com/t/getting-undefined-method-macro-for-different-classes/146985 "2008-08-27T19:58:31Z")

</div>

I am not sure what is causing this. As mentioned I am getting the same error from different classes and no where do I have a custom macro method. I have reset the server a few times, but I still get the same thing. …

---

## [Problem with Warble, glassfish, default root context and sun-web.xml](https://www.ruby-forum.com/t/problem-with-warble-glassfish-default-root-context-and-sun-web-xml/138909)

<div class="topic-metadata">

**Author:** [@M\_C](https://www.ruby-forum.com/u/M_C)\
**Replies:** 8\
**Last updated:** [June 2, 2008, 7:58am UTC](https://www.ruby-forum.com/t/problem-with-warble-glassfish-default-root-context-and-sun-web-xml/138909 "2008-06-02T07:58:42Z")

</div>

I am trying a deploy a ruby on rails web application using Warble/Jruby1.1.2 on glassfish v2 into the default root context (i.e. “/” instead of “/myapp”). On glassfish this can apparently be done by adding a “sun-web.…

---

## [ActiveRecord: Dynamically-named tables sharing a common mode](https://www.ruby-forum.com/t/activerecord-dynamically-named-tables-sharing-a-common-mode/106151)

<div class="topic-metadata">

**Author:** [@Jim\_Stewart](https://www.ruby-forum.com/u/Jim_Stewart)\
**Replies:** 3\
**Last updated:** [June 8, 2007, 2:03am UTC](https://www.ruby-forum.com/t/activerecord-dynamically-named-tables-sharing-a-common-mode/106151 "2007-06-08T02:03:59Z")

</div>

I’ve got a legacy database that I’m trying to model in ActiveRecord. The database consists of many pairs of tables (e.g. Foo\_Sources and Foo\_Procedures, Bar\_Sources and Bar\_Procedures). There will be multiple pairs o…

---

## [ActiveRecord and Images](https://www.ruby-forum.com/t/activerecord-and-images/54541)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 2:11pm UTC](https://www.ruby-forum.com/t/activerecord-and-images/54541 "2006-03-08T14:11:15Z")

</div>

Not really a Rails question, but a “best practices” one. If I want to associate an image to every account in my application, is it better to insert the image file directly inside the db or to upload the image in publi…

---

## [Ocsp stapling](https://www.ruby-forum.com/t/ocsp-stapling/243107)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 23, 2015, 3:56pm UTC](https://www.ruby-forum.com/t/ocsp-stapling/243107 "2015-08-23T15:56:21Z")

</div>

I have my nginx virtual host set to enable ocsp stapling but it doesn’t actually do it. Ssllabs testing reports no. OpenSSL cli testing reports nothing. Nginx v1.8.0 Centos 6.7 64bit OpenSSL 1.0.1e I only have the …

---

## [\\r\\n for EOL in windows?](https://www.ruby-forum.com/t/r-n-for-eol-in-windows/223362)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 1, 2012, 7:41pm UTC](https://www.ruby-forum.com/t/r-n-for-eol-in-windows/223362 "2012-10-01T19:41:15Z")

</div>

I believe “\\r\\n” is a normal newline for windows “type” files. Should the following work, then, seeing as $ is supposed to mean “end of line”? “abc\\r\\n” =~ /abc$/ =\> nil This works: “abc\\n” =~ /abc$/ =\> 0 …

---

## [Using the private implementation ("pimpl") pattern for GNU Radio API classes](https://www.ruby-forum.com/t/using-the-private-implementation-pimpl-pattern-for-gnu-radio-api-classes/217779)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 15, 2012, 1:22am UTC](https://www.ruby-forum.com/t/using-the-private-implementation-pimpl-pattern-for-gnu-radio-api-classes/217779 "2012-03-15T01:22:52Z")

</div>

On Fri, Mar 9, 2012 at 12:31, Tom R. removed\_email\_address@domain.invalid wrote: Now, Josh uses a structure where there is a public API class and an implementation class (impl). There are some really good reasons to d…

---

## [Time - str\_to\_date](https://www.ruby-forum.com/t/time-str-to-date/185038)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 5\
**Last updated:** [March 12, 2010, 11:03am UTC](https://www.ruby-forum.com/t/time-str-to-date/185038 "2010-03-12T11:03:41Z")

</div>

i have a time field in my table. it is of varchar data type. i want compare the time between given times. my stored time format is 09:25:01 am. is there any way to compare my time field ? i don t have any idea about …

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

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