# Top

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

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

---

## [Single character input without pressing 'Enter'](https://www.ruby-forum.com/t/single-character-input-without-pressing-enter/69314)

<div class="topic-metadata">

**Author:** [@unni.tallman](https://www.ruby-forum.com/u/unni.tallman)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/single-character-input-without-pressing-enter/69314 "2006-09-20T14:56:42Z")

</div>

how can i read input from stdin, char by char, i want to get the character as soon as it is entered, without having to press ‘Enter’ after each character.

---

## [Handle all the unhandled exceptions](https://www.ruby-forum.com/t/handle-all-the-unhandled-exceptions/65859)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 3\
**Last updated:** [August 22, 2006, 12:20am UTC](https://www.ruby-forum.com/t/handle-all-the-unhandled-exceptions/65859 "2006-08-22T00:20:40Z")

</div>

I was just thinking, how do i go about this. In the latest edition of AWDR, DHH talk about something like this.But i guess, that part of text is still not written. So any clues? – nothing much to talk

---

## [RE: Does shared hosting work? Anywhere?](https://www.ruby-forum.com/t/re-does-shared-hosting-work-anywhere/53820)

<div class="topic-metadata">

**Author:** [@JohnsonS\_BenSR](https://www.ruby-forum.com/u/JohnsonS_BenSR)\
**Replies:** 3\
**Last updated:** [February 15, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/re-does-shared-hosting-work-anywhere/53820 "2006-02-15T17:49:30Z")

</div>

Does dreamhost feature Rails support? I couldn’t find that on their website. Ben

---

## [ROR on solaris?](https://www.ruby-forum.com/t/ror-on-solaris/49145)

<div class="topic-metadata">

**Author:** [@shaun](https://www.ruby-forum.com/u/shaun)\
**Replies:** 8\
**Last updated:** [November 30, 2005, 6:48pm UTC](https://www.ruby-forum.com/t/ror-on-solaris/49145 "2005-11-30T18:48:11Z")

</div>

Can someone tell me if ruby on rails will run on solarisx86. And if so, do you know where I might find some instructions for installing it on solaris. I have been unable to find very much information in regards to thi…

---

## [Using Rake across multiple files](https://www.ruby-forum.com/t/using-rake-across-multiple-files/222039)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 9, 2012, 9:25pm UTC](https://www.ruby-forum.com/t/using-rake-across-multiple-files/222039 "2012-08-09T21:25:53Z")

</div>

Hi Everyone, Bear with me here - I try to be descriptive right off the bat to spare future questions :slight\_smile: I’m working on a tool that uses rake to call ruby methods. A brief description of my setup: File A:…

---

## [IronRuby internals - How can I get the full path to the current file?](https://www.ruby-forum.com/t/ironruby-internals-how-can-i-get-the-full-path-to-the-current-file/215417)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 4, 2012, 5:12am UTC](https://www.ruby-forum.com/t/ironruby-internals-how-can-i-get-the-full-path-to-the-current-file/215417 "2012-01-04T05:12:51Z")

</div>

I thought I’d be a good samaritan and implement require\_relative in IronRuby, but I’m having real trouble figuring out what the current file’s path actually is. The closest I’ve got is something like this: Pull apa…

---

## [SIGCHLD handler not working correctly](https://www.ruby-forum.com/t/sigchld-handler-not-working-correctly/123235)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Q](https://www.ruby-forum.com/u/Asfand_Yar_Q)\
**Replies:** 1\
**Last updated:** [December 15, 2007, 2:18pm UTC](https://www.ruby-forum.com/t/sigchld-handler-not-working-correctly/123235 "2007-12-15T14:18:37Z")

</div>

Hi, Here’s some test code that demonstrates what I’m doing: ----------------------cut here---------------------- #!/usr/bin/ruby -w trap\_quit = lambda { |sig| signame = Signal.list.find {|k, v| v == sig }\[0\] STDERR…

---

## [Ssl proxys https web server is very slow](https://www.ruby-forum.com/t/ssl-proxys-https-web-server-is-very-slow/230497)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 23, 2014, 3:55am UTC](https://www.ruby-forum.com/t/ssl-proxys-https-web-server-is-very-slow/230497 "2014-06-23T03:55:03Z")

</div>

Hi, It’s my first time using NGINX to proxy other web servers. I set a variable in location, this variable may be gotten in cookie or args. if I use it directly likes “proxy\_pass https://$nodeIp2;”, it will get the re…

---

## [Scoped query generating superfluous SELECT COUNT(\*)?](https://www.ruby-forum.com/t/scoped-query-generating-superfluous-select-count/200089)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 6, 2010, 12:57am UTC](https://www.ruby-forum.com/t/scoped-query-generating-superfluous-select-count/200089 "2010-12-06T00:57:34Z")

</div>

I’m using an ActiveRecord scope as a discriminator then passing it to another function for the actual query. It’s generating what I consider to be an extra SQL transaction, and since this is in an inner loop, I’d lik…

---

## [Undefined method respont\_to - rspec](https://www.ruby-forum.com/t/undefined-method-respont-to-rspec/190290)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 4\
**Last updated:** [June 17, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/undefined-method-respont-to-rspec/190290 "2010-06-17T16:35:21Z")

</div>

Hello list, I have this very simple model spec: require ‘spec\_helper’ describe Token do describe “Associations” do token = Token.new token.should respond\_to(:user) end end When I run it, I get the following erro…

---

## [Adding days to date](https://www.ruby-forum.com/t/adding-days-to-date/187727)

<div class="topic-metadata">

**Author:** [@nfwt](https://www.ruby-forum.com/u/nfwt)\
**Replies:** 4\
**Last updated:** [April 28, 2010, 11:33am UTC](https://www.ruby-forum.com/t/adding-days-to-date/187727 "2010-04-28T11:33:48Z")

</div>

Hello, Does anyone know what the problem with the following code ??? Date.today.to\_s =\> “2010-04-28” (Date.today + 1.day).to\_s =\> “2246-11-17” (Date.today + 2.days).to\_s =\> “2483-06-07” Thanks in advance

---

## [Rails3 + RSpec2 sample project?](https://www.ruby-forum.com/t/rails3-rspec2-sample-project/183068)

<div class="topic-metadata">

**Author:** [@Jacques\_C](https://www.ruby-forum.com/u/Jacques_C)\
**Replies:** 4\
**Last updated:** [February 23, 2010, 1:17am UTC](https://www.ruby-forum.com/t/rails3-rspec2-sample-project/183068 "2010-02-23T01:17:18Z")

</div>

If anyone has any sort of Rails3 + Rspec2 project sort of working, we should get a stripped down sample project on github. Martin did a great one for datamapper: GitHub - snusnu/datamapper\_on\_rails3: Very simple sample…

---

## [How do I start to attack this error?](https://www.ruby-forum.com/t/how-do-i-start-to-attack-this-error/181557)

<div class="topic-metadata">

**Author:** [@SundbergS\_Patrik](https://www.ruby-forum.com/u/SundbergS_Patrik)\
**Replies:** 4\
**Last updated:** [January 13, 2010, 7:58pm UTC](https://www.ruby-forum.com/t/how-do-i-start-to-attack-this-error/181557 "2010-01-13T19:58:19Z")

</div>

Hi, I’m running into a jruby error on some code that previously ran fine on MRI (some changes made but nothing major, definitely looks jruby related). It’s the seeds.rb file of an app setting up a DB using DataMapper…

---

## [Nginx in high concurrency setups](https://www.ruby-forum.com/t/nginx-in-high-concurrency-setups/180447)

<div class="topic-metadata">

**Author:** [@Dennis\_J](https://www.ruby-forum.com/u/Dennis_J)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/nginx-in-high-concurrency-setups/180447 "2009-12-19T15:25:40Z")

</div>

Hi, I’m currently experimenting how many concurrent connections nginx can handle. The problem I’m running into is that for each request I send to the server I get a connection in TIME\_WAIT state. If I do this using …

---

## [\[ANN\] JRuby 1.4.0 Released](https://www.ruby-forum.com/t/ann-jruby-1-4-0-released/178336)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 4\
**Last updated:** [November 4, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/ann-jruby-1-4-0-released/178336 "2009-11-04T17:23:09Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org After three very helpful release candidates we have a final 1.4.0 release. This r…

---

## [0.9.1 regression when creating System::Array of clr enum values](https://www.ruby-forum.com/t/0-9-1-regression-when-creating-system-array-of-clr-enum-values/176391)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 4\
**Last updated:** [September 30, 2009, 2:58am UTC](https://www.ruby-forum.com/t/0-9-1-regression-when-creating-system-array-of-clr-enum-values/176391 "2009-09-30T02:58:23Z")

</div>

I have a CLR dll which declares an enumeration FieldID. It’s just an ordinary C# enum I have the following code which used to work under 0.9 fields\_to\_read = \[FieldID.DBID, FieldID.Name\] clr\_fields = System::Array\[Fi…

---

## [Axml : no such file to load -- axml](https://www.ruby-forum.com/t/axml-no-such-file-to-load-axml/172010)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 4\
**Last updated:** [July 14, 2009, 10:36am UTC](https://www.ruby-forum.com/t/axml-no-such-file-to-load-axml/172010 "2009-07-14T10:36:18Z")

</div>

Bonjour, Je ne comprends pas une chose. Je souhaite utiliser la ‘library’ axml dans Netbeans. J’ai installÃ© mon paquet gem ‘axml 0.0.7’. Dans mon projet, je fais un require ‘axml’ et j’obtiens toujours le message d’…

---

## [Learning Cucumber](https://www.ruby-forum.com/t/learning-cucumber/153230)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [November 15, 2008, 2:35am UTC](https://www.ruby-forum.com/t/learning-cucumber/153230 "2008-11-15T02:35:39Z")

</div>

Here is the scenario: Scenario: Create a new entity row Given I am on the new entity page When I fill in a textbox labelled “Common Name” with “My New Entity” And I fill in a textbox labelled “Full Legal Name:” with …

---

## [Re: Using RSpec to drive the design of a GUI desktop	application](https://www.ruby-forum.com/t/re-using-rspec-to-drive-the-design-of-a-gui-desktop-application/120554)

<div class="topic-metadata">

**Author:** [@el-oy](https://www.ruby-forum.com/u/el-oy)\
**Replies:** 4\
**Last updated:** [November 18, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/re-using-rspec-to-drive-the-design-of-a-gui-desktop-application/120554 "2007-11-18T19:58:06Z")

</div>

Hey Mathijs, Someone pinged me that you were interested in BDD with RubyCocoa (RC), so I thought I’d just chip in. I write my RC apps in a BDD way and as such support for it is included with Rucola. When we release …

---

## [Buscar usuarios con determinado rol](https://www.ruby-forum.com/t/buscar-usuarios-con-determinado-rol/113327)

<div class="topic-metadata">

**Author:** [@antoniorv](https://www.ruby-forum.com/u/antoniorv)\
**Replies:** 4\
**Last updated:** [August 31, 2007, 10:06am UTC](https://www.ruby-forum.com/t/buscar-usuarios-con-determinado-rol/113327 "2007-08-31T10:06:48Z")

</div>

Buenas, Tengo dos modelos, Usuario y Roles, estÃ¡n relacionados N:N. En el controlador, necesito sacar un objeto @clientes, que serÃ­an los usuarios que tuviesen el rol de cliente. Como puedo hacer esta bÃºsqueda? Mu…

---

## ["502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams](https://www.ruby-forum.com/t/502-bad-gateway-on-first-request-in-a-setup-with-apache-2-4-servers-as-upstreams/244947)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 15, 2016, 7:22pm UTC](https://www.ruby-forum.com/t/502-bad-gateway-on-first-request-in-a-setup-with-apache-2-4-servers-as-upstreams/244947 "2016-07-15T19:22:57Z")

</div>

The error I am getting in the logs: “upstream prematurely closed connection while reading response header from upstream” After the first request it works for 10-15 seconds without any problem. According to tcpdump i…

---

## [Restarting Terminal when creating new attribute in atom question](https://www.ruby-forum.com/t/restarting-terminal-when-creating-new-attribute-in-atom-question/231802)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 31, 2014, 7:00pm UTC](https://www.ruby-forum.com/t/restarting-terminal-when-creating-new-attribute-in-atom-question/231802 "2014-08-31T19:00:48Z")

</div>

Hi All, I just started the UT on Rails class through reddit and am completely new to programing. I apologize for not being able to articulate my problem clearly. I am watching this video Databases & Rails: Databas…

---

## [Php and urls with /?xxx](https://www.ruby-forum.com/t/php-and-urls-with-xxx/214030)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [November 19, 2011, 4:14am UTC](https://www.ruby-forum.com/t/php-and-urls-with-xxx/214030 "2011-11-19T04:14:28Z")

</div>

Ahoi, at the moment i use a “location .php {}” block for opening php-files through fastcgi\_pass. But what’s the right way for calls like www.xxx.xxx/?xxx=xxx ? For Wordpress-Urls like /index.php/xxx/ try\_files $uri …

---

## [Graph 2.2.0 Released](https://www.ruby-forum.com/t/graph-2-2-0-released/210652)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [August 18, 2011, 6:13am UTC](https://www.ruby-forum.com/t/graph-2-2-0-released/210652 "2011-08-18T06:13:30Z")

</div>

graph version 2.2.0 has been released! https://github.com/seattlerb/graph Graph is a type of hash that outputs in graphviz’s dot format. It comes with a command-line interface that is easily pluggable. It ships with…

---

## [Route helpers are not working](https://www.ruby-forum.com/t/route-helpers-are-not-working/205144)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 30, 2011, 6:46pm UTC](https://www.ruby-forum.com/t/route-helpers-are-not-working/205144 "2011-03-30T18:46:57Z")

</div>

Hey all, I find this in ruby guide: resources :photos do collection do get ‘search’ end end It will also create the search\_photos\_url and search\_photos\_path route helpers. So I try to implement: #routes resour…

---

## [Unable to use CHIVE MySQL database management tool](https://www.ruby-forum.com/t/unable-to-use-chive-mysql-database-management-tool/197499)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [October 18, 2010, 6:34am UTC](https://www.ruby-forum.com/t/unable-to-use-chive-mysql-database-management-tool/197499 "2010-10-18T06:34:09Z")

</div>

Currently use linode server. Ubuntu 10.04, nginx 0.8.52, PHP-fpm, I try to create subdomain for Chive. but it doesn’t to work. Cant access database at all. When i try with SQL buddy it work but my boss like Chive bett…

---

## [Error handling with exceptions in multi-thread download](https://www.ruby-forum.com/t/error-handling-with-exceptions-in-multi-thread-download/193974)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 6\
**Last updated:** [August 27, 2010, 5:41pm UTC](https://www.ruby-forum.com/t/error-handling-with-exceptions-in-multi-thread-download/193974 "2010-08-27T17:41:14Z")

</div>

there are three program fragments,all of them have same problems, all of them can run ,but when i downloaded 30% data,an error ocurr undefined local variable or method \`web’ for Data:Class (NameError) cthreaddown…

---

## [\[Feature:1.9\] How about IPAddr#\<=\> to take care of mask\_addr?](https://www.ruby-forum.com/t/feature-1-9-how-about-ipaddr-to-take-care-of-mask-addr/173366)

<div class="topic-metadata">

**Author:** [@Nobuhiro\_IMAI](https://www.ruby-forum.com/u/Nobuhiro_IMAI)\
**Replies:** 6\
**Last updated:** [September 28, 2009, 3:26am UTC](https://www.ruby-forum.com/t/feature-1-9-how-about-ipaddr-to-take-care-of-mask-addr/173366 "2009-09-28T03:26:39Z")

</div>

e$B$$$^$$$G$9!#e(B #1877 e$B$O$"$j$,$H$&$4$6$$$^$7$?!#e(B IPAddr e$B$N%$%s%9%?%s%9$,%O%C%7%e$N%-!\<$K=PMh$k$h$&$K$J$C$?$N$G!"4JC1$Je(B Access Control List e$B$r=q$$$F$\_$?$N$G$9$,!"e(B RUBY\_DESCRIPTION =\> “ruby 1.9…

---

## [How extend ActionController?](https://www.ruby-forum.com/t/how-extend-actioncontroller/137406)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [May 13, 2008, 10:26am UTC](https://www.ruby-forum.com/t/how-extend-actioncontroller/137406 "2008-05-13T10:26:01Z")

</div>

I have some code in ApplicationController to initialize a logging system I use to help write new complex stuff and trace exactly what’s going on during development. It’s just a few little extra steps added to the basi…

---

## [Restful rails: when simple just isn't enough](https://www.ruby-forum.com/t/restful-rails-when-simple-just-isnt-enough/77324)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 6\
**Last updated:** [November 27, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/restful-rails-when-simple-just-isnt-enough/77324 "2006-11-27T21:44:41Z")

</div>

Hi, I’ve read the blogs, I’ve seen the Peepcode screencast, and I even read the beta book from the Pragmatic guys - still, I fail to understand how REST can simplify my controllers beyond the CRUD operations. Example:…

---

## [Array sorting question](https://www.ruby-forum.com/t/array-sorting-question/74987)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 11:05am UTC](https://www.ruby-forum.com/t/array-sorting-question/74987 "2006-11-07T11:05:24Z")

</div>

I have an array of arrays. the interior arrays can be of any arbitrary length including zero. I want to sort the array of arrays in such a way that the interior arrays with the most elements are closest to the middle …

---

## [Integer(nil) versus Float(nil) versus String(nil)](https://www.ruby-forum.com/t/integer-nil-versus-float-nil-versus-string-nil/66203)

<div class="topic-metadata">

**Author:** [@Christoffer\_S](https://www.ruby-forum.com/u/Christoffer_S)\
**Replies:** 6\
**Last updated:** [September 2, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/integer-nil-versus-float-nil-versus-string-nil/66203 "2006-09-02T20:32:56Z")

</div>

Dear Rubyists, def x() yield rescue :error end \[ x { Integer(nil) }, x { Float(nil) }, x{ String(nil) } \] =\> \[0, :error, “”\] Isn’t that a bit inconsistent? Cheers,

---

## [Raspberry PI 2 build failure](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 10:37am UTC](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503 "2015-07-04T10:37:44Z")

</div>

Hello, I have been attempting to build gnu radio on a Raspberry PI 2 running Debian Wheezy. I believe I have properly built and installed the latest releases of the gnu radio dependencies. However the gnu radio build …

---

## [Bugs in Examples](https://www.ruby-forum.com/t/bugs-in-examples/238235)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 1, 2014, 3:55am UTC](https://www.ruby-forum.com/t/bugs-in-examples/238235 "2014-01-01T03:55:21Z")

</div>

Yesterday, I installed vr via rubygems on my 64bit Linux Mint 13 (~Ubuntu 12.04) with ruby-2.0.0-p247 installed via rvm, and the calculator example and the child\_window example crash when I click on the buttons. As f…

---

## [Self.prepend\_view\_path - am I missing something](https://www.ruby-forum.com/t/self-prepend-view-path-am-i-missing-something/203503)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 22, 2011, 12:49pm UTC](https://www.ruby-forum.com/t/self-prepend-view-path-am-i-missing-something/203503 "2011-02-22T12:49:01Z")

</div>

I have an app that varies its content based upon the domain from which it is being accessed. Some of the domain characteristics are supported in the model but it is easier varying static text in the views and then sh…

---

## [How to list all sessions?](https://www.ruby-forum.com/t/how-to-list-all-sessions/197496)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 15, 2010, 9:51am UTC](https://www.ruby-forum.com/t/how-to-list-all-sessions/197496 "2010-10-15T09:51:25Z")

</div>

I have created ActiveRecord session store in a rails 3 project: rake db:sessions:create rake db:migrate then Myapp::Application.config.session\_store :active\_record\_store, :key =\> ‘\_myapp\_session’ in initializers/…

---

## [New Debian/Ubuntu repository!](https://www.ruby-forum.com/t/new-debian-ubuntu-repository/190489)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 2\
**Last updated:** [June 22, 2010, 11:37am UTC](https://www.ruby-forum.com/t/new-debian-ubuntu-repository/190489 "2010-06-22T11:37:59Z")

</div>

Greetings all, I am happy to announce the opening of my own personal repository to store packages in for Debian/Ubuntu. Chiefly amongst these, is the new deb package for wxRuby! This will solve the issues that peop…

---

## [Class System::Int64 does not have a valid constructor](https://www.ruby-forum.com/t/class-system-int64-does-not-have-a-valid-constructor/189158)

<div class="topic-metadata">

**Author:** [@Bobby\_J](https://www.ruby-forum.com/u/Bobby_J)\
**Replies:** 2\
**Last updated:** [May 26, 2010, 4:47pm UTC](https://www.ruby-forum.com/t/class-system-int64-does-not-have-a-valid-constructor/189158 "2010-05-26T16:47:35Z")

</div>

http://www.ruby-forum.com/topic/206766 Someone posted about this error back in March, but I didn’t see any resolution posted. Any one discovered a workaround or fix for the issue described in the original post? – “T…

---

## [Keywords Size Limit](https://www.ruby-forum.com/t/keywords-size-limit/187235)

<div class="topic-metadata">

**Author:** [@Toby\_Bryans](https://www.ruby-forum.com/u/Toby_Bryans)\
**Replies:** 2\
**Last updated:** [April 21, 2010, 10:56am UTC](https://www.ruby-forum.com/t/keywords-size-limit/187235 "2010-04-21T10:56:11Z")

</div>

Hello, I’m running typo on a postgres database for a choir website (http://amicichamberchoir.org.uk/ if you’re interested) and I try to put the name of the composers of each piece sung in each concert in the tags of …

---

## [Mongrel handler](https://www.ruby-forum.com/t/mongrel-handler/157210)

<div class="topic-metadata">

**Author:** [@sathish\_303](https://www.ruby-forum.com/u/sathish_303)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/mongrel-handler/157210 "2009-01-08T19:09:42Z")

</div>

When i try to get the remote address of the system ,its returning only the proxy server ip or localhost ip address.But i need the service provider ip address of the system.Is there is any http header variables,because…

---

## ["Not unique table/alias" errors when upgrading to Rails 2.1](https://www.ruby-forum.com/t/not-unique-table-alias-errors-when-upgrading-to-rails-2-1/139365)

<div class="topic-metadata">

**Author:** [@Olly\_L](https://www.ruby-forum.com/u/Olly_L)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 10:34am UTC](https://www.ruby-forum.com/t/not-unique-table-alias-errors-when-upgrading-to-rails-2-1/139365 "2008-06-03T10:34:07Z")

</div>

Hi I’ve just attempted an upgrade from Rails 2.02 to 2.1 and I’m seeing dozens of unit test failures with errors like this: ActionView::TemplateError: Mysql::Error: Not unique table/alias: ‘clients’: SELECT count(DIS…

---

## [Rspec throws exception (nameError)](https://www.ruby-forum.com/t/rspec-throws-exception-nameerror/118647)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 2\
**Last updated:** [October 29, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/rspec-throws-exception-nameerror/118647 "2007-10-29T20:15:00Z")

</div>

Hi, I’m running Rails 1.2.5 with rspec 1.0.8. When i runned autotest first time, it complained about this line. #include ActionView::Helpers::JavaScriptMacrosHelper in vendor/plugins/rspec\_on\_rails/lib/spec/rails/dls…

---

## [Stdlib logger thread safe?](https://www.ruby-forum.com/t/stdlib-logger-thread-safe/63483)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 2\
**Last updated:** [June 15, 2006, 8:04pm UTC](https://www.ruby-forum.com/t/stdlib-logger-thread-safe/63483 "2006-06-15T20:04:21Z")

</div>

Hi Friends- Is the Logger class in the stdlib thread safe? If I have a multi threaded application that needs to log stuff from multiple threads do I need a mutex around logger access? Thanks -Ezra

---

## [Why can't I changed the \_session\_id cookie?](https://www.ruby-forum.com/t/why-cant-i-changed-the-session-id-cookie/52437)

<div class="topic-metadata">

**Author:** [@generik](https://www.ruby-forum.com/u/generik)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 1:29am UTC](https://www.ruby-forum.com/t/why-cant-i-changed-the-session-id-cookie/52437 "2006-01-17T01:29:30Z")

</div>

Hi, I noticed that there is a cookie set by my rails scaffold that contains a 32 character hash code in it, but when I tried to change its value using Cookies\[:\_session\_id\], nothing happened, it stays the same! How a…

---

## [Open a context menu with actions in TextView widget](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 24, 2013, 8:06am UTC](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058 "2013-08-24T08:06:43Z")

</div>

Hi. I have a question. I have a window with three things - ScrolledWindow, TextBuffer and TextView. I can select text just fine with my mouse. Now I would like to press right mouse click on selection and popup a sm…

---

## [ActiveRecord::Relation](https://www.ruby-forum.com/t/activerecord-relation/205477)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [April 7, 2011, 2:21pm UTC](https://www.ruby-forum.com/t/activerecord-relation/205477 "2011-04-07T14:21:40Z")

</div>

Hi I have just started learning Rails3 (ruby1.92, Rails3.0.5) and watched railscast episode 202. I tried Article.where(:hidden =\> true) from console. I have a confusion there since the cast says that , the above sta…

---

## [Hoe 2.9.1.b.2 Released](https://www.ruby-forum.com/t/hoe-2-9-1-b-2-released/202784)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 13, 2011, 6:58am UTC](https://www.ruby-forum.com/t/hoe-2-9-1-b-2-released/202784 "2011-02-13T06:58:14Z")

</div>

hoe version 2.9.1.b.2 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ http://seattlerb.rubyforge.org/hoe/Hoe.pdf http://github.com/jbarnette/hoe-plugin-examples Hoe is a…

---

## [Career change: becoming RoR dev](https://www.ruby-forum.com/t/career-change-becoming-ror-dev/184853)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 7\
**Last updated:** [March 11, 2010, 12:07pm UTC](https://www.ruby-forum.com/t/career-change-becoming-ror-dev/184853 "2010-03-11T12:07:17Z")

</div>

Hi all, I’m 27 and worked in the sysadmin field for about five years now. I’ve been using Ruby to help me for the past two-three years, and I started with Ruby on Rails, albeit slowly, over a year ago. I’d like to ma…

---

## [Racc error on new 1.9 hash syntax](https://www.ruby-forum.com/t/racc-error-on-new-1-9-hash-syntax/181709)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 7\
**Last updated:** [January 20, 2010, 9:19am UTC](https://www.ruby-forum.com/t/racc-error-on-new-1-9-hash-syntax/181709 "2010-01-20T09:19:37Z")

</div>

racc 1.4.6 does not understand when parsing " in: value " F:/Ruby19/lib/ruby/gems/1.9.1/gems/racc-1.4.6/lib/racc/parser.rb:347:in \`on\_error’: (Racc::ParseError) parse error on value “in” (kIN)

---

## [Generate binary sequences of length n?](https://www.ruby-forum.com/t/generate-binary-sequences-of-length-n/173460)

<div class="topic-metadata">

**Author:** [@tomtoday](https://www.ruby-forum.com/u/tomtoday)\
**Replies:** 7\
**Last updated:** [August 10, 2009, 6:33pm UTC](https://www.ruby-forum.com/t/generate-binary-sequences-of-length-n/173460 "2009-08-10T18:33:55Z")

</div>

I’m rather new to Ruby. I feel this should be very simple, but I’m having trouble: I’d like to write a script to work through all possible binary sequences of length n. The script would work as follows: mylength = …

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

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