# Top

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

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

---

## [Redirect loop with try\_files](https://www.ruby-forum.com/t/redirect-loop-with-try-files/228709)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 1\
**Last updated:** [May 4, 2013, 10:56pm UTC](https://www.ruby-forum.com/t/redirect-loop-with-try-files/228709 "2013-05-04T22:56:33Z")

</div>

Hi, I have a front end nginx webserver with behind it a tomcat server. I ran into a nasty little redirect loop issue that I still don’t understand. I’m trying to redirect users who have a session cookie to a differen…

---

## [Difference between "get '/path/'" and "get :symbol"?](https://www.ruby-forum.com/t/difference-between-get-path-and-get-symbol/214883)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 14, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/difference-between-get-path-and-get-symbol/214883 "2011-12-14T21:49:57Z")

</div>

What’s the difference between these two forms, in a spec file? get ‘/prefix/resources’ # get index of resources get :index # get index of resources I have some tests that work one way, some that work the …

---

## [I18n db backend](https://www.ruby-forum.com/t/i18n-db-backend/195858)

<div class="topic-metadata">

**Author:** [@abeansits](https://www.ruby-forum.com/u/abeansits)\
**Replies:** 1\
**Last updated:** [October 1, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/i18n-db-backend/195858 "2010-10-01T12:31:45Z")

</div>

Hi! I want to use translation in my rails 2.3 project with fallbacks and I want to have some ‘translator panel’ something like tolk. Is this possible to use this two solutions together? I saw that I18n::Backends::Act…

---

## [Ror models relations - advice?](https://www.ruby-forum.com/t/ror-models-relations-advice/195550)

<div class="topic-metadata">

**Author:** [@kay](https://www.ruby-forum.com/u/kay)\
**Replies:** 7\
**Last updated:** [September 25, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/ror-models-relations-advice/195550 "2010-09-25T16:16:04Z")

</div>

Hello guys, pretty simple: table games: team1\_id team2\_id table teams: id designation which relations should i use to access the teams designations from the game model ?

---

## [Rspecs for a rails plugin](https://www.ruby-forum.com/t/rspecs-for-a-rails-plugin/186539)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 7\
**Last updated:** [April 8, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/rspecs-for-a-rails-plugin/186539 "2010-04-08T21:40:05Z")

</div>

I have a Rails plugin, which is application independent, but depends on Rails, to be installed in a Rails app. (I have not yet converted it to a gem, but plan to eventually, and I’m not sure if that would change the a…

---

## [Mingw linker cannot find -lsocket](https://www.ruby-forum.com/t/mingw-linker-cannot-find-lsocket/167080)

<div class="topic-metadata">

**Author:** [@zainab-qureshi](https://www.ruby-forum.com/u/zainab-qureshi)\
**Replies:** 1\
**Last updated:** [May 3, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/mingw-linker-cannot-find-lsocket/167080 "2009-05-03T16:53:48Z")

</div>

When i enter the ‘make’ command for gnuradio i get the following error. configure:20701: checking for socket in -lsocket configure:20736: gcc -o conftest.exe -g -O2 -Wall conftest.c -lsocket &5 C:\\MinGW\\bin…\\lib\\g…

---

## [Choose parameter to solve for](https://www.ruby-forum.com/t/choose-parameter-to-solve-for/159290)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 7\
**Last updated:** [February 3, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/choose-parameter-to-solve-for/159290 "2009-02-03T14:05:04Z")

</div>

I’m looking for a clean way to write a function that allows me to choose which parameter to solve for assuming all others are known. Is it good design to do something like this: ? class Foo def initialize(x, y, z) @…

---

## [Noob question about development mode](https://www.ruby-forum.com/t/noob-question-about-development-mode/158178)

<div class="topic-metadata">

**Author:** [@expozen](https://www.ruby-forum.com/u/expozen)\
**Replies:** 7\
**Last updated:** [January 22, 2009, 5:46am UTC](https://www.ruby-forum.com/t/noob-question-about-development-mode/158178 "2009-01-22T05:46:20Z")

</div>

I’m new to Ruby and have just installed Rails. I wondering if there is a way to add an ip address to be used for development mode, it seems to default to localhost. I would like to view the Rails applications I develo…

---

## [Manchester/L encoding-decoding?](https://www.ruby-forum.com/t/manchester-l-encoding-decoding/155498)

<div class="topic-metadata">

**Author:** [@w\_w](https://www.ruby-forum.com/u/w_w)\
**Replies:** 1\
**Last updated:** [December 12, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/manchester-l-encoding-decoding/155498 "2008-12-12T17:47:33Z")

</div>

I’m new to GNU Radio and would like encode and decode manchester…I looked through the documentation for manchester or L encoding but did not see any thing. I was wondering if someone could point me in the right di…

---

## [Question about large\_client\_header\_buffers](https://www.ruby-forum.com/t/question-about-large-client-header-buffers/151461)

<div class="topic-metadata">

**Author:** [@Peter\_Wang](https://www.ruby-forum.com/u/Peter_Wang)\
**Replies:** 1\
**Last updated:** [October 21, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/question-about-large-client-header-buffers/151461 "2008-10-21T21:31:32Z")

</div>

syntax: large\_client\_header\_buffers number size default: large\_client\_header\_buffers 4 4k/8k I’m confused by the explanation about it. What’s the meaning of \`number’, does it mean that the whole header of request is …

---

## [Lost with OptionParser](https://www.ruby-forum.com/t/lost-with-optionparser/142061)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 7\
**Last updated:** [July 3, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/lost-with-optionparser/142061 "2008-07-03T22:05:13Z")

</div>

I’m having a real problem understanding OptionParser – the docs in pickaxe are rather cryptic, Ruby Way doesn’t even talk about it, and all the Q&A I can find on the web doesn’t clear it up for me. I’ve gotten this fa…

---

## [PHP/FCGI balancing](https://www.ruby-forum.com/t/php-fcgi-balancing/140699)

<div class="topic-metadata">

**Author:** [@igorclark](https://www.ruby-forum.com/u/igorclark)\
**Replies:** 7\
**Last updated:** [June 18, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/php-fcgi-balancing/140699 "2008-06-18T13:09:01Z")

</div>

Hi there, two related questions, one quickie, one more involved :slight\_smile: Is it possible to specify weighting between upstream FastCGI servers? If not in nginx config, then using some clever scheme? Your thou…

---

## [Rescue\_from TamperedWithCookie error?](https://www.ruby-forum.com/t/rescue-from-tamperedwithcookie-error/122537)

<div class="topic-metadata">

**Author:** [@trevorturk](https://www.ruby-forum.com/u/trevorturk)\
**Replies:** 7\
**Last updated:** [April 19, 2008, 8:43am UTC](https://www.ruby-forum.com/t/rescue-from-tamperedwithcookie-error/122537 "2008-04-19T08:43:47Z")

</div>

I submitted a ticket about this, but I thought perhaps I should ping this mailing list as well. When deploying an an app that was upgraded to run on Rails 2.0 and use cookie sessions, users that are logged into the si…

---

## [Storing encrypted passwords in the database](https://www.ruby-forum.com/t/storing-encrypted-passwords-in-the-database/126402)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [January 19, 2008, 1:35am UTC](https://www.ruby-forum.com/t/storing-encrypted-passwords-in-the-database/126402 "2008-01-19T01:35:12Z")

</div>

Hi, I have a password column in my customer table. Right now, the scaffolding saves the passsword in plain text. If I wanted to store the password in an encrypted form, what is the easiest way of doing that? Much …

---

## [Modulus and Exponent](https://www.ruby-forum.com/t/modulus-and-exponent/196536)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [December 8, 2007, 12:48am UTC](https://www.ruby-forum.com/t/modulus-and-exponent/196536 "2007-12-08T00:48:17Z")

</div>

Is there a way to get the modulus and exponent from an key, or is there a way to get that information as it is being encrypted? I am using the OpenSSL::PKey::RSA library to encrypt my data. Thanks, -S

---

## [NameError in CustomersController#index](https://www.ruby-forum.com/t/nameerror-in-customerscontroller-index/118207)

<div class="topic-metadata">

**Author:** [@AcidoCitrico](https://www.ruby-forum.com/u/AcidoCitrico)\
**Replies:** 7\
**Last updated:** [October 25, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/nameerror-in-customerscontroller-index/118207 "2007-10-25T16:49:08Z")

</div>

I’m new to Rails. I finished the Cookbook tut. no problem. I’m trying to start a project of my own, follow the same instructions but the difference is I created the database myself. After I create the scaffolds and …

---

## [Simulating single assignment in Ruby](https://www.ruby-forum.com/t/simulating-single-assignment-in-ruby/104444)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 7\
**Last updated:** [May 23, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/simulating-single-assignment-in-ruby/104444 "2007-05-23T12:59:42Z")

</div>

Hi, Is there a way to freeze instance variables in Ruby in order to make them single assignment? I’m just wondering if there’s a way to simulate Erlang in this regard as a way to avoid side effects. I don’t want to s…

---

## [I'd like to Open Source my app -- advice?](https://www.ruby-forum.com/t/id-like-to-open-source-my-app-advice/90823)

<div class="topic-metadata">

**Author:** [@asa](https://www.ruby-forum.com/u/asa)\
**Replies:** 7\
**Last updated:** [April 3, 2007, 11:13am UTC](https://www.ruby-forum.com/t/id-like-to-open-source-my-app-advice/90823 "2007-04-03T11:13:02Z")

</div>

Hey folks, I’ve written a couple of Rails apps which I’d like to open source under something like the GPL. Unfortunately, GPLv2 has a known “ASP hole” which would allow someone to make changes to my apps and then run…

---

## [Pluralize Bug?](https://www.ruby-forum.com/t/pluralize-bug/69658)

<div class="topic-metadata">

**Author:** [@Clare](https://www.ruby-forum.com/u/Clare)\
**Replies:** 7\
**Last updated:** [September 22, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/pluralize-bug/69658 "2006-09-22T19:59:05Z")

</div>

I am using Pluralize and it is working well… but… pluralizing on “glass” comes back with “glas” and “glasses” and does not return “glass”. I am using Ferret to then search using the pluralized terms but I then get no…

---

## [Rewriting URLs - help needed](https://www.ruby-forum.com/t/rewriting-urls-help-needed/65417)

<div class="topic-metadata">

**Author:** [@Chris\_Gansen](https://www.ruby-forum.com/u/Chris_Gansen)\
**Replies:** 7\
**Last updated:** [August 18, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/rewriting-urls-help-needed/65417 "2006-08-18T22:06:24Z")

</div>

Hello - I’m grappling with some tricky URL rewriting with Apache 2 and mod\_rewrite, and could use a hand. Briefly: URL for application is: www.servername.com/path/to/app/ There is no Alias directive; the applicatio…

---

## [Enumerable#all? and empty arrays](https://www.ruby-forum.com/t/enumerable-all-and-empty-arrays/64518)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 7\
**Last updated:** [August 10, 2006, 1:56am UTC](https://www.ruby-forum.com/t/enumerable-all-and-empty-arrays/64518 "2006-08-10T01:56:42Z")

</div>

Hello I found this to be somewhat amusing: a = \[\] =\> \[\] a.all? =\> true a.all? { |i| i == 10 } =\> true Is there any reasoning for Enumerable#all? to always return true for empty arrays? Best regards, An…

---

## [Getting rid of a while loop](https://www.ruby-forum.com/t/getting-rid-of-a-while-loop/62712)

<div class="topic-metadata">

**Author:** [@customsgod](https://www.ruby-forum.com/u/customsgod)\
**Replies:** 7\
**Last updated:** [June 7, 2006, 6:16pm UTC](https://www.ruby-forum.com/t/getting-rid-of-a-while-loop/62712 "2006-06-07T18:16:53Z")

</div>

I get a feeling there should be another way to make this happen without using a while loop, if anyone has any ideas that’d be great. while question=file.gets answer=file.gets @question\_array\[counter\]=Questions.new(…

---

## [Ruby on Rails with Apache2, MS SQL on Windows XP](https://www.ruby-forum.com/t/ruby-on-rails-with-apache2-ms-sql-on-windows-xp/54091)

<div class="topic-metadata">

**Author:** [@Chester](https://www.ruby-forum.com/u/Chester)\
**Replies:** 7\
**Last updated:** [February 23, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-with-apache2-ms-sql-on-windows-xp/54091 "2006-02-23T17:09:22Z")

</div>

My app was running fine with Linux, Apache2/Lighttpd and MySQL. I have a need to migrate to Windows, Apache2 and MS SQL. But I keep getting the following error when I load the initial home page. Anyone can please give…

---

## [jEdit Ruby Editor Plugin 0.7.6 released](https://www.ruby-forum.com/t/jedit-ruby-editor-plugin-0-7-6-released/50253)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [December 14, 2005, 10:26pm UTC](https://www.ruby-forum.com/t/jedit-ruby-editor-plugin-0-7-6-released/50253 "2005-12-14T22:26:23Z")

</div>

The jEdit Ruby Editor Plugin release 0.7.6 is available for download at: Ruby Editor Plugin for jEdit This release gives you: Introduce variable refactoring. Copy, cut, paste actions that operate on whole line when n…

---

## [RoR Entwickler in Zürich www.wilmaa.com](https://www.ruby-forum.com/t/ror-entwickler-in-zurich-www-wilmaa-com/221387)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 12, 2012, 11:27am UTC](https://www.ruby-forum.com/t/ror-entwickler-in-zurich-www-wilmaa-com/221387 "2012-07-12T11:27:10Z")

</div>

RoR Entwickler in Zürich www.wilmaa.com Aufgabenbereich: Mitarbeit im Projektteam von wilmaa.com an der Weiterentwicklung der Plattform Ausbau bestehender Videoportale Entwicklung neuer Plattformen für unseren wach…

---

## [Rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 o](https://www.ruby-forum.com/t/rails-postgres-error-reason-incompatible-library-version-libpq-5-dylib-requires-version-1-0-0-o/220827)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 21, 2012, 2:42pm UTC](https://www.ruby-forum.com/t/rails-postgres-error-reason-incompatible-library-version-libpq-5-dylib-requires-version-1-0-0-o/220827 "2012-06-21T14:42:52Z")

</div>

Hi, I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on my Mac (10.6.8). Everytime when I run rails console I get the following error: /Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/li…

---

## [Reg Expression Help Please?](https://www.ruby-forum.com/t/reg-expression-help-please/166810)

<div class="topic-metadata">

**Author:** [@dr\_gavin](https://www.ruby-forum.com/u/dr_gavin)\
**Replies:** 8\
**Last updated:** [June 5, 2009, 11:42am UTC](https://www.ruby-forum.com/t/reg-expression-help-please/166810 "2009-06-05T11:42:22Z")

</div>

Hi all I’m having a bit of trouble trying to acheive something, maybe someone can help? I have a model Article, which has an attribute ‘body’ The body is a text column in which people can add text and HTML. I’d like…

---

## [Redirecting From default page](https://www.ruby-forum.com/t/redirecting-from-default-page/142220)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 8\
**Last updated:** [July 5, 2008, 7:06am UTC](https://www.ruby-forum.com/t/redirecting-from-default-page/142220 "2008-07-05T07:06:24Z")

</div>

Hi. I am new to Rails. I am doing a web project for my school. It has models like Page, Student and Forum. Page model is for creating pages like home page, help, contact, about, feedback, etc. My route has my home pag…

---

## [Ruby on Rails Opportunity!](https://www.ruby-forum.com/t/ruby-on-rails-opportunity/127521)

<div class="topic-metadata">

**Author:** [@Portia](https://www.ruby-forum.com/u/Portia)\
**Replies:** 8\
**Last updated:** [January 31, 2008, 12:12am UTC](https://www.ruby-forum.com/t/ruby-on-rails-opportunity/127521 "2008-01-31T00:12:35Z")

</div>

I am currently hiring for a Ruby on Rails Software Engineer! Please review job description and let me know if you are interested! You can contact me @ 425-278-0083 or removed\_email\_address@domain.invalid! 6-12 month…

---

## [TypeError: Effect\[effect\_class\] when using block form of link\_to helper](https://www.ruby-forum.com/t/typeerror-effect-effect-class-when-using-block-form-of-link-to-helper/122714)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 8\
**Last updated:** [December 11, 2007, 1:17pm UTC](https://www.ruby-forum.com/t/typeerror-effect-effect-class-when-using-block-form-of-link-to-helper/122714 "2007-12-11T13:17:03Z")

</div>

Anyone have any idea why I’m getting this error when using the block form of the link\_to helper in Rails 2.0.1? I’m essentially using the exact same code as in the Rails doc example, but no luck. Any help would be a…

---

## [Help needed to DRY helpers and proper MVC with Ruby](https://www.ruby-forum.com/t/help-needed-to-dry-helpers-and-proper-mvc-with-ruby/110592)

<div class="topic-metadata">

**Author:** [@RubyTechie](https://www.ruby-forum.com/u/RubyTechie)\
**Replies:** 8\
**Last updated:** [July 30, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/help-needed-to-dry-helpers-and-proper-mvc-with-ruby/110592 "2007-07-30T19:27:19Z")

</div>

Hello. I’m still fumbling learning RoR, so I apologize in advance. I’ve got working code, but I don’t think that it’s done properly so any help to make this more efficient and most of all, correct, would be so very …

---

## [Get modules that are in a class?](https://www.ruby-forum.com/t/get-modules-that-are-in-a-class/108852)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 8\
**Last updated:** [July 11, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/get-modules-that-are-in-a-class/108852 "2007-07-11T15:20:45Z")

</div>

is it possible to find out what modules have been included inside of a class?

---

## [Html format](https://www.ruby-forum.com/t/html-format/107288)

<div class="topic-metadata">

**Author:** [@cfingerh](https://www.ruby-forum.com/u/cfingerh)\
**Replies:** 8\
**Last updated:** [June 20, 2007, 10:21am UTC](https://www.ruby-forum.com/t/html-format/107288 "2007-06-20T10:21:48Z")

</div>

Hi, i have a text field in html format “It is a sunny day. Bye” When i put in the rhtml \<%= news.text\_field %\> I get printed the text with the tags inside… is there a to\_html or soemthing like that? thanks Chr…

---

## [Regular expressions - lookbehind](https://www.ruby-forum.com/t/regular-expressions-lookbehind/89906)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 8\
**Last updated:** [March 26, 2007, 11:09am UTC](https://www.ruby-forum.com/t/regular-expressions-lookbehind/89906 "2007-03-26T11:09:58Z")

</div>

Ciao a tutti Mi rivolgo in particolare ai maestri dell’antica arte delle regular expressions (giovà’? :slight\_smile: ) Ho scoperto con sommo stupore e profonda costernazione che ruby non supporta i lookbehind nelle r…

---

## [Rails and PHP](https://www.ruby-forum.com/t/rails-and-php/75435)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 8\
**Last updated:** [November 10, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/rails-and-php/75435 "2006-11-10T22:17:35Z")

</div>

Starting a new thread since I have a new question. Plan is to have Rails as the web services server and PHP as client. What I’m trying to figure out is at one point in the request does “respond\_to” know when it’s bei…

---

## [Version control for deployment?](https://www.ruby-forum.com/t/version-control-for-deployment/60341)

<div class="topic-metadata">

**Author:** [@DJ\_Tequila](https://www.ruby-forum.com/u/DJ_Tequila)\
**Replies:** 8\
**Last updated:** [May 13, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/version-control-for-deployment/60341 "2006-05-13T17:35:18Z")

</div>

If I can get root access, I’ll use version control for deployment as well… It beats ftp and scp hands down for speed. Setting up a repository on a remote server means I get automatic off-site backup as part of the dev…

---

## [Mongrel + RubyOnRails + FileUploads = Problems?](https://www.ruby-forum.com/t/mongrel-rubyonrails-fileuploads-problems/59474)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 8\
**Last updated:** [May 5, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/mongrel-rubyonrails-fileuploads-problems/59474 "2006-05-05T14:45:28Z")

</div>

I really like the idea of using Mongrel. But reading the FAQ, I noticed something that might be an issue. It stated: “Ruby on Rails is not thread safe so there is a synchronized block around the calls to Dispatcher.…

---

## [\[QUIZ\] Text Munger (#76)](https://www.ruby-forum.com/t/quiz-text-munger-76/58530)

<div class="topic-metadata">

**Author:** [@Alex\_Barrett](https://www.ruby-forum.com/u/Alex_Barrett)\
**Replies:** 8\
**Last updated:** [April 23, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/quiz-text-munger-76/58530 "2006-04-23T14:47:33Z")

</div>

Might as well send it in seperately: puts gets.gsub(/\\B\[a-z\]+\\B/i){|s|l=s.length ;l.times{|i|r=rand(l);s\[i\],s\[r\]=s\[r\],s\[i\]};s} 88 characters in total.

---

## [NoMethodError in Websocket controller](https://www.ruby-forum.com/t/nomethoderror-in-websocket-controller/231939)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 10, 2014, 7:49am UTC](https://www.ruby-forum.com/t/nomethoderror-in-websocket-controller/231939 "2014-09-10T07:49:40Z")

</div>

Here is my controller https://gist.github.com/budkin/f02a5baed02e71a4f94f on line 182 it throws an error E \[2014-09-08 18:36:07.171\] \[\[31mDispatcher\[0m\] NoMethodError: undefined method \`row\_vectors’ for nil:NilClass …

---

## [SSL default changes?](https://www.ruby-forum.com/t/ssl-default-changes/227308)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 12, 2013, 7:59pm UTC](https://www.ruby-forum.com/t/ssl-default-changes/227308 "2013-03-12T19:59:29Z")

</div>

It looks like these changes from default are required for SSL session resumption and to mitigate the BEAST SSL vulnerability: ssl\_session\_cache shared:SSL:10m; ssl\_ciphers RC4:HIGH:!aNULL:!MD5; ssl\_prefer\_server\_ciph…

---

## [Make test hangs at gr-core-test-all qa\_pdu](https://www.ruby-forum.com/t/make-test-hangs-at-gr-core-test-all-qa-pdu/229500)

<div class="topic-metadata">

**Author:** [@SSMartin\_LSSS\_lfSS\_S](https://www.ruby-forum.com/u/SSMartin_LSSS_lfSS_S)\
**Replies:** 5\
**Last updated:** [February 6, 2013, 5:08pm UTC](https://www.ruby-forum.com/t/make-test-hangs-at-gr-core-test-all-qa-pdu/229500 "2013-02-06T17:08:10Z")

</div>

Hi, while working on my issue with asynchronous blocks ( https://lists.gnu.org/archive/html/discuss-gnuradio/2013-01/msg00488.html ). I discovered that the two tests ‘gr-core-test-all’ and ‘qa\_pdu’ sometimes hang up.…

---

## [How exactly is NGINX spelled?](https://www.ruby-forum.com/t/how-exactly-is-nginx-spelled/225126)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 17, 2012, 11:17am UTC](https://www.ruby-forum.com/t/how-exactly-is-nginx-spelled/225126 "2012-12-17T11:17:12Z")

</div>

Hi, this got me thinking: nginx.com says “NGINX” in all-caps on the frontpage, the page with the links to FAQ and handbook also spells it like “NGINX” - at least three times out of four the FAQ itself spells it “ngi…

---

## [Unablt to send mails in my server](https://www.ruby-forum.com/t/unablt-to-send-mails-in-my-server/223549)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 9, 2012, 3:23pm UTC](https://www.ruby-forum.com/t/unablt-to-send-mails-in-my-server/223549 "2012-10-09T15:23:36Z")

</div>

hi all i am trying to setup mail option in my app. and when i am trying to send mails i got this error in my production log OpenSSL::SSL::SSLError (hostname was not match with the server certificate): /opt/ruby-ente…

---

## [Proxy problem](https://www.ruby-forum.com/t/proxy-problem/189769)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [June 7, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/proxy-problem/189769 "2010-06-07T17:19:02Z")

</div>

Hi, We had nginx/0.6.33 and we migrated to nginx/0.7.65. We use nginx as frontend for our webmail, that it is in another machine (nginx+apache). But in the new scenario, squirrelmail loss session (I guess) and force …

---

## [Gem installation oddity](https://www.ruby-forum.com/t/gem-installation-oddity/173951)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 5\
**Last updated:** [August 18, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/gem-installation-oddity/173951 "2009-08-18T21:39:16Z")

</div>

I have been totally puzzled by what I think is a misconfiguration of my gem environment. I’ve read and looked and experimented and tried to solve this. Maybe you can help… Here’s the top level symptom. I install a gem…

---

## [Very bizarre antenna function](https://www.ruby-forum.com/t/very-bizarre-antenna-function/172534)

<div class="topic-metadata">

**Author:** [@makki](https://www.ruby-forum.com/u/makki)\
**Replies:** 5\
**Last updated:** [July 23, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/very-bizarre-antenna-function/172534 "2009-07-23T22:28:33Z")

</div>

So with MUCH ado, ./usrp\_wfm\_rcv.py WORKS! right now 10dB/div for both settings, and my station is 98.7M. Now here is the weird part… I get an absolutely crystal clear signal if I put my hand near the antenna. Like a…

---

## [String replacing help](https://www.ruby-forum.com/t/string-replacing-help/165894)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 5\
**Last updated:** [April 19, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/string-replacing-help/165894 "2009-04-19T22:42:55Z")

</div>

I’m working with Mechanize doing some screen scraping. Because of the project, I have to use an older version of Mechanize for now, I’m using 0.8.4. The goal of what I’m trying to do is take a string and insert pipes …

---

## [SQLServer failing with activerecord\_jdbc 0.9.1](https://www.ruby-forum.com/t/sqlserver-failing-with-activerecord-jdbc-0-9-1/164454)

<div class="topic-metadata">

**Author:** [@cnick](https://www.ruby-forum.com/u/cnick)\
**Replies:** 5\
**Last updated:** [April 2, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/sqlserver-failing-with-activerecord-jdbc-0-9-1/164454 "2009-04-02T21:40:18Z")

</div>

I am getting an error trying to use active\_record against a sqlserver database: ActiveRecord::ActiveRecordError: The conversion from ntext to BinaryStream is unsupported. Evidently this a new error in 0.9.1. Has an…

---

## [Phantom Redirect](https://www.ruby-forum.com/t/phantom-redirect/158226)

<div class="topic-metadata">

**Author:** [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Replies:** 5\
**Last updated:** [January 21, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/phantom-redirect/158226 "2009-01-21T20:11:35Z")

</div>

Hello all, I’m having the most puzzling problem. I am getting a very strange redirect: http://kritiq.us/ GET / HTTP/1.1 Host: kritiq.us User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5…

---

## [Named\_scope automatiquement](https://www.ruby-forum.com/t/named-scope-automatiquement/153751)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 5\
**Last updated:** [December 30, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/named-scope-automatiquement/153751 "2008-12-30T14:09:58Z")

</div>

Bonsoir à tous, Existe un moyen/plugin pour générer des named\_scope simples (j’ai vu http://giantrobots.thoughtbot.com/2008/10/14/life-in-the-fast-lane mais il me manque quelque chose). A chaque fois je me retrouve à…

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

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