# Top

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

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

---

## [Localization in a structured hierarchy of .yml files](https://www.ruby-forum.com/t/localization-in-a-structured-hierarchy-of-yml-files/195489)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [September 23, 2010, 11:20pm UTC](https://www.ruby-forum.com/t/localization-in-a-structured-hierarchy-of-yml-files/195489 "2010-09-23T23:20:44Z")

</div>

\[Rails 3, Ruby 1.9.2\] I tried to split my localizations into a structured hierarchy of files : default en.yml fr.yml de.yml models users en.yml fr.yml de.yml views users en.yml fr.yml de.yml but this doe…

---

## [ActionController::Base.send :include, etc](https://www.ruby-forum.com/t/actioncontroller-base-send-include-etc/158091)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [January 21, 2009, 7:42am UTC](https://www.ruby-forum.com/t/actioncontroller-base-send-include-etc/158091 "2009-01-21T07:42:40Z")

</div>

Hi In one of the method say require\_helpers i have the code helper\_constant = SomeHelper ActionController::Base.send :include, helper\_constant ActionView::Base.send :include, helper\_constant ActionView::Helpers::F…

---

## [LoadError (Expected model.rb to define Model)](https://www.ruby-forum.com/t/loaderror-expected-model-rb-to-define-model/139744)

<div class="topic-metadata">

