# Top

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

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

---

## [Re: Updated IronRuby / Mono install](https://www.ruby-forum.com/t/re-updated-ironruby-mono-install/152835)

<div class="topic-metadata">

**Author:** [@jose\_d](https://www.ruby-forum.com/u/jose_d)\
**Replies:** 2\
**Last updated:** [November 8, 2008, 12:18am UTC](https://www.ruby-forum.com/t/re-updated-ironruby-mono-install/152835 "2008-11-08T00:18:10Z")

</div>

Seo, Here are the steps that I’ve taken on my Mac: downloaded and installed the latest Mono binary for Mac revert to rev112 of IronRuby on svn curl "http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/patch-mono-r1…

---

## [Setting root based on Host: header](https://www.ruby-forum.com/t/setting-root-based-on-host-header/151290)

<div class="topic-metadata">

**Author:** [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Replies:** 2\
**Last updated:** [October 20, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/setting-root-based-on-host-header/151290 "2008-10-20T16:08:58Z")

</div>

Hey guys, Could somebody tell me how I would set the “root”-Variable based up on the contents of the Host: Header? I have a host header like this: 345232.user.domain.net I would like to construct a root like this: /w…

---

## [Improvement to OFDM receiver synchronization code (ofdm\_sync\_pn)](https://www.ruby-forum.com/t/improvement-to-ofdm-receiver-synchronization-code-ofdm-sync-pn/143672)

<div class="topic-metadata">

**Author:** [@Kyle\_Jamieson](https://www.ruby-forum.com/u/Kyle_Jamieson)\
**Replies:** 2\
**Last updated:** [July 21, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/improvement-to-ofdm-receiver-synchronization-code-ofdm-sync-pn/143672 "2008-07-21T20:15:03Z")

</div>

Tom, Matt, others hacking on the GNURadio OFDM code: I believe I’ve found a performance bug in the ofdm\_sync\_pn (the default) OFDM synchronization code in the trunk Subversion revision as of today. This bug is present…

---

## [Newsletter extension and gmail sending limits](https://www.ruby-forum.com/t/newsletter-extension-and-gmail-sending-limits/139734)

<div class="topic-metadata">

**Author:** [@nurilized](https://www.ruby-forum.com/u/nurilized)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/newsletter-extension-and-gmail-sending-limits/139734 "2008-06-06T16:35:00Z")

</div>

I have been using newsletter for some time, but havent sent a newsletter yet although there is 800+ mails in db problem is that the mails that i have sent (via postfix) as test did not go to hotmail users (gmail acc…

---

## [Function to find extension in file name string](https://www.ruby-forum.com/t/function-to-find-extension-in-file-name-string/125342)

<div class="topic-metadata">

**Author:** [@bartee](https://www.ruby-forum.com/u/bartee)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 2:02pm UTC](https://www.ruby-forum.com/t/function-to-find-extension-in-file-name-string/125342 "2008-01-08T14:02:33Z")

</div>

I am very new to regular expressions. ( and RoR ). I need to find the extension in a filename on a string. I tried several RE’s but cannot get one to work that will find the 1st dot from the end of a file name. Also…

---

## [$0 global variable](https://www.ruby-forum.com/t/0-global-variable/124460)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 2\
**Last updated:** [January 2, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/0-global-variable/124460 "2008-01-02T23:53:59Z")

</div>

I would really like to be able to do this: if FILE == $0 require File.dirname(FILE) + ‘/…/…/Util/simple\_test.rb’ end But, since $0 currently always returns nil, I can’t. Any chance you could squeeze it into the next…

---

## [Render partial collection locals](https://www.ruby-forum.com/t/render-partial-collection-locals/119582)

<div class="topic-metadata">

**Author:** [@jney](https://www.ruby-forum.com/u/jney)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 10:40am UTC](https://www.ruby-forum.com/t/render-partial-collection-locals/119582 "2007-11-08T10:40:43Z")

</div>

when i use a partial render with a collection and a hash of locals, i don’t get the locals. \<%= render :partial =\> ‘/users/user’, :collection =\> @users, :locals =\> {:test\_value =\> true} %\> isn’t it possible to use bo…

---

## [Primary Keys enforcement vanishes in test database](https://www.ruby-forum.com/t/primary-keys-enforcement-vanishes-in-test-database/117399)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 2\
**Last updated:** [October 17, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/primary-keys-enforcement-vanishes-in-test-database/117399 "2007-10-17T18:31:53Z")

</div>

I use this naming convention for primary keys: ActiveRecord::Base.primary\_key\_prefix\_type = :table\_name\_with\_underscore I generate the MySQL test database: rake db:test:prepare, and although the column is there there…

---

## [Busco programador ruby on rails](https://www.ruby-forum.com/t/busco-programador-ruby-on-rails/108552)

<div class="topic-metadata">

**Author:** [@avity](https://www.ruby-forum.com/u/avity)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/busco-programador-ruby-on-rails/108552 "2007-07-05T17:16:37Z")

</div>

Avity (www.avity.com) es una empresa norteamericana en crecimiento con personal en LatinoamÃ©rica y Europa. Buscamos contratar inmediatamente 2 o mÃ¡s programadores para desarrollar diversos proyectos de 3 meses o mÃ¡…

---

## [Disable form/textfield history](https://www.ruby-forum.com/t/disable-form-textfield-history/107011)

<div class="topic-metadata">

**Author:** [@Cow](https://www.ruby-forum.com/u/Cow)\
**Replies:** 2\
**Last updated:** [June 16, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/disable-form-textfield-history/107011 "2007-06-16T17:03:50Z")

</div>

Hi all, Maybe this isn’t even a rails related question but hopefully someone has an answer to my “simple” problem. Clicking a text field in a form displays the previously submitted input. I know you can disable this …

---

## [Reading Files: how to I specify the encoding?](https://www.ruby-forum.com/t/reading-files-how-to-i-specify-the-encoding/104127)

<div class="topic-metadata">

**Author:** [@Claus\_Hausberger](https://www.ruby-forum.com/u/Claus_Hausberger)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/reading-files-how-to-i-specify-the-encoding/104127 "2007-05-14T16:50:32Z")

</div>

Hello I have a lot of xml and java files witch have German Umlauts and other non ASCII files in them. I want to read the files and convert them to UTF-8 using a Ruby script. I convert the strings with this code: def…

---

## [FileUtils changes date of file](https://www.ruby-forum.com/t/fileutils-changes-date-of-file/104108)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/fileutils-changes-date-of-file/104108 "2007-05-14T13:07:54Z")

</div>

Hi, I use ruby under WinXP and discovered the following issue. When I copy a file with the following code require ‘fileutils’ FileUtils.cp("file1’,‘file2’) the date of the destination file won’t match the date of th…

---

## [Complex query with joins](https://www.ruby-forum.com/t/complex-query-with-joins/103043)

<div class="topic-metadata">

**Author:** [@dustin](https://www.ruby-forum.com/u/dustin)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/complex-query-with-joins/103043 "2007-05-08T23:28:06Z")

</div>

Hi everyone, My problem involves two tables, Objects and Attributes. (These are not the real names) Objects |ID Name Attributes |ID |Object\_ID (foreign key references Objects.id) Value I want to …

---

## [Re: Apache 1.3 + FastCGI shared hosting problems](https://www.ruby-forum.com/t/re-apache-1-3-fastcgi-shared-hosting-problems/92940)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 2:39am UTC](https://www.ruby-forum.com/t/re-apache-1-3-fastcgi-shared-hosting-problems/92940 "2007-04-26T02:39:44Z")

</div>

/config/eviroment.rb Add line: ENV\[‘HOME’\] = ‘/home/davidlt’ #just change “davidlt” yo our user. On some hosting RoR doesn’t work without it. ----- Original Message ---- From: doug removed\_email\_address@domain.invali…

---

## [.htaccess for pages?](https://www.ruby-forum.com/t/htaccess-for-pages/91729)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 2\
**Last updated:** [April 19, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/htaccess-for-pages/91729 "2007-04-19T16:55:09Z")

</div>

Hello- I’m having a problem getting .htaccess to work on an area of my site. Is anyone else using a .htaccess file to protect certain directories on their radiant sites? I have a secondary level page called ‘staff’ h…

---

## [Pdf writer error =\> no such file to load -- pdf/writer](https://www.ruby-forum.com/t/pdf-writer-error-no-such-file-to-load-pdf-writer/89598)

<div class="topic-metadata">

**Author:** [@andres](https://www.ruby-forum.com/u/andres)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 7:34am UTC](https://www.ruby-forum.com/t/pdf-writer-error-no-such-file-to-load-pdf-writer/89598 "2007-03-22T07:34:05Z")

</div>

require “pdf/writer” class PdfController \< ApplicationController def pdf \_pdf = PDF::Writer.new \_pdf.select\_font “Times-Roman” \_pdf.text “Hello, Ruby.”, :font\_size =\> 72, :justification =\> :center send\_data …

---

## [Comments Behavior port to an Page Type / Extension](https://www.ruby-forum.com/t/comments-behavior-port-to-an-page-type-extension/83065)

<div class="topic-metadata">

**Author:** [@lorenjohnson](https://www.ruby-forum.com/u/lorenjohnson)\
**Replies:** 2\
**Last updated:** [January 23, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/comments-behavior-port-to-an-page-type-extension/83065 "2007-01-23T15:20:36Z")

</div>

Hello all, I needed blogs with comments right now on a couple of existing Radiant projects that I also need to work on the Mental branch (good bye behaviors, hello Radiant Extensions). Sean C. expressed no desire to …

---

## [File uploading error - No such file or directory](https://www.ruby-forum.com/t/file-uploading-error-no-such-file-or-directory/78980)

<div class="topic-metadata">

**Author:** [@vasan\_cec](https://www.ruby-forum.com/u/vasan_cec)\
**Replies:** 2\
**Last updated:** [December 11, 2006, 11:32am UTC](https://www.ruby-forum.com/t/file-uploading-error-no-such-file-or-directory/78980 "2006-12-11T11:32:43Z")

</div>

Hi Everyone, Am getting an error while uploading file in application… here is the code and the error Code:- File.open("#{RAILS\_ROOT}/images/#{params\[:id\]}", ‘wb+’) do |f| f.write params\[:content\]\[:picture\].read end …

---

## [Undefined method \`find' for Status:Class](https://www.ruby-forum.com/t/undefined-method-find-for-status-class/70806)

<div class="topic-metadata">

**Author:** [@lorenjohnson](https://www.ruby-forum.com/u/lorenjohnson)\
**Replies:** 2\
**Last updated:** [October 3, 2006, 5:40am UTC](https://www.ruby-forum.com/t/undefined-method-find-for-status-class/70806 "2006-10-03T05:40:35Z")

</div>

I’m getting a “undefined method \`find’ for Status:Class” whenever I install Radiant (either through the gem or an svn co) and then launch through Locomotive. This happens when loading the “home page” of the Simple Blo…

---

## [Habtm, multi select, and validation](https://www.ruby-forum.com/t/habtm-multi-select-and-validation/63949)

<div class="topic-metadata">

**Author:** [@cleaner416](https://www.ruby-forum.com/u/cleaner416)\
**Replies:** 2\
**Last updated:** [June 21, 2006, 10:33am UTC](https://www.ruby-forum.com/t/habtm-multi-select-and-validation/63949 "2006-06-21T10:33:59Z")

</div>

Greetings - I’m trying to find the most efficient, “Rails” way to solve the following problem. It’s in two parts, but I think the solution is somewhat related: I have Recipe and Category model related by HABTM. I w…

---

## [WEBLOG in RUBY.. Can u help me?](https://www.ruby-forum.com/t/weblog-in-ruby-can-u-help-me/60903)

<div class="topic-metadata">

**Author:** [@Bader](https://www.ruby-forum.com/u/Bader)\
**Replies:** 2\
**Last updated:** [May 18, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/weblog-in-ruby-can-u-help-me/60903 "2006-05-18T16:15:00Z")

</div>

Hello all Can you help me in writing (or finding an already written) code to read a weblog file has the form: 127.0.0.1 - frank \[10/oct/2000:13:55:36 - 0700\] “get/apachi\_pb.gif HTTP/1.0” 200 2326 And then produce t…

---

## [iCal / Authentication / Site5?](https://www.ruby-forum.com/t/ical-authentication-site5/59492)

<div class="topic-metadata">

**Author:** [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/ical-authentication-site5/59492 "2006-05-03T19:09:55Z")

</div>

So, I’m working on adding iCal support to my app. Since I want to restrict users to their own calendars, form-based authentication isn’t going to work, so I’m using the Basic HTTP Authorization from this page - http…

---

## [Rails console -- how to start it](https://www.ruby-forum.com/t/rails-console-how-to-start-it/58533)

<div class="topic-metadata">

**Author:** [@kublai](https://www.ruby-forum.com/u/kublai)\
**Replies:** 2\
**Last updated:** [April 22, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/rails-console-how-to-start-it/58533 "2006-04-22T20:15:52Z")

</div>

hello, I try to run the console facility in Rails, but it does not give me the result I expected (which is to start irb). rails script/console -s The output: exists create app/controller File exists - console Ho…

---

## [Trying to get stat, Win32API to work](https://www.ruby-forum.com/t/trying-to-get-stat-win32api-to-work/93375)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [April 1, 2006, 4:27am UTC](https://www.ruby-forum.com/t/trying-to-get-stat-win32api-to-work/93375 "2006-04-01T04:27:06Z")

</div>

Hi all, Ruby 1.8.4 Windows XP I’m trying to make a pure Ruby version of File::Stat. Something seems to go wrong around the time I get rdev. I think I just need another set of eyes to see what I’m doing wrong here. …

---

## [Select/Option selected value](https://www.ruby-forum.com/t/select-option-selected-value/50360)

<div class="topic-metadata">

**Author:** [@jschairb](https://www.ruby-forum.com/u/jschairb)\
**Replies:** 2\
**Last updated:** [December 15, 2005, 9:15pm UTC](https://www.ruby-forum.com/t/select-option-selected-value/50360 "2005-12-15T21:15:55Z")

</div>

I’m trying to get a select box to populate with the current option for editing purposes. I can populate the box, but not with the currently selected value. I’ve read in the api where it says to do this: # Example…

---

## [Count sql failing with unknown table](https://www.ruby-forum.com/t/count-sql-failing-with-unknown-table/50042)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 2\
**Last updated:** [December 12, 2005, 3:16pm UTC](https://www.ruby-forum.com/t/count-sql-failing-with-unknown-table/50042 "2005-12-12T15:16:56Z")

</div>

Hey Rails People, I’m doing my first Rails app and I’m having a newbie problem with the count method… Mysql::Error: #42S02Unknown table ‘jobs\_sectors’ in where clause: SELECT COUNT(\*) FROM jobs WHERE (jobs\_sectors.se…

---

## [Using an HTTP proxy to record web traffic](https://www.ruby-forum.com/t/using-an-http-proxy-to-record-web-traffic/60203)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 2\
**Last updated:** [December 3, 2005, 1:04am UTC](https://www.ruby-forum.com/t/using-an-http-proxy-to-record-web-traffic/60203 "2005-12-03T01:04:50Z")

</div>

As part of debugging WWW::Mechanize, I realized that the best way to compare what my browser is doing to what mechanize is doing would be to compare their HTTP transactions incoming and outgoing. What I want is an HT…

---

## [Method call confusion](https://www.ruby-forum.com/t/method-call-confusion/230136)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 2, 2014, 10:10am UTC](https://www.ruby-forum.com/t/method-call-confusion/230136 "2014-06-02T10:10:51Z")

</div>

Hi, I found this method call while following the execution path of a simple camping project, and I am not sure whether I interpreted it correctly. class A def initialize(options = nil) @options = options end def …

---

## [Cgran is weird](https://www.ruby-forum.com/t/cgran-is-weird/246498)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [October 22, 2013, 7:22am UTC](https://www.ruby-forum.com/t/cgran-is-weird/246498 "2013-10-22T07:22:56Z")

</div>

I was trying to install the 802.11b Receiver from https://cgran.org/wiki/SPAN80211b So I followed the instruction to download the source files using the svn as follows: svn co -r7596 http://gnuradio.org/svn/gnuradio…

---

## [What do I need to write a web-based application invoked from a browser](https://www.ruby-forum.com/t/what-do-i-need-to-write-a-web-based-application-invoked-from-a-browser/235225)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 9, 2013, 8:32pm UTC](https://www.ruby-forum.com/t/what-do-i-need-to-write-a-web-based-application-invoked-from-a-browser/235225 "2013-06-09T20:32:51Z")

</div>

Hello Team, I am looking for suggestion/guidance and best approaches to learn Web development with Ruby. Bear with me and let me explain what I mean. I realize that this could mean something different to different peo…

---

## [Updating some old "if" statements](https://www.ruby-forum.com/t/updating-some-old-if-statements/223282)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 29, 2012, 5:47am UTC](https://www.ruby-forum.com/t/updating-some-old-if-statements/223282 "2012-09-29T05:47:57Z")

</div>

A few years back this list helped me create some locations that allowed some extensionless files to run as php and pass the rest of their path along as a variable. I’m wondering if there’s been any changes or tweaks o…

---

## [Security advisory](https://www.ruby-forum.com/t/security-advisory/217888)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 15, 2012, 2:47pm UTC](https://www.ruby-forum.com/t/security-advisory/217888 "2012-03-15T14:47:01Z")

</div>

Hello! Matthew Daley recently discovered a security problem which may lead to a disclosure of previously freed memory on specially crafted response from an upstream server, potentially resulting in sensitive informat…

---

## [A very very beginner question](https://www.ruby-forum.com/t/a-very-very-beginner-question/215752)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 14, 2012, 4:54pm UTC](https://www.ruby-forum.com/t/a-very-very-beginner-question/215752 "2012-01-14T16:54:03Z")

</div>

First off I apologize for the ‘noobishness’ of this question. I’m on a quest to teach myself programming and I started off with Ruby. Now I’m following online lessons and it’s going pretty well but I’m stuck on progra…

---

## [RC routing error that was not in Beta4](https://www.ruby-forum.com/t/rc-routing-error-that-was-not-in-beta4/192529)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [August 2, 2010, 10:02am UTC](https://www.ruby-forum.com/t/rc-routing-error-that-was-not-in-beta4/192529 "2010-08-02T10:02:26Z")

</div>

In beta4 I could do this: resources :sections do get :new, :on=\>:member end But not with RC If I change “new” to be something else, I can do that So it seems that “new” is now treated like a reserved word of sorts? …

---

## [Nginx-0.8.44](https://www.ruby-forum.com/t/nginx-0-8-44/191103)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/nginx-0-8-44/191103 "2010-07-09T18:36:16Z")

</div>

Changes with nginx 0.8.44 05 Jul 2010 \*) Change: now nginx does not cache by default backend responses, if they have a "Set-Cookie" header line. \*) Feature: the "listen" direc…

---

## [\[Bug #2402\] super in instance\_eval](https://www.ruby-forum.com/t/bug-2402-super-in-instance-eval/179452)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 4\
**Last updated:** [May 27, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/bug-2402-super-in-instance-eval/179452 "2010-05-27T17:50:18Z")

</div>

Bug #2402: super in instance\_eval http://redmine.ruby-lang.org/issues/show/2402 e$B5/I\<\<Te(B: Shugo M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-11-24 trunk 25909) \[i686-linux\] instan…

---

## [FLEX900 RX2 Port](https://www.ruby-forum.com/t/flex900-rx2-port/183699)

<div class="topic-metadata">

**Author:** [@Sharif\_S](https://www.ruby-forum.com/u/Sharif_S)\
**Replies:** 4\
**Last updated:** [February 23, 2010, 7:00am UTC](https://www.ruby-forum.com/t/flex900-rx2-port/183699 "2010-02-23T07:00:13Z")

</div>

Hello, I am trying to run a loopback test where I am using the USRP2 and the FLEX900 daughter board. I have connected the TX/RX port directly to the RX2 port. I am running usrp2\_siggen.py as is (presumably transmi…

---

## [Netbiens](https://www.ruby-forum.com/t/netbiens/165531)

<div class="topic-metadata">

**Author:** [@gisat](https://www.ruby-forum.com/u/gisat)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/netbiens/165531 "2009-04-14T23:31:57Z")

</div>

hello would you please advise anyone to set Ruby on rails in netbiens?

---

## [Regexp and using the matched value returned/found](https://www.ruby-forum.com/t/regexp-and-using-the-matched-value-returned-found/165363)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 4\
**Last updated:** [April 13, 2009, 1:45pm UTC](https://www.ruby-forum.com/t/regexp-and-using-the-matched-value-returned-found/165363 "2009-04-13T13:45:56Z")

</div>

Hi I’m trying to do a regex search and using what I find a key to a Hash to dig up some formatting info. But what’s happening is the literal \\1 or \\0 (or \\1 \\0) is not being resolved to what’s being found. Any help …

---

## [Josh: suggestion for GRC](https://www.ruby-forum.com/t/josh-suggestion-for-grc/164780)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 4\
**Last updated:** [April 6, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/josh-suggestion-for-grc/164780 "2009-04-06T23:10:02Z")

</div>

\[Like you need suggestions :slight\_smile: \] When setting the USRP word-length format, it would be useful to set the SHIFT and WIDTH parameters separately in the USRP objects (both single and dual). The valid values f…

---

## [Multiple args with named scope.. problem](https://www.ruby-forum.com/t/multiple-args-with-named-scope-problem/162208)

<div class="topic-metadata">

**Author:** [@morgan](https://www.ruby-forum.com/u/morgan)\
**Replies:** 4\
**Last updated:** [March 6, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/multiple-args-with-named-scope-problem/162208 "2009-03-06T23:21:33Z")

</div>

i’m trying to figure out what i’m doing wrong here. named\_scope :schedule\_limits, lambda { |\*args| {:conditions =\> \[“id = ? and sched\_start \> ? and sched\_start \< ?” , ( args\[0\], args\[1\], args\[2\]) \]} } it just produce…

---

## [Expire\_fragment with memcached](https://www.ruby-forum.com/t/expire-fragment-with-memcached/160658)

<div class="topic-metadata">

**Author:** [@feustine](https://www.ruby-forum.com/u/feustine)\
**Replies:** 4\
**Last updated:** [February 18, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/expire-fragment-with-memcached/160658 "2009-02-18T19:31:35Z")

</div>

Hello all, We know that memcached or memcached-client doesn’t support regex… But It seems it doesn’t support expire\_fragment either :confused: I’m trying to use expire\_fragment with memcached as following : expire\_fr…

---

## [Ruby 1.9.1 and Rubygems](https://www.ruby-forum.com/t/ruby-1-9-1-and-rubygems/159163)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 4\
**Last updated:** [February 1, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-and-rubygems/159163 "2009-02-01T19:51:00Z")

</div>

Wanting to play with Ruby 1.9.1, I uninstalled (via apt) all my Ruby packages, downloaded the Ruby 1.9.1 source code and installed with ./configure, make, then make install. At this point, Ruby works fine, as do the …

---

## [The RSpec Book is now in beta](https://www.ruby-forum.com/t/the-rspec-book-is-now-in-beta/158939)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [January 29, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/the-rspec-book-is-now-in-beta/158939 "2009-01-29T17:44:01Z")

</div>

I’m pleased to announce the beta release of the Pragmatic Bookshelf’s The RSpec Book: Behaviour Driven Development with RSpec, Cucumber and Friends! It’s been a long time coming, and there’s still a lot of work to do …

---

## [Tictactoe and choice](https://www.ruby-forum.com/t/tictactoe-and-choice/157158)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 10:09am UTC](https://www.ruby-forum.com/t/tictactoe-and-choice/157158 "2009-01-08T10:09:49Z")

</div>

I was trying to code the classic tictactoe in ruby. Now it only plays itself doing random moves until someone wins, and there are still some bugs. But the thing that really I don’t understand is another, With this l…

---

## [Passing Query Strings in Sessions](https://www.ruby-forum.com/t/passing-query-strings-in-sessions/139694)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 4\
**Last updated:** [June 7, 2008, 11:41am UTC](https://www.ruby-forum.com/t/passing-query-strings-in-sessions/139694 "2008-06-07T11:41:33Z")

</div>

Hi, I would like to pass the query string from action to action. For example, the following will work in my Devices controller. session\[:query\_string\] = :all @devices = Device.find(session\[:query\_string\]) But I don…

---

## [Cannot find sqlserver adaptor for ActiveRecord](https://www.ruby-forum.com/t/cannot-find-sqlserver-adaptor-for-activerecord/139290)

<div class="topic-metadata">

**Author:** [@harleym](https://www.ruby-forum.com/u/harleym)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/cannot-find-sqlserver-adaptor-for-activerecord/139290 "2008-06-03T18:54:58Z")

</div>

I have been trying to find the adtiverecord adaptor for MS SQL server and attempted to install with the command found on the http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer wiki page: gem ins…

---

## [TimeRange 'this weekend'](https://www.ruby-forum.com/t/timerange-this-weekend/138032)

<div class="topic-metadata">

**Author:** [@Laughlink](https://www.ruby-forum.com/u/Laughlink)\
**Replies:** 4\
**Last updated:** [May 19, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/timerange-this-weekend/138032 "2008-05-19T22:25:53Z")

</div>

How would one calculate ‘this weekend’? In my event model I have: def self.dates\_for\_time\_range(range) case range when ‘today’ then \[Date.today, Date.today\] when ‘tomorrow’ then \[Date.tomorrow, Date.tomorrow\] when …

---

## [How to freeze to 2.1.0-RC1?](https://www.ruby-forum.com/t/how-to-freeze-to-2-1-0-rc1/137885)

<div class="topic-metadata">

**Author:** [@Ix\_Quic](https://www.ruby-forum.com/u/Ix_Quic)\
**Replies:** 4\
**Last updated:** [May 17, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-freeze-to-2-1-0-rc1/137885 "2008-05-17T23:39:07Z")

</div>

What TAG or REVISION number do I use to rake rails:freeze:edge to 2.1.0-RC1? I’ve tried TAG=rel\_2-1-0-RC1 and TAG=rel\_2-0-991, but without success. (I’m on shared hosting, so I can’t just gem install rails easily.) A…

---

## [Noob Q: ruby block scoping question (ruby TK)](https://www.ruby-forum.com/t/noob-q-ruby-block-scoping-question-ruby-tk/136324)

<div class="topic-metadata">

**Author:** [@Philip\_Amadeo\_Saeli](https://www.ruby-forum.com/u/Philip_Amadeo_Saeli)\
**Replies:** 4\
**Last updated:** [May 1, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/noob-q-ruby-block-scoping-question-ruby-tk/136324 "2008-05-01T21:44:39Z")

</div>

I’ve just recently been getting to know ruby and the ruby Tk library and have run into a block scoping problem \[apparently\] that I don’t really understand (I’m a long-time C programmer, mostly at the systems and libra…

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

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