# Top

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

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

---

## [Before\_validate refactor question](https://www.ruby-forum.com/t/before-validate-refactor-question/236434)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [September 4, 2013, 2:28pm UTC](https://www.ruby-forum.com/t/before-validate-refactor-question/236434 "2013-09-04T14:28:27Z")

</div>

Had this working until I refactored by putting into a hash and checking for blank. Now I get the error: undefined method \`key?’ for nil:NilClass. I’m still kind of new at this and would appreciate suggestions on wha…

---

## [Senior Web Developer (m/f) für fashion e-commerce gesucht!](https://www.ruby-forum.com/t/senior-web-developer-m-f-fur-fashion-e-commerce-gesucht/226622)

<div class="topic-metadata">

**Author:** [@rominabo](https://www.ruby-forum.com/u/rominabo)\
**Replies:** 0\
**Last updated:** [February 15, 2013, 5:52pm UTC](https://www.ruby-forum.com/t/senior-web-developer-m-f-fur-fashion-e-commerce-gesucht/226622 "2013-02-15T17:52:03Z")

</div>

Wir suchen ab sofort einen Full-Stack Webentwickler (m/w), der mit seiner offenen Art in unser junges Team passt! Anforderungen: Gute Ruby on Rails Kenntnisse oder sehr gute Kenntnisse in einem anderen modernen Web …

---

## [Copy file into new without dups, eol problem](https://www.ruby-forum.com/t/copy-file-into-new-without-dups-eol-problem/218347)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 29, 2012, 8:37pm UTC](https://www.ruby-forum.com/t/copy-file-into-new-without-dups-eol-problem/218347 "2012-03-29T20:37:22Z")

</div>

File.open(“newf.txt”, “w+”) { |file| file.puts File.readlines(“oldf.txt”).uniq } Hi, I’m doing it like above on most recent 1.9.3 and I have mess with end of line char, it’s simple ascii file, all runs on windows: o…

---

## [Strange behavior in digital benchmark examples](https://www.ruby-forum.com/t/strange-behavior-in-digital-benchmark-examples/213503)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [November 5, 2011, 6:53am UTC](https://www.ruby-forum.com/t/strange-behavior-in-digital-benchmark-examples/213503 "2011-11-05T06:53:44Z")

</div>

Hello all, I just came across a strange behavior in the digital benchmark examples that I haven’t seen before. The transmitter wouldn’t stop itself after it finishes sending the requested data size (specified by -M a…

---

## [Please give simple example of when to use symbols](https://www.ruby-forum.com/t/please-give-simple-example-of-when-to-use-symbols/209864)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [July 26, 2011, 6:31am UTC](https://www.ruby-forum.com/t/please-give-simple-example-of-when-to-use-symbols/209864 "2011-07-26T06:31:19Z")

</div>

I’m still a bit confused on whether to use strings or symbols in certain situations. They produce the same results, although strings take up more memory, which I’m not sure how or why exactly. current\_situation = “go…

---

## [How easy is it to add my own RoR pages?](https://www.ruby-forum.com/t/how-easy-is-it-to-add-my-own-ror-pages/204311)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 9, 2011, 5:01pm UTC](https://www.ruby-forum.com/t/how-easy-is-it-to-add-my-own-ror-pages/204311 "2011-03-09T17:01:56Z")

</div>

Hi all Is it easy to add my owns RoR pages to Radiant? Is there a guide to install it in my host? thanks

---

## [Why won't this Ruby/Mechanize HTTP POST work? (the Bank's web server gives Session Timeout response](https://www.ruby-forum.com/t/why-wont-this-ruby-mechanize-http-post-work-the-banks-web-server-gives-session-timeout-response/174599)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 12:55pm UTC](https://www.ruby-forum.com/t/why-wont-this-ruby-mechanize-http-post-work-the-banks-web-server-gives-session-timeout-response/174599 "2009-08-29T12:55:31Z")

</div>

Hi, A question for the web/http guru’s out there if I may (who understand cookies, sessions ids, etc). BACKGROUND: I’m writing some Ruby code (using Mechanize) to automate logging into my bank account to check the b…

---

## [Problem with hash (again)](https://www.ruby-forum.com/t/problem-with-hash-again/172658)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 8\
**Last updated:** [July 24, 2009, 10:54pm UTC](https://www.ruby-forum.com/t/problem-with-hash-again/172658 "2009-07-24T22:54:04Z")

</div>

It says in the documentation to hash function (class Object - RDoc Documentation): “Any hash value that exceeds the capacity of a Fixnum will be truncated before being used.” From this I understand that it’s OK for m…

---

## [:path\_prefix on resources not passing to actions?](https://www.ruby-forum.com/t/path-prefix-on-resources-not-passing-to-actions/144290)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 8\
**Last updated:** [July 28, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/path-prefix-on-resources-not-passing-to-actions/144290 "2008-07-28T18:09:20Z")

</div>

I am experiencing some difficulties using :path\_prefix on resources. I do the following $ rails pathtest $ cd pathtest $ script/generate scaffold thing title:string $ rake db:migrate Then in routes.rb I change: ma…

---

## [Form tag multipart](https://www.ruby-forum.com/t/form-tag-multipart/133530)

<div class="topic-metadata">

**Author:** [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Replies:** 8\
**Last updated:** [April 3, 2008, 10:07am UTC](https://www.ruby-forum.com/t/form-tag-multipart/133530 "2008-04-03T10:07:37Z")

</div>

Hi to all, i’m trying to pass the id of my record within the multipart form. I’ve tried to pass it like this but it gives a compile error… \<%= form\_tag( { :action =\> ‘create’, :id =\> @nominee }, :multipart =\> true ) …

---

## [How to downgrade Rake](https://www.ruby-forum.com/t/how-to-downgrade-rake/125640)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 0\
**Last updated:** [January 10, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/how-to-downgrade-rake/125640 "2008-01-10T21:49:35Z")

</div>

Hello and thanks in advance I had/have a problem with engines and rake that throws the error: undefined method \`last’ for {}:Hash This is documented here: http://railsforum.com/viewtopic.php?pid=50179 The fix is to …

---

## [Posts not showing up in group](https://www.ruby-forum.com/t/posts-not-showing-up-in-group/82350)

<div class="topic-metadata">

**Author:** [@pervel](https://www.ruby-forum.com/u/pervel)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/posts-not-showing-up-in-group/82350 "2007-09-25T22:49:32Z")

</div>

Dear moderator, I have made two posts in the past few days to the “Ruby on Rails: Talk” and they have not shown up yet. I contacted Google Support. They told me that my messages might have been flagged as spam and th…

---

## [Learning rails (and programming) from scratch](https://www.ruby-forum.com/t/learning-rails-and-programming-from-scratch/84227)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 8\
**Last updated:** [February 3, 2007, 12:45am UTC](https://www.ruby-forum.com/t/learning-rails-and-programming-from-scratch/84227 "2007-02-03T00:45:58Z")

</div>

Hi, I would really like to learn Rails. Problem is that I don’t know any programming, besides average HTML and CSS. I’ve had to start from scratch but most RoR-resources out there assumes you have at least prior expe…

---

## [FastCGI: Apache 1.x or 2 on new Debian System?](https://www.ruby-forum.com/t/fastcgi-apache-1-x-or-2-on-new-debian-system/58456)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 8\
**Last updated:** [May 11, 2006, 12:07am UTC](https://www.ruby-forum.com/t/fastcgi-apache-1-x-or-2-on-new-debian-system/58456 "2006-05-11T00:07:53Z")

</div>

Hi, I am just installing a new test environment, but this is just for preparing the next one, which will be a production server. I am doing a clean Debian Sarge 3.1 install with stable sources. I have to decide if I …

---

## [Dumb reflection problem - create object from String](https://www.ruby-forum.com/t/dumb-reflection-problem-create-object-from-string/57325)

<div class="topic-metadata">

**Author:** [@parki](https://www.ruby-forum.com/u/parki)\
**Replies:** 8\
**Last updated:** [April 9, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/dumb-reflection-problem-create-object-from-string/57325 "2006-04-09T22:08:17Z")

</div>

Hello - I’m bashing my head against the wall - I’m sure this is a simple question, but damned if I can figure it out. If I have a String which corresponds to a class name, how do I create an instance of this class? E…

---

## [Select, first option empty value?](https://www.ruby-forum.com/t/select-first-option-empty-value/70525)

<div class="topic-metadata">

**Author:** [@matthew\_collins](https://www.ruby-forum.com/u/matthew_collins)\
**Replies:** 8\
**Last updated:** [February 19, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/select-first-option-empty-value/70525 "2006-02-19T23:20:50Z")

</div>

using the below: \<%= select(‘project’, ‘project\_type\_id’, @project\_types.collect {|x| \[x.name,x.id\]}, {:include\_blank =\> true}) %\> but i’d like that first option to have something like “select project type” with an …

---

## [Probleme validates\_associated](https://www.ruby-forum.com/t/probleme-validates-associated/53037)

<div class="topic-metadata">

**Author:** [@SSSiso-8859-1SbSSmV](https://www.ruby-forum.com/u/SSSiso-8859-1SbSSmV)\
**Replies:** 8\
**Last updated:** [January 31, 2006, 11:09am UTC](https://www.ruby-forum.com/t/probleme-validates-associated/53037 "2006-01-31T11:09:58Z")

</div>

Bonjour. Je débute avec Rails et je butte sur l’utilisation de “validates\_associated”. Voici l’exemple de test: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Tables dans la base de donnée…

---

## [Possible to change controller's default action?](https://www.ruby-forum.com/t/possible-to-change-controllers-default-action/57046)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 8\
**Last updated:** [November 14, 2005, 11:19am UTC](https://www.ruby-forum.com/t/possible-to-change-controllers-default-action/57046 "2005-11-14T11:19:38Z")

</div>

Is it possible to change a controller’s default action say from “index” to “list”? mydomain.com/item (I want it to “list” rather than “index”) thanks csn

---

## [\[USA / REMOTE \] ShowcaseIDX is looking for Rails Developers](https://www.ruby-forum.com/t/usa-remote-showcaseidx-is-looking-for-rails-developers/260882)

<div class="topic-metadata">

**Author:** [@jtmkrueger](https://www.ruby-forum.com/u/jtmkrueger)\
**Replies:** 1\
**Last updated:** [January 30, 2021, 10:38am UTC](https://www.ruby-forum.com/t/usa-remote-showcaseidx-is-looking-for-rails-developers/260882 "2021-01-30T10:38:52Z")

</div>

This is going to be primarily backend API development, with the chance to turn into a more full stack role depending on where the Greenfield stuff ends up going. Check out the job description and apply at the link below…

---

## [Using //= require statemements in application.js](https://www.ruby-forum.com/t/using-require-statemements-in-application-js/244159)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [February 29, 2016, 8:22pm UTC](https://www.ruby-forum.com/t/using-require-statemements-in-application-js/244159 "2016-02-29T20:22:40Z")

</div>

Using require statements in application.js should reference files located where? //= require bootstrap-sprockets where is bootstrap-sprockets supposed to be located?

---

## [How to capture and call a block in an extension?](https://www.ruby-forum.com/t/how-to-capture-and-call-a-block-in-an-extension/234628)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 18, 2015, 3:19pm UTC](https://www.ruby-forum.com/t/how-to-capture-and-call-a-block-in-an-extension/234628 "2015-03-18T15:19:30Z")

</div>

Hello, I’m struggling with how to capture and call a block from an extension written in Java. What I want to do is roughly equivalent to the following Ruby code: def register\_thing(name, &block) @things\[name\] = blo…

---

## [WBX and frequencies around 433 MHz?](https://www.ruby-forum.com/t/wbx-and-frequencies-around-433-mhz/214550)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [December 7, 2011, 9:54am UTC](https://www.ruby-forum.com/t/wbx-and-frequencies-around-433-mhz/214550 "2011-12-07T09:54:52Z")

</div>

Hi, While I was testing the DQPSK-(de)modulation blocks in GRC. I found a frequency region where the reception failed. I started with the ISM-band (433 MHz) as the center frequency, and the reception didn’t work. Afte…

---

## [Ubuntu 11.10](https://www.ruby-forum.com/t/ubuntu-11-10/212885)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [October 30, 2011, 6:25am UTC](https://www.ruby-forum.com/t/ubuntu-11-10/212885 "2011-10-30T06:25:17Z")

</div>

The maint, master, and next branches in git have all been fixed to work under Ubuntu 11.10 (new autotools and Qwt 6 were the main culprits). A bit more information can be found here: http://gnuradio.squarespace.com/h…

---

## [Is there any way to use a nginx variable inside a perl set?](https://www.ruby-forum.com/t/is-there-any-way-to-use-a-nginx-variable-inside-a-perl-set/193447)

<div class="topic-metadata">

**Author:** [@evms](https://www.ruby-forum.com/u/evms)\
**Replies:** 1\
**Last updated:** [August 18, 2010, 2:17am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-use-a-nginx-variable-inside-a-perl-set/193447 "2010-08-18T02:17:10Z")

</div>

Let’s imagine that I do this http { set $a 2; perl\_set $x sub { return $a++; } } I don’t think I can do this. Is there away around this to provide that functionality? Posted at Nginx Forum:

---

## [Problems installing mongrel in Ruby 1.9.1 on Mac OS](https://www.ruby-forum.com/t/problems-installing-mongrel-in-ruby-1-9-1-on-mac-os/171806)

<div class="topic-metadata">

**Author:** [@eipipuz](https://www.ruby-forum.com/u/eipipuz)\
**Replies:** 7\
**Last updated:** [April 26, 2010, 4:58pm UTC](https://www.ruby-forum.com/t/problems-installing-mongrel-in-ruby-1-9-1-on-mac-os/171806 "2010-04-26T16:58:55Z")

</div>

Hello guys, When I run Â³gem install mongrelÂ², I get the following error: Building native extensions. This could take a while… ERROR: Error installing mongrel: ERROR: Failed to build gem native extension. /usr/lo…

---

## [Creare scheletri di applicazioni con generatori e modelli](https://www.ruby-forum.com/t/creare-scheletri-di-applicazioni-con-generatori-e-modelli/185470)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 7\
**Last updated:** [March 25, 2010, 1:27am UTC](https://www.ruby-forum.com/t/creare-scheletri-di-applicazioni-con-generatori-e-modelli/185470 "2010-03-25T01:27:41Z")

</div>

Si tratta ancora della 2.3. A breve entrerÃ in scena rails 3.0 ma era da tempo che volevo approfondire l’argomento, appena riesco lavorerÃ² sulla conversione. http://mastrodonato.info/index.php/2010/03/creare-schelet…

---

## [Getting started with IronRuby and c# issues](https://www.ruby-forum.com/t/getting-started-with-ironruby-and-c-issues/183796)

<div class="topic-metadata">

**Author:** [@jngo](https://www.ruby-forum.com/u/jngo)\
**Replies:** 1\
**Last updated:** [February 20, 2010, 11:29am UTC](https://www.ruby-forum.com/t/getting-started-with-ironruby-and-c-issues/183796 "2010-02-20T11:29:51Z")

</div>

Hi IronRuby mailing list, Inspired by a talk by Ben H. on testing c# with Ruby I thought I’d give it a go but I’m frustratingly stuck at the first hurdle. I’ve emailed Ben but as I’ve not had an immediate response …

---

## [Helpers et ActionMailer](https://www.ruby-forum.com/t/helpers-et-actionmailer/161779)

<div class="topic-metadata">

**Author:** [@tanker](https://www.ruby-forum.com/u/tanker)\
**Replies:** 7\
**Last updated:** [March 2, 2009, 1:55pm UTC](https://www.ruby-forum.com/t/helpers-et-actionmailer/161779 "2009-03-02T13:55:05Z")

</div>

Salut y a t’il un moyen d’utiliser les helpers dans les modules ActionMailer ?

---

## [Script/performance/request](https://www.ruby-forum.com/t/script-performance-request/154645)

<div class="topic-metadata">

**Author:** [@juba](https://www.ruby-forum.com/u/juba)\
**Replies:** 7\
**Last updated:** [December 10, 2008, 11:46am UTC](https://www.ruby-forum.com/t/script-performance-request/154645 "2008-12-10T11:46:53Z")

</div>

Bonjour, Plutôt que de me replonger dans JMeter, j’aimerais utiliser le script request de RoR pour faire des tests de performance. Je l’avais essayé avec la version 2.1 mais sans succès, et avec la version 2.2.2, le …

---

## [Simple script segfaults 1.8.6-p230](https://www.ruby-forum.com/t/simple-script-segfaults-1-8-6-p230/141473)

<div class="topic-metadata">

**Author:** [@rst](https://www.ruby-forum.com/u/rst)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 7:00am UTC](https://www.ruby-forum.com/t/simple-script-segfaults-1-8-6-p230/141473 "2008-06-26T07:00:53Z")

</div>

When I run the following 10-line ruby script on 1.8.6-p230 as shipped (built on 32-bit x86 Debian Etch, with configure arguments at defaults), it pretty reliably segfaults. My patch to get rails working (by reverting…

---

## [Has anyone seen how to do pop-ups via controllers?](https://www.ruby-forum.com/t/has-anyone-seen-how-to-do-pop-ups-via-controllers/140199)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 7\
**Last updated:** [June 13, 2008, 6:51am UTC](https://www.ruby-forum.com/t/has-anyone-seen-how-to-do-pop-ups-via-controllers/140199 "2008-06-13T06:51:40Z")

</div>

I’ve got the pop-up window opening if I click on a link, but now I want to do something else. After a record is created, I want to go the edit page and open up a pop-up window. Any ideas on how to make that work? Th…

---

## [A practical Lisp in Ruby](https://www.ruby-forum.com/t/a-practical-lisp-in-ruby/130674)

<div class="topic-metadata">

**Author:** [@ehird](https://www.ruby-forum.com/u/ehird)\
**Replies:** 7\
**Last updated:** [March 2, 2008, 5:30am UTC](https://www.ruby-forum.com/t/a-practical-lisp-in-ruby/130674 "2008-03-02T05:30:49Z")

</div>

Hi! I’ve been working on a Lisp interpreter in Ruby that is fully integrated (I mean – fully. The aim is to have basically nothing specific to the interpreter and use Ruby for everything. Basic rule of thumb: you shou…

---

## [Review of code please](https://www.ruby-forum.com/t/review-of-code-please/83600)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 7\
**Last updated:** [January 28, 2007, 11:37am UTC](https://www.ruby-forum.com/t/review-of-code-please/83600 "2007-01-28T11:37:46Z")

</div>

Hi all, I’m hoping for some critique of the code below. It works but is slow and probably not ‘the ruby way’ Anagrams Purpose: find all anagrams in /usr/share/dict/words for 4 letter words (length 5 because of \\n) p…

---

## [OT: Terms of service](https://www.ruby-forum.com/t/ot-terms-of-service/72417)

<div class="topic-metadata">

**Author:** [@Jake\_C](https://www.ruby-forum.com/u/Jake_C)\
**Replies:** 7\
**Last updated:** [October 17, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/ot-terms-of-service/72417 "2006-10-17T20:59:13Z")

</div>

Guys, Can anyone point me to an online resource that provides boiler plate terms of service for web apps? If not, how can one gain TOS on a poor man’s budget? Is it legal to copy/modify another company’s terms of se…

---

## [Parameter names from reflection?](https://www.ruby-forum.com/t/parameter-names-from-reflection/47885)

<div class="topic-metadata">

**Author:** [@mercury542](https://www.ruby-forum.com/u/mercury542)\
**Replies:** 7\
**Last updated:** [November 17, 2005, 4:57am UTC](https://www.ruby-forum.com/t/parameter-names-from-reflection/47885 "2005-11-17T04:57:40Z")

</div>

Is there a way to use reflection or some other method to return the names of the parameters a method uses? I know that ‘arity’ will return the number of parameters, but I’m looking for the names of them. Thanks in …

---

## [Clipboard access in SWT](https://www.ruby-forum.com/t/clipboard-access-in-swt/218766)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [April 12, 2012, 5:48pm UTC](https://www.ruby-forum.com/t/clipboard-access-in-swt/218766 "2012-04-12T17:48:22Z")

</div>

Hi all, I wrote a test snippet for clipboard access. I’m using JRuby 1.6.7 on Windows 7, installed swt 0.12 gem. I ran the snippet and clicked a get button, it worked well. But clicked a set button, it didn’t work. …

---

## [Regexp: rubular VS match. Why is the result different?](https://www.ruby-forum.com/t/regexp-rubular-vs-match-why-is-the-result-different/178050)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 4\
**Last updated:** [October 28, 2009, 4:01pm UTC](https://www.ruby-forum.com/t/regexp-rubular-vs-match-why-is-the-result-different/178050 "2009-10-28T16:01:42Z")

</div>

I have to capture by means of regexp the content between ‘\<’ and ‘\>’ as instance: str = ‘anystringanystringanystringanystring’ I need the array\[‘hour’,'min,‘sec’\] I have written the regexp: /(\<(\[^\<\>\]+)\>)+/ and I hav…

---

## [Problemas con la instalaciÃ³n](https://www.ruby-forum.com/t/problemas-con-la-instalacia-n/133203)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 4\
**Last updated:** [March 29, 2008, 1:12pm UTC](https://www.ruby-forum.com/t/problemas-con-la-instalacia-n/133203 "2008-03-29T13:12:29Z")

</div>

hola estoy siguiendo este manual para instalar ruby on rails en windows pero me da el siguiente fallo As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD\_PATH for stubs to optionally delete (ma…

---

## [Deployment Problem](https://www.ruby-forum.com/t/deployment-problem/121942)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 4\
**Last updated:** [December 3, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/deployment-problem/121942 "2007-12-03T20:57:47Z")

</div>

I’ve recently tried to get an application running on GoDaddy and after a few days gave up (their support team was very unhelpful). Anyhow, I changed hosting to Rails Playground. I now get a new error when running the …

---

## [RSpec + EdgeRails on Windows](https://www.ruby-forum.com/t/rspec-edgerails-on-windows/115738)

<div class="topic-metadata">

**Author:** [@Christopher\_DSPrat](https://www.ruby-forum.com/u/Christopher_DSPrat)\
**Replies:** 4\
**Last updated:** [September 28, 2007, 3:07am UTC](https://www.ruby-forum.com/t/rspec-edgerails-on-windows/115738 "2007-09-28T03:07:14Z")

</div>

I recently post on my blog about setting up a Rails environment with RSpec in Windows, and someone left a comment saying that it doesn’t work in EdgeRails. I so I played around with it a bit and was able to confirm t…

---

## [Rails and Single Sign on](https://www.ruby-forum.com/t/rails-and-single-sign-on/112727)

<div class="topic-metadata">

**Author:** [@pk16](https://www.ruby-forum.com/u/pk16)\
**Replies:** 4\
**Last updated:** [August 22, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/rails-and-single-sign-on/112727 "2007-08-22T21:02:09Z")

</div>

Hi, I want to slowly start bringing in Rails to my company. I found an opportunity with some fairly basic web forms that end users will manage entering data into. The data will be used in an ETL process later on. Buil…

---

## [How to save double-byte characters in mongodb?](https://www.ruby-forum.com/t/how-to-save-double-byte-characters-in-mongodb/242632)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [July 20, 2015, 2:21am UTC](https://www.ruby-forum.com/t/how-to-save-double-byte-characters-in-mongodb/242632 "2015-07-20T02:21:59Z")

</div>

I have a Model called Review.rb class MovieNews::Review include Mongoid::Document include Mongoid::Timestamps include Mongoid::Userstamp include Mongoid::Search field :story, type: Stringend When i create a …

---

## [Trouble with CSV custom Converter](https://www.ruby-forum.com/t/trouble-with-csv-custom-converter/239184)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 16, 2014, 11:55am UTC](https://www.ruby-forum.com/t/trouble-with-csv-custom-converter/239184 "2014-02-16T11:55:52Z")

</div>

I am getting an error from my code. Could anyone point me what wrong I made here - require ‘csv’ require ‘date’ src = \<\<csv Date, Time, Open, Close, High, Low, Volume 2007.01.02,07:00,119.01,119.01,119.01,119.01,8 …

---

## [Rails 3 - how to defer parsing of JavaScript](https://www.ruby-forum.com/t/rails-3-how-to-defer-parsing-of-javascript/223720)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 16, 2012, 8:47pm UTC](https://www.ruby-forum.com/t/rails-3-how-to-defer-parsing-of-javascript/223720 "2012-10-16T20:47:48Z")

</div>

I am trying to optimize my website and one of the suggestions I got was to defer parsing of JavaScript. I have googled it for a couple of hours but I haven’t come across an elegant solution to do this in Rails 3. I am…

---

## [Rails 3 render erb text](https://www.ruby-forum.com/t/rails-3-render-erb-text/205882)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 18, 2011, 5:39pm UTC](https://www.ruby-forum.com/t/rails-3-render-erb-text/205882 "2011-04-18T17:39:06Z")

</div>

Hi all, I have a file called configure.text.erb in views// directory. Why does render ‘configure.text.erb’ actually work? How does render know that this is plain text? Does it assume this due to the text.erb ending…

---

## [Fresh\_when/stale? usage](https://www.ruby-forum.com/t/fresh-when-stale-usage/195195)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 2\
**Last updated:** [September 30, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/fresh-when-stale-usage/195195 "2010-09-30T14:24:58Z")

</div>

In my post\_index action, I generate different kinds of “@posts” like… def index case params\[:listing\_type\] when “all” @posts = get\_all\_post\_from\_memcached when “most\_popular” @posts = get\_all\_most\_popular\_from\_memc…

---

## [Implementing multiple "constructors" in ruby](https://www.ruby-forum.com/t/implementing-multiple-constructors-in-ruby/192364)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 29, 2010, 9:07am UTC](https://www.ruby-forum.com/t/implementing-multiple-constructors-in-ruby/192364 "2010-07-29T09:07:36Z")

</div>

So I have a class that I may want to instantiate multiple ways. Here’s the signatures of the some so far: def create\_from\_file(absolute\_filename, archive\_filename, fsg=nil, verbose=false, debug=false) def create\_from…

---

## [Mock "Consent\_6335" received unexpected message :marked\_for\_destruction? with (no args)](https://www.ruby-forum.com/t/mock-consent-6335-received-unexpected-message-marked-for-destruction-with-no-args/185700)

<div class="topic-metadata">

**Author:** [@thoen](https://www.ruby-forum.com/u/thoen)\
**Replies:** 2\
**Last updated:** [March 25, 2010, 1:00pm UTC](https://www.ruby-forum.com/t/mock-consent-6335-received-unexpected-message-marked-for-destruction-with-no-args/185700 "2010-03-25T13:00:12Z")

</div>

I have a mock object (Person) that is associated with another object (my\_object) through a belongs\_to association. When I check whether my\_object is valid (my\_object.should be\_valid), I am getting an error like the fo…

---

## [\<meta http-equiv="refresh" content="5"/\>](https://www.ruby-forum.com/t/meta-http-equiv-refresh-content-5/148468)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 2:09am UTC](https://www.ruby-forum.com/t/meta-http-equiv-refresh-content-5/148468 "2008-09-14T02:09:30Z")

</div>

Do you know of any way for me to stick a meta tag in using a before\_filter or after\_filter or around\_filter? I have been trying to figure out out and just cannot make sense of it.

---

## [RForum acts\_as\_authenticated integration](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645)

<div class="topic-metadata">

**Author:** [@BobFunk](https://www.ruby-forum.com/u/BobFunk)\
**Replies:** 2\
**Last updated:** [August 29, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/rforum-acts-as-authenticated-integration/96645 "2006-08-29T22:17:51Z")

</div>

Hi, I just made some modifications to the RForum User model that I think others might find interesting. I’ve modified it to use the same authorization scheme as acts\_as\_authenticated, so integrating the forum with an…

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

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