# Top

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

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

---

## [400 errors](https://www.ruby-forum.com/t/400-errors/200263)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [December 10, 2010, 11:43am UTC](https://www.ruby-forum.com/t/400-errors/200263 "2010-12-10T11:43:01Z")

</div>

Hello, Something I’ve been seeing for a long time here - I’ve posted long ago, but was never able to find a solution. Looking at our access logs, I see tons of lines like (multiple times a minute) 123.45.6.789 - -…

---

## [Change console forground to Red or Green](https://www.ruby-forum.com/t/change-console-forground-to-red-or-green/173258)

<div class="topic-metadata">

**Author:** [@b1gtuna](https://www.ruby-forum.com/u/b1gtuna)\
**Replies:** 7\
**Last updated:** [August 6, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/change-console-forground-to-red-or-green/173258 "2009-08-06T23:53:56Z")

</div>

Hi All, I’m looking for a way to change a Window’s console foreground color in Ruby. I have a script that outputs passes and fails and I would like to know how to change the text to green or red specfically. I don’t…

---

## [How can I implement authentication in my API?](https://www.ruby-forum.com/t/how-can-i-implement-authentication-in-my-api/170488)

<div class="topic-metadata">

**Author:** [@andrew](https://www.ruby-forum.com/u/andrew)\
**Replies:** 7\
**Last updated:** [July 22, 2009, 11:10am UTC](https://www.ruby-forum.com/t/how-can-i-implement-authentication-in-my-api/170488 "2009-07-22T11:10:48Z")

</div>

I’m developing an API for my site, and I’m wondering how I can make it so requests require basic access authentication (like in Twitter’s API for example)? I’m using restful-authentication on Rails 2.3.2. Thanks!

---

## [How to check if a record lock is in place](https://www.ruby-forum.com/t/how-to-check-if-a-record-lock-is-in-place/170490)

<div class="topic-metadata">

**Author:** [@Developer\_In\_London](https://www.ruby-forum.com/u/Developer_In_London)\
**Replies:** 1\
**Last updated:** [June 18, 2009, 9:14am UTC](https://www.ruby-forum.com/t/how-to-check-if-a-record-lock-is-in-place/170490 "2009-06-18T09:14:31Z")

</div>

does anyone know how i can check if a record has a lock in place before I attempt to lock the record? Eg \<-- check here if the specific record is already locked. if not locked MyModel.lock! else skip to the next mod…

---

## [Upgrade to 2.0.2: InvalidAuthenticityToken error on 1st POST](https://www.ruby-forum.com/t/upgrade-to-2-0-2-invalidauthenticitytoken-error-on-1st-post/132398)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 7\
**Last updated:** [April 19, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/upgrade-to-2-0-2-invalidauthenticitytoken-error-on-1st-post/132398 "2008-04-19T21:23:24Z")

</div>

All, I’ve upgraded to 2.0.2, and I can’t get my login screen (the first POST request in the application) to work. When I post this form, I see the “InvalidAuthenticityToken” error. I have protect\_from\_forgery :secre…

---

## [Gosu 0.7.7 (includes Chipmunk & ruby-opengl integration demos)](https://www.ruby-forum.com/t/gosu-0-7-7-includes-chipmunk-ruby-opengl-integration-demos/119859)

<div class="topic-metadata">

**Author:** [@nex4k](https://www.ruby-forum.com/u/nex4k)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 1:39am UTC](https://www.ruby-forum.com/t/gosu-0-7-7-includes-chipmunk-ruby-opengl-integration-demos/119859 "2007-11-12T01:39:30Z")

</div>

Hi, the new, Leopard-compatible Gosu 0.7.7 has been available as a ZIP download for two weeks, but there were problems with the RubyGems distribution up until last night (that’s where the weird gem version numbers co…

---

## [Error in my first USRP test](https://www.ruby-forum.com/t/error-in-my-first-usrp-test/107278)

<div class="topic-metadata">

**Author:** [@Alaelddin\_M](https://www.ruby-forum.com/u/Alaelddin_M)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/error-in-my-first-usrp-test/107278 "2007-09-25T23:10:41Z")

</div>

Hi I tried to run test\_counting.py , I got the folloing message $ python test\_counting.py usb\_control\_msg failed: usb\_control\_msg: sending control message failed, win err or: A device attached to the system is not f…

---

## [Cloning object with array members](https://www.ruby-forum.com/t/cloning-object-with-array-members/81288)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/cloning-object-with-array-members/81288 "2007-09-25T22:48:35Z")

</div>

Consider a simple class like this: class MyClass def initialize @var1 = ‘’ @arr1 = \[\] end end Now if I have an instance of MyClass, and want to clone it, what is the ‘cleanest’ way to do this? a = MyClass.new b…

---

## [%w| a b c| %w\_a b c\_ %w\<a b c\> all work](https://www.ruby-forum.com/t/w-a-b-c-w-a-b-c-w-a-b-c-all-work/115245)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 7\
**Last updated:** [September 23, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/w-a-b-c-w-a-b-c-w-a-b-c-all-work/115245 "2007-09-23T21:35:14Z")

</div>

%w|a b c| %w\_a b c\_ %w all work is there an official doc or book that says so? seems like the first character that after “%w” can be used as a delimiter.

---

## [Crear un combo list desde una tabla](https://www.ruby-forum.com/t/crear-un-combo-list-desde-una-tabla/83957)

<div class="topic-metadata">

**Author:** [@CheRoberto](https://www.ruby-forum.com/u/CheRoberto)\
**Replies:** 1\
**Last updated:** [January 31, 2007, 5:43am UTC](https://www.ruby-forum.com/t/crear-un-combo-list-desde-una-tabla/83957 "2007-01-31T05:43:29Z")

</div>

Buenas… Estoy aprendiendo a realizar aplicaciones web con Ruby On Rails, y hasta ahora no he podido crear un combo list dependiente de los elementos que tengo guardados en una tabla. Disculpen mi ignorancia, me gustar…

---

## [Mac OS X /opt/bin/ruby](https://www.ruby-forum.com/t/mac-os-x-opt-bin-ruby/79349)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 7\
**Last updated:** [December 14, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/mac-os-x-opt-bin-ruby/79349 "2006-12-14T15:59:52Z")

</div>

Bonjour à tous, Je suis sur Mac OSX 10.4.8 J’ai installé ruby avec readline sur /opt/ pour ne pas toucher à la version d’origine sur /usr/bin qui n’ a pas readline. Que dois-je faire pour pouvoir lancer ./script/cons…

---

## [Autotest, unit-diff, and color output?](https://www.ruby-forum.com/t/autotest-unit-diff-and-color-output/78800)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 7\
**Last updated:** [December 11, 2006, 11:19am UTC](https://www.ruby-forum.com/t/autotest-unit-diff-and-color-output/78800 "2006-12-11T11:19:15Z")

</div>

I’m using autotest with all its test driven goodness, and I believe that uses unit-diff to present a “saner” view of test difference output. I’d like to do colorize the output from unit-diff so its similar to what yo…

---

## [Image uploads in Rails](https://www.ruby-forum.com/t/image-uploads-in-rails/75199)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 7\
**Last updated:** [November 9, 2006, 1:44am UTC](https://www.ruby-forum.com/t/image-uploads-in-rails/75199 "2006-11-09T01:44:38Z")

</div>

Hey guys! Things are going great for me - thanks in no small part to all the help i received here. I finished my site, and I’ll put up the url if people want to check it out. But that’s not the reason I’m posting toda…

---

## [Each campi record](https://www.ruby-forum.com/t/each-campi-record/68543)

<div class="topic-metadata">

**Author:** [@Biagio\_M](https://www.ruby-forum.com/u/Biagio_M)\
**Replies:** 7\
**Last updated:** [September 13, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/each-campi-record/68543 "2006-09-13T19:39:59Z")

</div>

Ho questo: def crea @patient = Patient.new(params\[:patient\]) @patient.cognome = @patient.cognome.upcase \*\*\*\* @patient.nome = @patient.nome.upcase \*\*\*\* @patient.codice\_fiscale = @patient.codice\_fiscale.upcase \*\*\* .... …

---

## [Build failing from "trunk"](https://www.ruby-forum.com/t/build-failing-from-trunk/64551)

<div class="topic-metadata">

**Author:** [@Marcus\_L](https://www.ruby-forum.com/u/Marcus_L)\
**Replies:** 7\
**Last updated:** [August 10, 2006, 12:32am UTC](https://www.ruby-forum.com/t/build-failing-from-trunk/64551 "2006-08-10T00:32:38Z")

</div>

I grabbed the latest “trunk” via svn, and attempted a build. ecc.cc appears to be causing the build to fail: ecc.cc:5875: error: conversion from ‘int’ to non-scalar type ‘std::vector\<int, std::allocator \>’ requested …

---

## [Back-porting 1.1.1 app to 1.0 rails server](https://www.ruby-forum.com/t/back-porting-1-1-1-app-to-1-0-rails-server/61386)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 7\
**Last updated:** [May 30, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/back-porting-1-1-1-app-to-1-0-rails-server/61386 "2006-05-30T17:36:56Z")

</div>

I’ve been developing new application on local machine in rails 1.1.1. Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time soon I’m told. I set “RAILS\_GEM\_VERSION = ‘1.0.0’” in my environment.rb fil…

---

## [Thinking of going back to MySql from PgSql. Your thoughts?](https://www.ruby-forum.com/t/thinking-of-going-back-to-mysql-from-pgsql-your-thoughts/194201)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 6\
**Last updated:** [September 1, 2010, 9:23am UTC](https://www.ruby-forum.com/t/thinking-of-going-back-to-mysql-from-pgsql-your-thoughts/194201 "2010-09-01T09:23:12Z")

</div>

Just thinking out loud. about switching from pgsql to mysql. So far, haven’t experienced any differences between the two databases. I’ve been using mysql for the past few years. I like it more because am a mac interfa…

---

## [Can't get SWF player to display in webpage](https://www.ruby-forum.com/t/cant-get-swf-player-to-display-in-webpage/165876)

<div class="topic-metadata">

**Author:** [@rubio](https://www.ruby-forum.com/u/rubio)\
**Replies:** 6\
**Last updated:** [August 5, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/cant-get-swf-player-to-display-in-webpage/165876 "2010-08-05T21:08:06Z")

</div>

Found a great link (Eleventyten.com is for sale | HugeDomains) describing adding Flash content (in this case playerMultipleList.swf) in a “rails” webpage. I’ve followed the instructions to a “T”, however the player d…

---

## [BareTest 0.2 released](https://www.ruby-forum.com/t/baretest-0-2-released/177853)

<div class="topic-metadata">

**Author:** [@apeiros](https://www.ruby-forum.com/u/apeiros)\
**Replies:** 6\
**Last updated:** [October 26, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/baretest-0-2-released/177853 "2009-10-26T17:51:12Z")

</div>

I’m pleased to announce BareTest 0.2. BareTest is a new test framework. I started writing it for mainly 2 reasons: I disliked the undescriptive way you have specify tests in vanilla Test::Unit (def test\_bla), compa…

---

## [64-bit OS and Web Browsers (handling flash content)](https://www.ruby-forum.com/t/64-bit-os-and-web-browsers-handling-flash-content/172700)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [July 27, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/64-bit-os-and-web-browsers-handling-flash-content/172700 "2009-07-27T13:58:51Z")

</div>

My site is going to rely on a lot of flash interactive content in certain areas and as I’m concerned about the lack of flash in 64-bit browsers. People can launch a 32-bit browser from their machine but some may or m…

---

## [Problem while connecting to MYSQL from NetBeans](https://www.ruby-forum.com/t/problem-while-connecting-to-mysql-from-netbeans/166337)

<div class="topic-metadata">

**Author:** [@lakshmi](https://www.ruby-forum.com/u/lakshmi)\
**Replies:** 6\
**Last updated:** [April 24, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/problem-while-connecting-to-mysql-from-netbeans/166337 "2009-04-24T20:08:44Z")

</div>

Hi All, I am new to Ruby , ROR and NetBeans. I am using Netbeans 6.5, Ruby 1.8 versions. I created New Project in NetBeans by giving Project Name as DBTest, selected Ruby Platform as Ruby 1.8.6-p111, server as Mongre…

---

## [Memcached 1.6.5 (Rails 2.3) 10x slower](https://www.ruby-forum.com/t/memcached-1-6-5-rails-2-3-10x-slower/165374)

<div class="topic-metadata">

**Author:** [@whatcould](https://www.ruby-forum.com/u/whatcould)\
**Replies:** 6\
**Last updated:** [April 14, 2009, 3:55pm UTC](https://www.ruby-forum.com/t/memcached-1-6-5-rails-2-3-10x-slower/165374 "2009-04-14T15:55:03Z")

</div>

The move to memcached\_client 1.6.5 in Rails 2.3 seems to have made the Rails cache about 10x slower. Since that’s the opposite effect I would expect, I was hoping somebody would explain where I’m misreading these num…

---

## [Passenger/phusion multiples applications rails](https://www.ruby-forum.com/t/passenger-phusion-multiples-applications-rails/157965)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://www.ruby-forum.com/u/Nicolas_G)\
**Replies:** 6\
**Last updated:** [January 17, 2009, 11:51pm UTC](https://www.ruby-forum.com/t/passenger-phusion-multiples-applications-rails/157965 "2009-01-17T23:51:58Z")

</div>

Bonjour En pleine dÃ©couverte de Passenger j’ai voulu configurer un serveur intranet pour non plus une application (pour laquelle la configuration Ã©tait impeccable) mais deux (pour au futur 4 applications, voire plu…

---

## [Daily Jobs in Rails](https://www.ruby-forum.com/t/daily-jobs-in-rails/138417)

<div class="topic-metadata">

**Author:** [@chalkers](https://www.ruby-forum.com/u/chalkers)\
**Replies:** 6\
**Last updated:** [May 22, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/daily-jobs-in-rails/138417 "2008-05-22T22:48:03Z")

</div>

Hi railers, I have a quick question - I think it will be answered fairly easily methinks. What’s the best practice (naming conventions, where to place in project etc) for creating a job to be ran every day? For exam…

---

## [JRuby on Rails - migrations](https://www.ruby-forum.com/t/jruby-on-rails-migrations/126748)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 30, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-migrations/126748 "2008-01-30T20:21:30Z")

</div>

Bonjour à tous je suis en train de mêttre le nez dans JRuby & Rails, et je bloque sur des problèmes d’install qui me semblent forts concons. Je cherche un endroit où étaler ma nullité, mais là, oh surprise, même goo…

---

## [Quit, if a specific key is hit](https://www.ruby-forum.com/t/quit-if-a-specific-key-is-hit/126301)

<div class="topic-metadata">

**Author:** [@pavan1919](https://www.ruby-forum.com/u/pavan1919)\
**Replies:** 6\
**Last updated:** [January 18, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/quit-if-a-specific-key-is-hit/126301 "2008-01-18T17:45:54Z")

</div>

Excuse me, if this is already discussed… but from from here http://www.rubyrailways.com/implementing-15-exercises-for-learning-a-new-programming-language/… the author concludes that the following problem cannot be solv…

---

## [Gegenseitig referenzierte Modelle](https://www.ruby-forum.com/t/gegenseitig-referenzierte-modelle/124216)

<div class="topic-metadata">

**Author:** [@Rainer\_Jung](https://www.ruby-forum.com/u/Rainer_Jung)\
**Replies:** 6\
**Last updated:** [December 27, 2007, 9:15am UTC](https://www.ruby-forum.com/t/gegenseitig-referenzierte-modelle/124216 "2007-12-27T09:15:05Z")

</div>

Hallo zusammen! Ich ueberlege gerade eine Datenmodellierung, und wie ich sie abspeichern kann. Ein einfaches Beispiel, ein “Kontakt” hat beliebig viele “Adressen”, eine davon ist die Hauptadresse. Was ich jetzt gern…

---

## [\[Rails-2.0\] problema](https://www.ruby-forum.com/t/rails-2-0-problema/122405)

<div class="topic-metadata">

**Author:** [@cpecchia](https://www.ruby-forum.com/u/cpecchia)\
**Replies:** 6\
**Last updated:** [December 7, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/rails-2-0-problema/122405 "2007-12-07T15:45:44Z")

</div>

Da una macchina “vergine” lancio: gem install rails e mi dà: ERROR: Error installing rails: rails requires activeresource (= 2.0.0) che non trova… Idee?

---

## [Array$B$N%a%=%C%IA}6/$K$D$$$F(B](https://www.ruby-forum.com/t/array-b-n-a-c-ia-6-k-d-f-b/86661)

<div class="topic-metadata">

**Author:** [@Minero\_A](https://www.ruby-forum.com/u/Minero_A)\
**Replies:** 6\
**Last updated:** [March 5, 2007, 1:50am UTC](https://www.ruby-forum.com/t/array-b-n-a-c-ia-6-k-d-f-b/86661 "2007-03-05T01:50:15Z")

</div>

e$B@DLZ$G$9!#e(B 1.9 e$B$Ge(B String#each e$B$,$J$/$J$j$^$7$?$,!"$I$&$K$bITJX$G$9!#e(B e$B$J$s$GITJX$J$N$+9M$($F$\_$?$H$3$m!"e(BArray e$B$N%a%=%C%I$,e(B String e$B$KHf$Y$F\<e$$$N$,860x$G$O$J$$$+$H9M$($k$h$&$K$J$je(B e$…

---

## [Best way to build a navigation bar with Radiant CMS?](https://www.ruby-forum.com/t/best-way-to-build-a-navigation-bar-with-radiant-cms/79004)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 6\
**Last updated:** [December 15, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/best-way-to-build-a-navigation-bar-with-radiant-cms/79004 "2006-12-15T16:13:04Z")

</div>

@Sean, @Ruben, (sorry for the delay …) thanks for your help! I’m trying to build clean CSS code for the site. Does anybody know if there are open source CSS builder tools? Perhaps the can help me to develop the over…

---

## [Mutex::Synchronize with backgroundrb](https://www.ruby-forum.com/t/mutex-synchronize-with-backgroundrb/97427)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 6\
**Last updated:** [July 7, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/mutex-synchronize-with-backgroundrb/97427 "2006-07-07T22:03:29Z")

</div>

I have a question concerning where to use the synchronize function. The point of it is to put all of the code blacks passed to this function in a queue. This make sure that code gets ran one at a time. This is require…

---

## [Is eval the only way?](https://www.ruby-forum.com/t/is-eval-the-only-way/56941)

<div class="topic-metadata">

**Author:** [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 12:56am UTC](https://www.ruby-forum.com/t/is-eval-the-only-way/56941 "2006-04-06T00:56:46Z")

</div>

Hi, I’m trying to write some methods which use a parameter to represent a Class name. A very simplistic example: def foo(class\_name, conditions) x = class\_name.find(:all, :conditions =\> “#{conditions}”) end Unfort…

---

## [Pre-populate db with yaml outside of testing?](https://www.ruby-forum.com/t/pre-populate-db-with-yaml-outside-of-testing/63542)

<div class="topic-metadata">

**Author:** [@Zack\_C](https://www.ruby-forum.com/u/Zack_C)\
**Replies:** 6\
**Last updated:** [January 23, 2006, 7:02am UTC](https://www.ruby-forum.com/t/pre-populate-db-with-yaml-outside-of-testing/63542 "2006-01-23T07:02:13Z")

</div>

Hi. What is the best way to pre-populate your database with records while developing, not testing? For example, I want to: \[run this command to populate db\] ruby script/server now I can surf to localhost:3…

---

## [Switchtower for production?](https://www.ruby-forum.com/t/switchtower-for-production/50467)

<div class="topic-metadata">

**Author:** [@gijs](https://www.ruby-forum.com/u/gijs)\
**Replies:** 6\
**Last updated:** [December 18, 2005, 12:15pm UTC](https://www.ruby-forum.com/t/switchtower-for-production/50467 "2005-12-18T12:15:29Z")

</div>

Hello, The company that I work for will be developing a large webbased survey (for a government institution) somewhere in Q1/Q2 of 2006. I’m investigating the technological possibilities and Rails is certainly a cand…

---

## [GNU blocks](https://www.ruby-forum.com/t/gnu-blocks/233400)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 11, 2014, 8:04am UTC](https://www.ruby-forum.com/t/gnu-blocks/233400 "2014-12-11T08:04:16Z")

</div>

I installed by the following link http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Precise-Pangolin-1204 when I used git clone gnuradio.git - GNU Radio it automatically installed gnuradio 3.7.6 versio…

---

## [How to use activemodel collection.build for a has\_many :through association](https://www.ruby-forum.com/t/how-to-use-activemodel-collection-build-for-a-has-many-through-association/245851)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 23, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/how-to-use-activemodel-collection-build-for-a-has-many-through-association/245851 "2013-07-23T19:25:47Z")

</div>

Hi all, In my controller I am doing the following to populate a nested form for a has\_many through association: def new @specification = Specification.new Component.find\_each.each do |component| @specification.…

---

## [Ruby under Valgrind shows a ton of memory errors -- normal?](https://www.ruby-forum.com/t/ruby-under-valgrind-shows-a-ton-of-memory-errors-normal/224253)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 5, 2012, 8:00pm UTC](https://www.ruby-forum.com/t/ruby-under-valgrind-shows-a-ton-of-memory-errors-normal/224253 "2012-11-05T20:00:30Z")

</div>

Hi, I’m hoping someone who knows MRI internals very well can answer this one. I was trying to debug a problem with MRI today using Valgrind, and noticed when Ruby is run on top of Valgrind, virtually any Ruby program …

---

## [UHD I/O Data Types](https://www.ruby-forum.com/t/uhd-i-o-data-types/205465)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 21, 2011, 2:05am UTC](https://www.ruby-forum.com/t/uhd-i-o-data-types/205465 "2011-04-21T02:05:26Z")

</div>

Hello… The I/O types defined in the uhd::io\_type\_t class lists 4 COMPLEX types and a CUSTOM type. What I/O type should I specify in the call to send()/recv() if my baseband signal is real and not complex, say I’m tra…

---

## [Nginx as reverse proxy with "mod secdownload" feature - possible?](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-with-mod-secdownload-feature-possible/197731)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 21, 2010, 1:33pm UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-with-mod-secdownload-feature-possible/197731 "2010-10-21T13:33:47Z")

</div>

Hi, currently i’m searching for some easy way to setup some kind of content cache. nginx is one of my favorites for this, because it seems to be the most powerfull and performant proxys out there. The idea: cache0…

---

## [Filename encodings for Ruby 1.9, more generic](https://www.ruby-forum.com/t/filename-encodings-for-ruby-1-9-more-generic/195988)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 4\
**Last updated:** [October 5, 2010, 6:13pm UTC](https://www.ruby-forum.com/t/filename-encodings-for-ruby-1-9-more-generic/195988 "2010-10-05T18:13:40Z")

</div>

Hi Kouhei & all, So I have commited the filename encodings for Ruby 1.9 patch on rbgtkfilechooser.c. Now I think the moment is to make it more generic, because there are similar filename-related operations elsewhere. …

---

## [How to use fxri](https://www.ruby-forum.com/t/how-to-use-fxri/179384)

<div class="topic-metadata">

**Author:** [@taras](https://www.ruby-forum.com/u/taras)\
**Replies:** 4\
**Last updated:** [November 24, 2009, 9:47pm UTC](https://www.ruby-forum.com/t/how-to-use-fxri/179384 "2009-11-24T21:47:00Z")

</div>

hello, total newbie here. i have gem installed fxirb, fxri, and fxruby. now i’d like to open hopefully a standalone fxri interactive window. how do i do this? cheers, taras

---

## [AgDLR: Silverlight + DLR + Open Source](https://www.ruby-forum.com/t/agdlr-silverlight-dlr-open-source/153581)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 4\
**Last updated:** [November 19, 2008, 7:55am UTC](https://www.ruby-forum.com/t/agdlr-silverlight-dlr-open-source/153581 "2008-11-19T07:55:06Z")

</div>

IronRubites and IronPythonics, First and foremost, I want to thank anyone who has used the bits on http://codeplex.com/sdlsdk, and accepting my bullshit version of open-source. While getting monthly binaries/sources i…

---

## [Autotest style autotest/rails\_rspec doesn't seem to exist. Aborting](https://www.ruby-forum.com/t/autotest-style-autotest-rails-rspec-doesnt-seem-to-exist-aborting/153204)

<div class="topic-metadata">

**Author:** [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Replies:** 4\
**Last updated:** [November 17, 2008, 1:24am UTC](https://www.ruby-forum.com/t/autotest-style-autotest-rails-rspec-doesnt-seem-to-exist-aborting/153204 "2008-11-17T01:24:45Z")

</div>

Just upgraded rspec because I want to use cucumber. I downloaded the gems listed in the github wiki, and I submoduled the rspec and rspec-rails plugins. Autotest started to fail on me though. “Autotest style autotes…

---

## [Check whether the boolean value true or false](https://www.ruby-forum.com/t/check-whether-the-boolean-value-true-or-false/152281)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 4\
**Last updated:** [November 1, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/check-whether-the-boolean-value-true-or-false/152281 "2008-11-01T18:56:31Z")

</div>

i have a table called “confirm\_clients”,there are 3columns,they are t.column :user\_id, :string t.column :msg\_id, :string t.column :confirm, :boolean i want to check whether the boolean value of confirm is true when …

---

## [Inconsistent results using Iconv](https://www.ruby-forum.com/t/inconsistent-results-using-iconv/113620)

<div class="topic-metadata">

**Author:** [@rsl](https://www.ruby-forum.com/u/rsl)\
**Replies:** 4\
**Last updated:** [September 4, 2007, 12:49am UTC](https://www.ruby-forum.com/t/inconsistent-results-using-iconv/113620 "2007-09-04T00:49:27Z")

</div>

Howdy. I’m working with Iconv and discovered that this code require “iconv” \[“Ã¦gis”, “straÃŸe”, “kierkegÃ¥rd”, “joÃ£o”, “bjÃ¸rk”\].each do |word| puts “#{word} =\> #{Iconv.iconv(‘ascii//translit’, ‘utf-8’, word)}” end …

---

## [Large file upload crash rails app](https://www.ruby-forum.com/t/large-file-upload-crash-rails-app/80702)

<div class="topic-metadata">

**Author:** [@bithai80](https://www.ruby-forum.com/u/bithai80)\
**Replies:** 4\
**Last updated:** [January 1, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/large-file-upload-crash-rails-app/80702 "2007-01-01T14:03:11Z")

</div>

when uploading a large file (8meg) to my live deployed railsapp website ( www.lifehoo.com ) hosted on textdrive, it crashes the railsapp. Is there a way in rubyrails to prevent this from happening?

---

## [Ruby Console Library](https://www.ruby-forum.com/t/ruby-console-library/73468)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 4\
**Last updated:** [October 25, 2006, 9:12am UTC](https://www.ruby-forum.com/t/ruby-console-library/73468 "2006-10-25T09:12:23Z")

</div>

Hi. I’m thinking about some advanced console programs. For the program, I’ll use Ruby. But, before building everything from scratch, I’d like to do some quick fact checks. Does Ruby have the followings? Pulldown m…

---

## [Salt = \[Array.new(6){rand(256).chr}.join\].pack("m").chomp](https://www.ruby-forum.com/t/salt-array-new-6-rand-256-chr-join-pack-m-chomp/98559)

<div class="topic-metadata">

**Author:** [@orz42](https://www.ruby-forum.com/u/orz42)\
**Replies:** 4\
**Last updated:** [July 16, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/salt-array-new-6-rand-256-chr-join-pack-m-chomp/98559 "2006-07-16T15:03:35Z")

</div>

This is a line taken from the “authentification” recipe in the ‘Rails Recipes’ book. I can see that it generates a string of random characters but I am unsure of all that’s going on here. The strings that are generat…

---

## [WebDAV library for fastcgi/webbrick](https://www.ruby-forum.com/t/webdav-library-for-fastcgi-webbrick/58472)

<div class="topic-metadata">

**Author:** [@David\_H.on](https://www.ruby-forum.com/u/David_H.on)\
**Replies:** 4\
**Last updated:** [June 25, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/webdav-library-for-fastcgi-webbrick/58472 "2006-06-25T18:45:22Z")

</div>

Hello, I am trying to find a WebDAV library for Ruby that works with fastcgi (production) and Webbrick (development). I’ve found this link which mentions a Webbrick WebDAV library: http://redhanded.hobix.com/inspect/ …

---

## [Arch linux , swf dir and forbidden error](https://www.ruby-forum.com/t/arch-linux-swf-dir-and-forbidden-error/230256)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 8, 2014, 12:18am UTC](https://www.ruby-forum.com/t/arch-linux-swf-dir-and-forbidden-error/230256 "2014-06-08T00:18:15Z")

</div>

I use arch linux and install nginx from arch repo , every thing is OK, I want use nginx for use play flash game and swf game , i download many swf files and make swf directory in /usr/share/nginx/html and put all sw…

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

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