# Top

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

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

---

## [Weird Garbage Collection Behavior](https://www.ruby-forum.com/t/weird-garbage-collection-behavior/224182)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [November 5, 2012, 5:30pm UTC](https://www.ruby-forum.com/t/weird-garbage-collection-behavior/224182 "2012-11-05T17:30:52Z")

</div>

I wrote a simple Sinatra app that takes any String from a URL parameter, stores that value as an attribute of a Java DTO (MessageHolder.java), and renders an ERB template that displays that value back in an HTML page.…

---

## [Kimsufi et rails](https://www.ruby-forum.com/t/kimsufi-et-rails/181894)

<div class="topic-metadata">

**Author:** [@thomthom](https://www.ruby-forum.com/u/thomthom)\
**Replies:** 5\
**Last updated:** [January 20, 2010, 10:30am UTC](https://www.ruby-forum.com/t/kimsufi-et-rails/181894 "2010-01-20T10:30:54Z")

</div>

Bonjour, Message 1 : Alors ayÃ© ! j’ai mon kimsufi. J’ai la version gentoo 2. J’ai installer ruby, ruby gem ect… et des que j’arrive avec passenger ca se complique. Il y a manifestement des problÃ¨mes de compatibilit…

---

## [Krise angekommen?](https://www.ruby-forum.com/t/krise-angekommen/167637)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [May 11, 2009, 7:11am UTC](https://www.ruby-forum.com/t/krise-angekommen/167637 "2009-05-11T07:11:45Z")

</div>

Wenn ich auf die Anfragen und Aufträge blicke, die ich für Rails- Projekte im letzten halben Jahr bekommen habe und das mit den drei Jahren davor vergleiche, dann werde ich beinahe wehmütig. Hat auch uns die Krise inz…

---

## [\[ANN\] Sipper 1.1.3 Released](https://www.ruby-forum.com/t/ann-sipper-1-1-3-released/151737)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 5\
**Last updated:** [October 25, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/ann-sipper-1-1-3-released/151737 "2008-10-25T17:54:06Z")

</div>

1.1.3 of SIPr pronounced as Sipper has been released earlier this month. http://sipr.agnity.com or http://rubyforge.org/projects/sipper/ SIPr is complete SIP (Session Initiation Protocol) stack written in Ruby (with …

---

## ["File not found: lib" when installing rails-3.0.0](https://www.ruby-forum.com/t/file-not-found-lib-when-installing-rails-3-0-0/194409)

<div class="topic-metadata">

**Author:** [@dongsheng](https://www.ruby-forum.com/u/dongsheng)\
**Replies:** 4\
**Last updated:** [July 16, 2011, 4:39am UTC](https://www.ruby-forum.com/t/file-not-found-lib-when-installing-rails-3-0-0/194409 "2011-07-16T04:39:18Z")

</div>

I got the following error when try to install rails-3.0.0 on my Ubuntu box. Can anybody help? dwang@dwang-bj-ws:~/Projects$ sudo gem install rails Successfully installed rails-3.0.0 1 gem installed Installing ri doc…

---

## [Low udp performance with local instances](https://www.ruby-forum.com/t/low-udp-performance-with-local-instances/209305)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 11, 2011, 3:38pm UTC](https://www.ruby-forum.com/t/low-udp-performance-with-local-instances/209305 "2011-07-11T15:38:57Z")

</div>

Hello my dear community! I have weird performance drops with udp - huge packet loss. Simple receiver and sender: #################################################################### #coding: utf-8 require “socket” h…

---

## [Undefined method \`start\_form\_tag'](https://www.ruby-forum.com/t/undefined-method-start-form-tag/205022)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 28, 2011, 2:02pm UTC](https://www.ruby-forum.com/t/undefined-method-start-form-tag/205022 "2011-03-28T14:02:29Z")

</div>

I tried to generate the form using \<%= start\_form\_tag :action =\> ‘create’ %\> in app/view/book/new.rhtml and when i browse to localhost:3000/book/new i got the following error undefined method \`star…

---

## [Unless filter](https://www.ruby-forum.com/t/unless-filter/204350)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 15, 2011, 1:04pm UTC](https://www.ruby-forum.com/t/unless-filter/204350 "2011-03-15T13:04:12Z")

</div>

Hi. Why doesn’t the following filter work? # encoding: utf-8 # ./example\_spec.rb RSpec.configure do |config| config.filter = { unless: :condition\_acceptable } end describe 'some code' do it 'does one', if: …

---

## [Adding Common Lisp to Ruby](https://www.ruby-forum.com/t/adding-common-lisp-to-ruby/193483)

<div class="topic-metadata">

**Author:** [@NF\_BetaK](https://www.ruby-forum.com/u/NF_BetaK)\
**Replies:** 4\
**Last updated:** [August 19, 2010, 5:49pm UTC](https://www.ruby-forum.com/t/adding-common-lisp-to-ruby/193483 "2010-08-19T17:49:55Z")

</div>

I forward an email conversation that I had with matz: -Dear Yukihiro, I find Ruby to be an incredible language, and I thank you for creating it. If we take the programming paradigm to be divided into three sections, …

---

## [Stack level too deep error :(](https://www.ruby-forum.com/t/stack-level-too-deep-error/57271)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 4\
**Last updated:** [April 9, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep-error/57271 "2006-04-09T23:43:17Z")

</div>

Hi, If anyone has some time to help with my problem that would be really good :slight\_smile: I am getting a “stack level too deep” error when saving an object to the database when it is has a has\_one relationship to …

---

## [Calling methods from the "main" application](https://www.ruby-forum.com/t/calling-methods-from-the-main-application/85356)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 4\
**Last updated:** [March 23, 2006, 11:11am UTC](https://www.ruby-forum.com/t/calling-methods-from-the-main-application/85356 "2006-03-23T11:11:29Z")

</div>

I’ve successfully setup a publication engine (Publish) which I use to learn ROR but there is something I can’t find a solution for : the main application (the one which make uses of this engine) has a “admin” layout w…

---

## [~6/2/2013 12:49:14 pm~](https://www.ruby-forum.com/t/6-2-2013-1214-pm/245446)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 2, 2013, 1:57pm UTC](https://www.ruby-forum.com/t/6-2-2013-1214-pm/245446 "2013-06-02T13:57:29Z")

</div>

http://fabrikaznany.ru/bprv/vdirepsdmtjhzupmk.aygyyyid

---

## [Failed to connect database asterisk on 127.0.0.1:(](https://www.ruby-forum.com/t/failed-to-connect-database-asterisk-on-127-0-0-1/178373)

<div class="topic-metadata">

**Author:** [@pingping\_chen](https://www.ruby-forum.com/u/pingping_chen)\
**Replies:** 0\
**Last updated:** [November 3, 2009, 6:16pm UTC](https://www.ruby-forum.com/t/failed-to-connect-database-asterisk-on-127-0-0-1/178373 "2009-11-03T18:16:10Z")

</div>

I have successfully install asterisk 1.6.2, asterisk-addon 1.6.2, asterisk sounds, zaptel 1.4 and libpri 1.4. And Asterisk went on rightly untile yesterday when I do a “upgrade” to my ubuntu system. Now when I type …

---

## [Need example of nginx.conf for Tomcat 6 (running Alfresco)](https://www.ruby-forum.com/t/need-example-of-nginx-conf-for-tomcat-6-running-alfresco/188062)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 2\
**Last updated:** [May 14, 2010, 7:47am UTC](https://www.ruby-forum.com/t/need-example-of-nginx-conf-for-tomcat-6-running-alfresco/188062 "2010-05-14T07:47:40Z")

</div>

Hi - I have recently installed Alfresco on my server, using Tomcat (no Apache), and I’m able to access Alfresco as follows WITHOUT using nginx: http://myserver.com:8080/alfresco http://myserver.com:8080/share Now, o…

---

## [DBI: connect succeeds in IRB, fails in Rails](https://www.ruby-forum.com/t/dbi-connect-succeeds-in-irb-fails-in-rails/173945)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 2\
**Last updated:** [August 19, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/dbi-connect-succeeds-in-irb-fails-in-rails/173945 "2009-08-19T14:24:34Z")

</div>

require ‘dbi’ # 0.4.2 dbh = DBI.connect(‘DBI:ODBC:PACS’, ‘username’, ‘password’) This works in IRB; in Rails it fails (taken from Rails console): DBI::InterfaceError: Unable to load driver ‘ODBC’ (underlying error: u…

---

## [MySQL configured to use tunneled localhost port](https://www.ruby-forum.com/t/mysql-configured-to-use-tunneled-localhost-port/118480)

<div class="topic-metadata">

**Author:** [@jbsmith](https://www.ruby-forum.com/u/jbsmith)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 1:34am UTC](https://www.ruby-forum.com/t/mysql-configured-to-use-tunneled-localhost-port/118480 "2007-10-28T01:34:28Z")

</div>

Today I discovered an interesting behavior of the mysql database adapter when connecting to a tunneled localhost port for MySQL from OSX. i started a tunnel using the usual ssh command line options: ssh -p 22 -L 3307:…

---

## [QT GUI FFTSINK in C++ Flowgraph](https://www.ruby-forum.com/t/qt-gui-fftsink-in-c-flowgraph/226552)

<div class="topic-metadata">

**Author:** [@Daniel\_Labarowski](https://www.ruby-forum.com/u/Daniel_Labarowski)\
**Replies:** 6\
**Last updated:** [December 20, 2012, 4:07am UTC](https://www.ruby-forum.com/t/qt-gui-fftsink-in-c-flowgraph/226552 "2012-12-20T04:07:24Z")

</div>

Hello, I am attempting to use qt gui widgets in a C++ flowgraph. I managed to get all of the build dependencies figured out, which was no easy task in itself and required a lot of direct includes. Anyway, the error th…

---

## [We're sorry, but something went wrong](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/190181)

<div class="topic-metadata">

**Author:** [@GFP](https://www.ruby-forum.com/u/GFP)\
**Replies:** 6\
**Last updated:** [June 18, 2010, 12:28am UTC](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/190181 "2010-06-18T00:28:38Z")

</div>

I am an RoR newb, so bear with me here. I am on an Intel based Mac running OS X 10.4.11 I have started the ‘RoR Essentials’ tutorial on lynda.com. I have installed (I believe) all the necessary components: ruby 1.8.7…

---

## [Understanding inheritance and class singleton methods](https://www.ruby-forum.com/t/understanding-inheritance-and-class-singleton-methods/149368)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 6\
**Last updated:** [September 24, 2008, 11:08am UTC](https://www.ruby-forum.com/t/understanding-inheritance-and-class-singleton-methods/149368 "2008-09-24T11:08:36Z")

</div>

Hi, I’ll start with what I understand: class Foo class \<\< self def hi puts ‘HI’ end end end Creates an instance of a singleton class that has the method #hi. So Foo.hi calls the method defined in the class of F…

---

## [Hiding a scroll bar](https://www.ruby-forum.com/t/hiding-a-scroll-bar/144115)

<div class="topic-metadata">

**Author:** [@andre\_nho](https://www.ruby-forum.com/u/andre_nho)\
**Replies:** 6\
**Last updated:** [August 5, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/hiding-a-scroll-bar/144115 "2008-08-05T14:15:39Z")

</div>

Hello, I’m writing a application where I have a textview inside a scrolledwindow. Is it possible to hide the vertical scrollbar? I tried scrolledwindow.set\_policy(Gtk::POLICY\_NEVER) but then my textview grows as the …

---

## [Extract youtube video id with eval?](https://www.ruby-forum.com/t/extract-youtube-video-id-with-eval/134107)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 6\
**Last updated:** [April 7, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/extract-youtube-video-id-with-eval/134107 "2008-04-07T22:46:09Z")

</div>

Hi, I’m just doing the research but maybe someone already knows… I have a youtube video url: (&feature might or might not be present) I can get the thum of the video using: http://img.youtube.com/vi/n1N…

---

## [Migration y Foreing keys](https://www.ruby-forum.com/t/migration-y-foreing-keys/108732)

<div class="topic-metadata">

**Author:** [@ricardoSdetectoma](https://www.ruby-forum.com/u/ricardoSdetectoma)\
**Replies:** 6\
**Last updated:** [August 22, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/migration-y-foreing-keys/108732 "2007-08-22T13:08:43Z")

</div>

Hola a todos, me presento pues soy nuevo en la comunidad, mi nombre es Ricardo y hasta ahora me he centrado en lenguajes de script principalmente PHP y en especial symfony como framework, ahora me han surgido ganas de…

---

## [New to ruby and trying to minitest](https://www.ruby-forum.com/t/new-to-ruby-and-trying-to-minitest/233919)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [January 22, 2015, 5:23pm UTC](https://www.ruby-forum.com/t/new-to-ruby-and-trying-to-minitest/233919 "2015-01-22T17:23:40Z")

</div>

i recreated a test directory, and placed all the necessary files in the directory. rails 3.2.21 ruby 2.1.4 replaced gem ‘minitest’ with gem ‘minitest-rails’, ‘~\> 0.1.0.alpha’ I replaced coz I was getting in error i…

---

## [Require and include?](https://www.ruby-forum.com/t/require-and-include/186028)

<div class="topic-metadata">

**Author:** [@rantingrick](https://www.ruby-forum.com/u/rantingrick)\
**Replies:** 7\
**Last updated:** [March 30, 2010, 6:29pm UTC](https://www.ruby-forum.com/t/require-and-include/186028 "2010-03-30T18:29:35Z")

</div>

Hello, I am having trouble understanding the difference between require and include. Also i need to know how to import a certain function or class into my current namespace. Now before i go any further i should expla…

---

## [Looking for Examples](https://www.ruby-forum.com/t/looking-for-examples/146964)

<div class="topic-metadata">

**Author:** [@Glen\_Cooper](https://www.ruby-forum.com/u/Glen_Cooper)\
**Replies:** 7\
**Last updated:** [August 27, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/looking-for-examples/146964 "2008-08-27T18:25:12Z")

</div>

I’m wondering if anyone can point me to some good example projects using IronRuby. Specifically I’m looking for libraries and projects using some of the things we take for granted with regular ruby development - rake…

---

## [Deploying on windows 2000 server](https://www.ruby-forum.com/t/deploying-on-windows-2000-server/103246)

<div class="topic-metadata">

**Author:** [@leethal](https://www.ruby-forum.com/u/leethal)\
**Replies:** 7\
**Last updated:** [May 3, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/deploying-on-windows-2000-server/103246 "2007-05-03T19:36:37Z")

</div>

I’m not a windows user, and I’ve never deployed on windows. Made this small app for a company, and they want it deployed on one of their own servers - a windows server. I’ve installed this Rails Prod Win package. When…

---

## [Timer Task?](https://www.ruby-forum.com/t/timer-task/68130)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 7\
**Last updated:** [September 10, 2006, 1:21am UTC](https://www.ruby-forum.com/t/timer-task/68130 "2006-09-10T01:21:41Z")

</div>

Disclaimer: I’m relatively new to Ruby, but I love it. :slight\_smile: I’m writing my first real ruby utility on my own (using the snarl library http://www.fullphat.net/ plus Google Code Archive - Long-term storage fo…

---

## [This code doesn't open the file](https://www.ruby-forum.com/t/this-code-doesnt-open-the-file/259943)

<div class="topic-metadata">

**Author:** [@kali](https://www.ruby-forum.com/u/kali)\
**Replies:** 4\
**Last updated:** [July 27, 2020, 2:20pm UTC](https://www.ruby-forum.com/t/this-code-doesnt-open-the-file/259943 "2020-07-27T14:20:41Z")

</div>

Hi guys, I am new to ruby, and I am trying to create a simple script that opens file, but it doesn’t work! system "color 9f" puts "Eseguendo BatchMaker… by Sapphire Security" system "timeout 3 \> nul" puts "Ecco i princi…

---

## [Failed to build gem native extension](https://www.ruby-forum.com/t/failed-to-build-gem-native-extension/192822)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 4\
**Last updated:** [September 1, 2010, 3:34am UTC](https://www.ruby-forum.com/t/failed-to-build-gem-native-extension/192822 "2010-09-01T03:34:04Z")

</div>

Hi everyone I want to install ferret on windows. I run the command ‘gem install ferret’, but I got this error. Building native extensions. This could take a while… ERROR: Error installing ferret: ERROR: Failed to …

---

## [Can't install typo using installer](https://www.ruby-forum.com/t/cant-install-typo-using-installer/172157)

<div class="topic-metadata">

**Author:** [@Christopher\_Becker](https://www.ruby-forum.com/u/Christopher_Becker)\
**Replies:** 4\
**Last updated:** [July 15, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/cant-install-typo-using-installer/172157 "2009-07-15T21:31:49Z")

</div>

Hi, Tried on my macbook w/leopard and my debian server, can’t get it to work. I always get this: config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no specification file. Run ‘rake gems:refresh\_specs’ to…

---

## [OptParse bug?](https://www.ruby-forum.com/t/optparse-bug/159119)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [February 1, 2009, 12:40am UTC](https://www.ruby-forum.com/t/optparse-bug/159119 "2009-02-01T00:40:51Z")

</div>

With this file: C:\\dev\\thesis\_p2pwebcode\\src\>cat example.rb require ‘optparse’ OptionParser.new do |opts| opts.on('-p', '--do\_multiples\_with\_variant=NAME', 'multiples variant ex: ') do |name| end end.parse! I get…

---

## [Newbie: lambda do...end.should change(Model, :count).by(1). Doesn't 	work](https://www.ruby-forum.com/t/newbie-lambda-do-end-should-change-model-count-by-1-doesnt-work/137237)

<div class="topic-metadata">

**Author:** [@carminem](https://www.ruby-forum.com/u/carminem)\
**Replies:** 4\
**Last updated:** [May 11, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/newbie-lambda-do-end-should-change-model-count-by-1-doesnt-work/137237 "2008-05-11T17:17:22Z")

</div>

Hi to everyone, I’m an RSpec, and BDD in general, newbie so in order to learn I have chosen to use my personal website as a tesbed. I’m having difficulties juggling with mocks, and in particula with the following cod…

---

## [How can I investigate when a rspec test fails?](https://www.ruby-forum.com/t/how-can-i-investigate-when-a-rspec-test-fails/207584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 29, 2011, 11:04pm UTC](https://www.ruby-forum.com/t/how-can-i-investigate-when-a-rspec-test-fails/207584 "2011-05-29T23:04:14Z")

</div>

For example: it “re-renders the ‘new’ template” do # Trigger the behavior that occurs when invalid params are submitted Sector.any\_instance.stub(:save).and\_return(false) post :create, :sector =\> {} response.should …

---

## [Subrequest using Parent Request Body](https://www.ruby-forum.com/t/subrequest-using-parent-request-body/188226)

<div class="topic-metadata">

**Author:** [@Matthieu\_T](https://www.ruby-forum.com/u/Matthieu_T)\
**Replies:** 5\
**Last updated:** [May 12, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/subrequest-using-parent-request-body/188226 "2010-05-12T23:23:18Z")

</div>

Hi, I’m trying to send a POST Subrequest using the same request\_body as the Parent Request. The subrequest is sent first, and once it has been finalized the parent request goes through. (this is inspired on Maxim’s …

---

## [Initialize not being called on objects created from literals](https://www.ruby-forum.com/t/initialize-not-being-called-on-objects-created-from-literals/168886)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 5\
**Last updated:** [May 28, 2009, 12:04am UTC](https://www.ruby-forum.com/t/initialize-not-being-called-on-objects-created-from-literals/168886 "2009-05-28T00:04:05Z")

</div>

Initialize doesn’t appear to get called. class Object def initialize @foo = ‘bar’ end attr\_reader :foo end a = Object.new # =\> #\<Object:0x54c964 @foo=“bar”\> a.foo # =\> “bar” ‘string’.foo # =\> nil //.foo # =\> ni…

---

## [HTMLDiff for jruby and ruby](https://www.ruby-forum.com/t/htmldiff-for-jruby-and-ruby/168556)

<div class="topic-metadata">

**Author:** [@virendra](https://www.ruby-forum.com/u/virendra)\
**Replies:** 5\
**Last updated:** [May 22, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/htmldiff-for-jruby-and-ruby/168556 "2009-05-22T17:32:17Z")

</div>

hello there from past few days iam trying to find out a gem that can compare the difference between two html file. i have tried to install myobie-htmldiff gem but the install didnt work out properly an it gave me err…

---

## [Newbie question about POSTing xml file to RESTful rails app](https://www.ruby-forum.com/t/newbie-question-about-posting-xml-file-to-restful-rails-app/83910)

<div class="topic-metadata">

**Author:** [@tomPorter](https://www.ruby-forum.com/u/tomPorter)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/newbie-question-about-posting-xml-file-to-restful-rails-app/83910 "2007-09-25T23:09:41Z")

</div>

I have a newbie question about creating a new item using REST in rails 1.2. I created my project: ‘rails mra -d sqlite3’ I generate all I can: ‘cd mra’ ‘script/generate scaffold\_resource widget name:string des…

---

## [Chess engine in ruby?](https://www.ruby-forum.com/t/chess-engine-in-ruby/55009)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [March 16, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/chess-engine-in-ruby/55009 "2006-03-16T18:21:52Z")

</div>

I’m a beginning chess player and a beginning Ruby developer :slight\_smile: I was wondering if there’s a Ruby chess engine somewhere. I thought it might be interested to read the code and see if I get better at Ruby, …

---

## [Validates\_uniqueness\_of :username, :if =\> !self.new\_record?](https://www.ruby-forum.com/t/validates-uniqueness-of-username-if-self-new-record/53043)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [January 23, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/validates-uniqueness-of-username-if-self-new-record/53043 "2006-01-23T21:44:34Z")

</div>

Hi all I want users to register on my page. To register, they only have to deliver an email and a password. Then a link with an activation token will be sent to them, and after clicking the link the user sees a page …

---

## [Aio info](https://www.ruby-forum.com/t/aio-info/206581)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 9, 2011, 11:33am UTC](https://www.ruby-forum.com/t/aio-info/206581 "2011-05-09T11:33:42Z")

</div>

Hi A lot of talk about AIO recently - I actually didn’t know it existed before, so I am trying it on freebsd8 sysctl -a | grep aio kern.features.aio: 1 vfs.aio.max\_buf\_aio: 16 vfs.aio.max\_aio\_queue\_per\_proc: 256 vf…

---

## [Functional testing and HTTP authentication](https://www.ruby-forum.com/t/functional-testing-and-http-authentication/197354)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [October 15, 2010, 7:06am UTC](https://www.ruby-forum.com/t/functional-testing-and-http-authentication/197354 "2010-10-15T07:06:30Z")

</div>

Hi, If I want my functional tests to bypass the built in Rails HTTP authentication, how would I do that? Would I use something like FlexMock to stub out the :before\_filter for my controller? Could someone please prov…

---

## [Lunix split with ruby](https://www.ruby-forum.com/t/lunix-split-with-ruby/176874)

<div class="topic-metadata">

**Author:** [@ahmet](https://www.ruby-forum.com/u/ahmet)\
**Replies:** 8\
**Last updated:** [October 8, 2009, 4:27am UTC](https://www.ruby-forum.com/t/lunix-split-with-ruby/176874 "2009-10-08T04:27:39Z")

</div>

I am using cygwin on windows. I write this script. I have to split all files in the directory. Dir.foreach(‘C:/tmp/test’) {|file| f = system( “split -l 60000 #{file}”) puts “file name : #{f}” } My files is file1…

---

## [What's the rules re whether a Hash can use either a Symbol or String to reference the value?](https://www.ruby-forum.com/t/whats-the-rules-re-whether-a-hash-can-use-either-a-symbol-or-string-to-reference-the-value/157537)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 8\
**Last updated:** [January 13, 2009, 8:26am UTC](https://www.ruby-forum.com/t/whats-the-rules-re-whether-a-hash-can-use-either-a-symbol-or-string-to-reference-the-value/157537 "2009-01-13T08:26:14Z")

</div>

Hi, Getting confused with Hashes a bit. It seems sometimes I can use both a Symbol or a String to get the value back, but other times the Symbol doesn’t work. Is there any rule re how to remember how Hash handles s…

---

## [Problem with BBN's 802.11 MAC](https://www.ruby-forum.com/t/problem-with-bbns-802-11-mac/91127)

<div class="topic-metadata">

**Author:** [@Dola\_Saha](https://www.ruby-forum.com/u/Dola_Saha)\
**Replies:** 8\
**Last updated:** [April 5, 2007, 1:41am UTC](https://www.ruby-forum.com/t/problem-with-bbns-802-11-mac/91127 "2007-04-05T01:41:26Z")

</div>

Hi, I am using gnuradio with BBN’s 802.11 mac in Ubuntu platform. When I am using bbn\_80211b\_rx.py, I cannot capture any packet. But, when I am transmitting using bbn\_80211b\_tx.py, I can capture all the packets as tr…

---

## [Ferret install, rake failing on make](https://www.ruby-forum.com/t/ferret-install-rake-failing-on-make/70888)

<div class="topic-metadata">

**Author:** [@dougal](https://www.ruby-forum.com/u/dougal)\
**Replies:** 8\
**Last updated:** [October 5, 2006, 7:41am UTC](https://www.ruby-forum.com/t/ferret-install-rake-failing-on-make/70888 "2006-10-05T07:41:57Z")

</div>

I’m currently trying to install the latest version of Ferret (0.10.9) on my Ubuntu Dapper (6.06) system. I have tried the gem, but it does not generate the ferret\_ext.so file. Ideally I would prefer to install from th…

---

## [Timeunits-0.0.0](https://www.ruby-forum.com/t/timeunits-0-0-0/67669)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [September 6, 2006, 8:03am UTC](https://www.ruby-forum.com/t/timeunits-0-0-0/67669 "2006-09-06T08:03:19Z")

</div>

we’ve all written bits of it before, here it is for that don’t want to: NAME timeunits.rb URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.org/lib/ruby/ SYNOPSIS adds methods to Numeric and T…

---

## [Rails ERD - Help with model](https://www.ruby-forum.com/t/rails-erd-help-with-model/235253)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 4, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/rails-erd-help-with-model/235253 "2013-07-04T15:57:05Z")

</div>

Hello i have some errors in generating ERD from models… I guess i have wrong associations… please look at it \[DB\] orders payment\_address\_id delivery\_address\_id user\_id products\_orders product\_id order\_id \[MODELS\] …

---

## [What is print\_r in rails](https://www.ruby-forum.com/t/what-is-print-r-in-rails/74184)

<div class="topic-metadata">

**Author:** [@Brutyn\_N](https://www.ruby-forum.com/u/Brutyn_N)\
**Replies:** 2\
**Last updated:** [December 21, 2005, 5:08pm UTC](https://www.ruby-forum.com/t/what-is-print-r-in-rails/74184 "2005-12-21T17:08:06Z")

</div>

hey, i know u have in php print\_r or echo, so that the browser print the variable on top of page, no matter what what is this in rails?? put doesnt seem to work Thanks Nick

---

## [Visual Ruby under attack from agents](https://www.ruby-forum.com/t/visual-ruby-under-attack-from-agents/244664)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 24, 2016, 3:51am UTC](https://www.ruby-forum.com/t/visual-ruby-under-attack-from-agents/244664 "2016-05-24T03:51:30Z")

</div>

look at : “Class and Module Index” at bottommost there is a “Massage” thing going on! VISUAL RUBY IS UNDER ATTACK ! a pirated entry into the documentation ! NOES !

---

## [After 1 minute, I get this error: "connect() to 127.0.0.1:8080 failed (99: Cannot assign requested a](https://www.ruby-forum.com/t/after-1-minute-i-get-this-error-connect-to-127-0-0-1-8080-failed-99-cannot-assign-requested-a/239121)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [February 13, 2014, 1:52pm UTC](https://www.ruby-forum.com/t/after-1-minute-i-get-this-error-connect-to-127-0-0-1-8080-failed-99-cannot-assign-requested-a/239121 "2014-02-13T13:52:38Z")

</div>

Hi, First of all, my environment: About 1.6 GB RAM, which doesn’t seem to be a bottleneck because actually I’m barely using it. CPU fast enough (I guess) Ubuntu 12.0.4 (32 bits, probably thats irrelevant here) My us…

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

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