# Top

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

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

---

## [Is "case" a magic name](https://www.ruby-forum.com/t/is-case-a-magic-name/74270)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 4\
**Last updated:** [December 22, 2005, 1:54am UTC](https://www.ruby-forum.com/t/is-case-a-magic-name/74270 "2005-12-22T01:54:30Z")

</div>

I’m a newbie. My first app is using a table called cases. With just “scaffold :case” I get the basic list to show up. I just did a “generate scaffold case case” (I think that is correct). Now when I try to list my …

---

## [Creating a \<=\> method](https://www.ruby-forum.com/t/creating-a-method/50001)

<div class="topic-metadata">

**Author:** [@dirk](https://www.ruby-forum.com/u/dirk)\
**Replies:** 4\
**Last updated:** [December 11, 2005, 10:39pm UTC](https://www.ruby-forum.com/t/creating-a-method/50001 "2005-12-11T22:39:19Z")

</div>

hi everyone, i’ve created a class, and want it to be comparable with itself, but i don’t know what to place inside the \<=\> method. the basic idea is that one of the values of the class (which is a symbol) is conver…

---

## [Should this be considered a bug?](https://www.ruby-forum.com/t/should-this-be-considered-a-bug/48385)

<div class="topic-metadata">

**Author:** [@Rick\_SS](https://www.ruby-forum.com/u/Rick_SS)\
**Replies:** 4\
**Last updated:** [November 20, 2005, 4:55pm UTC](https://www.ruby-forum.com/t/should-this-be-considered-a-bug/48385 "2005-11-20T16:55:27Z")

</div>

If you define a ruby program with only one model class like this: class Order \< ActiveRecord::Base has\_many :legs end and there are no other models defined shouldn’t the has\_many cause a compile error since there is…

---

## [Explanation required on def method = (.)](https://www.ruby-forum.com/t/explanation-required-on-def-method/221021)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 27, 2012, 9:50pm UTC](https://www.ruby-forum.com/t/explanation-required-on-def-method/221021 "2012-06-27T21:50:52Z")

</div>

hello, i’ve come across a code like def password=(pass) @password = pass . . end Anyone can please explain to me what is happening in the first line itself for the def part? the code I saw did not provide anything…

---

## [Regex help please?](https://www.ruby-forum.com/t/regex-help-please/194726)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 5\
**Last updated:** [September 9, 2010, 10:52pm UTC](https://www.ruby-forum.com/t/regex-help-please/194726 "2010-09-09T22:52:16Z")

</div>

I’ve looked at regular expression documentation for hours, but I’m wondering if someone would have pity on me and just slip me the answer. What I want to do is get each of the item numbers on a list: onscreen: pens …

---

## [\[noob\] Problem with arrays](https://www.ruby-forum.com/t/noob-problem-with-arrays/226057)

<div class="topic-metadata">

**Author:** [@sobert](https://www.ruby-forum.com/u/sobert)\
**Replies:** 5\
**Last updated:** [February 12, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/noob-problem-with-arrays/226057 "2010-02-12T19:03:32Z")

</div>

Hello, I have a few issue using arrays. I’m working with rubySDL to make a vertical shooting game. I have a ship, which had a collection of “fired\_missile”. The level have a collection of critters on screen. My main…

---

## [Error loading "mysqlplus" under Ruby1.9.1](https://www.ruby-forum.com/t/error-loading-mysqlplus-under-ruby1-9-1/180327)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [December 20, 2009, 3:56am UTC](https://www.ruby-forum.com/t/error-loading-mysqlplus-under-ruby1-9-1/180327 "2009-12-20T03:56:35Z")

</div>

Hi, I’ve ruby1.8.7 and 1.9.1 installed. In both I’ve the gems: mysql (2.8.1) mysqlplus (0.1.1) When I require mysqlplus in 1.8 it is correctly loaded. However in Ruby 1.9 I get this error: LoadError: error loading m…

---

## [How to alias keywords?](https://www.ruby-forum.com/t/how-to-alias-keywords/180346)

<div class="topic-metadata">

**Author:** [@Sonja\_Elen\_K](https://www.ruby-forum.com/u/Sonja_Elen_K)\
**Replies:** 5\
**Last updated:** [December 18, 2009, 4:38am UTC](https://www.ruby-forum.com/t/how-to-alias-keywords/180346 "2009-12-18T04:38:19Z")

</div>

It’s easy to alias method names. Is there a way I can alias keywords like if or end? I want to localize Ruby code to another human language for learning/educational purposes. Any way I can get ruby or to understand ne…

---

## [Packaging - distribution](https://www.ruby-forum.com/t/packaging-distribution/174316)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 5\
**Last updated:** [August 26, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/packaging-distribution/174316 "2009-08-26T19:08:17Z")

</div>

I am looking for best practices for using a multi-file body of ruby code within a different multi-file body of ruby code. In other words, let’s say I have this: system/ stand\_alone\_sub.rb lib/ sub\_alpha.rb sub\_bra…

---

## [Database Migration error](https://www.ruby-forum.com/t/database-migration-error/164046)

<div class="topic-metadata">

**Author:** [@doelsengupta](https://www.ruby-forum.com/u/doelsengupta)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/database-migration-error/164046 "2009-03-31T15:36:46Z")

</div>

This is my first post to the forum, when I try to run a migration that has a t.column, I get this: rake aborted! undefined method \`column’ for #ActiveRecord::ConnectionAdapters::TableDefinition:0x487c194

---

## [Thoughts on controllers](https://www.ruby-forum.com/t/thoughts-on-controllers/155809)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 5\
**Last updated:** [December 17, 2008, 8:10am UTC](https://www.ruby-forum.com/t/thoughts-on-controllers/155809 "2008-12-17T08:10:00Z")

</div>

I am new to Rails. I have read a couple books and ran through a few tutorials as well. I have been using scaffolding a bit to structure a few projects that I am building for learning purposes. I am curious what your t…

---

## [Controller issue](https://www.ruby-forum.com/t/controller-issue/149678)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 5\
**Last updated:** [September 29, 2008, 1:06am UTC](https://www.ruby-forum.com/t/controller-issue/149678 "2008-09-29T01:06:25Z")

</div>

in my controller inventory\_Controller I have a variable called @cart that is set to @cart=find\_cart in the beginning of each method. The cart is displayed on the left hand sidemenu, so each page like inventory/review…

---

## [Validate - message in the flash\[:error\]](https://www.ruby-forum.com/t/validate-message-in-the-flash-error/139292)

<div class="topic-metadata">

**Author:** [@eddy\_b](https://www.ruby-forum.com/u/eddy_b)\
**Replies:** 5\
**Last updated:** [June 2, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/validate-message-in-the-flash-error/139292 "2008-06-02T17:43:04Z")

</div>

Hi, I want to show the validate - message in the flash\[:error\] - field but I can’t find any options. An example: class UserPermission \< ActiveRecord::Base validates\_presence\_of :name, :message =\> “Please insert a n…

---

## [Rails doesn't create sessions in production](https://www.ruby-forum.com/t/rails-doesnt-create-sessions-in-production/75818)

<div class="topic-metadata">

**Author:** [@bryan](https://www.ruby-forum.com/u/bryan)\
**Replies:** 5\
**Last updated:** [February 3, 2008, 11:15pm UTC](https://www.ruby-forum.com/t/rails-doesnt-create-sessions-in-production/75818 "2008-02-03T23:15:18Z")

</div>

I’m having an issue with sessions in the 1.2 pre-release code. Sessions are created when the site is in development mode, and they are not created when the site is in production mode. I’m using a database store, but …

---

## [Challenged with signal](https://www.ruby-forum.com/t/challenged-with-signal/124162)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 5\
**Last updated:** [December 26, 2007, 4:13am UTC](https://www.ruby-forum.com/t/challenged-with-signal/124162 "2007-12-26T04:13:01Z")

</div>

Hello I am playing around with the jabber bot fron the link http://nearlyfree.org/fun-jabber-bots. I get a error at the following code next to trap. not sure why it is happening. i thought you could send any string t…

---

## [Keystrokes detection for non-control, meta key](https://www.ruby-forum.com/t/keystrokes-detection-for-non-control-meta-key/82442)

<div class="topic-metadata">

**Author:** [@teeshift](https://www.ruby-forum.com/u/teeshift)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/keystrokes-detection-for-non-control-meta-key/82442 "2007-09-25T23:07:38Z")

</div>

I have tried @canvas.bind(‘k’, proc{|e| }) @canvas.bind(‘KeyPress-k’, proc{|e| }) @canvas.bind(‘Key-k’, proc{|e| }) well… none of them work. Any wise words? Thank you. Tee Shift

---

## [\[Fwd: Functional test problem\]](https://www.ruby-forum.com/t/fwd-functional-test-problem/63451)

<div class="topic-metadata">

**Author:** [@Chris\_T](https://www.ruby-forum.com/u/Chris_T)\
**Replies:** 5\
**Last updated:** [August 26, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/fwd-functional-test-problem/63451 "2007-08-26T20:50:54Z")

</div>

Anyone? -------- Original Message -------- Subject: Functional test problem Date: Wed, 14 Jun 2006 19:49:03 +0100 From: Chris T removed\_email\_address@domain.invalid Reply-To: removed\_email\_address@domain.invalid …

---

## [FileUtils in widows](https://www.ruby-forum.com/t/fileutils-in-widows/110656)

<div class="topic-metadata">

**Author:** [@jdruse](https://www.ruby-forum.com/u/jdruse)\
**Replies:** 5\
**Last updated:** [July 29, 2007, 2:51am UTC](https://www.ruby-forum.com/t/fileutils-in-widows/110656 "2007-07-29T02:51:29Z")

</div>

I am fairly new to ruby and am working with windows xp. I’m trying to copy files from one directory to another using the FileUtils module. When I run the program, I get a Permission Denied error (EACCES). Any though…

---

## [Ruby and Mobile](https://www.ruby-forum.com/t/ruby-and-mobile/89182)

<div class="topic-metadata">

**Author:** [@SunRaySon](https://www.ruby-forum.com/u/SunRaySon)\
**Replies:** 5\
**Last updated:** [March 19, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/ruby-and-mobile/89182 "2007-03-19T15:18:15Z")

</div>

Are there any ruby applications that are written for mobile devices and is there any good framework that helps in developing applications for mobile devices. Kiran K.

---

## [Feedback please to new site emokoo.com](https://www.ruby-forum.com/t/feedback-please-to-new-site-emokoo-com/82769)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 5\
**Last updated:** [January 22, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/feedback-please-to-new-site-emokoo-com/82769 "2007-01-22T17:46:24Z")

</div>

Hi, I have finally just put up a new site built using rails, www.emokoo.com If anyone has any feedback / suggestions on how to improve it, please let me know thanks scott

---

## [Unique values](https://www.ruby-forum.com/t/unique-values/81979)

<div class="topic-metadata">

**Author:** [@nyxx](https://www.ruby-forum.com/u/nyxx)\
**Replies:** 5\
**Last updated:** [January 16, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/unique-values/81979 "2007-01-16T22:34:50Z")

</div>

\<% for room in @rooms %\> \<%= room.city %\> \<% end %\> consider the above code… Is there an easy way in rails to get only the unique values, not the doubles? Since, for instance, Amsterdam (my city of habitat) w…

---

## [Sorting](https://www.ruby-forum.com/t/sorting/81877)

<div class="topic-metadata">

**Author:** [@rvent](https://www.ruby-forum.com/u/rvent)\
**Replies:** 5\
**Last updated:** [January 16, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/sorting/81877 "2007-01-16T15:43:10Z")

</div>

Hello, i am very new to RoR and last 2 weeks i ve been reading a lot about them… I have manage to create a quick application, but i am having problems figuring out how to sort the fields… def list …

---

## [Dividing inside iterations?](https://www.ruby-forum.com/t/dividing-inside-iterations/99489)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 5\
**Last updated:** [July 23, 2006, 4:43pm UTC](https://www.ruby-forum.com/t/dividing-inside-iterations/99489 "2006-07-23T16:43:33Z")

</div>

Hi Learning R… Is it possible to divide values while inside an iteration? for example i’d like to do something like this: h = \[40,20,50,200\] h.each do |num,total| num / 24 = total print “#{total} \\n” end as you’d …

---

## [Close specific connection](https://www.ruby-forum.com/t/close-specific-connection/234594)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 20, 2015, 2:41am UTC](https://www.ruby-forum.com/t/close-specific-connection/234594 "2015-03-20T02:41:14Z")

</div>

I have a chatserver and want to make a kick command for the admin. I know that it’s possible to use “client.close” , but that just closes the active client (in this case, the admin). Now I want to close the connection…

---

## [Ruby 2.1 for Windows](https://www.ruby-forum.com/t/ruby-2-1-for-windows/230159)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 7, 2014, 6:27am UTC](https://www.ruby-forum.com/t/ruby-2-1-for-windows/230159 "2014-06-07T06:27:44Z")

</div>

When might we see a release of Ruby 2.1 for Windows, as windows user & developers are still at Ruby 2.0. There seems like a long delay between Linux & windows releases. There is a need for Windows developers to stay c…

---

## [LAMP server configuration on Linux](https://www.ruby-forum.com/t/lamp-server-configuration-on-linux/238642)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 24, 2014, 7:40pm UTC](https://www.ruby-forum.com/t/lamp-server-configuration-on-linux/238642 "2014-01-24T19:40:51Z")

</div>

Dear friends! Can anyone help: I want to configure my a LAMP server to run a rail based application Thanks.

---

## [Howto select subdev with USRP1](https://www.ruby-forum.com/t/howto-select-subdev-with-usrp1/245418)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 26, 2013, 1:01pm UTC](https://www.ruby-forum.com/t/howto-select-subdev-with-usrp1/245418 "2013-05-26T13:01:22Z")

</div>

Hi I am having problems selecting the subdev with USRP1: My USRP1 is populated with 2 LFRX and 2 LFTX. I am trying the following code: #!/usr/bin/python from gnuradio import gr from gnuradio import uhd from gnura…

---

## [Stuck in railsinstaller for Windows at Step 5: opening RoR in Sublime](https://www.ruby-forum.com/t/stuck-in-railsinstaller-for-windows-at-step-5-opening-ror-in-sublime/227329)

<div class="topic-metadata">

**Author:** [@bruceb01](https://www.ruby-forum.com/u/bruceb01)\
**Replies:** 2\
**Last updated:** [March 12, 2013, 2:31pm UTC](https://www.ruby-forum.com/t/stuck-in-railsinstaller-for-windows-at-step-5-opening-ror-in-sublime/227329 "2013-03-12T14:31:38Z")

</div>

railsinstaller for Windows: \*\[This is actually Step 5:\] \*The remaining steps will require you to have a text editor. There are various text editors you can use out there but I’ll put one below that is fairly popul…

---

## [1.3.12 occasional segfaults](https://www.ruby-forum.com/t/1-3-12-occasional-segfaults/226786)

<div class="topic-metadata">

**Author:** [@digitalpoint](https://www.ruby-forum.com/u/digitalpoint)\
**Replies:** 2\
**Last updated:** [February 22, 2013, 1:52am UTC](https://www.ruby-forum.com/t/1-3-12-occasional-segfaults/226786 "2013-02-22T01:52:26Z")

</div>

It’s a fairly vanilla install of nginx (with the exception of the SPDY patch). We are seeing roughly 1 segfault every hour or so on each web server… I didn’t generate a debugging log, because I wasn’t sure how big s…

---

## [Help needed with a TK Listbox](https://www.ruby-forum.com/t/help-needed-with-a-tk-listbox/221363)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 11, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/help-needed-with-a-tk-listbox/221363 "2012-07-11T14:01:01Z")

</div>

Hello, Does anyone know how to do the following: I have a TK listbox, it is set for selectmode=\>“single”. All I want to do is de-select the selected list item when clicked on. So basically it would toggle between b…

---

## [Unable to set \_\_persistent\_\_](https://www.ruby-forum.com/t/unable-to-set-persistent/219977)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [June 21, 2012, 1:27am UTC](https://www.ruby-forum.com/t/unable-to-set-persistent/219977 "2012-06-21T01:27:02Z")

</div>

Hello all. When I attempt to run the demos here: I get this: jruby test.rb JavaProxy$INVOKER$i$1$0$persistent.gen:-1:in call': java.lang.ClassCastException: org.jruby.RubyClass cannot be cast to org.jruby.java.proxi…

---

## [\[ruby-trunk - Bug #6237\]\[Open\] ruby my controller.rbでSEGV](https://www.ruby-forum.com/t/ruby-trunk-bug-6237-open-ruby-my-controller-rb-segv/218437)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 2, 2012, 4:14pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6237-open-ruby-my-controller-rb-segv/218437 "2012-04-02T16:14:46Z")

</div>

Issue #6237 has been reported by tad (Tadashi S.). Bug #6237: ruby my\_controller.rbでSEGV Author: tad (Tadashi S.) Status: Open Priority: Immediate Assignee: Category: Joke Target version: 2.0.0 ruby -v: ruby 2.…

---

## [Opening a html content in browser](https://www.ruby-forum.com/t/opening-a-html-content-in-browser/217400)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 1, 2012, 4:29pm UTC](https://www.ruby-forum.com/t/opening-a-html-content-in-browser/217400 "2012-03-01T16:29:38Z")

</div>

Two questions : I have a html source as a String. Is there a way to show it in the default browser without first writing it to a temp file and then opening the file ? Opening a html file is ‘system( “open #{path}…

---

## [Learning Rails creating a vocabulary website](https://www.ruby-forum.com/t/learning-rails-creating-a-vocabulary-website/214283)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 28, 2011, 6:04am UTC](https://www.ruby-forum.com/t/learning-rails-creating-a-vocabulary-website/214283 "2011-11-28T06:04:38Z")

</div>

Hi all, I have a project I have left aside for a while, and I am looking for someone to keep me motivated in continuing this project and challenge me writing better ruby on rails code. It would be beginner/intermediat…

---

## [Building a data structure - Hashes of Hashes of Hashes of Arrays](https://www.ruby-forum.com/t/building-a-data-structure-hashes-of-hashes-of-hashes-of-arrays/213665)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 9, 2011, 1:49am UTC](https://www.ruby-forum.com/t/building-a-data-structure-hashes-of-hashes-of-hashes-of-arrays/213665 "2011-11-09T01:49:43Z")

</div>

Good morning everyone, This week at work I had the challenge of parsing a specific file format that contains IP ranges categorized by different Sites, Areas and Regions. Basically I needed a script to load all this l…

---

## [Translation from Python](https://www.ruby-forum.com/t/translation-from-python/212741)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 13, 2011, 8:08am UTC](https://www.ruby-forum.com/t/translation-from-python/212741 "2011-10-13T08:08:36Z")

</div>

Hi. I’m not sure if I can ask this question here. If it’s not good, please let me know. I’m trying to read a book whose programming language is Python. I prefer Ruby, so I need to translate the codes in the book into…

---

## [For installation of UCLA Zigbee library](https://www.ruby-forum.com/t/for-installation-of-ucla-zigbee-library/195250)

<div class="topic-metadata">

**Author:** [@shashank\_gaur](https://www.ruby-forum.com/u/shashank_gaur)\
**Replies:** 2\
**Last updated:** [April 4, 2011, 9:28am UTC](https://www.ruby-forum.com/t/for-installation-of-ucla-zigbee-library/195250 "2011-04-04T09:28:49Z")

</div>

Hello I want to install UCLA Zigbee library can any body help me in this?? I have already installed the GNU radio 3.2.2 Thanks Shashank

---

## [Rspec2 e autotest](https://www.ruby-forum.com/t/rspec2-e-autotest/204755)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 20, 2011, 9:47pm UTC](https://www.ruby-forum.com/t/rspec2-e-autotest/204755 "2011-03-20T21:47:34Z")

</div>

L’ rspec book dice che rails g rspec:install dovrebbe generare tra le altre cose anche una directory autotest. Lanciato il comando questa directory non mi viene creata e se lancio autotest mi dice di installare la gem…

---

## [Translation of Matz keynotes](https://www.ruby-forum.com/t/translation-of-matz-keynotes/203129)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 14, 2011, 3:55pm UTC](https://www.ruby-forum.com/t/translation-of-matz-keynotes/203129 "2011-02-14T15:55:24Z")

</div>

Hello, If someone is interested here, I’ve just translated last two articles in Matz’ weblog (Matzにっき(2010-11-14) and Matzにっき(2010-11-13)) to Russian. You can read them here: – WBR, Peter Z. P.S. Sorry for the d…

---

## [Nginx reverse proxy issue](https://www.ruby-forum.com/t/nginx-reverse-proxy-issue/202299)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 26, 2011, 5:35pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-issue/202299 "2011-01-26T17:35:21Z")

</div>

Hello all, For the last few days Ive been trying Nginx as a reverse proxy in front of an IIS webserver with an ASP.NET webapp. From the Nginx configuration: location / { proxy\_pass http://theproxiedserver/somepath; } …

---

## [DEPRECATED: require 'arjdbc' instead of 'jdbc\_adapter'](https://www.ruby-forum.com/t/deprecated-require-arjdbc-instead-of-jdbc-adapter/200751)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 22, 2010, 5:12pm UTC](https://www.ruby-forum.com/t/deprecated-require-arjdbc-instead-of-jdbc-adapter/200751 "2010-12-22T17:12:48Z")

</div>

I’m developing a new application with rails 3.0.3 and jruby. Today I’ve found this deprecated message: DEPRECATED: require ‘arjdbc’ instead of ‘jdbc\_adapter’. What does it mean? I’m using postgres as database.

---

## [ActiveRecords queries: .where vs .find](https://www.ruby-forum.com/t/activerecords-queries-where-vs-find/198665)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 5, 2010, 2:28am UTC](https://www.ruby-forum.com/t/activerecords-queries-where-vs-find/198665 "2010-11-05T02:28:55Z")

</div>

I have a dataset, which contains a day column that I would like to retrieve results on. Is there any reason why daily\_stats.where(‘day = Date(?)’, dte).first returns and empty set, daily\_stats.find(:first, :condition…

---

## [How do I test my Module?](https://www.ruby-forum.com/t/how-do-i-test-my-module/195309)

<div class="topic-metadata">

**Author:** [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Replies:** 2\
**Last updated:** [September 21, 2010, 4:07pm UTC](https://www.ruby-forum.com/t/how-do-i-test-my-module/195309 "2010-09-21T16:07:58Z")

</div>

I think I understand basic Class testing, however, how do I test a Module’s behavior especially (in my case) where the Module will be used as an extension primarily e.g. object.extend MyModule.

---

## [Auto-increment column scoped to another column](https://www.ruby-forum.com/t/auto-increment-column-scoped-to-another-column/192951)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 2\
**Last updated:** [August 11, 2010, 10:36pm UTC](https://www.ruby-forum.com/t/auto-increment-column-scoped-to-another-column/192951 "2010-08-11T22:36:12Z")

</div>

Hi, I have one field that needs to be incremented automatically, but be scoped to another column. So it should increment based on the last value of the previous row with the same value of the scoped column. I’m not t…

---

## [Adapter/library for meta data repositories?](https://www.ruby-forum.com/t/adapter-library-for-meta-data-repositories/185270)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 2\
**Last updated:** [March 18, 2010, 8:23am UTC](https://www.ruby-forum.com/t/adapter-library-for-meta-data-repositories/185270 "2010-03-18T08:23:08Z")

</div>

Hello there, does anyone know something similar to ActiveRecord or ActiveResource which can be used to handle data in meta data repositories like Apache Jackrabbit? At the moment I handle the data in my controllers. …

---

## [Triggering Javascript after AJAX](https://www.ruby-forum.com/t/triggering-javascript-after-ajax/173050)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 1, 2009, 4:33am UTC](https://www.ruby-forum.com/t/triggering-javascript-after-ajax/173050 "2009-08-01T04:33:31Z")

</div>

I have a page starting out with: After an AJAX call, the innerhtml is updated to: where after the new content is loaded, I want to run $(‘newDiv’).fade({ duration: 2.0, from: 1, to: 0 }); I can’t figure out…

---

## [\[cucumber\] -n command line option looks in every feature file](https://www.ruby-forum.com/t/cucumber-n-command-line-option-looks-in-every-feature-file/167524)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 2\
**Last updated:** [May 9, 2009, 8:18pm UTC](https://www.ruby-forum.com/t/cucumber-n-command-line-option-looks-in-every-feature-file/167524 "2009-05-09T20:18:39Z")

</div>

Running ‘cucumber -n “asdf” features/challenge.feature’ seems to load every feature file from the Rails root on down. In particular, it loads example features in vendor/gems like Ben’s email\_spec which requires Rails …

---

## [(mandriva,eclipse) extract digits from fixnums](https://www.ruby-forum.com/t/mandriva-eclipse-extract-digits-from-fixnums/166880)

<div class="topic-metadata">

**Author:** [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Replies:** 2\
**Last updated:** [April 30, 2009, 2:58pm UTC](https://www.ruby-forum.com/t/mandriva-eclipse-extract-digits-from-fixnums/166880 "2009-04-30T14:58:21Z")

</div>

hi, I want to do a basic thing but without succes: if a=1232, let nb\_nb=4 (the number of digits) for i from 1 to nb\_nb, I want the following results: i=1 =\> res=1 (first digit of a) and NOT the number 01 (with a zero…

---

## [Rails 2..3.2 ruby 1.9.1](https://www.ruby-forum.com/t/rails-2-3-2-ruby-1-9-1/164182)

<div class="topic-metadata">

**Author:** [@mariarosaria](https://www.ruby-forum.com/u/mariarosaria)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 11:59am UTC](https://www.ruby-forum.com/t/rails-2-3-2-ruby-1-9-1/164182 "2009-04-03T11:59:42Z")

</div>

Ciao da pochi minuti mi sono iscritta a questo forum. Vorrei iniziare a provare con ruby 1.9.1 una applicazione giÃ funzionante con Rails 2.2.2 + ruby 1.8.7. Vedi allegato con i passi di installazione. Suppongo che l…

---

## [Using Fixnum, Strings etc. in Modules](https://www.ruby-forum.com/t/using-fixnum-strings-etc-in-modules/163232)

<div class="topic-metadata">

**Author:** [@bramski](https://www.ruby-forum.com/u/bramski)\
**Replies:** 2\
**Last updated:** [March 18, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/using-fixnum-strings-etc-in-modules/163232 "2009-03-18T16:32:01Z")

</div>

I’m stuck on why this occurs. (using jRuby 1.1.5 & Ruby 1.8.6) I’m trying to use modules to scope certain class overrides, so say the String class is changed in ModuleA i don’t want it to affect ModuleB. But when i tr…

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

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