**Author:** [@jonathan\_stegall](https://www.ruby-forum.com/u/jonathan_stegall)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/loaderror-expected-model-rb-to-define-model/139744 "2008-06-24T22:01:36Z")

</div>

Hello, I’m having an error that occurs in production (on Dreamhost) but does not occur in development on my local machine. The situation is that there is a model (Article), and it uses act\_as\_ferret for search. The e…

---

## [Variables de session](https://www.ruby-forum.com/t/variables-de-session/132508)

<div class="topic-metadata">

**Author:** [@goku](https://www.ruby-forum.com/u/goku)\
**Replies:** 3\
**Last updated:** [March 25, 2008, 12:09pm UTC](https://www.ruby-forum.com/t/variables-de-session/132508 "2008-03-25T12:09:04Z")

</div>

Buenas amigos alguien me puede decir y las variables de session que creamos tienes por defecto algun tiemppo asignado, es decir un tiempo de vida que se le asigna automaticamente cuandolas creamos. Y si me pueden dec…

---

## [Can't do cap setup](https://www.ruby-forum.com/t/cant-do-cap-setup/106141)

<div class="topic-metadata">

**Author:** [@ivanstorck](https://www.ruby-forum.com/u/ivanstorck)\
**Replies:** 3\
**Last updated:** [June 8, 2007, 11:45am UTC](https://www.ruby-forum.com/t/cant-do-cap-setup/106141 "2007-06-08T11:45:51Z")

</div>

This is the first time I’m trying out capistrano, so I’m sure there’s something I simple I’m missng. I can ssh to the server using a public rsa key just fine. The username is the same on my laptop as on the server. i…

---

## [QT GUI Time Sink text scale bug](https://www.ruby-forum.com/t/qt-gui-time-sink-text-scale-bug/233191)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [November 25, 2014, 9:50am UTC](https://www.ruby-forum.com/t/qt-gui-time-sink-text-scale-bug/233191 "2014-11-25T09:50:28Z")

</div>

Can anyone confirm the QT GUI Time Sink has a time scale text bug when working at low sample rates in 3.7.6git-188-gf60cd24f﻿? Please see below: https://dl.dropboxusercontent.com/u/49570443/qt\_time\_scale\_grc.png htt…

---

## [Nokogiri::XML::Node#dup showing unexpected result](https://www.ruby-forum.com/t/nokogiri-node-dup-showing-unexpected-result/238607)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [January 20, 2014, 7:02pm UTC](https://www.ruby-forum.com/t/nokogiri-node-dup-showing-unexpected-result/238607 "2014-01-20T19:02:53Z")

</div>

Find the below code : require ‘nokogiri’ xml = \<\<-eot firstOrField supplier.orgProfiles(${orgProfileId}).location.address.countryId firstFieldValue 1487 eot doc = Nokogiri::XML(xml) node = doc.a…

---

## [Catch success download file event](https://www.ruby-forum.com/t/catch-success-download-file-event/217879)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 16, 2012, 4:38am UTC](https://www.ruby-forum.com/t/catch-success-download-file-event/217879 "2012-03-16T04:38:34Z")

</div>

Hi Guys, I have nginx server host some static files. How can I catch (trigger) when users successfully download a file ?! That means the size of downloaded file equals to the size of the file on server. I mean user …

---

## [Plural table names?](https://www.ruby-forum.com/t/plural-table-names/183308)

<div class="topic-metadata">

**Author:** [@hkhkhk](https://www.ruby-forum.com/u/hkhkhk)\
**Replies:** 5\
**Last updated:** [February 11, 2010, 7:51pm UTC](https://www.ruby-forum.com/t/plural-table-names/183308 "2010-02-11T19:51:58Z")

</div>

should we follow the convention? or use singular?

---

## [JVM not shutting down when referring to AWT type](https://www.ruby-forum.com/t/jvm-not-shutting-down-when-referring-to-awt-type/144428)

<div class="topic-metadata">

**Author:** [@mandrade](https://www.ruby-forum.com/u/mandrade)\
**Replies:** 5\
**Last updated:** [July 29, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/jvm-not-shutting-down-when-referring-to-awt-type/144428 "2008-07-29T23:16:29Z")

</div>

I have noticed that when I refer to AWT/Swing types from JRuby, the JVM doesn’t seem to shut down after code execution completes. Here is a very simple code sample that demonstrates the problem: require ‘java’ Compo…

---

## [OpenResty 1.7.7.2 released](https://www.ruby-forum.com/t/openresty-1-7-7-2-released/234091)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 5, 2015, 9:38pm UTC](https://www.ruby-forum.com/t/openresty-1-7-7-2-released/234091 "2015-02-05T21:38:35Z")

</div>

Hi folks! I am happy to announce the new formal release, 1.7.7.2, of the OpenResty bundle: http://openresty.org/#Download The highlights of this release are the SSL/TLS support in the websocket client of lua-resty…

---

## [IRB in ruby means?](https://www.ruby-forum.com/t/irb-in-ruby-means/215507)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 6, 2012, 11:43pm UTC](https://www.ruby-forum.com/t/irb-in-ruby-means/215507 "2012-01-06T23:43:12Z")

</div>

what does IRB stands for and what is its purpose in ruby?

---

## [Expand\_Path - Errors when path contains line number](https://www.ruby-forum.com/t/expand-path-errors-when-path-contains-line-number/150290)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [October 7, 2008, 12:58am UTC](https://www.ruby-forum.com/t/expand-path-errors-when-path-contains-line-number/150290 "2008-10-07T00:58:50Z")

</div>

Hi, When using FileOps.ExpandPath() (otherwise known as File.expand\_path), I think the method should accept a path which includes additional information - such as the line number : …/…/path/folder/file.rb:93 Should …

---

## [Regexp.union - set option all patterns case insensitive](https://www.ruby-forum.com/t/regexp-union-set-option-all-patterns-case-insensitive/132191)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 2\
**Last updated:** [April 10, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/regexp-union-set-option-all-patterns-case-insensitive/132191 "2008-04-10T16:05:40Z")

</div>

I want to pull a list of terms and use them to scan documents to determine if any of those words are present. Let’s say fruits = \[“apples”,“oranges”,“grapes”\]. I do Regexp.union(\*fruits). This returns /apples|oranges…

---

## [Proxy\_next\_upstream\_timeout behavior](https://www.ruby-forum.com/t/proxy-next-upstream-timeout-behavior/244393)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 4, 2016, 4:01pm UTC](https://www.ruby-forum.com/t/proxy-next-upstream-timeout-behavior/244393 "2016-04-04T16:01:10Z")

</div>

Hi, If I set proxy\_next\_upstream\_timeout to 50 second, will nginx break the current upstream connection at 50 second and fail the request? Or will it wait until current one finishes (or read timeout) then decide whet…

---

## [Add IPv6 support to GeoIP module](https://www.ruby-forum.com/t/add-ipv6-support-to-geoip-module/212477)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 13, 2012, 12:48pm UTC](https://www.ruby-forum.com/t/add-ipv6-support-to-geoip-module/212477 "2012-04-13T12:48:05Z")

</div>

Hello all, geoip module currently only supports a single country and a single city MaxMind database that must cover IPv4 address range. Below patch allows setting up to two city and country databases, one for IPv4 an…

---

## [Unit test model validations](https://www.ruby-forum.com/t/unit-test-model-validations/162524)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 8\
**Last updated:** [March 13, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/unit-test-model-validations/162524 "2009-03-13T20:24:58Z")

</div>

Hi, since I want to improve my Rails skills, I decided to start using the Rails testing framework. But I find it a bit hard to start testing model validations. Some of my tests don’t pass, but I know they must, since …

---

## [Cambiar librerias javascript](https://www.ruby-forum.com/t/cambiar-librerias-javascript/157136)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 8\
**Last updated:** [January 7, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/cambiar-librerias-javascript/157136 "2009-01-07T19:47:48Z")

</div>

Hola, me gustaria saber si existe alguna manera de trabajar con jquery en lugar de prototype, scriptaculous, etc, la verdad e leido que estos dos ultimos frameworks ya no estan en desarrollo, cosa que no pasa con jqu…

---

## [\[BUG:trunk\] \[m17n\] TestCSVFeatures fails because of r20905](https://www.ruby-forum.com/t/bug-trunk-m17n-testcsvfeatures-fails-because-of-r20905/156347)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 8\
**Last updated:** [December 26, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/bug-trunk-m17n-testcsvfeatures-fails-because-of-r20905/156347 "2008-12-26T17:57:39Z")

</div>

Yuguie$B$G$9!#e(B r20905e$B$G!"e(Bcsve$B$N%F%9%H$,\<:GT$9$k$h$&$K$J$j$^$7$?!#e(Bpathe$B$N%(%s%3!\<%G%#%s%0e(B e$B$,e(BUTF8-MACe$B$KJQ$o$C$?$?$a!"e(BCSV#inspecte$BFb$Ge(BString#encodee$B$K\<:GT$7$F$$$k$h$&e(B e$B$G$9!#e(B …

---

## [Calendario + appuntamenti](https://www.ruby-forum.com/t/calendario-appuntamenti/141289)

<div class="topic-metadata">

**Author:** [@rogero83](https://www.ruby-forum.com/u/rogero83)\
**Replies:** 8\
**Last updated:** [July 6, 2008, 11:08am UTC](https://www.ruby-forum.com/t/calendario-appuntamenti/141289 "2008-07-06T11:08:47Z")

</div>

Serve popolo, Vorrei sapere se esiste in giro un help per un calendario ke dia la possibilitÃ di scrivere degli appuntamenti. Il massimo sarebbe una cosa tipo questa http://30boxes.com/ Vorrei avere la possibilitÃ …

---

## [JRuby and Ruby integration](https://www.ruby-forum.com/t/jruby-and-ruby-integration/134247)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 8\
**Last updated:** [April 10, 2008, 12:00am UTC](https://www.ruby-forum.com/t/jruby-and-ruby-integration/134247 "2008-04-10T00:00:42Z")

</div>

Hi, I have developed an application using ROR. For one feature, now I have to use JRuby. I have installed JRuby in my system. I included the follwing statement in my controller. include Java I got the following erro…

---

## [Problemas con will\_paginate](https://www.ruby-forum.com/t/problemas-con-will-paginate/120310)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [November 15, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/problemas-con-will-paginate/120310 "2007-11-15T19:07:47Z")

</div>

Buenas tardes lista, esta tarde he subido el plugin al servidor y he estado probando pero sin suerte. Cuando lo subÃ­a e intentaba visualizar el site me salia un error de Rails. El plugin y documentaciÃ³n lo he obten…

---

## [Having a problem with DRb](https://www.ruby-forum.com/t/having-a-problem-with-drb/92047)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 8\
**Last updated:** [April 16, 2007, 2:18pm UTC](https://www.ruby-forum.com/t/having-a-problem-with-drb/92047 "2007-04-16T14:18:32Z")

</div>

It won’t connect. I tried it with a friend 400 miles away, and I tried it on 2 comps here on my home network. I get a DRbConnError no matter what variation I try. Firewall off/on, port forwarding and port triggerin…

---

## [\[ANN\] Engines 1.1.2](https://www.ruby-forum.com/t/ann-engines-1-1-2/60230)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 8\
**Last updated:** [May 11, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/ann-engines-1-1-2/60230 "2006-05-11T23:03:48Z")

</div>

I’ve just pushed out a new bug-fix release for the Engines plugin. Most notably, it’s now super careful (to the point of paranoia) about ensuring that the right version of Rails is loaded, and should no longer cause a…

---

## [Step by step tutorial on using emacs with Ruby](https://www.ruby-forum.com/t/step-by-step-tutorial-on-using-emacs-with-ruby/49485)

<div class="topic-metadata">

**Author:** [@anne](https://www.ruby-forum.com/u/anne)\
**Replies:** 8\
**Last updated:** [November 18, 2005, 3:15pm UTC](https://www.ruby-forum.com/t/step-by-step-tutorial-on-using-emacs-with-ruby/49485 "2005-11-18T15:15:18Z")

</div>

I downloaded emacs from http://home.att.ne.jp/alpha/z123/emacs-mac-e.html It said that ruby was installed. I have spent two hours searching this list and the web, and I cannot find any tutorial telling beginners what…

---

## [Return 3rd greatest number given array of numbers - getting noMethoderror](https://www.ruby-forum.com/t/return-3rd-greatest-number-given-array-of-numbers-getting-nomethoderror/244072)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [February 20, 2016, 12:05pm UTC](https://www.ruby-forum.com/t/return-3rd-greatest-number-given-array-of-numbers-getting-nomethoderror/244072 "2016-02-20T12:05:14Z")

</div>

Write a method that takes an array of numbers in. Your method should return the third greatest number in the array. You may assume that the array has at least three numbers in it. def third\_greatest(nums) nums\_order = A…

---

## [How to catch the indicator for a checkbutton](https://www.ruby-forum.com/t/how-to-catch-the-indicator-for-a-checkbutton/230195)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 7, 2014, 10:04am UTC](https://www.ruby-forum.com/t/how-to-catch-the-indicator-for-a-checkbutton/230195 "2014-06-07T10:04:33Z")

</div>

Hi all, This post is kind of repeating my earlier on. I search the forum and google for several days but I don’t get a clue for that. Here is my code: require ‘tk’ root=TkRoot.new() root.title=“wwwcheckbutton” $ch…

---

## [How to send the email by Ruby script?](https://www.ruby-forum.com/t/how-to-send-the-email-by-ruby-script/169595)

<div class="topic-metadata">

**Author:** [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Replies:** 4\
**Last updated:** [June 5, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/how-to-send-the-email-by-ruby-script/169595 "2009-06-05T20:10:18Z")

</div>

Hi, Guys, I can read my sina.com email by the following code: require ‘net/pop’ Net::POP3.foreach(‘pop3.sina.com.cn’, 110, ‘removed\_email\_address@domain.invalid’, ‘my\_password’ ) do |email| hdr = email.header if hd…

---

## [Session and Internal server Error](https://www.ruby-forum.com/t/session-and-internal-server-error/124085)

<div class="topic-metadata">

**Author:** [@Javier\_Q](https://www.ruby-forum.com/u/Javier_Q)\
**Replies:** 4\
**Last updated:** [December 24, 2007, 2:49pm UTC](https://www.ruby-forum.com/t/session-and-internal-server-error/124085 "2007-12-24T14:49:02Z")

</div>

Hi, Im developing an application in Rails 2.02. Everything seems to work fine but the problems begin when I try to put some data in the session. I have a model in proyect/models: class Result attr\_accessor :names, :…

---

## [Win32-service: error 5: access denied](https://www.ruby-forum.com/t/win32-service-error-5-access-denied/109072)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/win32-service-error-5-access-denied/109072 "2007-07-12T18:02:39Z")

</div>

hello altogether! I have written an win32 service like explained in O’Reilys “Ruby Cookbook” on page 750. when i try to start the service is get the following error: Zugriff verweigert (Win32::ServiceError) or when …

---

## [Senior Ruby on Rails Developer - Remote](https://www.ruby-forum.com/t/senior-ruby-on-rails-developer-remote/252357)

<div class="topic-metadata">

**Author:** [@taniapaz](https://www.ruby-forum.com/u/taniapaz)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 4:33pm UTC](https://www.ruby-forum.com/t/senior-ruby-on-rails-developer-remote/252357 "2019-05-02T16:33:23Z")

</div>

En Domestika buscamos a un desarrollador senior Ruby on Rails. Un nuevo compañero/a para nuestro equipo de producto e ingeniería. Domestika es la mayor comunidad online de creativos en español. Un espacio de referencia…

---

## [Vbulletin vbseo rewrite rule](https://www.ruby-forum.com/t/vbulletin-vbseo-rewrite-rule/239529)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 6, 2014, 11:30pm UTC](https://www.ruby-forum.com/t/vbulletin-vbseo-rewrite-rule/239529 "2014-03-06T23:30:21Z")

</div>

hi, i try to convert theses rules from apache for vbseo vbulletin, but got 404 errors How to convert theses rules for nginx ? RewriteEngine On RewriteBase /forum/ RewriteRule ^\[^/\]+/.±(\[0-9\]+).html$ vbseo.php?vbs…

---

## [Stub().and\_raise() ain't raising?](https://www.ruby-forum.com/t/stub-and-raise-aint-raising/215702)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 13, 2012, 6:18am UTC](https://www.ruby-forum.com/t/stub-and-raise-aint-raising/215702 "2012-01-13T06:18:02Z")

</div>

I have two blocks of tests: one for testing positive outcomes and one for testing negative. After poking around, I’ve concluded that the underlying :verify\_credentials method is getting called, despite the stub: des…

---

## [How to exclude a gem from "gem update"](https://www.ruby-forum.com/t/how-to-exclude-a-gem-from-gem-update/192105)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [July 24, 2010, 12:28pm UTC](https://www.ruby-forum.com/t/how-to-exclude-a-gem-from-gem-update/192105 "2010-07-24T12:28:12Z")

</div>

Hi, Is there a way to tell rubygems to update all gems except some? Something to put in ~/.gemrc?

---

## [Undefined method \`\*' for nil:NilClass (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclass-nomethoderror/172289)

<div class="topic-metadata">

**Author:** [@dwightschrute](https://www.ruby-forum.com/u/dwightschrute)\
**Replies:** 3\
**Last updated:** [July 18, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclass-nomethoderror/172289 "2009-07-18T19:21:46Z")

</div>

First off, I’m a student taking Ruby for the first time, so bear with me. I’ve tried doing a web search and a search of this forum, and didn’t see anything that addressed this specifically. on line 18 of the followin…

---

## [How to change Date format](https://www.ruby-forum.com/t/how-to-change-date-format/92714)

<div class="topic-metadata">

**Author:** [@aveo](https://www.ruby-forum.com/u/aveo)\
**Replies:** 3\
**Last updated:** [April 23, 2007, 2:18pm UTC](https://www.ruby-forum.com/t/how-to-change-date-format/92714 "2007-04-23T14:18:54Z")

</div>

Hi all, I am using InstantRails with MySQL-Front. Date is stored in format yyyy-mm-dd in database. I want to retrieve and show date in dd-mm-yyyy in my view.rhtml. How can I change it to dd-mm-yyyy form. Please hel…

---

## [Ejecutar comando externo desde ruby?](https://www.ruby-forum.com/t/ejecutar-comando-externo-desde-ruby/84222)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 2:56pm UTC](https://www.ruby-forum.com/t/ejecutar-comando-externo-desde-ruby/84222 "2007-02-02T14:56:32Z")

</div>

Buenas, tengo que hacer un procedimiento que ejecute un programa externo, y lo tengo así: c:loquesea\> ruby proceso.rb bd.sql proceso.rb: ruta = ARGV\[0\] archivo = File.open(ruta) f = IO.popen("mysqldump "+archivo…

---

## [Trigger before save and after save from external process?](https://www.ruby-forum.com/t/trigger-before-save-and-after-save-from-external-process/240111)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [March 31, 2014, 12:52pm UTC](https://www.ruby-forum.com/t/trigger-before-save-and-after-save-from-external-process/240111 "2014-03-31T12:52:25Z")

</div>

I have an external process changing the database of my app. Is there a good way to trigger the before save and after save filters for models that get updated, when it is an external process changing it?

---

## [Rails desktop application](https://www.ruby-forum.com/t/rails-desktop-application/214628)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [December 8, 2011, 10:38am UTC](https://www.ruby-forum.com/t/rails-desktop-application/214628 "2011-12-08T10:38:01Z")

</div>

Hi, I already have succussfully developed a web app with Rails 3 on an Ubuntu server. Now I want to build a small desktop app that should be running in windows. I really like the easy way of Rails development. The be…

---

## [Removing Whitespace using regexp](https://www.ruby-forum.com/t/removing-whitespace-using-regexp/167266)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 6\
**Last updated:** [May 7, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/removing-whitespace-using-regexp/167266 "2009-05-07T14:21:53Z")

</div>

Hi, Previously I posted a topic on how to strip all html tags and getting the remaining text using regexp. Luckily I got one. This is the regexp: /(\[^\>\])(?=\<\[^\>\]?\>)/im In this case I’m able to get all the data betwee…

---

## [Missing template classified/update.erb in view path app/view](https://www.ruby-forum.com/t/missing-template-classified-update-erb-in-view-path-app-view/195208)

<div class="topic-metadata">

**Author:** [@binbash-x](https://www.ruby-forum.com/u/binbash-x)\
**Replies:** 7\
**Last updated:** [September 26, 2010, 7:34pm UTC](https://www.ruby-forum.com/t/missing-template-classified-update-erb-in-view-path-app-view/195208 "2010-09-26T19:34:38Z")

</div>

Iam trying to build a classified site, I’ve created the code to add,edit,delete posts. I am facing trouble with the edit part. When I click the edit link for a post it shows the form with all the textfields,after ent…

---

## [Rails 3 Support/Design](https://www.ruby-forum.com/t/rails-3-support-design/189985)

<div class="topic-metadata">

**Author:** [@geetarista](https://www.ruby-forum.com/u/geetarista)\
**Replies:** 7\
**Last updated:** [June 12, 2010, 1:18pm UTC](https://www.ruby-forum.com/t/rails-3-support-design/189985 "2010-06-12T13:18:02Z")

</div>

Since Rspec-Rails 2 is specifically geared toward Rails 3, I’m wondering why it doesn’t use railtie, the new generators, etc. Will it stay this way or is it planned to support that?

---

## [Flash In IE](https://www.ruby-forum.com/t/flash-in-ie/157409)

<div class="topic-metadata">

**Author:** [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Replies:** 7\
**Last updated:** [January 12, 2009, 2:41pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409 "2009-01-12T14:41:30Z")

</div>

Have a site that is using a basic flash slide show in the header. It shows on both MAC and PC platforms in every browser except IE. Anyone have insight? Sincere thanks. Kelly

---

## [Global Data, where can it go?](https://www.ruby-forum.com/t/global-data-where-can-it-go/97094)

<div class="topic-metadata">

**Author:** [@dustin](https://www.ruby-forum.com/u/dustin)\
**Replies:** 7\
**Last updated:** [June 1, 2006, 11:31pm UTC](https://www.ruby-forum.com/t/global-data-where-can-it-go/97094 "2006-06-01T23:31:23Z")

</div>

I’m developing a stateful Ruby application that needs to keep data in one location where all people accessing the site can modify its contents. This data will be read-from/written to often, so I would prefer for rail…

---

## [First program on Github](https://www.ruby-forum.com/t/first-program-on-github/244577)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [June 16, 2016, 2:05pm UTC](https://www.ruby-forum.com/t/first-program-on-github/244577 "2016-06-16T14:05:40Z")

</div>

I put a stupid simple program on Github. It’s based on the Bridge of Death scene in Monty Python’s Holy Grail. Feel free to take a look, criticize, and help me do it better. I won’t become a “real” programmer if I don…

---

## [Invalid Authenticity Token?](https://www.ruby-forum.com/t/invalid-authenticity-token/164040)

<div class="topic-metadata">

**Author:** [@Richie](https://www.ruby-forum.com/u/Richie)\
**Replies:** 5\
**Last updated:** [March 30, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/invalid-authenticity-token/164040 "2009-03-30T18:12:27Z")

</div>

Hi guys, Before I explain anything here’s my setup: Mac OS X Ruby 1.8.7 from source, RubyGems, Rails 2.3.2, MySQL from source, the ruby mysql adapter gem and mongrel. Firefox 3.07 I’m new to rails and happily under…

---

## [Error while starting webrick server](https://www.ruby-forum.com/t/error-while-starting-webrick-server/151706)

<div class="topic-metadata">

**Author:** [@sachinjoshi](https://www.ruby-forum.com/u/sachinjoshi)\
**Replies:** 5\
**Last updated:** [October 25, 2008, 9:27am UTC](https://www.ruby-forum.com/t/error-while-starting-webrick-server/151706 "2008-10-25T09:27:54Z")

</div>

I am getting the following error while booting webrick, I am a newbie not getting what needs to be done. Can any Expert help on this? Sachin F:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:328:in send'…

---

## [Problems with new cookie session store and firefox](https://www.ruby-forum.com/t/problems-with-new-cookie-session-store-and-firefox/124590)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 5\
**Last updated:** [December 31, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/problems-with-new-cookie-session-store-and-firefox/124590 "2007-12-31T22:14:29Z")

</div>

I run Rails 2.0.2 and use the new cookie based session store. My users get authenticated against a mysql database. When the credentials are ok I set session\[:userid\]. I use session\[:userid\] for example to track the u…

---

## [Help Needed with Deployment Issue in Ruby on Rails](https://www.ruby-forum.com/t/help-needed-with-deployment-issue-in-ruby-on-rails/264817)

<div class="topic-metadata">

**Author:** [@denizcan](https://www.ruby-forum.com/u/denizcan)\
**Replies:** 2\
**Last updated:** [June 21, 2024, 2:30pm UTC](https://www.ruby-forum.com/t/help-needed-with-deployment-issue-in-ruby-on-rails/264817 "2024-06-21T14:30:11Z")

</div>

Hi everyone, I’m new to Ruby on Rails and have been learning through ruby tutorial. I’ve recently encountered a problem with deploying my Rails app and could really use some help. Here’s the issue: I’m trying to deploy…

---

## [Rails processes ignore SIGTERM (kill)?](https://www.ruby-forum.com/t/rails-processes-ignore-sigterm-kill/50588)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 2\
**Last updated:** [November 13, 2005, 2:27pm UTC](https://www.ruby-forum.com/t/rails-processes-ignore-sigterm-kill/50588 "2005-11-13T14:27:52Z")

</div>

Hello, I’ve got a process that loads the environment, does some maintenace work and sleep()s a few minutes before it starts again. The problem is that I can’t kill the process with SIGTERM, I need kill -9 (SIGKILL). I…

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

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