# Top

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

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

---

## [Rails 3 beta: "bundle install" not installing to the GEM\_HOME](https://www.ruby-forum.com/t/rails-3-beta-bundle-install-not-installing-to-the-gem-home/183099)

<div class="topic-metadata">

**Author:** [@gavvin](https://www.ruby-forum.com/u/gavvin)\
**Replies:** 4\
**Last updated:** [February 8, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/rails-3-beta-bundle-install-not-installing-to-the-gem-home/183099 "2010-02-08T15:18:01Z")

</div>

I’ve tried everything I can think of, but “bundle install” is still installing all new gems into /User/.gems. My GEM\_HOME is /usr/local/ lib/ruby/gems/. Is this a bug?

---

## [Question about file management](https://www.ruby-forum.com/t/question-about-file-management/180141)

<div class="topic-metadata">

**Author:** [@atma](https://www.ruby-forum.com/u/atma)\
**Replies:** 4\
**Last updated:** [December 13, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/question-about-file-management/180141 "2009-12-13T18:11:09Z")

</div>

A salut to the list, I need read info from a file, extract the info that I want which is the date and IP and dump them into a database (mysql). However, this file gets constantly updated, sits on /var/log/. Until now…

---

## [HTML table visual effect](https://www.ruby-forum.com/t/html-table-visual-effect/177513)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 4\
**Last updated:** [October 20, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/html-table-visual-effect/177513 "2009-10-20T14:24:03Z")

</div>

Hello, I have an HTML table with several rows. I want to change the row color when the user clicks it. This is quite simple to do with plain javascript, but I want to use rails. Is there any helper or something that …

---

## [Gem installation-time dependency](https://www.ruby-forum.com/t/gem-installation-time-dependency/174361)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [September 5, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/gem-installation-time-dependency/174361 "2009-09-05T17:20:48Z")

</div>

Is there a way to build a gem in such a way so that dependencies can be resolved at installation-time? I want users to be able to “gem install ruby-debug-ide”, and have the ruby-debug-ide gem install either ruby-debug…

---

## [Compare this sql query and corresponding ruby code](https://www.ruby-forum.com/t/compare-this-sql-query-and-corresponding-ruby-code/167864)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [May 13, 2009, 1:31pm UTC](https://www.ruby-forum.com/t/compare-this-sql-query-and-corresponding-ruby-code/167864 "2009-05-13T13:31:14Z")

</div>

Hi Suppose I have a two models Ticket and Activity Ticket has\_many activities Activity belongs\_to Ticket Now suppose if the Activity has field name Now for a Ticket with id=1 say there are 10 activities So to update…

---

## [Ruby Screencasts](https://www.ruby-forum.com/t/ruby-screencasts/162395)

<div class="topic-metadata">

**Author:** [@felixtc](https://www.ruby-forum.com/u/felixtc)\
**Replies:** 4\
**Last updated:** [March 9, 2009, 7:07pm UTC](https://www.ruby-forum.com/t/ruby-screencasts/162395 "2009-03-09T19:07:29Z")

</div>

Greetings Everyone, I have tried looking throughout the forum but didn’t find the answer I was looking for. I tried looking online but still was able to find anything solid. Does any have any good recommendations for …

---

## [Instance variables on anonymous objects does not work?](https://www.ruby-forum.com/t/instance-variables-on-anonymous-objects-does-not-work/160249)

<div class="topic-metadata">

**Author:** [@LAMBEAU\_Bernard](https://www.ruby-forum.com/u/LAMBEAU_Bernard)\
**Replies:** 4\
**Last updated:** [February 23, 2009, 5:37am UTC](https://www.ruby-forum.com/t/instance-variables-on-anonymous-objects-does-not-work/160249 "2009-02-23T05:37:15Z")

</div>

Could someone explain why the following code does not work? … and sorry because I guess it’s something stupid that I didn’t catch in Ruby. a = Object.new.instance\_eval do @names = \[“you”, “me”\] end def a.say\_hello …

---

## [Newbie - error while trying subclass](https://www.ruby-forum.com/t/newbie-error-while-trying-subclass/155622)

<div class="topic-metadata">

**Author:** [@rubystudent](https://www.ruby-forum.com/u/rubystudent)\
**Replies:** 4\
**Last updated:** [December 14, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/newbie-error-while-trying-subclass/155622 "2008-12-14T20:42:12Z")

</div>

I am trying to subclass in my code (see below). But I am getting the following error while running the code. song.rb:12: class/module name must be CONSTANT class karaokeSong \< Song ^ song.rb:23: warning: don’t put s…

---

## [Ruby gem to watch file](https://www.ruby-forum.com/t/ruby-gem-to-watch-file/149127)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 4\
**Last updated:** [September 23, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/ruby-gem-to-watch-file/149127 "2008-09-23T17:54:04Z")

</div>

is there any gem that will watch for a file and if the file exists, or changes, can trigger process or event. i am looking for something on the windows platform only. appreciate any help.

---

## [MVC architecture of ROR](https://www.ruby-forum.com/t/mvc-architecture-of-ror/145709)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 4\
**Last updated:** [August 13, 2008, 11:34am UTC](https://www.ruby-forum.com/t/mvc-architecture-of-ror/145709 "2008-08-13T11:34:51Z")

</div>

Hi, As the ROR follows MVC architecture, then Is it good practice to write queries inside controller? If yes then, For what purpose we are using model? Thanks & Regards, Tushar

---

## [USRP source gain problems?](https://www.ruby-forum.com/t/usrp-source-gain-problems/143704)

<div class="topic-metadata">

**Author:** [@Jason\_U](https://www.ruby-forum.com/u/Jason_U)\
**Replies:** 4\
**Last updated:** [July 23, 2008, 12:07am UTC](https://www.ruby-forum.com/t/usrp-source-gain-problems/143704 "2008-07-23T00:07:58Z")

</div>

I am trying to read samples from the USRP and the only samples I receive back are integers between -2 and 2; not the -1500 to 1500 that I get when running the samples. As far as I can tell there is no difference betwe…

---

## [Parameter name reflection](https://www.ruby-forum.com/t/parameter-name-reflection/142152)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 4\
**Last updated:** [July 5, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/parameter-name-reflection/142152 "2008-07-05T22:38:59Z")

</div>

If I declare def foo(a, b) end What code should I use to find the names of the parameters? I only see these methods available on a Method object. \["\[\]", “arity”, “call”, “to\_proc”, “unbind”\] For instance in PHP I c…

---

## [Boolean mysql error](https://www.ruby-forum.com/t/boolean-mysql-error/141898)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/boolean-mysql-error/141898 "2008-07-02T17:14:21Z")

</div>

Hello, I ran into a bug/issue where running rake db:migrate under JRuby with a mysql DB and a type of boolean produces the following error. Is this a known bug/issue with rake under JRuby ? Rake Output (0.8.1): – a…

---

## [Overwrite methods and using has\_many](https://www.ruby-forum.com/t/overwrite-methods-and-using-has-many/140185)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 4\
**Last updated:** [June 11, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/overwrite-methods-and-using-has-many/140185 "2008-06-11T20:05:06Z")

</div>

Dear Community, I’m using Ruby and especially Ruby on Rails only for a short time, so please excuse me, if the answer to my following question is obvious. Please also excuse my bad English, it’s not my mother tongue -…

---

## [Am I going crazy? Mixing auth and PHP](https://www.ruby-forum.com/t/am-i-going-crazy-mixing-auth-and-php/139339)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 4\
**Last updated:** [June 10, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/am-i-going-crazy-mixing-auth-and-php/139339 "2008-06-10T20:46:47Z")

</div>

http://foo.com/reports/ - prompts for auth like it should http://foo.com/reports/report.php - bypasses http auth the .php is being matched and the other location is ignored completely? server { listen …

---

## [N00b question](https://www.ruby-forum.com/t/n00b-question/138772)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 4\
**Last updated:** [May 28, 2008, 11:18am UTC](https://www.ruby-forum.com/t/n00b-question/138772 "2008-05-28T11:18:59Z")

</div>

Can someone explain to me why my script is printing the key to my hash twice? I need it to print the key then the value on the first iteration and on the second iteration it should only print the value. I am getting…

---

## [New user problem about xmpp4r](https://www.ruby-forum.com/t/new-user-problem-about-xmpp4r/133454)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 4\
**Last updated:** [May 5, 2008, 8:56am UTC](https://www.ruby-forum.com/t/new-user-problem-about-xmpp4r/133454 "2008-05-05T08:56:40Z")

</div>

Hi. I’m mew user of xmpp4r. After I install xmpp4r and xmpp4r-sample completely. and I go to C:\\Program Files\\Ruby\\lib\\ruby\\gems\\1.8\\gems\\xmpp4r-0.3.2\\data\\doc\\xmpp4r\\examples\\basic that I found many example program …

---

## [Ayuda con callbacks](https://www.ruby-forum.com/t/ayuda-con-callbacks/132901)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/ayuda-con-callbacks/132901 "2008-03-25T21:50:35Z")

</div>

Holas, a ver si alguien me puede echar una mano con los callbacks… Tengo una aplicación con un modelo Producto donde quiero que cada vez que se modifique, se apunte en un histórico los campos que han cambiado. En plan…

---

## [File upload problem when using form\_remote\_tag](https://www.ruby-forum.com/t/file-upload-problem-when-using-form-remote-tag/131898)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 7:48am UTC](https://www.ruby-forum.com/t/file-upload-problem-when-using-form-remote-tag/131898 "2008-03-19T07:48:41Z")

</div>

Hi I have a form like \<%= form\_remote\_tag :url =\> { :action =\> ‘attach\_file’, :id =\> @sd\_ticket.id }, :enctype =\> ‘multipart/form-data’ %\> \<%= text\_area "service\_desk\_attachment1", "description", "cols" =\> …

---

## [How to do a new with prefilled info?](https://www.ruby-forum.com/t/how-to-do-a-new-with-prefilled-info/131331)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 4\
**Last updated:** [March 17, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/how-to-do-a-new-with-prefilled-info/131331 "2008-03-17T13:51:02Z")

</div>

In my example, I have a topic that I want to have a link next to to create a new child. So my erb, says something like: \<%= link\_to ‘New Child’, { :action =\> “newChild”, id =\> topic.id } %\> However, the routing doesn…

---

## [GnuRadio 3.1.1 and USRP on Fedora 8](https://www.ruby-forum.com/t/gnuradio-3-1-1-and-usrp-on-fedora-8/128940)

<div class="topic-metadata">

**Author:** [@Ed\_Criscuolo](https://www.ruby-forum.com/u/Ed_Criscuolo)\
**Replies:** 4\
**Last updated:** [February 12, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/gnuradio-3-1-1-and-usrp-on-fedora-8/128940 "2008-02-12T22:46:10Z")

</div>

After many successful Gnu Radio projects with GR 3.1.1 under both Fedora 4 and Fedora 6, I tried to install it on a Fedora 8 32-bit system, but am having a problem. The build was successful, ‘make check’ passed all te…

---

## [Population of drop down list contents from a prior drop down selection](https://www.ruby-forum.com/t/population-of-drop-down-list-contents-from-a-prior-drop-down-selection/123444)

<div class="topic-metadata">

**Author:** [@crispy](https://www.ruby-forum.com/u/crispy)\
**Replies:** 4\
**Last updated:** [December 18, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/population-of-drop-down-list-contents-from-a-prior-drop-down-selection/123444 "2007-12-18T20:04:31Z")

</div>

Suppose you have two drop down selects that are related. The contents of both come from a database.You want the contents of the second one to be dependent on the selection made in the first one, but don’t want the us…

---

## [Forcing file operations under a directory](https://www.ruby-forum.com/t/forcing-file-operations-under-a-directory/120943)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [November 23, 2007, 12:24am UTC](https://www.ruby-forum.com/t/forcing-file-operations-under-a-directory/120943 "2007-11-23T00:24:02Z")

</div>

I’m looking for a way to force file operations under a given root directory. Somewhat similar to chroot, but purely in Ruby. For the surface syntax I have in mind something like this File.with\_root ‘/var/tmp/safe\_plac…

---

## [HTML class or id for form\_tag's](https://www.ruby-forum.com/t/html-class-or-id-for-form-tags/119171)

<div class="topic-metadata">

**Author:** [@macario](https://www.ruby-forum.com/u/macario)\
**Replies:** 4\
**Last updated:** [November 8, 2007, 9:46am UTC](https://www.ruby-forum.com/t/html-class-or-id-for-form-tags/119171 "2007-11-08T09:46:51Z")

</div>

I need my forms to have HTML id or class but seems there is not such parameter in form\_tag or form\_tag\_for. At least not in the rails doc. I’ve been searching for a while and I couldn’t find a workarround without pure…

---

## [Howto decode encoded mail subjects?](https://www.ruby-forum.com/t/howto-decode-encoded-mail-subjects/113103)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 4\
**Last updated:** [August 29, 2007, 10:15am UTC](https://www.ruby-forum.com/t/howto-decode-encoded-mail-subjects/113103 "2007-08-29T10:15:44Z")

</div>

Hi, i need to parse mails. Some of the Mails in question use some ending scheme to support sepcial characters which are not ASCII-7. encoded chars look like this: =?UTF-8?Q?=20some text…?UTF-?Q?.. Is there a way to d…

---

## [ZenTest autotest problem on Windows XP](https://www.ruby-forum.com/t/zentest-autotest-problem-on-windows-xp/112501)

<div class="topic-metadata">

**Author:** [@nrimbeau](https://www.ruby-forum.com/u/nrimbeau)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/zentest-autotest-problem-on-windows-xp/112501 "2007-08-21T22:40:53Z")

</div>

Hello, I have a problem using autotest on Windows XP. When launching ‘autotest -rails’, autotest runs the following command : C:\\Program Files\\ruby\\bin\\ruby -I.;lib;test -rtest/unit -e "%w \[…\] | unit\_diff -u As you …

---

## [Creating and passing a block in a C extension](https://www.ruby-forum.com/t/creating-and-passing-a-block-in-a-c-extension/112162)

<div class="topic-metadata">

**Author:** [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Replies:** 4\
**Last updated:** [August 16, 2007, 3:06pm UTC](https://www.ruby-forum.com/t/creating-and-passing-a-block-in-a-c-extension/112162 "2007-08-16T15:06:02Z")

</div>

In a C extension I have a function that calls to rb\_yield to invoke the block that the final user will supply. I want to call that function from within that same C extension. The problem is how to create and pass a b…

---

## [Write file](https://www.ruby-forum.com/t/write-file/171135)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 4\
**Last updated:** [June 28, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/write-file/171135 "2007-06-28T16:30:42Z")

</div>

Is it possibile to create with ruby css file to write in public/stylesheets? Obviously the name of the css file is variable and the internal formatting is almost the same. Thanks!

---

## [Xml newbie](https://www.ruby-forum.com/t/xml-newbie/107551)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 4\
**Last updated:** [June 23, 2007, 6:22am UTC](https://www.ruby-forum.com/t/xml-newbie/107551 "2007-06-23T06:22:14Z")

</div>

Okay, so I am scraping the FAA site and keeping track of some airplanes. A lot of the time I get a tail number and I have it already, so I am going to store the important information in a file that is {tailnumber}.xml …

---

## [Commenting code](https://www.ruby-forum.com/t/commenting-code/106154)

<div class="topic-metadata">

**Author:** [@gabordemeter](https://www.ruby-forum.com/u/gabordemeter)\
**Replies:** 4\
**Last updated:** [June 6, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/commenting-code/106154 "2007-06-06T23:50:58Z")

</div>

Here’s one stupid question: How do you comment out a block of ruby code? I know that “#” comments one line, but how do i comment out a block of 7-8 lines of code? Don’t seem to be able to find this anywhere. Thanks, …

---

## [Problem with attachment\_fu](https://www.ruby-forum.com/t/problem-with-attachment-fu/90403)

<div class="topic-metadata">

**Author:** [@Tino\_B](https://www.ruby-forum.com/u/Tino_B)\
**Replies:** 4\
**Last updated:** [March 28, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/problem-with-attachment-fu/90403 "2007-03-28T19:51:05Z")

</div>

Hi, i started to test attachment\_fu, but i can’t get it to upload a file. See the error: NoMethodError (undefined method content\_type' for "/100\_2261.jpg":String): /vendor/plugins/attachment\_fu/lib/technoweenie/attac…

---

## [Rails & Agile web development](https://www.ruby-forum.com/t/rails-agile-web-development/88324)

<div class="topic-metadata">

**Author:** [@stevep](https://www.ruby-forum.com/u/stevep)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/rails-agile-web-development/88324 "2007-03-09T21:03:05Z")

</div>

Hey, is there any documentation anywhere that shows the Methodology and Process of makeing a rails application? Cheers

---

## [\[markaby\] Trouble accessing session values](https://www.ruby-forum.com/t/markaby-trouble-accessing-session-values/96391)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 4\
**Last updated:** [January 23, 2007, 1:50am UTC](https://www.ruby-forum.com/t/markaby-trouble-accessing-session-values/96391 "2007-01-23T01:50:12Z")

</div>

Evaluating session variables inside a markaby paragraph tag always returns false. For example welcome.mab p “Good morning Mr. #{session\[:user\]}.” – displays: Good mornig Mr. How can I access session variables in …

---

## [Embedding Rails in a Cocoa app](https://www.ruby-forum.com/t/embedding-rails-in-a-cocoa-app/76799)

<div class="topic-metadata">

**Author:** [@lukeda](https://www.ruby-forum.com/u/lukeda)\
**Replies:** 4\
**Last updated:** [November 22, 2006, 3:49am UTC](https://www.ruby-forum.com/t/embedding-rails-in-a-cocoa-app/76799 "2006-11-22T03:49:47Z")

</div>

Hi, Has anyone tried to embed rails into a Cocoa app? I have got this working to a very primitive point using RubyCocoa. After about half an hour of playing I was able to get WEBrick to serve the rails starter page i…

---

## [Linking database when primary key is not id](https://www.ruby-forum.com/t/linking-database-when-primary-key-is-not-id/75507)

<div class="topic-metadata">

**Author:** [@Rajkumar\_S](https://www.ruby-forum.com/u/Rajkumar_S)\
**Replies:** 4\
**Last updated:** [November 10, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/linking-database-when-primary-key-is-not-id/75507 "2006-11-10T20:01:13Z")

</div>

Hi, I have 2 tables that I had created with migrations, but these are based on existing database. So the automatically created id column is not used. These tables have the following structure. Table calls ±---------…

---

## [RadRails and OSX](https://www.ruby-forum.com/t/radrails-and-osx/75017)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/radrails-and-osx/75017 "2006-11-07T11:07:10Z")

</div>

Hello all, I’ve gotten a brand new laptop at work. This is my first experience with development on a Mac. So far I’ve gotten rails and mysql working on it. I’m having trouble accessing some features of RadRails, parti…

---

## [Audio and/or video of RubyConf talks?](https://www.ruby-forum.com/t/audio-and-or-video-of-rubyconf-talks/73420)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 4\
**Last updated:** [October 25, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/audio-and-or-video-of-rubyconf-talks/73420 "2006-10-25T17:56:06Z")

</div>

Does anyone know if audio and/or video of RubyConf is available on-line (or if it’s planned to be available)?

---

## [Has many :through, accessing join model attribute (newbie)](https://www.ruby-forum.com/t/has-many-through-accessing-join-model-attribute-newbie/72367)

<div class="topic-metadata">

**Author:** [@John\_I](https://www.ruby-forum.com/u/John_I)\
**Replies:** 4\
**Last updated:** [October 17, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/has-many-through-accessing-join-model-attribute-newbie/72367 "2006-10-17T14:59:01Z")

</div>

from the rails recipes i have a has\_many through “working”. I can list a user and what magazines he subscribes to. but I can’t seem to figure out how to get the other attributes from subscriptions. (like last\_renewed\_…

---

## [SVN account](https://www.ruby-forum.com/t/svn-account/72037)

<div class="topic-metadata">

**Author:** [@Written](https://www.ruby-forum.com/u/Written)\
**Replies:** 4\
**Last updated:** [October 13, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/svn-account/72037 "2006-10-13T20:34:01Z")

</div>

All, I am using TortoiseSVN for Windows, and upon entering the URL “http://gnuradio.org/svn/usrp-hw/trunk”, I am asked for a username and password. I couldn’t find any way to register an account on http://gnuradio.u…

---

## [Images in body](https://www.ruby-forum.com/t/images-in-body/68087)

<div class="topic-metadata">

**Author:** [@fr.ivoloSus](https://www.ruby-forum.com/u/fr.ivoloSus)\
**Replies:** 4\
**Last updated:** [September 9, 2006, 11:22am UTC](https://www.ruby-forum.com/t/images-in-body/68087 "2006-09-09T11:22:04Z")

</div>

Hi All, I need a way to place floated images into the body of an article. The body is pulled from the database, so I need a way to scan a certain number of words, or paragraphs, and then place an image\_tag in there. …

---

## [Default value?](https://www.ruby-forum.com/t/default-value/67422)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 4, 2006, 2:43pm UTC](https://www.ruby-forum.com/t/default-value/67422 "2006-09-04T14:43:40Z")

</div>

i’m writting a C ext to Ruby. i want the User from ruby being able to pass 1 or 2 arg(s) to this ruby, without any Ruby wraper. i know that in standard C their is no way to have a function with default value. since …

---

## [Native Extensions on Windows 0.10 series](https://www.ruby-forum.com/t/native-extensions-on-windows-0-10-series/66003)

<div class="topic-metadata">

**Author:** [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Replies:** 4\
**Last updated:** [August 25, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/native-extensions-on-windows-0-10-series/66003 "2006-08-25T16:47:09Z")

</div>

Hi all, I’ve just noticed that 0.10 is out and wanted to give it a try on windows. I’m not at all an VS C++ Developer so I might do something very stupid here. My env: Windows Server 2003 VS .NET 2003 On the comma…

---

## [Cheap Hosting Options? (for Ruby on Rails) Suggestions?](https://www.ruby-forum.com/t/cheap-hosting-options-for-ruby-on-rails-suggestions/98620)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [July 17, 2006, 5:19am UTC](https://www.ruby-forum.com/t/cheap-hosting-options-for-ruby-on-rails-suggestions/98620 "2006-07-17T05:19:17Z")

</div>

Hi all, Any suggestions re cheap \[or free ideally :)\] hosting solutions for Ruby on Rails applications. At this stage for me it’s just the ability mainly to learn/play, but at the same time being able to publish the …

---

## [Problems with mixins](https://www.ruby-forum.com/t/problems-with-mixins/97865)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 4\
**Last updated:** [July 11, 2006, 3:24am UTC](https://www.ruby-forum.com/t/problems-with-mixins/97865 "2006-07-11T03:24:46Z")

</div>

Hi Folks, I’m have some problems with mixin from a module that I have written. Module Parser def thing . . end end class Outer include Parser def initialize print thing # works end class Inner def initia…

---

## [Has\_one, belongs\_to - I am just not getting it](https://www.ruby-forum.com/t/has-one-belongs-to-i-am-just-not-getting-it/97290)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 4\
**Last updated:** [July 6, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/has-one-belongs-to-i-am-just-not-getting-it/97290 "2006-07-06T18:36:55Z")

</div>

Let me preface by saying i’m a total noob at ruby/rails. :slight\_smile: For some reason, I am just not grasping the concept of has\_one & belongs\_to… I’m working on a project that includes user authentication, and 3 d…

---

## [Pickaxe code error](https://www.ruby-forum.com/t/pickaxe-code-error/97170)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [July 5, 2006, 4:26pm UTC](https://www.ruby-forum.com/t/pickaxe-code-error/97170 "2006-07-05T16:26:44Z")

</div>

Not sure what’s going on with some code in Programming Ruby, it’s early on where a SongList container is being created and test units are run. I’m receiving this error: Error: test\_delete(TestSongList): NameError:…

---

## [Object::foo syntax -- get a Method object?](https://www.ruby-forum.com/t/object-foo-syntax-get-a-method-object/62282)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 4\
**Last updated:** [June 2, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/object-foo-syntax-get-a-method-object/62282 "2006-06-02T20:09:43Z")

</div>

Hi, At the moment, “obj::foo” means the same as “obj.foo”; that is, “obj.send(:foo)”. I propose that it be changed to mean “obj.method(:foo)” instead. Although the obj.foo syntax is generally preferred, the obj::foo …

---

## [Date-building regexes](https://www.ruby-forum.com/t/date-building-regexes/58827)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 4\
**Last updated:** [April 26, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/date-building-regexes/58827 "2006-04-26T22:19:20Z")

</div>

Hi Does anyone know of a regular expression for building a date? That is one that will match “3”, “30”, “30/”, “30/0” (etc), but not “30/099” or (ideally) “30/02”? I’ve had a quick look into it and it seems pretty …

---

## [Joined search returns NIL ids](https://www.ruby-forum.com/t/joined-search-returns-nil-ids/58646)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 4\
**Last updated:** [April 25, 2006, 3:08pm UTC](https://www.ruby-forum.com/t/joined-search-returns-nil-ids/58646 "2006-04-25T15:08:11Z")

</div>

I have two models: assets and makes. Make has many assets and an asset belongs to one make. I am calling this part of my asset controller from a search form with the parameters “search” (search term) and “field” (data…

---

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

<div class="topic-metadata">

**Author:** [@jogloran](https://www.ruby-forum.com/u/jogloran)\
**Replies:** 4\
**Last updated:** [April 14, 2006, 4:37am UTC](https://www.ruby-forum.com/t/array/93903 "2006-04-14T04:37:40Z")

</div>

I need items to be compared based on their values, and not by object equality, so I provide #== for the array elements. The problem is that I’ve been trying to use Array#- as a set difference-like operation, and it d…

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

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