# Top

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

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

---

## [Parsing a time span](https://www.ruby-forum.com/t/parsing-a-time-span/149684)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 4\
**Last updated:** [September 28, 2008, 8:27am UTC](https://www.ruby-forum.com/t/parsing-a-time-span/149684 "2008-09-28T08:27:55Z")

</div>

Hello- I’m trying to find the best way to turn a string like “3 days” or “72 hours” into some sort of time span representation. My first question is what is the best way to store a duration like this? In seconds? Seco…

---

## [Use bitmapButton with mouseEvent?](https://www.ruby-forum.com/t/use-bitmapbutton-with-mouseevent/135208)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 4\
**Last updated:** [April 19, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/use-bitmapbutton-with-mouseevent/135208 "2008-04-19T22:38:33Z")

</div>

hi. I want to make button that can change picture when mouse is entering and can click to use function. and this is my code. @button2 = BitmapButton.new(@window, -1, @picturebox1\_bmp, Point.new(248,89), Size.new…

---

## [Og \[RFC\]: More jargon](https://www.ruby-forum.com/t/og-rfc-more-jargon/116499)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 4\
**Last updated:** [October 7, 2007, 12:36pm UTC](https://www.ruby-forum.com/t/og-rfc-more-jargon/116499 "2007-10-07T12:36:51Z")

</div>

Hi Devs, I’d appreciate thought and comments on the following. A word in advance, I’m not proposing immediate changes, but rather settling on some nomenclature that, when an oppotunity arises can be put in place/impl…

---

## [Using a Rails plugin in Radiant extensions](https://www.ruby-forum.com/t/using-a-rails-plugin-in-radiant-extensions/105965)

<div class="topic-metadata">

**Author:** [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Replies:** 4\
**Last updated:** [June 5, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/using-a-rails-plugin-in-radiant-extensions/105965 "2007-06-05T19:14:21Z")

</div>

I’m trying to make a radiant friendly wrapping around the Authorization plugin (http://www.writertopia.com/developers/authorization) and I was wondering: what’s the best way to use a Rails plugin inside of a Radiant …

---

## [Mini\_Magick Problem](https://www.ruby-forum.com/t/mini-magick-problem/68612)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 4\
**Last updated:** [September 14, 2006, 7:58pm UTC](https://www.ruby-forum.com/t/mini-magick-problem/68612 "2006-09-14T19:58:28Z")

</div>

I can’t for the life of me figure this out. Been banging my head on this since the weekend, and can’t see what I’m doing wrong. This code works: image.resize(“640x480”) image.write(path) I run this and I get the re…

---

## [PHP ob\_start in Ruby](https://www.ruby-forum.com/t/php-ob-start-in-ruby/52853)

<div class="topic-metadata">

**Author:** [@eduard](https://www.ruby-forum.com/u/eduard)\
**Replies:** 4\
**Last updated:** [January 20, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/php-ob-start-in-ruby/52853 "2006-01-20T21:10:00Z")

</div>

I need to include Content-Length in each file. In PHP it would be: \<?php ob\_start(); ?\> html \<?php header('Content-Length: ' . ob\_get\_length()); ob\_end\_flush(); ?\> How can I do the same in Ruby? Thanks, eduard …

---

## [What is the purpose of "#{$0}"?](https://www.ruby-forum.com/t/what-is-the-purpose-of-0/240501)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 26, 2014, 6:30am UTC](https://www.ruby-forum.com/t/what-is-the-purpose-of-0/240501 "2014-04-26T06:30:15Z")

</div>

when I run this snippet, puts “I’m the #{$0} script.” I can see the output like, I’m the exercise.rb script. Here, I realized that “#{$0}” interpolated the exercise.rb into the String. How does it happened? I see …

---

## [Byte strings](https://www.ruby-forum.com/t/byte-strings/236497)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 8, 2013, 6:39am UTC](https://www.ruby-forum.com/t/byte-strings/236497 "2013-09-08T06:39:05Z")

</div>

It appears that in Ruby2.0 it’s impossible to treat strings as mutable byte arrays. Is there any replacement? FWIW, the string is initialized with: v = \[“00” \* len\].pack(“H\*”) and trouble is caused at: q,r …

---

## [What is Vector#map2?](https://www.ruby-forum.com/t/what-is-vector-map2/235652)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 5, 2013, 9:38pm UTC](https://www.ruby-forum.com/t/what-is-vector-map2/235652 "2013-07-05T21:38:26Z")

</div>

Hi, Can anyone give me one example to understand the functionality of Vector#map2(http://yard.ruby-doc.org/stdlib-2.0/Vector.html#collect2-instance\_method). I understand the Vector#map. require ‘matrix’ a = \[1, 2, 3…

---

## [Consuming RESTful api with activeResource](https://www.ruby-forum.com/t/consuming-restful-api-with-activeresource/223609)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 13, 2012, 3:43am UTC](https://www.ruby-forum.com/t/consuming-restful-api-with-activeresource/223609 "2012-10-13T03:43:32Z")

</div>

Hi, I’m being asked to use this api to retrieve the data because the ror application won’t have any database to store the users information, the database will only be accessed by this api. For example for creating a …

---

## [JRuby 1.7.0.preview1 (RUBYOPT=--1.8) and java "1.7.0\_05" - SystemStackError (stack level too deep)](https://www.ruby-forum.com/t/jruby-1-7-0-preview1-rubyopt-1-8-and-java-1-7-0-05-systemstackerror-stack-level-too-deep/220781)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 20, 2012, 4:39am UTC](https://www.ruby-forum.com/t/jruby-1-7-0-preview1-rubyopt-1-8-and-java-1-7-0-05-systemstackerror-stack-level-too-deep/220781 "2012-06-20T04:39:58Z")

</div>

Dear Friends, I am delighted to be working on JRuby 1.7.0.preview1 and seek your help on something that has tripped me. Here’s my environment … java version “1.7.0\_05” Java™ SE Runtime Environment (build 1.7.0\_05-b0…

---

## [Burst timestamps not being respected](https://www.ruby-forum.com/t/burst-timestamps-not-being-respected/219257)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 25, 2012, 6:20pm UTC](https://www.ruby-forum.com/t/burst-timestamps-not-being-respected/219257 "2012-04-25T18:20:53Z")

</div>

Hi all, \*\* Warning: this is rather a Josh question, but anyone’s comments are welcome :stuck\_out\_tongue: \*\* I’m running some flowgraphs in Python that transmit timed bursts. I implemented a burst\_tagger block whose w…

---

## [Gem list --remote --details gives "ERROR: While executing gem (NoMethodError)"](https://www.ruby-forum.com/t/gem-list-remote-details-gives-error-while-executing-gem-nomethoderror/204982)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 27, 2011, 2:39pm UTC](https://www.ruby-forum.com/t/gem-list-remote-details-gives-error-while-executing-gem-nomethoderror/204982 "2011-03-27T14:39:35Z")

</div>

Content preview: Hi, when trying $ gem list --remote --details \[…\] Content analysis details: (-2.9 points, 5.0 required) pts rule name description -1.0 ALL\_TRUSTED Passed through trusted h…

---

## [Testing routes with a prefix](https://www.ruby-forum.com/t/testing-routes-with-a-prefix/204837)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 23, 2011, 7:47pm UTC](https://www.ruby-forum.com/t/testing-routes-with-a-prefix/204837 "2011-03-23T19:47:33Z")

</div>

Hi experts, I am trying to test routing in my application, where all routes are enclosed in a namespace like so: scope ‘v1’ do resource :blah end collection do something end end end Is there a clean way to set …

---

## [Rails3/rspec2: how to write mailer tests?](https://www.ruby-forum.com/t/rails3-rspec2-how-to-write-mailer-tests/194338)

<div class="topic-metadata">

**Author:** [@nathanvda](https://www.ruby-forum.com/u/nathanvda)\
**Replies:** 5\
**Last updated:** [September 2, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/rails3-rspec2-how-to-write-mailer-tests/194338 "2010-09-02T17:24:47Z")

</div>

This will sound awfully stupid, but i have no idea how to start writing any mailer tests. I have a mailer class class SmsMailer \< ActionMailer::Base def fake\_sms(envelope) mail(:to =\> envelope.user.email) end…

---

## [Control de sesiones](https://www.ruby-forum.com/t/control-de-sesiones/157707)

<div class="topic-metadata">

**Author:** [@admon](https://www.ruby-forum.com/u/admon)\
**Replies:** 5\
**Last updated:** [January 15, 2009, 10:57am UTC](https://www.ruby-forum.com/t/control-de-sesiones/157707 "2009-01-15T10:57:29Z")

</div>

Hola lista, Estoy intentando crear para mi aplicaciÃ³n una medida de seguridad referente a la expiracion de las sesiones. Lo que quiero es que una sesion finalice si ha estado 15 minutos sin refrescarse o lleva 12 hor…

---

## [Come leggo correttamente i caratteri accentati dell'italiano?](https://www.ruby-forum.com/t/come-leggo-correttamente-i-caratteri-accentati-dellitaliano/129876)

<div class="topic-metadata">

**Author:** [@xaryo](https://www.ruby-forum.com/u/xaryo)\
**Replies:** 5\
**Last updated:** [March 7, 2008, 11:12am UTC](https://www.ruby-forum.com/t/come-leggo-correttamente-i-caratteri-accentati-dellitaliano/129876 "2008-03-07T11:12:46Z")

</div>

Una cosa banale. Leggo un testo in italiano e ovviamente ha le lettere accentate che sono èòàìùé. Ora siccome mi rompono sempre le scatole quando porto i testi in html, con la menata della codifica caratteri, vorrei f…

---

## [Unable to gem install rdoc. Can somebody suggest something?](https://www.ruby-forum.com/t/unable-to-gem-install-rdoc-can-somebody-suggest-something/93742)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 5\
**Last updated:** [September 1, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/unable-to-gem-install-rdoc-can-somebody-suggest-something/93742 "2006-09-01T12:37:21Z")

</div>

I’m running on Ubuntu, and have gems kindof apparently installed, and yet I cannot install rdoc: root@baldwin:~# gem install -r rdoc Attempting remote installation of ‘rdoc’ ERROR: While executing gem … (Gem::GemNo…

---

## [Shelve module in Ruby?](https://www.ruby-forum.com/t/shelve-module-in-ruby/50741)

<div class="topic-metadata">

**Author:** [@bryan](https://www.ruby-forum.com/u/bryan)\
**Replies:** 5\
**Last updated:** [December 21, 2005, 11:20pm UTC](https://www.ruby-forum.com/t/shelve-module-in-ruby/50741 "2005-12-21T23:20:55Z")

</div>

Hi, I’m fairly new to Ruby and I was wondering if there was a module that functions similarly to the shelve module in Python. The shelve module is a method for packaging a dictionary (hash) of arbritrary objects into…

---

## [Unicorn error when restart](https://www.ruby-forum.com/t/unicorn-error-when-restart/230662)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [July 18, 2014, 2:36pm UTC](https://www.ruby-forum.com/t/unicorn-error-when-restart/230662 "2014-07-18T14:36:49Z")

</div>

When I restart unicorn it throws error stating Master failed to start please see stderr.log for more details How can I fix this error

---

## [Not changes layouts](https://www.ruby-forum.com/t/not-changes-layouts/241142)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [May 15, 2014, 3:37pm UTC](https://www.ruby-forum.com/t/not-changes-layouts/241142 "2014-05-15T15:37:48Z")

</div>

Hi, when i upload changes on layouts in production no show changes. So I bundle exec rake tmp:clear RAILS\_ENV=production bundle exec rake log:clear RAILS\_ENV=production bundle exec rake assets:clean RAILS\_ENV=producti…

---

## [Nginx-1.2.6](https://www.ruby-forum.com/t/nginx-1-2-6/226510)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 7\
**Last updated:** [December 12, 2012, 1:30pm UTC](https://www.ruby-forum.com/t/nginx-1-2-6/226510 "2012-12-12T13:30:56Z")

</div>

Changes with nginx 1.2.6 11 Dec 2012 \*) Feature: the $request\_time and $msec variables can now be used not only in the “log\_format” directive. \*) Bugfix: cache manager and ca…

---

## [\[ruby-trunk - Bug #7452\]\[Assigned\] Main thread is stopped after running finalizers if the main threa](https://www.ruby-forum.com/t/ruby-trunk-bug-7452-assigned-main-thread-is-stopped-after-running-finalizers-if-the-main-threa/224839)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [November 29, 2012, 10:01am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7452-assigned-main-thread-is-stopped-after-running-finalizers-if-the-main-threa/224839 "2012-11-29T10:01:49Z")

</div>

Issue #7452 has been reported by mrkn (Kenta M.). Bug #7452: Main thread is stopped after running finalizers if the main thread has a finalizer Author: mrkn (Kenta M.) Status: Assigned Priority: Normal Assignee: …

---

## [Multiple models and views in 'transactions'](https://www.ruby-forum.com/t/multiple-models-and-views-in-transactions/224626)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [November 20, 2012, 5:35pm UTC](https://www.ruby-forum.com/t/multiple-models-and-views-in-transactions/224626 "2012-11-20T17:35:03Z")

</div>

Hi, I’m not surely if I’m going to be able to explain well … We have a Rails 3.2 with backend PostgreSQL. We have 5 models that are nested/related between them, and all must be created/updated/destroyed in block, lik…

---

## [Find\_by\_id and find\_by\_email methods are not available to me](https://www.ruby-forum.com/t/find-by-id-and-find-by-email-methods-are-not-available-to-me/212395)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 2, 2011, 6:11am UTC](https://www.ruby-forum.com/t/find-by-id-and-find-by-email-methods-are-not-available-to-me/212395 "2011-10-02T06:11:56Z")

</div>

Hello everyone, I’m learning Rails through the railtutorial.org book. I’m following very closely every detail taught in the book. However, there’s something that I don’t seem to find a solution. I have the following …

---

## [Attachment zip que no se reconoce en el remitente](https://www.ruby-forum.com/t/attachment-zip-que-no-se-reconoce-en-el-remitente/137503)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 7\
**Last updated:** [May 13, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/attachment-zip-que-no-se-reconoce-en-el-remitente/137503 "2008-05-13T23:23:27Z")

</div>

Tengo el siguiente modelo: class Notificar \< ActionMailer::Base # attachments def signup\_notificar(recipe) recipients ‘“Angel Pino” removed\_email\_address@domain.invalid’ subject “Informe de facturaci…

---

## [How to Diff Between Two Snapshots](https://www.ruby-forum.com/t/how-to-diff-between-two-snapshots/121789)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 7\
**Last updated:** [December 3, 2007, 5:53pm UTC](https://www.ruby-forum.com/t/how-to-diff-between-two-snapshots/121789 "2007-12-03T17:53:37Z")

</div>

One of my biggest painpoints with Radiant is figuring out what is different on my local copy and my test server’s copy and keeping them in sync. I think I just figured out a half-decent way to do it… First you need t…

---

## [( An attempt ) to run GNURadio on WinTV : )](https://www.ruby-forum.com/t/an-attempt-to-run-gnuradio-on-wintv/83499)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/an-attempt-to-run-gnuradio-on-wintv/83499 "2007-09-25T22:30:58Z")

</div>

Hello there! Thank you for your response. I am using WinTV-PVR USB2 . Question : Is this the right way of replying to maintain the thread of the discussion ? Ahh well …time …say 12 hours will tell me : ) It is intere…

---

## [Testing cron jobs that run script/runner](https://www.ruby-forum.com/t/testing-cron-jobs-that-run-script-runner/112965)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 1\
**Last updated:** [August 25, 2007, 4:03am UTC](https://www.ruby-forum.com/t/testing-cron-jobs-that-run-script-runner/112965 "2007-08-25T04:03:20Z")

</div>

I’ve got some logic that runs periodically and I want to include that in my tests. I guess, the test will need to modify the Time.now(), so that I can trigger events to happen and also run some code, in the same way …

---

## [Alias\_method in a plugin](https://www.ruby-forum.com/t/alias-method-in-a-plugin/104824)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 7\
**Last updated:** [May 23, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/alias-method-in-a-plugin/104824 "2007-05-23T22:07:14Z")

</div>

Hi all, I’m trying to override some method of a class. I’ve created an acts\_as\_money method. The first parameter is the method name that should be overridden. For example: I have a model with an attribute “amount”. I…

---

## [Collection\_select is quoting my text\_method text?](https://www.ruby-forum.com/t/collection-select-is-quoting-my-text-method-text/70093)

<div class="topic-metadata">

**Author:** [@dmack](https://www.ruby-forum.com/u/dmack)\
**Replies:** 7\
**Last updated:** [October 7, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/collection-select-is-quoting-my-text-method-text/70093 "2006-10-07T16:24:37Z")

</div>

I have a table that contains currencies I support which has the columns: id, ch (the character to display when showing currency) name (the human name of the currency …) This table is currently loaded with these valu…

---

## [Not finding a breakpoint + values are nil](https://www.ruby-forum.com/t/not-finding-a-breakpoint-values-are-nil/68731)

<div class="topic-metadata">

**Author:** [@bikle](https://www.ruby-forum.com/u/bikle)\
**Replies:** 7\
**Last updated:** [September 16, 2006, 6:01am UTC](https://www.ruby-forum.com/t/not-finding-a-breakpoint-values-are-nil/68731 "2006-09-16T06:01:52Z")

</div>

Ruby seems to be passing over a breakpoint in a class initialize function. “Got grid” is the only break that occurs before the program hits a bug. What is Grid.new doing, and how come the “Grid initialized” breakpoi…

---

## [How to print stuff in RTHML embedded code (equiv to php "ech](https://www.ruby-forum.com/t/how-to-print-stuff-in-rthml-embedded-code-equiv-to-php-ech/77619)

<div class="topic-metadata">

**Author:** [@Namor](https://www.ruby-forum.com/u/Namor)\
**Replies:** 7\
**Last updated:** [August 3, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/how-to-print-stuff-in-rthml-embedded-code-equiv-to-php-ech/77619 "2006-08-03T14:21:54Z")

</div>

Hi I got a very noob question which i cant understand why i cant do things like this… eg… inside. helloworld.rhtml \<% puts "hello" puts "world" puts "something something" %\> I know …

---

## [Mongrel Web Server 0.3.12.1 -- Iron Mongrel](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-1-iron-mongrel/93511)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 7\
**Last updated:** [April 8, 2006, 9:18pm UTC](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-1-iron-mongrel/93511 "2006-04-08T21:18:44Z")

</div>

Hello All Mongrel Users, For the unintiated, Mongrel is a web server that runs Ruby web applications really fast. Read http://mongrel.rubyforge.org/ to get find out more about it. This is the Iron Mongrel release.…

---

## [Regular expression for get block by block](https://www.ruby-forum.com/t/regular-expression-for-get-block-by-block/231909)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 8, 2014, 1:39pm UTC](https://www.ruby-forum.com/t/regular-expression-for-get-block-by-block/231909 "2014-09-08T13:39:46Z")

</div>

if i have a file like this: class My Class \< Core::TEstsaldjl def test01dfldsfl assert(“djdjdj”) puts “logiicl” end def test02sldkfjdsjl assert(kdjslafdljs) end def test03 mymethod #this is just an example en…

---

## [Confusion with Hash duplicate key removal](https://www.ruby-forum.com/t/confusion-with-hash-duplicate-key-removal/246161)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [September 10, 2013, 4:58pm UTC](https://www.ruby-forum.com/t/confusion-with-hash-duplicate-key-removal/246161 "2013-09-10T16:58:58Z")

</div>

Hi, I have one basic question to ask regarding Hash key. Follow the below : “foo”.object\_id # =\> 72994000 “foo”.object\_id # =\> 72993390 {“foo” =\>2,“foo” =\>3} # =\> {“foo”=\>3} I do know that Hash don’t allow duplicate…

---

## [Prevent Chrome SSL Domain Mismatch Warning When Redirecting](https://www.ruby-forum.com/t/prevent-chrome-ssl-domain-mismatch-warning-when-redirecting/229357)

<div class="topic-metadata">

**Author:** [@isabull](https://www.ruby-forum.com/u/isabull)\
**Replies:** 3\
**Last updated:** [January 3, 2013, 8:04pm UTC](https://www.ruby-forum.com/t/prevent-chrome-ssl-domain-mismatch-warning-when-redirecting/229357 "2013-01-03T20:04:49Z")

</div>

Hello, I have a SSL cert setup for a domain with no subdomain, i.e. mydomain.org. And a server block setup to redirect all https ‘www’ subdomain requests to the non subdomain server block. This works fine in Safar…

---

## [Having A Problem Understanding mocks with .build](https://www.ruby-forum.com/t/having-a-problem-understanding-mocks-with-build/214518)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 4, 2011, 10:55pm UTC](https://www.ruby-forum.com/t/having-a-problem-understanding-mocks-with-build/214518 "2011-12-04T22:55:47Z")

</div>

Hello everyone, I am trying to do the following … before(:each) do @valid\_attributes = {:foo =\> ‘bar’} @event\_type = event\_category.event\_types.build(@valid\_attributes) $stderr.puts "\*\*\*\* #{@event\_type.class} \*\*\*\*\*" …

---

## [Implement typo into an existing site](https://www.ruby-forum.com/t/implement-typo-into-an-existing-site/213650)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 8, 2011, 2:31am UTC](https://www.ruby-forum.com/t/implement-typo-into-an-existing-site/213650 "2011-11-08T02:31:01Z")

</div>

Hi, is there any documentation for implementing typo into an existing site?

---

## [Problem with Ruby 1.9.3 RC1 and YAML files](https://www.ruby-forum.com/t/problem-with-ruby-1-9-3-rc1-and-yaml-files/212369)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 2, 2011, 11:54pm UTC](https://www.ruby-forum.com/t/problem-with-ruby-1-9-3-rc1-and-yaml-files/212369 "2011-11-02T23:54:46Z")

</div>

I am trying to get ruby 1.9.3 rc1 to work and it fails because of my yaml files: psych.rb:154:in \`parse’: (/test/system.yml): couldn’t parse YAML at line 0 column 0 (Psych::SyntaxError) If I do this however: YAML::E…

---

## [VTE - question about .feed](https://www.ruby-forum.com/t/vte-question-about-feed/210366)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 19, 2011, 11:08am UTC](https://www.ruby-forum.com/t/vte-question-about-feed/210366 "2011-08-19T11:08:08Z")

</div>

Hello, I use .feed on VTE Terminal: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Vte%3A%3ATerminal#feed Example: vte\_terminal.feed ‘ata’ I use this for a VTE where I right click on the window, and the .feed string ge…

---

## [Sonia Gandhi](https://www.ruby-forum.com/t/sonia-gandhi/193874)

<div class="topic-metadata">

**Author:** [@manish\_belsare](https://www.ruby-forum.com/u/manish_belsare)\
**Replies:** 0\
**Last updated:** [August 25, 2010, 11:56pm UTC](https://www.ruby-forum.com/t/sonia-gandhi/193874 "2010-08-25T23:56:18Z")

</div>

Engine-Users mailing list removed\_email\_address@domain.invalid http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

---

## [Basic Rails 3 app works (FYI review)](https://www.ruby-forum.com/t/basic-rails-3-app-works-fyi-review/184699)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [March 7, 2010, 4:26am UTC](https://www.ruby-forum.com/t/basic-rails-3-app-works-fyi-review/184699 "2010-03-07T04:26:33Z")

</div>

tfpt review “/shelveset:r3;REDMOND\\sborde” Add a stub implementation of YAML.add\_builtin\_type. With this fix, I can create a Rails 3 app, add a controller, start the server, and request the main page! See Ruby on Rai…

---

## [Converting Acts\_As\_Tree to Acts\_As\_Nested\_Set](https://www.ruby-forum.com/t/converting-acts-as-tree-to-acts-as-nested-set/160551)

<div class="topic-metadata">

**Author:** [@mindtonic](https://www.ruby-forum.com/u/mindtonic)\
**Replies:** 8\
**Last updated:** [May 30, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/converting-acts-as-tree-to-acts-as-nested-set/160551 "2009-05-30T16:38:42Z")

</div>

Hello, I have a tree structure that needs to be converted into a nested set. A great deal of work has already been done on the tree items, so maintaining the integrity of the id’s is mandatory. However I need the ab…

---

## [Problema con ruby recien instalado](https://www.ruby-forum.com/t/problema-con-ruby-recien-instalado/165835)

<div class="topic-metadata">

**Author:** [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Replies:** 3\
**Last updated:** [April 18, 2009, 2:19pm UTC](https://www.ruby-forum.com/t/problema-con-ruby-recien-instalado/165835 "2009-04-18T14:19:15Z")

</div>

Acabo de instalar ruby gems y rails… en un mac corriendo Tiger. La cosa es que me meto a localhost:3000 y ahi cuando hago clic a “about your applicacions environment” me sale este error We’re sorry, but something went…

---

## [Timed\_fragment\_cache always expires](https://www.ruby-forum.com/t/timed-fragment-cache-always-expires/105850)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 8\
**Last updated:** [July 28, 2008, 10:35am UTC](https://www.ruby-forum.com/t/timed-fragment-cache-always-expires/105850 "2008-07-28T10:35:52Z")

</div>

I have downloaded the latest version of the plugin timed\_fragment\_cache. Which makes timed cache expiration possible in the filesystem. My first experiment was this: In my controller I have the following code: when\_f…

---

## [Re: Unified ferret\_start and ferret\_stop](https://www.ruby-forum.com/t/re-unified-ferret-start-and-ferret-stop/119278)

<div class="topic-metadata">

**Author:** [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Replies:** 3\
**Last updated:** [December 12, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/re-unified-ferret-start-and-ferret-stop/119278 "2007-12-12T18:11:42Z")

</div>

Sorry for the top posting. I posted this to the ruby-forum site on the 25th of October but it doesn’t seem to have made it’s way to this mailing list. Here is the original post: I’ve attached my first set of change…

---

## [How to handle reserved names in legacy database](https://www.ruby-forum.com/t/how-to-handle-reserved-names-in-legacy-database/108930)

<div class="topic-metadata">

**Author:** [@Allan](https://www.ruby-forum.com/u/Allan)\
**Replies:** 8\
**Last updated:** [July 15, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/how-to-handle-reserved-names-in-legacy-database/108930 "2007-07-15T22:21:19Z")

</div>

Hi, I’m using RoR to interface to a legacy database. One of the columns in the legacy database is ‘notify’ and this is causing (I believe) errors like: r = RegressionData.find(:first) =\> #\<RegressionData ID: 1, … …

---

## [Find.find() doesn't work with broken symlinks](https://www.ruby-forum.com/t/find-find-doesnt-work-with-broken-symlinks/90234)

<div class="topic-metadata">

**Author:** [@rlorimor](https://www.ruby-forum.com/u/rlorimor)\
**Replies:** 3\
**Last updated:** [March 27, 2007, 12:04am UTC](https://www.ruby-forum.com/t/find-find-doesnt-work-with-broken-symlinks/90234 "2007-03-27T00:04:14Z")

</div>

Find.find() seems to filter out broken symlinks. I was hoping to use it to get a recursive list of files in directory so I could run various tests on each file (like whether or not a symlink points to a valid file) W…

---

## [Strange Camping Error](https://www.ruby-forum.com/t/strange-camping-error/85633)

<div class="topic-metadata">

**Author:** [@starnix17](https://www.ruby-forum.com/u/starnix17)\
**Replies:** 8\
**Last updated:** [February 17, 2007, 4:10am UTC](https://www.ruby-forum.com/t/strange-camping-error/85633 "2007-02-17T04:10:14Z")

</div>

I’m trying to deploy a simple Camping application using plain old CGI. When I access the page I get a 500 error and in my logs it says: \[Wed Feb 14 17:18:46 2007\] \[error\] \[client 70.105.220.65\] fortunes.cgi: 4:in \`req…

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

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