# Top

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

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

---

## [How to include date and time?](https://www.ruby-forum.com/t/how-to-include-date-and-time/80332)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 6\
**Last updated:** [December 26, 2006, 5:11pm UTC](https://www.ruby-forum.com/t/how-to-include-date-and-time/80332 "2006-12-26T17:11:44Z")

</div>

Hello list, with the radius tag \<r:rfc1123\_date /\> i can include the date and time in my pages. However, which way can i modify the output of that radius tag? Or: Is it possible to include pure Ruby code in the page…

---

## [Read params from form ot working](https://www.ruby-forum.com/t/read-params-from-form-ot-working/74285)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 10:58am UTC](https://www.ruby-forum.com/t/read-params-from-form-ot-working/74285 "2006-11-07T10:58:11Z")

</div>

hi all, can someone tell me why I need to get the data from a form like the code below even when I dont want to create a NEW user?? I am confused @user = User.new(params\[:user\]) username = @user.username user = User.…

---

## [Calculating row COUNTs](https://www.ruby-forum.com/t/calculating-row-counts/62385)

<div class="topic-metadata">

**Author:** [@jtei](https://www.ruby-forum.com/u/jtei)\
**Replies:** 6\
**Last updated:** [June 4, 2006, 8:31am UTC](https://www.ruby-forum.com/t/calculating-row-counts/62385 "2006-06-04T08:31:06Z")

</div>

hi everyone, I’m trying to do a simple calculation in my rails project. I would like to find all rows in a table that match the given id of another table (ie. comment\_id) and has the value = 1 (“value” is a field in …

---

## [Can you enable coercion between types?](https://www.ruby-forum.com/t/can-you-enable-coercion-between-types/55268)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 6\
**Last updated:** [March 19, 2006, 4:20pm UTC](https://www.ruby-forum.com/t/can-you-enable-coercion-between-types/55268 "2006-03-19T16:20:34Z")

</div>

I have a ruby class called Duration that represents a unit of time. It’s main attribute is a number that represents the duration in seconds. If I try to save it to a DB using Rails, I get a “Duration can not be coerc…

---

## [I Love Ruby Updated](https://www.ruby-forum.com/t/i-love-ruby-updated/243847)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [January 20, 2016, 8:04pm UTC](https://www.ruby-forum.com/t/i-love-ruby-updated/243847 "2016-01-20T20:04:32Z")

</div>

Hello People, I have updated my Ruby book I Love Ruby. Please get it here https://cloud.openmailbox.org/index.php/s/u4sX065QRgjbJL2/download If possible, try contributing to https://www.openmailbox.org/ – Karthikeya…

---

## [Connection statuses](https://www.ruby-forum.com/t/connection-statuses/234255)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [February 19, 2015, 9:48pm UTC](https://www.ruby-forum.com/t/connection-statuses/234255 "2015-02-19T21:48:23Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Why does the the cookie\_string have two entries for my site?](https://www.ruby-forum.com/t/why-does-the-the-cookie-string-have-two-entries-for-my-site/231647)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 22, 2014, 7:58pm UTC](https://www.ruby-forum.com/t/why-does-the-the-cookie-string-have-two-entries-for-my-site/231647 "2014-08-22T19:58:21Z")

</div>

I’m having an issue with my Rails 3.2.19 app. If someone is idle on our site for 20 minutes and they had items in their cart, then on their next request, we clear their cart, redirect them to the homepage and displa…

---

## [REST routes, personnalisation d'une action](https://www.ruby-forum.com/t/rest-routes-personnalisation-dune-action/180546)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://www.ruby-forum.com/u/Nicolas_G)\
**Replies:** 5\
**Last updated:** [December 21, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/rest-routes-personnalisation-dune-action/180546 "2009-12-21T16:43:56Z")

</div>

Bonjour j’ai un modÃ¨le/controlleur Compta avec lequel j’utilise les routes par dÃ©faut et je voulais crÃ©er une action perso : tous ( dont le but est de lister toutes les comptas via un un find(:all) tout bÃªte.) d…

---

## [YAML troubles](https://www.ruby-forum.com/t/yaml-troubles/156075)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 5\
**Last updated:** [December 20, 2008, 10:32am UTC](https://www.ruby-forum.com/t/yaml-troubles/156075 "2008-12-20T10:32:48Z")

</div>

I am working on a ruby MUD server, and I wanted to save a list of characters in a separate YAML file. The YAML file should contain a hash for each character, being something like this: {“charactername” =\> \[“password”…

---

## [Word + win32ole - how to find formatting of a word?](https://www.ruby-forum.com/t/word-win32ole-how-to-find-formatting-of-a-word/151768)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 5\
**Last updated:** [October 27, 2008, 4:21am UTC](https://www.ruby-forum.com/t/word-win32ole-how-to-find-formatting-of-a-word/151768 "2008-10-27T04:21:21Z")

</div>

HI! I’m trying to use Ruby and win32ole to parse a Word document. So far, I’m able to extract the style and text of each paragraph. That works great to convert it into individual divs (in the HTML CSS sense). Now, …

---

## [Nginx and memcached](https://www.ruby-forum.com/t/nginx-and-memcached/143577)

<div class="topic-metadata">

**Author:** [@Istvan\_Szukacs](https://www.ruby-forum.com/u/Istvan_Szukacs)\
**Replies:** 5\
**Last updated:** [July 20, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/nginx-and-memcached/143577 "2008-07-20T22:57:29Z")

</div>

Hi folks! I try to use nginx with memcached with less success, maybe this is just a well known issue but i did not find anything in google: config: location / { set $memcached\_key $uri; memcach…

---

## [Querying persistent ruby objects in memory](https://www.ruby-forum.com/t/querying-persistent-ruby-objects-in-memory/105188)

<div class="topic-metadata">

**Author:** [@braver](https://www.ruby-forum.com/u/braver)\
**Replies:** 5\
**Last updated:** [May 27, 2007, 8:12am UTC](https://www.ruby-forum.com/t/querying-persistent-ruby-objects-in-memory/105188 "2007-05-27T08:12:28Z")

</div>

I have a data-mining task which loads data as a big XML tree (10+ MB) and then reorganizes it. Even loading it with Hpricot takes 10-20 seconds. I don’t want to do it for every manilupation I want to try, especially…

---

## [Controllers in folders and helper scope in Rails \>1.0](https://www.ruby-forum.com/t/controllers-in-folders-and-helper-scope-in-rails-1-0/58596)

<div class="topic-metadata">

**Author:** [@RafaSSS\_Komorowski](https://www.ruby-forum.com/u/RafaSSS_Komorowski)\
**Replies:** 5\
**Last updated:** [April 26, 2006, 5:20pm UTC](https://www.ruby-forum.com/t/controllers-in-folders-and-helper-scope-in-rails-1-0/58596 "2006-04-26T17:20:14Z")

</div>

Hi, Here’s my problem. I tried to google it, read the release-docs and haven’t found anything similar. My application uses folders to store controllers, as described in the Rails book. I need to have same-named contr…

---

## [How do I set the default value for date fields?](https://www.ruby-forum.com/t/how-do-i-set-the-default-value-for-date-fields/51628)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/how-do-i-set-the-default-value-for-date-fields/51628 "2006-01-04T19:24:06Z")

</div>

I want my date fields to default to NIL or “”, because the presence of a date means something. My problem is that rails is defaulting the fields to today’s date automatically when I create a new record through the sc…

---

## [What modules are using the query term "token" for access control?](https://www.ruby-forum.com/t/what-modules-are-using-the-query-term-token-for-access-control/243881)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [January 23, 2016, 11:21pm UTC](https://www.ruby-forum.com/t/what-modules-are-using-the-query-term-token-for-access-control/243881 "2016-01-23T23:21:26Z")

</div>

I have seen that couple media sites are using the “token” query term for access control to some media content and I was wondering what module can do that? For examples the request: http://example.com/media/111111.mp4…

---

## [Running rspec in spec/requests directory with cells fails](https://www.ruby-forum.com/t/running-rspec-in-spec-requests-directory-with-cells-fails/200796)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 22, 2010, 9:34pm UTC](https://www.ruby-forum.com/t/running-rspec-in-spec-requests-directory-with-cells-fails/200796 "2010-12-22T21:34:16Z")

</div>

Hi, not exactly sure if this is a cells bug or an rspec (or both), but when running a simple request spec from the spec/requests directory gets an error whereas running it from the RAILS ROOT directory it works… Seem…

---

## [Listcontrol problem](https://www.ruby-forum.com/t/listcontrol-problem/192166)

<div class="topic-metadata">

**Author:** [@Bruce\_Loving](https://www.ruby-forum.com/u/Bruce_Loving)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 7:28am UTC](https://www.ruby-forum.com/t/listcontrol-problem/192166 "2010-07-26T07:28:58Z")

</div>

trying to create a list control, filling with data, but it wont scroll vertically or respond to mouse click. require ‘rubygems’ require ‘wx’ include Wx class MyFrame \< Wx::Frame def initialize() super(nil,-1,‘Wrist…

---

## [Hash.new(0) vs. Hash.new { |h,k| h\[k\] = 0 }](https://www.ruby-forum.com/t/hash-new-0-vs-hash-new-h-k-h-k-0/177472)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 3\
**Last updated:** [October 19, 2009, 2:53am UTC](https://www.ruby-forum.com/t/hash-new-0-vs-hash-new-h-k-h-k-0/177472 "2009-10-19T02:53:13Z")

</div>

While putting DRYing some tests, I am trying to initialize a hash as follows: business = Business.new(0) But this returns an error in testing. Specifically: Error: test\_should\_have\_nils\_not\_zeroes\_except\_for\_sales…

---

## [FW: File.executable? always returns false on Windows machine](https://www.ruby-forum.com/t/fw-file-executable-always-returns-false-on-windows-machine/164664)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [April 4, 2009, 1:00am UTC](https://www.ruby-forum.com/t/fw-file-executable-always-returns-false-on-windows-machine/164664 "2009-04-04T01:00:39Z")

</div>

Anyone know what File.executable? is supposed to do? For me, it always returns false. For Jim, Tomas and others, it always returns true no matter what the file extension is. Any idea why we might be getting different …

---

## [Results of my small end of year poll](https://www.ruby-forum.com/t/results-of-my-small-end-of-year-poll/81084)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 3\
**Last updated:** [January 4, 2007, 12:57am UTC](https://www.ruby-forum.com/t/results-of-my-small-end-of-year-poll/81084 "2007-01-04T00:57:13Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, Here are the results of the poll 1- Do you use quick post tool ? No one seems to use it. 2- If not do you think it shall disappear without damage ? Seems to, …

---

## [Ruby-gnome2 and fedora core 6](https://www.ruby-forum.com/t/ruby-gnome2-and-fedora-core-6/74729)

<div class="topic-metadata">

**Author:** [@Tanguy\_E](https://www.ruby-forum.com/u/Tanguy_E)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:02am UTC](https://www.ruby-forum.com/t/ruby-gnome2-and-fedora-core-6/74729 "2006-11-07T11:02:33Z")

</div>

I installed a package built from ruby-gnome2-all (version 0.14.1) which include libart and requires libart\_lgpl-devel so the package seems to be built correctly. when i want to run alexandria i obtain this error : /u…

---

## [Stack memory overflow](https://www.ruby-forum.com/t/stack-memory-overflow/226638)

<div class="topic-metadata">

**Author:** [@gexus](https://www.ruby-forum.com/u/gexus)\
**Replies:** 2\
**Last updated:** [February 16, 2013, 9:51am UTC](https://www.ruby-forum.com/t/stack-memory-overflow/226638 "2013-02-16T09:51:39Z")

</div>

Hi, I occasionally get the following output when I run my code (test.sh is just a quick way of me running the java command with all the options I want): ./test.sh Error: Your application used more stack memory than t…

---

## [Coma/Punto Decimal Campo de Entrada](https://www.ruby-forum.com/t/coma-punto-decimal-campo-de-entrada/167330)

<div class="topic-metadata">

**Author:** [@forever](https://www.ruby-forum.com/u/forever)\
**Replies:** 2\
**Last updated:** [May 7, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/coma-punto-decimal-campo-de-entrada/167330 "2009-05-07T16:53:54Z")

</div>

Buenas tardes, tengo un problema, tengo un campo decimal en la base de datos. Y me gustarÃ­a que al poner los valores con comas en el formulario(Ej. 12,5) el valor lo guardase, el problema esque no lo interpreta corre…

---

## [Invalid Response From an Upstream Server](https://www.ruby-forum.com/t/invalid-response-from-an-upstream-server/151175)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/invalid-response-from-an-upstream-server/151175 "2008-10-18T18:05:45Z")

</div>

I have put together a Rails form-mailing application using Action Mailer and deployed it in a variety of instances without any problem. In my latest attempted deployment, however, I find that submitting the form resul…

---

## [Strange map $request issue](https://www.ruby-forum.com/t/strange-map-request-issue/230502)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 20, 2014, 7:36pm UTC](https://www.ruby-forum.com/t/strange-map-request-issue/230502 "2014-06-20T19:36:20Z")

</div>

For example: map $request $testvar { default 0; ~\*montytest 1; } if ($testvar) { return 412; } \[20/Jun/2014:xx:xx:20 +0200\] 69.64.xxxx:52393 - - “GET /monty…

---

## [Redirect help please this one's driving me mad!](https://www.ruby-forum.com/t/redirect-help-please-this-ones-driving-me-mad/239944)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 22, 2014, 10:12am UTC](https://www.ruby-forum.com/t/redirect-help-please-this-ones-driving-me-mad/239944 "2014-03-22T10:12:28Z")

</div>

I’m tryiing to migrate a site that uses codeigniter behind modx to draw pages, and this is the block that breaks the site when I remove it from .htaccess… RewriteRule ^$ home \[L\] RewriteCond %{HTTP\_HOST} ^(?:w…

---

## [Status 401 Behaviour Issue](https://www.ruby-forum.com/t/status-401-behaviour-issue/204726)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 20, 2011, 5:22am UTC](https://www.ruby-forum.com/t/status-401-behaviour-issue/204726 "2011-03-20T05:22:51Z")

</div>

Hi all. I noticed a certain behaviour of the 401 status code response I will like to change. Firstly, in Apache, there is an html page for 401 that is defined in the error\_page equivalent. When the request for a prot…

---

## [Windows, ODBC and charsets](https://www.ruby-forum.com/t/windows-odbc-and-charsets/197902)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 27, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/windows-odbc-and-charsets/197902 "2010-10-27T16:00:07Z")

</div>

Hi all, I’ve found very few on the net in regards of Windows and the option available in the ODBC Driver/ODBC Driver Manager. So the following problem still remain unsolved: irb\> require ‘odbc’ irb\> conn = ODBC::con…

---

## [Why no multiple submit?](https://www.ruby-forum.com/t/why-no-multiple-submit/61014)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 4\
**Last updated:** [August 13, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/why-no-multiple-submit/61014 "2009-08-13T15:07:23Z")

</div>

is it by design? is it standard? how do you give users multiple actions on a form?

---

## [Cnginx--- nginx ä¸­æ–‡è®ºå› nginx Chinese forum](https://www.ruby-forum.com/t/cnginx-nginx-a-ae-e-a-nginx-chinese-forum/167788)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 9:43am UTC](https://www.ruby-forum.com/t/cnginx-nginx-a-ae-e-a-nginx-chinese-forum/167788 "2009-05-20T09:43:03Z")

</div>

Hi, I have created nginx Chinese forum in google groups. http://groups.google.com/group/cnginx ä¸ºäº†æ–¹ä¾¿å›½å†…ç”¨æˆ·è®¨è®ºnginxï¼Œæˆ‘åœ¨google groupé‡Œåˆ›å»ºäº†nginxä¸­æ–‡è®ºå›ï¼Œ æ¬¢è¿Žå¤§å®¶åœ¨å“ªé‡Œç”¨ä¸­æ–‡è…

---

## [Actualizar campoantes del update](https://www.ruby-forum.com/t/actualizar-campoantes-del-update/165858)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 4\
**Last updated:** [April 19, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/actualizar-campoantes-del-update/165858 "2009-04-19T17:05:28Z")

</div>

Buenas estimados amigos de la lista. tengo una pequeÃ±a duda para ustedes, para mi es grande. antes de hacer un update necesito ir a traer un valor de otro modelo y llevarlo a un campo del modelo que quiero actualizar…

---

## [Anthony](https://www.ruby-forum.com/t/anthony/165161)

<div class="topic-metadata">

**Author:** [@antonio\_ortiz](https://www.ruby-forum.com/u/antonio_ortiz)\
**Replies:** 4\
**Last updated:** [April 13, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/anthony/165161 "2009-04-13T13:36:33Z")

</div>

Hola, Soy nuevo trabjando en RoR y ahora estoy realiznado ejemplos simples pero he tenido algunos problemas. Necesio saber si existe un buen tutorial de galerias de imagenes que me pueda ayudar. Cunado realizo los e…

---

## [Falla con capistrano y rake](https://www.ruby-forum.com/t/falla-con-capistrano-y-rake/161223)

<div class="topic-metadata">

**Author:** [@francob](https://www.ruby-forum.com/u/francob)\
**Replies:** 4\
**Last updated:** [February 25, 2009, 12:41am UTC](https://www.ruby-forum.com/t/falla-con-capistrano-y-rake/161223 "2009-02-25T00:41:01Z")

</div>

Hola amigos, tengo un problema con rake y capistrano, no sÃ© si es el lugar correcto, pero supongo que lo es dado que mucho de ustedes seguramente utilizan capistrano para hacer sus deploys si estoy equivocado y no e…

---

## [Building 1.9.1 as universal binary on OS X](https://www.ruby-forum.com/t/building-1-9-1-as-universal-binary-on-os-x/159568)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 4\
**Last updated:** [February 20, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/building-1-9-1-as-universal-binary-on-os-x/159568 "2009-02-20T23:10:07Z")

</div>

Hi I’d like to build the recently released Ruby 1.9.1 as a universal binary on OS X. I’m on an Intel 10.5, but want the ruby to be runnable on 10.4 or 10.5, Intel or PPC. Following this tech note and advice: http://…

---

## [Option on select form helper to customize "Select" text?](https://www.ruby-forum.com/t/option-on-select-form-helper-to-customize-select-text/159894)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [February 10, 2009, 1:24am UTC](https://www.ruby-forum.com/t/option-on-select-form-helper-to-customize-select-text/159894 "2009-02-10T01:24:02Z")

</div>

All, Is there any built-in way in the “select” form helper to display something other than “Select” in the :include\_blank option? Specifically, for a date helper, would like to show “Month”, “Day”, “Year” respectivel…

---

## [Calling methods on HttpServletRequest from a rails app](https://www.ruby-forum.com/t/calling-methods-on-httpservletrequest-from-a-rails-app/159418)

<div class="topic-metadata">

**Author:** [@Stefan\_Magnus\_Landr](https://www.ruby-forum.com/u/Stefan_Magnus_Landr)\
**Replies:** 4\
**Last updated:** [February 4, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/calling-methods-on-httpservletrequest-from-a-rails-app/159418 "2009-02-04T16:43:22Z")

</div>

Is there a way to call methods on the httpservletrequest from a jruby on rails app? I’m particularly interested in: getRemoteUser() isUserInRole() getPrincipal() Because we want to integrate a rails app in an SSO e…

---

## [ActiveRecord#attributes= with nested records](https://www.ruby-forum.com/t/activerecord-attributes-with-nested-records/127073)

<div class="topic-metadata">

**Author:** [@mahadewa](https://www.ruby-forum.com/u/mahadewa)\
**Replies:** 4\
**Last updated:** [January 25, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/activerecord-attributes-with-nested-records/127073 "2008-01-25T22:50:39Z")

</div>

Given an ActiveRecord A, that belongs\_to a B, which in turn belongs\_to a C, I can create a single form to edit all the attributes of these nested records in one go, leading to a params hash with structure like: {“a” …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/116817)

<div class="topic-metadata">

**Author:** [@Mirko\_KiroviSS263](https://www.ruby-forum.com/u/Mirko_KiroviSS263)\
**Replies:** 4\
**Last updated:** [October 10, 2007, 4:28am UTC](https://www.ruby-forum.com/t/no-subject/116817 "2007-10-10T04:28:35Z")

</div>

How can I set a cookie from an extension? I somehow can’t manage to get access to ApplicationController and as soon as I add request.cookies\[‘lang’\] = CGI::Cookie.new(‘name’ =\> ‘lang’, ‘value’ =\> ‘sr’) to ‘def activ…

---

## [Legacy database support (iSeries / as/400)](https://www.ruby-forum.com/t/legacy-database-support-iseries-as-400/88926)

<div class="topic-metadata">

**Author:** [@shawn](https://www.ruby-forum.com/u/shawn)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/legacy-database-support-iseries-as-400/88926 "2007-03-16T18:07:00Z")

</div>

I would really like to incorporate Ruby in my organization, but I have been mostly limited to Java (for the past 10 years or so) due to the availability of mature JDBC drivers (particularly for as/400 aka i5 aka iSeri…

---

## [How do I tell extconf.rb/mkmf NOT to try and use cl.exe](https://www.ruby-forum.com/t/how-do-i-tell-extconf-rb-mkmf-not-to-try-and-use-cl-exe/83112)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [January 23, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/how-do-i-tell-extconf-rb-mkmf-not-to-try-and-use-cl-exe/83112 "2007-01-23T20:45:00Z")

</div>

I’m trying to compile an extension on Windows using ruby extconf.rb. However, if I try it in Cygwin or in a command window (with MinGW’s bin directory in the PATH), it fails and the mkmf.log file shows that the “cl” e…

---

## [Edge and 1.8.2/1.8.4 issues](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 4\
**Last updated:** [March 26, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976 "2006-03-26T18:21:03Z")

</div>

I recently upgraded to 1.8.4 to try out mongrel, and so far have been in a kind of hell where I can’t get my app working! Currently running (or trying to run): Ruby version 1.8.4 (i386-mswin32) RubyGems version 0.…

---

## [(52) Empty reply from server on slow response](https://www.ruby-forum.com/t/52-empty-reply-from-server-on-slow-response/244842)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 23, 2016, 2:24pm UTC](https://www.ruby-forum.com/t/52-empty-reply-from-server-on-slow-response/244842 "2016-06-23T14:24:58Z")

</div>

Hi, I have a node.js/express backend with nginx. Everything works fine except one request which gives back (52) Empty reply from server on slow responses ONLY (this request aggregates remote data, so in some very sp…

---

## [Array of hash: return or remove element with duplicate value](https://www.ruby-forum.com/t/array-of-hash-return-or-remove-element-with-duplicate-value/243517)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 10:24pm UTC](https://www.ruby-forum.com/t/array-of-hash-return-or-remove-element-with-duplicate-value/243517 "2015-11-27T22:24:17Z")

</div>

Ciao ragazzi Vorrei fare una cosa del genere: Input: a = \[{:scan\_name=\>“cse”, :ip=\>" 12"}, {:scan\_name=\>“e”, :ip=\>“18”}, {:scan\_name=\>“df”, :ip=\>“18”}\] Output: b = \[ {:scan\_name=\>“e”, :ip=\>“18”}, {:scan\_name=\>“…

---

## [Warning: regexp match /./n against to UTF-8 string](https://www.ruby-forum.com/t/warning-regexp-match-n-against-to-utf-8-string/219680)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 11, 2012, 5:24pm UTC](https://www.ruby-forum.com/t/warning-regexp-match-n-against-to-utf-8-string/219680 "2012-05-11T17:24:43Z")

</div>

\[Rails 3.2.3 / Ruby 1.9.3 I18n.locale :fr … =\> accentuated characters =\> need UTF-8) It’s very annoying that I need to place an ’ # encoding: utf-8’ at the beginning of most of my Rails script files … I can unders…

---

## [Hi, i am a start developer in ruby, i need to do a make a duble validation in my project](https://www.ruby-forum.com/t/hi-i-am-a-start-developer-in-ruby-i-need-to-do-a-make-a-duble-validation-in-my-project/264670)

<div class="topic-metadata">

**Author:** [@arthurpereti](https://www.ruby-forum.com/u/arthurpereti)\
**Replies:** 2\
**Last updated:** [March 10, 2024, 7:54am UTC](https://www.ruby-forum.com/t/hi-i-am-a-start-developer-in-ruby-i-need-to-do-a-make-a-duble-validation-in-my-project/264670 "2024-03-10T07:54:56Z")

</div>

My code is this: I left de validation part bold, i want the num1 and num2 Integer ou float, but i not write .to\_i our .to\_f in gets.chomp because i will broak the validation string, i tested write != String in local th…

---

## [HTTP not working / downloads 57 byte small file](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 30, 2016, 4:07pm UTC](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694 "2016-05-30T16:07:45Z")

</div>

Hello, like mentioned in the title HTTP isn’t working at all anymore. HTTPS works fine. I already tried default vhost config but no luck there. I have no idea what is going on and I didn’t even find anything with goo…

---

## [Test più veloci con il DB in un ramdisk?](https://www.ruby-forum.com/t/test-piu-veloci-con-il-db-in-un-ramdisk/233415)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 14, 2014, 8:11am UTC](https://www.ruby-forum.com/t/test-piu-veloci-con-il-db-in-un-ramdisk/233415 "2014-12-14T08:11:34Z")

</div>

Casomai ve lo chiediate anche voi, stamattina ho fatto questa prova che avevo nella lista dei desideri da anni. La risposta in breve è no, non vanno più veloci. I dettagli sono in questo mio post Sarei felice di ess…

---

## [NaNNaNNaN WATMAN!](https://www.ruby-forum.com/t/nannannan-watman/226693)

<div class="topic-metadata">

**Author:** [@apprendistastregone](https://www.ruby-forum.com/u/apprendistastregone)\
**Replies:** 2\
**Last updated:** [February 18, 2013, 2:54pm UTC](https://www.ruby-forum.com/t/nannannan-watman/226693 "2013-02-18T14:54:04Z")

</div>

Questo talk sul WAT behaviour e tutto con esempi ruby e javascript . mostra alcuni strani comportamenti di ruby: Epico! Davide

---

## [Problem with acts\_as\_ferret and REE-20090421](https://www.ruby-forum.com/t/problem-with-acts-as-ferret-and-ree-20090421/167498)

<div class="topic-metadata">

**Author:** [@yar](https://www.ruby-forum.com/u/yar)\
**Replies:** 2\
**Last updated:** [May 9, 2009, 11:02pm UTC](https://www.ruby-forum.com/t/problem-with-acts-as-ferret-and-ree-20090421/167498 "2009-05-09T23:02:02Z")

</div>

Hi Apparently script/ferret\_server (with ruby enterprise edition) silently crashes upon the first attempt to connect to it. Nothing is written to the log files, no messages, nothing. Must be something with DRb. I wish …

---

## [PostgreSQL specific data types in migrations](https://www.ruby-forum.com/t/postgresql-specific-data-types-in-migrations/158280)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 2\
**Last updated:** [January 22, 2009, 3:01am UTC](https://www.ruby-forum.com/t/postgresql-specific-data-types-in-migrations/158280 "2009-01-22T03:01:16Z")

</div>

I am willing to give up the common denominator in database compatibility and dive into using some PostgreSQL specific types. In particular, I need bigint (int8) id columns and ‘cidr’ data type. I know I can fake it w…

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

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