# Top

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

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

---

## [Url parameter :id with slash (/) failed to route](https://www.ruby-forum.com/t/url-parameter-id-with-slash-failed-to-route/62073)

<div class="topic-metadata">

**Author:** [@figo2476](https://www.ruby-forum.com/u/figo2476)\
**Replies:** 1\
**Last updated:** [May 31, 2006, 8:51am UTC](https://www.ruby-forum.com/t/url-parameter-id-with-slash-failed-to-route/62073 "2006-05-31T08:51:56Z")

</div>

Hi there, My routes.rb is something like map.connect ‘:controller/:action/:id’ However, when a url request likes http://xxx/user/category/a/b My intension is to call :controller =\> ‘user’ :action =\> ‘category’ :i…

---

## [Login engine... locking access](https://www.ruby-forum.com/t/login-engine-locking-access/60832)

<div class="topic-metadata">

**Author:** [@Clayton\_C](https://www.ruby-forum.com/u/Clayton_C)\
**Replies:** 1\
**Last updated:** [May 18, 2006, 8:47am UTC](https://www.ruby-forum.com/t/login-engine-locking-access/60832 "2006-05-18T08:47:05Z")

</div>

Story: Website has ROR with login engine Multiple people can login to make changes to the sites ‘widgets’ database table however I want to lock access to any one individual ‘widget’ tuple currently being edited b…

---

## [Re: Ruby history](https://www.ruby-forum.com/t/re-ruby-history/85564)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 7\
**Last updated:** [March 23, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/re-ruby-history/85564 "2006-03-23T18:15:50Z")

</div>

language and for this report, but also to learn, understand, and advance my knowledge of computing in general. Any new languages I learn helps me become a better programmer. Please e-mail me at removed\_email\_addre…

---

## [How can I add "Compress to 7zip" in RMB menu in Dolphin?](https://www.ruby-forum.com/t/how-can-i-add-compress-to-7zip-in-rmb-menu-in-dolphin/251911)

<div class="topic-metadata">

**Author:** [@sherylle1989](https://www.ruby-forum.com/u/sherylle1989)\
**Replies:** 0\
**Last updated:** [February 15, 2019, 9:36pm UTC](https://www.ruby-forum.com/t/how-can-i-add-compress-to-7zip-in-rmb-menu-in-dolphin/251911 "2019-02-15T21:36:51Z")

</div>

I see there is RAR, TAR.GZ and ZIP and Compress to… where I can also choose other formats, 7-zip included. What is the way to add 7-zip directly to the right mouse click menu? When I go to ‘Download New Services’ is Se…

---

## [Ruby on Rails Developer for Social QA StartUp in Zürich Switzerland wanted (m/f) visa sponsorship!](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-social-qa-startup-in-zurich-switzerland-wanted-m-f-visa-sponsorship/241656)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 5:04pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-social-qa-startup-in-zurich-switzerland-wanted-m-f-visa-sponsorship/241656 "2015-04-21T17:04:29Z")

</div>

Our client is looking for high calibre Ruby Developer to join a new product development team. As a highly skilled Ruby Developer you will be part of a small focused project team which is responsible for innovation and…

---

## [TreeModelFilter based TreeView Drag Dest](https://www.ruby-forum.com/t/treemodelfilter-based-treeview-drag-dest/116823)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 2:27am UTC](https://www.ruby-forum.com/t/treemodelfilter-based-treeview-drag-dest/116823 "2007-10-10T02:27:38Z")

</div>

So I’ve been struggling with this for a while, can someone help? Below is an example of what I’m trying to do, which is, drag items from one treeview into another which uses a filtered model. Basically, I’m trying to …

---

## [Other css design framework like bootstrap](https://www.ruby-forum.com/t/other-css-design-framework-like-bootstrap/245954)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 9, 2013, 12:37pm UTC](https://www.ruby-forum.com/t/other-css-design-framework-like-bootstrap/245954 "2013-08-09T12:37:32Z")

</div>

hello friends, i am using twitter bootstrap css designing framwork… is there other framework like bootstrap… please suggest…

---

## [How to get the carrier's frequency offset in PM demodulator?](https://www.ruby-forum.com/t/how-to-get-the-carriers-frequency-offset-in-pm-demodulator/225771)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 4\
**Last updated:** [February 1, 2013, 4:50am UTC](https://www.ruby-forum.com/t/how-to-get-the-carriers-frequency-offset-in-pm-demodulator/225771 "2013-02-01T04:50:35Z")

</div>

Hello, I am learning PM Demodulation, and someones tell me that the FM Demodulator in gnuradio can demodulate the PM signals. I want to get the carrier’s frequency offset in PM demodulating, does gnuradio provide th…

---

## [Penetration testing in ruby language](https://www.ruby-forum.com/t/penetration-testing-in-ruby-language/225296)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 28, 2012, 7:51pm UTC](https://www.ruby-forum.com/t/penetration-testing-in-ruby-language/225296 "2012-12-28T19:51:44Z")

</div>

im a professional in computer security but bignner in ruby language, and i want to devellope some code (tools) in ruby language for penetration testing. i need some tutorials, someoen can help me plz :slight\_smile: t…

---

## [Want to get string between specialchars at endof the string](https://www.ruby-forum.com/t/want-to-get-string-between-specialchars-at-endof-the-string/222899)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 14, 2012, 8:56pm UTC](https://www.ruby-forum.com/t/want-to-get-string-between-specialchars-at-endof-the-string/222899 "2012-09-14T20:56:33Z")

</div>

Hi friends, I have string like “tesubyrails removed\_email\_address@domain.invalid” From the above string i always should get the text between chars \<\> from the string .I should get chars should be between chars whi…

---

## [\[ruby-trunk - Bug #6099\]\[Open\] \[BUG\] probable buffer overflow](https://www.ruby-forum.com/t/ruby-trunk-bug-6099-open-bug-probable-buffer-overflow/217326)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 21, 2012, 9:57am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6099-open-bug-probable-buffer-overflow/217326 "2012-03-21T09:57:46Z")

</div>

Issue #6099 has been reported by Usaku NAKAMURA. Bug #6099: \[BUG\] probable buffer overflow https://bugs.ruby-lang.org/issues/6099 Author: Usaku NAKAMURA Status: Open Priority: Low Assignee: Category: core Target…

---

## [\[Enumerable\] positioning](https://www.ruby-forum.com/t/enumerable-positioning/217444)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 1, 2012, 11:58pm UTC](https://www.ruby-forum.com/t/enumerable-positioning/217444 "2012-03-01T23:58:21Z")

</div>

Hello! I’ve got this “homework”, I should create a ruby script that is able to combine every possible letter in an array like %w \[ a b c d e f g h i j k \] I should finally have all the possible results printed from a…

---

## [Error message in rails](https://www.ruby-forum.com/t/error-message-in-rails/215830)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 17, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/error-message-in-rails/215830 "2012-01-17T19:49:05Z")

</div>

I am using validations for first name, but I am getting error message two times for the label and text\_field, \<%= f.label :first\_name %\> \<%= f.text\_field :first\_name %\>

---

## [Problema has\_many + accepts\_nested\_attributes\_for](https://www.ruby-forum.com/t/problema-has-many-accepts-nested-attributes-for/214745)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 12, 2011, 9:59pm UTC](https://www.ruby-forum.com/t/problema-has-many-accepts-nested-attributes-for/214745 "2011-12-12T21:59:29Z")

</div>

Hi, I have one relationship ONE to N and need to populate the N in the same form that have “Ad” model. Below is my code from this problem… I need to create a few checkbox populated using model “Options” and what was …

---

## [How do I install ruby on rails on Windows 7](https://www.ruby-forum.com/t/how-do-i-install-ruby-on-rails-on-windows-7/213205)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 27, 2011, 1:53pm UTC](https://www.ruby-forum.com/t/how-do-i-install-ruby-on-rails-on-windows-7/213205 "2011-10-27T13:53:14Z")

</div>

I’m a newb to programming. I heard about ruby on rails from some web design friends. I’ve been reading different “Why’s (poigrant) guide to ruby” and Finished Rails for Zombie in code school. I’ve download ruby 1.9…

---

## [Default page for all error codes?](https://www.ruby-forum.com/t/default-page-for-all-error-codes/207992)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 8, 2011, 12:12am UTC](https://www.ruby-forum.com/t/default-page-for-all-error-codes/207992 "2011-06-08T00:12:59Z")

</div>

hi, is it possible to define one error page for all errors? e.g. instead of having error\_page 404 = /myerrorpage.html could i do something along the lines of error\_page \* = /myerrorpage.html where \* would match …

---

## [Simulink and USRP](https://www.ruby-forum.com/t/simulink-and-usrp/207373)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 25, 2011, 6:21pm UTC](https://www.ruby-forum.com/t/simulink-and-usrp/207373 "2011-05-25T18:21:05Z")

</div>

Hi, Doe the USRP2 require specific FPGA and firmware contents to interface with simulink? When I turn on the USRP2 with the SD card in, all 6 leds flash and then D and F stay on. Does this mean my SD card is properly …

---

## [Rails newbie asking for help \[simple question\]](https://www.ruby-forum.com/t/rails-newbie-asking-for-help-simple-question/207080)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 18, 2011, 3:52pm UTC](https://www.ruby-forum.com/t/rails-newbie-asking-for-help-simple-question/207080 "2011-05-18T15:52:38Z")

</div>

First I want to thank the community for their help and here is my question :slight\_smile: I have a simple add to fdavourites functionality. A user can add a post to their favouirites. Thing is I want to display the “a…

---

## [Why jruby?](https://www.ruby-forum.com/t/why-jruby/204515)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 15, 2011, 12:32pm UTC](https://www.ruby-forum.com/t/why-jruby/204515 "2011-03-15T12:32:12Z")

</div>

I’m using jruby for my rails applications for about 2 years. Sometimes I have troubles with some gems but nothing important. I would like to know why you use jruby rather than ruby MRI. My reasons are: easy install an…

---

## [Webrick starts with ruby 1.8.7 instead of 1.9.2](https://www.ruby-forum.com/t/webrick-starts-with-ruby-1-8-7-instead-of-1-9-2/203796)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 27, 2011, 10:12pm UTC](https://www.ruby-forum.com/t/webrick-starts-with-ruby-1-8-7-instead-of-1-9-2/203796 "2011-02-27T22:12:59Z")

</div>

Hi I have installed Ruby 1.9.2 and upgraded Rails to 3.0.4 (Mac OS X 10.6). Running “ruby -v” this is the output: ruby 1.9.2p136 (2010-12-25 revision 30365) \[x86\_64-darwin10.6.0\] Running “which ruby”, the output is: …

---

## [Change server name](https://www.ruby-forum.com/t/change-server-name/201964)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 18, 2011, 11:28pm UTC](https://www.ruby-forum.com/t/change-server-name/201964 "2011-01-18T23:28:00Z")

</div>

Hi all! I need to know how I can change the server name in the tags. Server nginx/0.8.53 Thanks Jorge Posted at Nginx Forum:

---

## [Create a shell within an app](https://www.ruby-forum.com/t/create-a-shell-within-an-app/198423)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 1, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/create-a-shell-within-an-app/198423 "2010-11-01T13:42:10Z")

</div>

I have a client application - often i am needing to explore/inspect the classes that I get from the server. Loading the client each time with a logger.debug statement is cumbersome and takes time due to server connect…

---

## [Rails 3 download - where?](https://www.ruby-forum.com/t/rails-3-download-where/192678)

<div class="topic-metadata">

**Author:** [@laguna53](https://www.ruby-forum.com/u/laguna53)\
**Replies:** 4\
**Last updated:** [August 4, 2010, 12:16am UTC](https://www.ruby-forum.com/t/rails-3-download-where/192678 "2010-08-04T00:16:46Z")

</div>

I’m trying to update my rails from 2.3.8 to 3.0, where can I get the kit from ? Thanks, Dani

---

## [Setting headers for negative caching](https://www.ruby-forum.com/t/setting-headers-for-negative-caching/190819)

<div class="topic-metadata">

**Author:** [@bkirkbri](https://www.ruby-forum.com/u/bkirkbri)\
**Replies:** 4\
**Last updated:** [June 30, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/setting-headers-for-negative-caching/190819 "2010-06-30T19:14:27Z")

</div>

Is it possible to set Cache-Control / Expires headers for 404 responses in Nginx? I’ve tried using an error\_page like this: location ^~ /x/ { error\_page 404 /not\_found.html; } location /not\_found.html { inte…

---

## [Recommended library for parsing RSS and Atom feeds](https://www.ruby-forum.com/t/recommended-library-for-parsing-rss-and-atom-feeds/190571)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/recommended-library-for-parsing-rss-and-atom-feeds/190571 "2010-06-23T16:50:13Z")

</div>

Hi, I am looking to sort through the various options for processing RSS/Atom feeds in Ruby. I did some basic research, and FeedTools looks like the incumbent option, though many (old) blog posts warned that it is …

---

## [REST, Internet Explorer and the banned DELETE method](https://www.ruby-forum.com/t/rest-internet-explorer-and-the-banned-delete-method/185276)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [March 17, 2010, 11:47am UTC](https://www.ruby-forum.com/t/rest-internet-explorer-and-the-banned-delete-method/185276 "2010-03-17T11:47:35Z")

</div>

Hi all As we all know, in REST the ResourceController#delete action is called by calling “/resources/:id” with a delete method. But, the delete method is not supported in IE. This seems like a problem to me. How do …

---

## [Error Compiling BBN USRP2 Code](https://www.ruby-forum.com/t/error-compiling-bbn-usrp2-code/176556)

<div class="topic-metadata">

**Author:** [@chenchen](https://www.ruby-forum.com/u/chenchen)\
**Replies:** 4\
**Last updated:** [October 2, 2009, 11:22pm UTC](https://www.ruby-forum.com/t/error-compiling-bbn-usrp2-code/176556 "2009-10-02T23:22:20Z")

</div>

Hi, Have you done the ./bootstrap step? Chen C.

---

## [Posting a form from Rails programatically](https://www.ruby-forum.com/t/posting-a-form-from-rails-programatically/166915)

<div class="topic-metadata">

**Author:** [@niczm25](https://www.ruby-forum.com/u/niczm25)\
**Replies:** 4\
**Last updated:** [May 1, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/posting-a-form-from-rails-programatically/166915 "2009-05-01T16:15:11Z")

</div>

How would I go about creating and posting a form POST request from inside some Rails code? The use case I have is that I have received a form request, and I would like to forward this request on to a third party with …

---

## [Nokogiri sax parser error](https://www.ruby-forum.com/t/nokogiri-sax-parser-error/159771)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [February 9, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/nokogiri-sax-parser-error/159771 "2009-02-09T21:53:22Z")

</div>

Trying to use the Nokogiri Sax parser. I ran into a problem parsing the following: It chokes on the x="" attribute. T.

---

## [Different between symbol and string?](https://www.ruby-forum.com/t/different-between-symbol-and-string/154601)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 4\
**Last updated:** [December 2, 2008, 5:11am UTC](https://www.ruby-forum.com/t/different-between-symbol-and-string/154601 "2008-12-02T05:11:25Z")

</div>

What is exactly different between symbol and string ? Symbol has never appear in other language.

---

## [Error - in building new signal processing block](https://www.ruby-forum.com/t/error-in-building-new-signal-processing-block/154383)

<div class="topic-metadata">

**Author:** [@bruh](https://www.ruby-forum.com/u/bruh)\
**Replies:** 4\
**Last updated:** [November 29, 2008, 7:15pm UTC](https://www.ruby-forum.com/t/error-in-building-new-signal-processing-block/154383 "2008-11-29T19:15:25Z")

</div>

Hey all, I was trying to make a new signal processing block in gr-howto-write-a-block based on the instructions by Dawei Shen. $ make check fails…and the error says: Error: Unable to find ‘gruel/realtime.h’. So, how…

---

## [Models, find not from database? really need help :(](https://www.ruby-forum.com/t/models-find-not-from-database-really-need-help/153434)

<div class="topic-metadata">

**Author:** [@abusiek](https://www.ruby-forum.com/u/abusiek)\
**Replies:** 4\
**Last updated:** [November 17, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/models-find-not-from-database-really-need-help/153434 "2008-11-17T13:07:42Z")

</div>

Hi! I’m struggling with this for a while and i’m new to rails so it’s quite frustrating :wink: I need to create new model object based on old one with only few changes. I have desings -\> has many -\> lines -\> has\_man…

---

## [Before\_filter to restrict user from editing locked item](https://www.ruby-forum.com/t/before-filter-to-restrict-user-from-editing-locked-item/152920)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 4\
**Last updated:** [November 10, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/before-filter-to-restrict-user-from-editing-locked-item/152920 "2008-11-10T21:03:24Z")

</div>

I have a list of items in which some are locked. if they are locked then I want to make them not be able to be edited. how can i set up something like this: before\_filter :locked?(item), :only =\> \[:edit, :update\] de…

---

## [View changes not appearing (have to restart server to see them)](https://www.ruby-forum.com/t/view-changes-not-appearing-have-to-restart-server-to-see-them/143353)

<div class="topic-metadata">

**Author:** [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Replies:** 4\
**Last updated:** [July 24, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/view-changes-not-appearing-have-to-restart-server-to-see-them/143353 "2008-07-24T16:09:45Z")

</div>

My setup is as follows: Codebase on local machine (OS X), shared using samba. Application environment (ruby, gems, mysql etc.) within a Ubuntu Server install running inside a Parallels VM. The problem is whenever I m…

---

## [Error with mongrel\_rails start](https://www.ruby-forum.com/t/error-with-mongrel-rails-start/141428)

<div class="topic-metadata">

**Author:** [@McLobster](https://www.ruby-forum.com/u/McLobster)\
**Replies:** 4\
**Last updated:** [June 25, 2008, 8:51pm UTC](https://www.ruby-forum.com/t/error-with-mongrel-rails-start/141428 "2008-06-25T20:51:59Z")

</div>

When I make an empty Rails web application, and go through the steps to create/include a database, and scaffold, mongrel\_rails start (or ruby script/server) works just fine. However, I attempted this with a pre-existi…

---

## [Ruby and Contract Programming (was Ruby vs. Ada)](https://www.ruby-forum.com/t/ruby-and-contract-programming-was-ruby-vs-ada/135467)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 4\
**Last updated:** [April 22, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/ruby-and-contract-programming-was-ruby-vs-ada/135467 "2008-04-22T21:11:45Z")

</div>

Hi list I have had some thoughts about Contract Programming and Ruby, this after the recent suggestion that Ruby might have to evolve into this direction. I am a complete ignorant of CP (also aka Programming by Contr…

---

## [Gems screwed up, what now](https://www.ruby-forum.com/t/gems-screwed-up-what-now/130519)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kovalev](https://www.ruby-forum.com/u/Mikhail_Kovalev)\
**Replies:** 4\
**Last updated:** [February 29, 2008, 12:34pm UTC](https://www.ruby-forum.com/t/gems-screwed-up-what-now/130519 "2008-02-29T12:34:18Z")

</div>

I start with Mac OS X Leopard 10.5.2 with Rails 1.2.6 pre-installed: cm-84:~ mikhailkovalev$ ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) \[universal-darwin9.0\] Works perfectly. I read a tip on Ruby on Rails — A web-…

---

## [Ruby forum is broken; stop using it until fixed](https://www.ruby-forum.com/t/ruby-forum-is-broken-stop-using-it-until-fixed/122820)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/ruby-forum-is-broken-stop-using-it-until-fixed/122820 "2007-12-12T18:40:15Z")

</div>

Ruby-Forum.com is acting as a one-way gateway to the ruby-talk mailing list and comp.lang.ruby newsgroup. I have been wondering recently why I see 2 or 3 people answering the same question, getting no “thank you respo…

---

## [Passing methods as parameters - the nice way?](https://www.ruby-forum.com/t/passing-methods-as-parameters-the-nice-way/118193)

<div class="topic-metadata">

**Author:** [@SSSSSren\_Andersen](https://www.ruby-forum.com/u/SSSSSren_Andersen)\
**Replies:** 4\
**Last updated:** [October 26, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/passing-methods-as-parameters-the-nice-way/118193 "2007-10-26T23:01:15Z")

</div>

Hello all, I’m pretty new to ruby, but have some background in Java, and very little C(++) and suchlike. I’m currently - as a “learning-by-doing”-project - creating a simple text-based interface for running (more or…

---

## [Tag and context](https://www.ruby-forum.com/t/tag-and-context/116042)

<div class="topic-metadata">

**Author:** [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Replies:** 4\
**Last updated:** [October 7, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/tag-and-context/116042 "2007-10-07T20:24:04Z")

</div>

Good afternoon, I have a newbie question, I’m trying to have a menu that is created dynamically with r:children but whose context will always start at a certain level (like /products). And go down from there no matter…

---

## [Regexp and Prime numbers](https://www.ruby-forum.com/t/regexp-and-prime-numbers/89352)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/regexp-and-prime-numbers/89352 "2007-09-25T23:09:22Z")

</div>

This is a one-liner Ruby script that will tell you if a given number is prime. ruby -wle ‘puts “Prime” unless (“1” \* ARGV\[0\].to\_i) =~ /^1$|^(11+?)\\1+$/’ \[number\] I cannot take credit for this one – it originally came…

---

## [ActiveRecord 'Column' class doc?](https://www.ruby-forum.com/t/activerecord-column-class-doc/89791)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/activerecord-column-class-doc/89791 "2007-09-25T23:00:41Z")

</div>

Can’t seem to find the Column class API documentation. For example, content\_columns returns a list of Column objects, but where is the doc for this Column class? Thanks in advance, Don McClean

---

## [Backquote command execution path problem](https://www.ruby-forum.com/t/backquote-command-execution-path-problem/81266)

<div class="topic-metadata">

**Author:** [@Felipe\_N](https://www.ruby-forum.com/u/Felipe_N)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/backquote-command-execution-path-problem/81266 "2007-09-25T22:44:36Z")

</div>

C:\\projeto\>irb irb(main):001:0\> cd =\> “C:\\projeto\\n” How i change the path that the command will be executed ? What must happen: C:\\projeto\>irb irb(main):001:0\> YOUR\_MAGIC\_COMMAND(“C:\\projeto\\blablabla”) irb(main)…

---

## [Hpricot](https://www.ruby-forum.com/t/hpricot/115296)

<div class="topic-metadata">

**Author:** [@tarini](https://www.ruby-forum.com/u/tarini)\
**Replies:** 4\
**Last updated:** [September 24, 2007, 9:29am UTC](https://www.ruby-forum.com/t/hpricot/115296 "2007-09-24T09:29:00Z")

</div>

ragazzi qualcuno di voi ha mai utilizzato la suddetta gemma/libreria?? è un HTML parser molto carino (almeno all’apparenza) vi scrivo perchè ho un problema con l’installazione: il pacchetto può essere scaricato sia co…

---

## [Newb: load lots of data into database](https://www.ruby-forum.com/t/newb-load-lots-of-data-into-database/112591)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/newb-load-lots-of-data-into-database/112591 "2007-08-21T20:51:40Z")

</div>

Hello! I’m just starting to venture into Ruby on Rails, and I was wondering what the best way to populate my databases with exisiting data in the form of csv files that don’t map exactly to the columns (ie require som…

---

## [Validates\_on\_create](https://www.ruby-forum.com/t/validates-on-create/103643)

<div class="topic-metadata">

**Author:** [@tarini](https://www.ruby-forum.com/u/tarini)\
**Replies:** 4\
**Last updated:** [May 9, 2007, 8:49am UTC](https://www.ruby-forum.com/t/validates-on-create/103643 "2007-05-09T08:49:45Z")

</div>

ragazzi perchè una funzione del genere mi da errore? def validate\_on\_create validates\_presence\_of(:password, :message =\> “cannot be blank”) end nel momento della creazione (il metodo viene chiamato) mi ritorna questo …

---

## [Complex has-many-through relationships and models](https://www.ruby-forum.com/t/complex-has-many-through-relationships-and-models/88755)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/complex-has-many-through-relationships-and-models/88755 "2007-03-16T15:20:34Z")

</div>

I have some questions about Has Many Through and how to manage a couple of things that keep cropping up. I’m reasonably new to rails, having come from a C# background and I have to admit I’m having some trouble gettin…

---

## [Recvfrom broken on mswin32?](https://www.ruby-forum.com/t/recvfrom-broken-on-mswin32/87377)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 5, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/recvfrom-broken-on-mswin32/87377 "2007-03-05T20:58:46Z")

</div>

ruby -v ruby 1.8.5 (2006-12-25 patchlevel 12) \[i386-mswin32\] I’m also running on windows vista, but I don’t know if this is an issue on the overall mswin32-x86 platform. I’m getting an error when trying to recvfrom…

---

## [Displaying find.all from another view](https://www.ruby-forum.com/t/displaying-find-all-from-another-view/87720)

<div class="topic-metadata">

**Author:** [@stevep](https://www.ruby-forum.com/u/stevep)\
**Replies:** 4\
**Last updated:** [March 5, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/displaying-find-all-from-another-view/87720 "2007-03-05T18:02:15Z")

</div>

I’ve got 2 controllers - user and club I want to display all the clubs in a user view, how would i go about it? All i seem to get is NoMethodError

---

## [Select tag not defaulting to Models value](https://www.ruby-forum.com/t/select-tag-not-defaulting-to-models-value/86834)

<div class="topic-metadata">

**Author:** [@teesea](https://www.ruby-forum.com/u/teesea)\
**Replies:** 4\
**Last updated:** [February 26, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/select-tag-not-defaulting-to-models-value/86834 "2007-02-26T23:58:29Z")

</div>

I know this is a basic problem with a very simple solution but I’m new to ruby and rails so I’m a bit confused why this isn’t working I want to be able to create a select tag which is linked with a particular model, s…

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

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