# Top

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

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

---

## [How to update version](https://www.ruby-forum.com/t/how-to-update-version/106422)

<div class="topic-metadata">

**Author:** [@iskaldur](https://www.ruby-forum.com/u/iskaldur)\
**Replies:** 2\
**Last updated:** [June 10, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/how-to-update-version/106422 "2007-06-10T14:20:17Z")

</div>

Hi, I’m running Mac OS X and I’m trying to update my version of Ruby. I downloaded 1.8.6 and installed, but typing “ruby -v” at the terminal still shows 1.8.2. How do I fix this?

---

## [Queuing mails for a mailing list](https://www.ruby-forum.com/t/queuing-mails-for-a-mailing-list/105465)

<div class="topic-metadata">

**Author:** [@mr\_robot](https://www.ruby-forum.com/u/mr_robot)\
**Replies:** 2\
**Last updated:** [May 30, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/queuing-mails-for-a-mailing-list/105465 "2007-05-30T18:01:53Z")

</div>

hi i am wanting to send out a mailing listto subscribers. myserver has an hourly mail limit. i am using the mail-queue plugin to queue up my mails. so how would i send out batches? or should i just setup a cron job t…

---

## [Manage of dynamic tables](https://www.ruby-forum.com/t/manage-of-dynamic-tables/104586)

<div class="topic-metadata">

**Author:** [@Neshumah](https://www.ruby-forum.com/u/Neshumah)\
**Replies:** 2\
**Last updated:** [May 20, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/manage-of-dynamic-tables/104586 "2007-05-20T17:03:36Z")

</div>

Hi group, Im new at here and I hope someone could give me a hand, im building an app witch is going to manage big amount of contacts, but my problem is that I need to accept a variety of columns from my customers, so …

---

## ["\`/rails/info/properties' not found." Error is displayed](https://www.ruby-forum.com/t/rails-info-properties-not-found-error-is-displayed/92106)

<div class="topic-metadata">

**Author:** [@Amey\_Salvi](https://www.ruby-forum.com/u/Amey_Salvi)\
**Replies:** 2\
**Last updated:** [April 23, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/rails-info-properties-not-found-error-is-displayed/92106 "2007-04-23T22:59:14Z")

</div>

hi all i just install RoR on my linux machine…and try using the online tutorials of RoR The web server is started properly but when i check the url “http://localhost:3000” the Welcome page is shown properly and but …

---

## [How to crash Ruby by not registering global C variable?](https://www.ruby-forum.com/t/how-to-crash-ruby-by-not-registering-global-c-variable/90725)

<div class="topic-metadata">

**Author:** [@131313](https://www.ruby-forum.com/u/131313)\
**Replies:** 2\
**Last updated:** [March 31, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/how-to-crash-ruby-by-not-registering-global-c-variable/90725 "2007-03-31T15:37:24Z")

</div>

Hi list, On page 284 of Pickaxe, 2nd edition there is a passage: If you create a Ruby object from C and store it in a C global variable without exporting it to Ruby, you must at least tell the garbage collector about …

---

## [Help me about nil check of veriable( question of a niw bie)](https://www.ruby-forum.com/t/help-me-about-nil-check-of-veriable-question-of-a-niw-bie/90275)

<div class="topic-metadata">

**Author:** [@Sasaki](https://www.ruby-forum.com/u/Sasaki)\
**Replies:** 2\
**Last updated:** [March 27, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/help-me-about-nil-check-of-veriable-question-of-a-niw-bie/90275 "2007-03-27T16:11:34Z")

</div>

Hi guys, I have a string variable named as ‘last\_name’. how can i check NULL(nil) of this veriable? as exapmle if ( empty(last\_name) ) #\* # code else #code end How can I write the syntax in the if statement(\*)…

---

## [SqlServer adapter mangling id column data](https://www.ruby-forum.com/t/sqlserver-adapter-mangling-id-column-data/87470)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 6, 2007, 2:48pm UTC](https://www.ruby-forum.com/t/sqlserver-adapter-mangling-id-column-data/87470 "2007-03-06T14:48:38Z")

</div>

My venture in trying to use freetds with odbc did get me going, but I’ve hit a wall. Once in a while (read about 40% of the time) … the row id’s get transformed into these huge integers eg: http://hyde:3500/blog/sho…

---

## [Application-specific e-mail template engine](https://www.ruby-forum.com/t/application-specific-e-mail-template-engine/87768)

<div class="topic-metadata">

**Author:** [@rubylover](https://www.ruby-forum.com/u/rubylover)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/application-specific-e-mail-template-engine/87768 "2007-03-05T22:07:57Z")

</div>

Does anyone have any experience with creating a templating system for e-mails sent via Rails? Here is what I’d like to do: User selects “Create message” from my application User selects a predefined template from dro…

---

## [Unification of variables and methods](https://www.ruby-forum.com/t/unification-of-variables-and-methods/85886)

<div class="topic-metadata">

**Author:** [@calande](https://www.ruby-forum.com/u/calande)\
**Replies:** 2\
**Last updated:** [February 23, 2007, 7:41am UTC](https://www.ruby-forum.com/t/unification-of-variables-and-methods/85886 "2007-02-23T07:41:10Z")

</div>

The one thing that bothers me about ruby is the (as i see it?) separate namespaces for locals and functions. Variables take precedence, but you can override and get the functional form in 2 ways: def x; 1; end x = 2 …

---

## [Vendor/rails and vendor/plugins vs. system wide rails](https://www.ruby-forum.com/t/vendor-rails-and-vendor-plugins-vs-system-wide-rails/86298)

<div class="topic-metadata">

**Author:** [@Ed\_Summer](https://www.ruby-forum.com/u/Ed_Summer)\
**Replies:** 2\
**Last updated:** [February 21, 2007, 12:42pm UTC](https://www.ruby-forum.com/t/vendor-rails-and-vendor-plugins-vs-system-wide-rails/86298 "2007-02-21T12:42:18Z")

</div>

Hi: I am at the end of my development cycle. I am just wondering if others could give me some deployment advice. it is nice to have rails system wide thats how i have it on my Mac… however I have some plugin system w…

---

## [Ruby Syntax - One::Two](https://www.ruby-forum.com/t/ruby-syntax-one-two/85783)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [February 16, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/ruby-syntax-one-two/85783 "2007-02-16T13:15:36Z")

</div>

I’m a newcomer to ruby and there’s this little something I don’t really understand: class One::Two … end Class One::Three … end On this example, what does “::” mean? If understand correctly it’s just sort of a n…

---

## [Apache2 / MySQL / Mongrel on separate machines](https://www.ruby-forum.com/t/apache2-mysql-mongrel-on-separate-machines/85259)

<div class="topic-metadata">

**Author:** [@northband](https://www.ruby-forum.com/u/northband)\
**Replies:** 2\
**Last updated:** [February 12, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/apache2-mysql-mongrel-on-separate-machines/85259 "2007-02-12T12:08:46Z")

</div>

Hi all, I have read and re-read the tutorials on mongrel clusters and have a question. Most, if not all, deal with having everything run on one box, locally. I would like to add more redundancy by having several bo…

---

## [Fetching objects used as hash keys](https://www.ruby-forum.com/t/fetching-objects-used-as-hash-keys/84659)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/fetching-objects-used-as-hash-keys/84659 "2007-02-08T16:07:28Z")

</div>

Hello I’m using objects which are instances of a class that has 3 instance variables as hash keys, but I’m using the value of only two of those instance variables for the hash calculation. It’s something like this: c…

---

## [CSS Calendar in Rails](https://www.ruby-forum.com/t/css-calendar-in-rails/81944)

<div class="topic-metadata">

**Author:** [@Love\_AJAX](https://www.ruby-forum.com/u/Love_AJAX)\
**Replies:** 2\
**Last updated:** [January 18, 2007, 5:07am UTC](https://www.ruby-forum.com/t/css-calendar-in-rails/81944 "2007-01-18T05:07:28Z")

</div>

Any ideas how we can get the following calendar up and running in Rails? Especially how it generates year specific code when we change the current year.

---

## [Writing a test for IP addresses](https://www.ruby-forum.com/t/writing-a-test-for-ip-addresses/81664)

<div class="topic-metadata">

**Author:** [@chaz](https://www.ruby-forum.com/u/chaz)\
**Replies:** 2\
**Last updated:** [January 11, 2007, 1:03pm UTC](https://www.ruby-forum.com/t/writing-a-test-for-ip-addresses/81664 "2007-01-11T13:03:15Z")

</div>

I have a Rails controller which behaves differently based on the IP address of the remote request. However, the defaults for functional tests get submitted with an IP of 0.0.0.0. How can I create a series of tests tha…

---

## [Help please - openssl and ruby](https://www.ruby-forum.com/t/help-please-openssl-and-ruby/80215)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 2\
**Last updated:** [December 31, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/help-please-openssl-and-ruby/80215 "2006-12-31T15:29:35Z")

</div>

Hi, I’ve run into a problem using openssl and ruby, which I can’t solve. I have a public key, a text string, and a signature, and I want to check that the signature was created from the text string using the appropri…

---

## [Setting up Rails Application on Apache](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226)

<div class="topic-metadata">

**Author:** [@Skulled](https://www.ruby-forum.com/u/Skulled)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226 "2006-05-03T18:59:15Z")

</div>

Hello, I am trying to setup a rails application on a webserver running Apache 1.3.34. But I have tried everything but its just not working. I followed all the directions given here: http://wiki.rubyonrails.org/rails/…

---

## [Re: fxRuby: changing icon in TreeItem crashes](https://www.ruby-forum.com/t/re-fxruby-changing-icon-in-treeitem-crashes/57117)

<div class="topic-metadata">

**Author:** [@Kloubakov\_Yura](https://www.ruby-forum.com/u/Kloubakov_Yura)\
**Replies:** 2\
**Last updated:** [April 7, 2006, 4:09pm UTC](https://www.ruby-forum.com/t/re-fxruby-changing-icon-in-treeitem-crashes/57117 "2006-04-07T16:09:02Z")

</div>

Christer, You have to explicitly call “create” for the new icon to create the server side object. Fox does it automatically for all the objects it can see at the time “create” is called for the FXApp object if I rem…

---

## [How to specify default action for particulr actioncontroller](https://www.ruby-forum.com/t/how-to-specify-default-action-for-particulr-actioncontroller/83081)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 2\
**Last updated:** [March 17, 2006, 12:22pm UTC](https://www.ruby-forum.com/t/how-to-specify-default-action-for-particulr-actioncontroller/83081 "2006-03-17T12:22:15Z")

</div>

HI, How to specify default action for particular actioncontroller? Currently when I m typing the URL as “http:\\localhost:3000\\actioncontroller\_name” , then I m getting the default actin page as list.rHtml. But instead…

---

## [Win32utils](https://www.ruby-forum.com/t/win32utils/77101)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 2\
**Last updated:** [March 6, 2006, 5:34am UTC](https://www.ruby-forum.com/t/win32utils/77101 "2006-03-06T05:34:57Z")

</div>

“A series of packages that provide Ruby interfaces to Win32 systems and services. This project supports Windows NT, 2000 and XP only” The above is from http://rubyforge.org/projects/win32utils/ So, Windows 2003 Server…

---

## [Problems passing un-sanitized XML to client](https://www.ruby-forum.com/t/problems-passing-un-sanitized-xml-to-client/51698)

<div class="topic-metadata">

**Author:** [@Derek\_Gulbranson](https://www.ruby-forum.com/u/Derek_Gulbranson)\
**Replies:** 2\
**Last updated:** [January 7, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/problems-passing-un-sanitized-xml-to-client/51698 "2006-01-07T20:15:54Z")

</div>

I’m trying to store an xsl stylesheet in the database and return it to the client, but at some point in the process all the angle brackets, etc are parsed out of the xml, so I get \<defaults\> instead of . Anyone have a…

---

## [Engine and controller layout confusion](https://www.ruby-forum.com/t/engine-and-controller-layout-confusion/51569)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 4, 2006, 11:30am UTC](https://www.ruby-forum.com/t/engine-and-controller-layout-confusion/51569 "2006-01-04T11:30:40Z")

</div>

Hi all, Installed the login\_engine which is working. But I’m confused as to how I tell Rails to use the “/app/views/layout” rhtml files, when partials from the login\_engine are used from “/vendor/plugins/login\_engin…

---

## [Apache / FastCGI freak out in PRODUCTION mode on my new rail](https://www.ruby-forum.com/t/apache-fastcgi-freak-out-in-production-mode-on-my-new-rail/99715)

<div class="topic-metadata">

**Author:** [@subimage\_interactiv](https://www.ruby-forum.com/u/subimage_interactiv)\
**Replies:** 2\
**Last updated:** [December 13, 2005, 4:08pm UTC](https://www.ruby-forum.com/t/apache-fastcgi-freak-out-in-production-mode-on-my-new-rail/99715 "2005-12-13T16:08:14Z")

</div>

Here I go again with another question. I’ve been banging my head for the better part of a week against this one, so responses would be really appreciated. I have a Rails application that I’ve been developing under Ap…

---

## [Form validation \_without\_ activerecord](https://www.ruby-forum.com/t/form-validation-without-activerecord/48526)

<div class="topic-metadata">

**Author:** [@pertl](https://www.ruby-forum.com/u/pertl)\
**Replies:** 2\
**Last updated:** [November 22, 2005, 7:54am UTC](https://www.ruby-forum.com/t/form-validation-without-activerecord/48526 "2005-11-22T07:54:29Z")

</div>

Hi guys! I really like to form validation feature of ActiveRecord. However, what is the most natural way in rails to form-validate if you don’t have a model? Best regards Peter

---

## [Sorry that this question is so dumb but](https://www.ruby-forum.com/t/sorry-that-this-question-is-so-dumb-but/48152)

<div class="topic-metadata">

**Author:** [@brucebalmer](https://www.ruby-forum.com/u/brucebalmer)\
**Replies:** 2\
**Last updated:** [November 17, 2005, 7:25am UTC](https://www.ruby-forum.com/t/sorry-that-this-question-is-so-dumb-but/48152 "2005-11-17T07:25:35Z")

</div>

OK. This is embarrassing. I need to programatically set the value of a field on a form (I get the id of the last invoice created and want to populate a hidden field on the line\_items form with that number so that the…

---

## [How to print at non emergency, critical, error from nginx configuration log](https://www.ruby-forum.com/t/how-to-print-at-non-emergency-critical-error-from-nginx-configuration-log/232462)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/how-to-print-at-non-emergency-critical-error-from-nginx-configuration-log/232462 "2014-10-10T15:05:37Z")

</div>

Hello, If I use ngx\_conf\_log\_error during parsing an nginx configuration (post config phase), the messages at NGX\_LOG\_INFO are not printed to the error log even when I set it the error log to log debug level. I can s…

---

## [Why are generators not menus or prompts?](https://www.ruby-forum.com/t/why-are-generators-not-menus-or-prompts/246083)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/why-are-generators-not-menus-or-prompts/246083 "2013-08-22T15:39:25Z")

</div>

wouldn’t it be more efficient to have a generator ask for column names and types and indexes in a prompt? or easier at least. It would be nice to also have ncurses menus for that.

---

## [Can I add timesamples to tx samples](https://www.ruby-forum.com/t/can-i-add-timesamples-to-tx-samples/226822)

<div class="topic-metadata">

**Author:** [@Gong\_Z](https://www.ruby-forum.com/u/Gong_Z)\
**Replies:** 3\
**Last updated:** [February 23, 2013, 3:27am UTC](https://www.ruby-forum.com/t/can-i-add-timesamples-to-tx-samples/226822 "2013-02-23T03:27:22Z")

</div>

Hi, Considering we can get timesamples of rx samples from UHD in metadata,can I add timesamples to tx samples,which would be send together. Thanks.

---

## [Installing Ruby on mac os x lion](https://www.ruby-forum.com/t/installing-ruby-on-mac-os-x-lion/224248)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 5, 2012, 10:43am UTC](https://www.ruby-forum.com/t/installing-ruby-on-mac-os-x-lion/224248 "2012-11-05T10:43:33Z")

</div>

Hi guys, does someone have a tutorial that explains how can i install ruby 1.9.3 on mac os x lion, because i’ve been trying to install it but i couldn’t. i’v already installed homebrew and this’s what i got when i try…

---

## [I need to know any way to read the values from a webpage table](https://www.ruby-forum.com/t/i-need-to-know-any-way-to-read-the-values-from-a-webpage-table/223308)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 1, 2012, 2:40pm UTC](https://www.ruby-forum.com/t/i-need-to-know-any-way-to-read-the-values-from-a-webpage-table/223308 "2012-10-01T14:40:31Z")

</div>

Hi, I need your help to find and select the value say “Contact: Email Credentials” using Ruby. The source code i have attached above for the same. Please help me out here!! Regards, Arup

---

## [Proxy, upstream, apache vhosts not working](https://www.ruby-forum.com/t/proxy-upstream-apache-vhosts-not-working/221697)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 27, 2012, 11:16am UTC](https://www.ruby-forum.com/t/proxy-upstream-apache-vhosts-not-working/221697 "2012-07-27T11:16:14Z")

</div>

Hi, I want to configure nginx as a proxy to a bunch of apaches, all serving the same multiple websites via vhosts. I had it working with something like location ~\* .(jpg|gif|png|css|js) { try\_files $uri @proxy; } …

---

## [Attributes in classes db/migrate or app/models](https://www.ruby-forum.com/t/attributes-in-classes-db-migrate-or-app-models/221597)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 21, 2012, 5:35pm UTC](https://www.ruby-forum.com/t/attributes-in-classes-db-migrate-or-app-models/221597 "2012-07-21T17:35:37Z")

</div>

Hello, I’ve got some experience in Java, and recently, I’ve begun to practice with Rails. One of the things that has surprised to me, after I’ve read some books, it’s that classes hasn’t got attributes; the attribute…

---

## [Does whenever gem work in Rails 3](https://www.ruby-forum.com/t/does-whenever-gem-work-in-rails-3/221367)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 11, 2012, 4:37pm UTC](https://www.ruby-forum.com/t/does-whenever-gem-work-in-rails-3/221367 "2012-07-11T16:37:02Z")

</div>

Hi i want to send mails by scheduling it. i found whenever gem but i wanna know is does it work in rails3 Thanks in advance

---

## [Passing json parameter in ruby on rails](https://www.ruby-forum.com/t/passing-json-parameter-in-ruby-on-rails/218530)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 3, 2012, 2:59pm UTC](https://www.ruby-forum.com/t/passing-json-parameter-in-ruby-on-rails/218530 "2012-04-03T14:59:50Z")

</div>

Just i called one function in my program, but i need to pass one json parameter…But getting the error like ArgumentError (Unknown key: branch\_id): \* \* CODE \* \* \*branch1(params\[:branch\]) \* \* \* \*def branch1(bra…

---

## [Release Schedule](https://www.ruby-forum.com/t/release-schedule/217147)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 22, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/release-schedule/217147 "2012-02-22T19:49:38Z")

</div>

I’ve become very interested in the 1.1 branch recently, particularly it’s http/1.1 support in proxy mode. Is there a rough timeline already proposed for the promotion of the 1.1 branch to ‘production’? – Will ‘Mit’…

---

## [Update Ruby version on already running Rails app](https://www.ruby-forum.com/t/update-ruby-version-on-already-running-rails-app/212243)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 28, 2011, 8:27pm UTC](https://www.ruby-forum.com/t/update-ruby-version-on-already-running-rails-app/212243 "2011-09-28T20:27:06Z")

</div>

I started an application on 1.8.7, and needed to update the server to 1.9.2 to get Passenger to run. Now I’m struggling to get the application to start under Apache+Passenger, and I’m wondering if there might be some …

---

## [Problems with Benchmark on ruby 1.8.4 (rhe 5.3)](https://www.ruby-forum.com/t/problems-with-benchmark-on-ruby-1-8-4-rhe-5-3/212213)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 27, 2011, 9:15am UTC](https://www.ruby-forum.com/t/problems-with-benchmark-on-ruby-1-8-4-rhe-5-3/212213 "2011-09-27T09:15:13Z")

</div>

Yes I know the version is ancient – I’m stuck with it for various boring reasons we need not go into here. I have a ruby program that processes logs on an hourly basis for lots (hundreds) of machines. I want to find …

---

## [Arrays and choose one](https://www.ruby-forum.com/t/arrays-and-choose-one/212081)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 26, 2011, 6:31am UTC](https://www.ruby-forum.com/t/arrays-and-choose-one/212081 "2011-09-26T06:31:18Z")

</div>

Hi!! I am newbie on ruby and I have questions and troubles, can you help me out? This is the html and the view \<select name="select" multiple size="3"\> \<option value="audi"\>Audi\</option\> \<option value="bmw"\>BMW\</op…

---

## [ActiveRecord array/collection manage](https://www.ruby-forum.com/t/activerecord-array-collection-manage/207890)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 6, 2011, 9:33pm UTC](https://www.ruby-forum.com/t/activerecord-array-collection-manage/207890 "2011-06-06T21:33:00Z")

</div>

Hello, I have a model like this: class Car \< ActiveRecord::Base def color© where(“color = ?”,c) end end Suppose that I want to show the red and blue cars. I could do something like this: @cars = Car.color(‘blue’)…

---

## [Can anyone convert this mod rewrite rule](https://www.ruby-forum.com/t/can-anyone-convert-this-mod-rewrite-rule/205343)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 4, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/can-anyone-convert-this-mod-rewrite-rule/205343 "2011-04-04T22:06:30Z")

</div>

BEGIN DPIOptions RewriteEngine On RewriteRule ^thumb-(.).jpg$ thumb.php?id=$1 \[L\] RewriteRule ^image-(.).jpg$ image.php?id=$1 \[L\] RewriteRule ^image-(.).gif$ image.php?id=$1&gif \[L\] RewriteRule ^share-(.).html$ shar…

---

## [How to work with Database in routes? Rails 3](https://www.ruby-forum.com/t/how-to-work-with-database-in-routes-rails-3/202729)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 5, 2011, 9:36am UTC](https://www.ruby-forum.com/t/how-to-work-with-database-in-routes-rails-3/202729 "2011-02-05T09:36:49Z")

</div>

Hello. How to check presence of object in DB in routes? If object exists in DB - rais app shows its page, if not - it redirects to 404. I know that it’s possible to do all this logic in controller but i would to know …

---

## [Please convert this .htaccess to NGINX rewrite](https://www.ruby-forum.com/t/please-convert-this-htaccess-to-nginx-rewrite/201104)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 31, 2011, 5:20pm UTC](https://www.ruby-forum.com/t/please-convert-this-htaccess-to-nginx-rewrite/201104 "2011-01-31T17:20:45Z")

</div>

could somebody convert this .htaccess to NGINX rewrite,?? i need it stop my forum from automatic bot poster… RewriteEngine on RewriteCond %{HTTP\_USER\_AGENT} ^.(6a1pre). \[NC\] RewriteRule ^(.\*)$ - \[F,L\] if u could hel…

---

## [Too many cache](https://www.ruby-forum.com/t/too-many-cache/196011)

<div class="topic-metadata">

**Author:** [@Avalon](https://www.ruby-forum.com/u/Avalon)\
**Replies:** 3\
**Last updated:** [October 5, 2010, 2:57pm UTC](https://www.ruby-forum.com/t/too-many-cache/196011 "2010-10-05T14:57:31Z")

</div>

Hello, I’v got an heavy problem of cache overflow… First I give you the problem in an image (by munin) : Like you can see, the cache is taking about 900 Mo ! The installation :\[list\] \[\] NGINX - 0.7.67 \[\] PHP - 5.…

---

## [Burn Audio CD](https://www.ruby-forum.com/t/burn-audio-cd/187482)

<div class="topic-metadata">

**Author:** [@quattro](https://www.ruby-forum.com/u/quattro)\
**Replies:** 3\
**Last updated:** [April 30, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/burn-audio-cd/187482 "2010-04-30T20:43:44Z")

</div>

Is there an existing gem or library I can use to burn audio to a cd using ruby?

---

## [How to update rails manually](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790)

<div class="topic-metadata">

**Author:** [@Daystrom](https://www.ruby-forum.com/u/Daystrom)\
**Replies:** 3\
**Last updated:** [April 29, 2010, 7:27pm UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790 "2010-04-29T19:27:16Z")

</div>

Hi, I have a server behind a firewall and I can’t hit the Internet from there. I can remote control the server, but not download anything from the Internet.That means the standard “gem install rails -v 2.3.4” command…

---

## [Basic auth not working 100%](https://www.ruby-forum.com/t/basic-auth-not-working-100/186479)

<div class="topic-metadata">

**Author:** [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Replies:** 3\
**Last updated:** [April 11, 2010, 11:52am UTC](https://www.ruby-forum.com/t/basic-auth-not-working-100/186479 "2010-04-11T11:52:19Z")

</div>

On one of my boxes I noticed that if the password is only half the string it will authenticate. Should be: Username: tester Pass: ThisPassword1234#&^ But the following authenticates: Username: tester Pass: ThisPa…

---

## [Calling "tune" on BASIC\_RX](https://www.ruby-forum.com/t/calling-tune-on-basic-rx/185205)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 3\
**Last updated:** [March 16, 2010, 1:09am UTC](https://www.ruby-forum.com/t/calling-tune-on-basic-rx/185205 "2010-03-16T01:09:18Z")

</div>

Does the “tune” function actually do anything for the BASIC\_RX? Does it just set the DDC appropriately? For example, if I have a quadrature HF receiver, centered at let’s say 20MHz, with 4MHz either side of 20MHz, c…

---

## [Detect changes with update\_attributes](https://www.ruby-forum.com/t/detect-changes-with-update-attributes/184343)

<div class="topic-metadata">

**Author:** [@LeonS](https://www.ruby-forum.com/u/LeonS)\
**Replies:** 3\
**Last updated:** [March 1, 2010, 10:34am UTC](https://www.ruby-forum.com/t/detect-changes-with-update-attributes/184343 "2010-03-01T10:34:58Z")

</div>

Hi, how can i detect changed attributes, when i’m using update\_attributes in the update method of my controller? A solution in the model would be very nice. Tanks greetings Leon

---

## [Testing Referential Integrity](https://www.ruby-forum.com/t/testing-referential-integrity/176255)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 3\
**Last updated:** [September 28, 2009, 12:29pm UTC](https://www.ruby-forum.com/t/testing-referential-integrity/176255 "2009-09-28T12:29:42Z")

</div>

Hey all, I am having a little trouble getting some referential integrity tests to work well. Right now, I am using Postgres as my database. I have generated migrations for my tables and ensured referential integrity…

---

## [The ruby editor and ide roundup](https://www.ruby-forum.com/t/the-ruby-editor-and-ide-roundup/174588)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 3\
**Last updated:** [August 29, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/the-ruby-editor-and-ide-roundup/174588 "2009-08-29T15:03:43Z")

</div>

http://en.wikibooks.org/wiki/Ruby\_Programming/Ruby\_editors People contributing to the perennial editor and ide thread, please help update/maintain this page and point there. I was thinking that we have two links for e…

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

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