# Top

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

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

---

## [Question about SVN over WebDAV security](https://www.ruby-forum.com/t/question-about-svn-over-webdav-security/110641)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 2\
**Last updated:** [July 30, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/question-about-svn-over-webdav-security/110641 "2007-07-30T18:43:21Z")

</div>

Hello friends, After reading a lot about different methods of Subversion access, I still don’t understand if it’s possible to have HTTPS access (meaning Apache+WebDAV) access to the repository, but in a way that would…

---

## [Create text files](https://www.ruby-forum.com/t/create-text-files/106909)

<div class="topic-metadata">

**Author:** [@tomtoday](https://www.ruby-forum.com/u/tomtoday)\
**Replies:** 2\
**Last updated:** [June 15, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/create-text-files/106909 "2007-06-15T16:20:05Z")

</div>

Hi, I do have a text file as shown below. I’d now like to use Ruby to create separate text files for the content between “======”. To do so I have: Open, read from a text file, and pass to block f1 File.open(‘test.tx…

---

## [Is DRb server \*really\* required in production mode?](https://www.ruby-forum.com/t/is-drb-server-really-required-in-production-mode/106805)

<div class="topic-metadata">

**Author:** [@Emanuele](https://www.ruby-forum.com/u/Emanuele)\
**Replies:** 2\
**Last updated:** [June 15, 2007, 10:44am UTC](https://www.ruby-forum.com/t/is-drb-server-really-required-in-production-mode/106805 "2007-06-15T10:44:29Z")

</div>

Greetings, I’m certainly :slight\_smile: too thick, but after reading Ferret and AAF’s documentation I’m still wondering if I really need a DRb server in production. At the moment, the planned structure for production…

---

## [How to include another rhtml from an rhtml (no controller)](https://www.ruby-forum.com/t/how-to-include-another-rhtml-from-an-rhtml-no-controller/104190)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 2\
**Last updated:** [May 15, 2007, 8:06am UTC](https://www.ruby-forum.com/t/how-to-include-another-rhtml-from-an-rhtml-no-controller/104190 "2007-05-15T08:06:05Z")

</div>

I’m trying to do something simple like… In \_email\_header.rhtml \<% include “header.rhtml” %\> Where \_header.rhtml looks like … \<%= image\_tag "logo.gif", :class =\> "logostyle" %\> Request Servic…

---

## [Sendmail config](https://www.ruby-forum.com/t/sendmail-config/92061)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 2\
**Last updated:** [April 17, 2007, 1:41am UTC](https://www.ruby-forum.com/t/sendmail-config/92061 "2007-04-17T01:41:59Z")

</div>

Linux rookie here. To send mail from my rails app, is all I need: sendmail user name/pw For example, here is my config: mail server config config.action\_mailer.delivery\_method = :smtp config.action\_mailer.server\_s…

---

## [WEBrick::Daemon and WEBrick](https://www.ruby-forum.com/t/webrick-daemon-and-webrick/88353)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 2\
**Last updated:** [March 18, 2007, 4:47am UTC](https://www.ruby-forum.com/t/webrick-daemon-and-webrick/88353 "2007-03-18T04:47:18Z")

</div>

Is it possible to use the WEBrick::Daemon with WEBrick::AbstractServlet. Here is what i’m running for the basic servlet: dir = Dir::pwd server = WEBrick::HTTPServer.new( :Port =\> port, :DocumentRoot =\> dir end s…

---

## [Why Module/Class/Object are redefined in Active Support?](https://www.ruby-forum.com/t/why-module-class-object-are-redefined-in-active-support/83750)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 2:47pm UTC](https://www.ruby-forum.com/t/why-module-class-object-are-redefined-in-active-support/83750 "2007-01-29T14:47:18Z")

</div>

Recently i have decided to read sources of rails.In the source tree of Active Support, I found in the dependencies.rb that Module/Class/Object are redefined. Can these keywords in ruby be redefined? And what are the m…

---

## [Live preview fucked up in trunk admin](https://www.ruby-forum.com/t/live-preview-fucked-up-in-trunk-admin/80628)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 2\
**Last updated:** [December 30, 2006, 12:56am UTC](https://www.ruby-forum.com/t/live-preview-fucked-up-in-trunk-admin/80628 "2006-12-30T00:56:28Z")

</div>

Hello, it seems that the live preview is brocken on the latest trunk admin. What I have when I type foobar in the textarea is data:text/ html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURC BYSFR…

---

## [Finding duplicates in an array](https://www.ruby-forum.com/t/finding-duplicates-in-an-array/95922)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 2\
**Last updated:** [June 19, 2006, 9:46pm UTC](https://www.ruby-forum.com/t/finding-duplicates-in-an-array/95922 "2006-06-19T21:46:27Z")

</div>

an application i am working on sends emails to an array of users. it is possible for the user’s email to actually be in the array more than once. i don’t have a real strong grasp of the ruby syntax yet, but is there a…

---

## [Acts\_as\_tree wierdness with children.count and children.size](https://www.ruby-forum.com/t/acts-as-tree-wierdness-with-children-count-and-children-size/87176)

<div class="topic-metadata">

**Author:** [@M\_Daggett](https://www.ruby-forum.com/u/M_Daggett)\
**Replies:** 2\
**Last updated:** [March 25, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/acts-as-tree-wierdness-with-children-count-and-children-size/87176 "2006-03-25T20:57:13Z")

</div>

i am making a category tree and i iterate over the category using my counter\_cache however it would show a different number than what was actually being represetned in the tree. Here is an example cat.children = \[cat…

---

## [Ruby Arrays (Pushing Array Inside the same array)](https://www.ruby-forum.com/t/ruby-arrays-pushing-array-inside-the-same-array/219792)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 17, 2012, 2:56am UTC](https://www.ruby-forum.com/t/ruby-arrays-pushing-array-inside-the-same-array/219792 "2012-05-17T02:56:52Z")

</div>

I got two arrays A and B, A contains the KM and B contains value A = \[9,18,27,36,45,54,63,72,81,90,99,108,117,126\] B = \[1,1,2,1,1,3,4,5,2,1,1,3,6,1\] I have to remove the repeated values and store the unique value from …

---

## [Uninitialized constant Object::Foodevent (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-object-foodevent-nameerror/214026)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 19, 2011, 2:04am UTC](https://www.ruby-forum.com/t/uninitialized-constant-object-foodevent-nameerror/214026 "2011-11-19T02:04:20Z")

</div>

I have a model named Foodevent which I am trying to use to insert objects into my database. This is my code require ‘rubygems’ e\_from = “removed\_email\_address@domain.invalid” e\_subject = “first post” e\_date = “2011-1…

---

## [USRP2-No USRPs found on interface eth0](https://www.ruby-forum.com/t/usrp2-no-usrps-found-on-interface-eth0/182426)

<div class="topic-metadata">

**Author:** [@Brook\_L](https://www.ruby-forum.com/u/Brook_L)\
**Replies:** 4\
**Last updated:** [November 16, 2011, 10:56am UTC](https://www.ruby-forum.com/t/usrp2-no-usrps-found-on-interface-eth0/182426 "2011-11-16T10:56:22Z")

</div>

Hi All, I’m testing my USRP2. I run ./usrp2\_fft.py and ./usrp2\_wfm\_rcv.py, both worked fine. However, I got an error now, “RuntimeError: No USRPs found on interface eth0”. I didn’t change anything on this computer. I…

---

## [Issue with asset pipeline helper with Rails 3.1 final release](https://www.ruby-forum.com/t/issue-with-asset-pipeline-helper-with-rails-3-1-final-release/211298)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 3, 2011, 5:39am UTC](https://www.ruby-forum.com/t/issue-with-asset-pipeline-helper-with-rails-3-1-final-release/211298 "2011-09-03T05:39:36Z")

</div>

Hi, I’ve just updated my app to the final 3.1 release and deployed it to the staging server after running tests but there is a problem with the precompiled assets. The precompiled assets are all in the public directo…

---

## [How to test code that behaves conditionally based on gem existence?](https://www.ruby-forum.com/t/how-to-test-code-that-behaves-conditionally-based-on-gem-existence/208828)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 28, 2011, 6:25pm UTC](https://www.ruby-forum.com/t/how-to-test-code-that-behaves-conditionally-based-on-gem-existence/208828 "2011-06-28T18:25:08Z")

</div>

Working on bundler-bouncer | RubyGems.org | your community gem host, the problem is it uses ANSI escape sequences to colour the output, which doesn’t work on Windows. I’ve seen some gems that will use term-ansicolor …

---

## [No such file to load Error](https://www.ruby-forum.com/t/no-such-file-to-load-error/184348)

<div class="topic-metadata">

**Author:** [@nabusman](https://www.ruby-forum.com/u/nabusman)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 5:17pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-error/184348 "2010-03-01T17:17:49Z")

</div>

When trying to run the following code I am getting an error which says “no such file to load â€” openâ€uri” require ‘rubygems’ require ‘mechanize’ require ‘nokogiri’ require ‘openâ€uri’ def scrapePage(url, file) …

---

## [Please help with new Ruby install (my gems are missing!)](https://www.ruby-forum.com/t/please-help-with-new-ruby-install-my-gems-are-missing/184052)

<div class="topic-metadata">

**Author:** [@rezilient](https://www.ruby-forum.com/u/rezilient)\
**Replies:** 4\
**Last updated:** [February 24, 2010, 11:20pm UTC](https://www.ruby-forum.com/t/please-help-with-new-ruby-install-my-gems-are-missing/184052 "2010-02-24T23:20:42Z")

</div>

Hello. I am trying to get Ruby installed on our CentOS 5.2 (x64) server for a specific Ruby application (clockingIT). I followed the steps here: I made sure that all Ruby related packages are installed, here are th…

---

## [Rails/JRuby WAR Heap Space Issue](https://www.ruby-forum.com/t/rails-jruby-war-heap-space-issue/180602)

<div class="topic-metadata">

**Author:** [@MichaelF](https://www.ruby-forum.com/u/MichaelF)\
**Replies:** 4\
**Last updated:** [December 22, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/rails-jruby-war-heap-space-issue/180602 "2009-12-22T20:45:02Z")

</div>

I am using JRuby / Rails / Glassfish Gem to run an app on Tomcat. When someone submits a large file as an uploaded file I see the following in the log: Processing ScholarshipsController#create (for 174.120.167.34 at …

---

## [Solve this ruby problem](https://www.ruby-forum.com/t/solve-this-ruby-problem/180094)

<div class="topic-metadata">

**Author:** [@kgovinda](https://www.ruby-forum.com/u/kgovinda)\
**Replies:** 4\
**Last updated:** [December 11, 2009, 12:38pm UTC](https://www.ruby-forum.com/t/solve-this-ruby-problem/180094 "2009-12-11T12:38:03Z")

</div>

below are the command and the error shows by complier: class MyLogger private\_class\_method :new @@logger = nil def MyLogger.create @@logger = new unless @@logger @@logger end end MyLogger.create.id the error is…

---

## [Ordinamento per data](https://www.ruby-forum.com/t/ordinamento-per-data/178746)

<div class="topic-metadata">

**Author:** [@lorenz](https://www.ruby-forum.com/u/lorenz)\
**Replies:** 4\
**Last updated:** [November 10, 2009, 7:12pm UTC](https://www.ruby-forum.com/t/ordinamento-per-data/178746 "2009-11-10T19:12:06Z")

</div>

Salve a tutti, avrei un problema nell’ordinare degli eventi che ho creato nel DB per data. Praticamente sono andato nella classe EventsController e nella definizione del metodo index ho modificato come segue: def in…

---

## [Grc from svn on Jaunty yields AttributeError: 'module' object has no attribute 'version'](https://www.ruby-forum.com/t/grc-from-svn-on-jaunty-yields-attributeerror-module-object-has-no-attribute-version/175160)

<div class="topic-metadata">

**Author:** [@fozzyb](https://www.ruby-forum.com/u/fozzyb)\
**Replies:** 4\
**Last updated:** [September 9, 2009, 5:55pm UTC](https://www.ruby-forum.com/t/grc-from-svn-on-jaunty-yields-attributeerror-module-object-has-no-attribute-version/175160 "2009-09-09T17:55:25Z")

</div>

Hi, I’m not a python person, but it appears that there are some problems after I updated my copy of gnuradio from svn. Make and make check work fine, but when I start grc, I get the following grumbles: frohro@frohro…

---

## [Help with ImportError: dynamic module does not define init function (init\_gold)](https://www.ruby-forum.com/t/help-with-importerror-dynamic-module-does-not-define-init-function-init-gold/147936)

<div class="topic-metadata">

**Author:** [@Murtuza](https://www.ruby-forum.com/u/Murtuza)\
**Replies:** 4\
**Last updated:** [September 3, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/help-with-importerror-dynamic-module-does-not-define-init-function-init-gold/147936 "2009-09-03T14:10:45Z")

</div>

Hi Friends I wrote a new Gnuradio block and everything went fine including the install. But when i import the module in python interpreter i get this error. Can anyone suggest where could the problem be. ImportError…

---

## [\[Feature #1951\] open$B$N(BBOM$B;XDj3HD%(B](https://www.ruby-forum.com/t/feature-1951-open-b-n-bbom-b-xdj3hd-b/173947)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 4\
**Last updated:** [August 19, 2009, 10:48am UTC](https://www.ruby-forum.com/t/feature-1951-open-b-n-bbom-b-xdj3hd-b/173947 "2009-08-19T10:48:40Z")

</div>

Feature #1951: opene$B$Ne(BBOMe$B;XDj3HD%e(B http://redmine.ruby-lang.org/issues/show/1951 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yui NARUSE #747e$B$He(B#802e$B$G5DO@…

---

## [Method question](https://www.ruby-forum.com/t/method-question/172892)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 4\
**Last updated:** [July 29, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/method-question/172892 "2009-07-29T17:15:40Z")

</div>

Hi all, Struggling a little with the concept of an exercise I am doing. I have two Ruby methods, the first does a simple string replace the second converts data to something else if the criteria is satisfied. See exa…

---

## [Fixtures are not loaded while running controller spec](https://www.ruby-forum.com/t/fixtures-are-not-loaded-while-running-controller-spec/170053)

<div class="topic-metadata">

**Author:** [@tornado](https://www.ruby-forum.com/u/tornado)\
**Replies:** 4\
**Last updated:** [June 12, 2009, 8:33am UTC](https://www.ruby-forum.com/t/fixtures-are-not-loaded-while-running-controller-spec/170053 "2009-06-12T08:33:58Z")

</div>

Hi, I am running controller spec and it gives me result as 0 examples, 0 failures. I checked into the database and i saw that fixtures are not loaded. Following are the details of my controller file. require File.ex…

---

## [\[Rspec\] Problems with autospec](https://www.ruby-forum.com/t/rspec-problems-with-autospec/167973)

<div class="topic-metadata">

**Author:** [@Hugo\_B](https://www.ruby-forum.com/u/Hugo_B)\
**Replies:** 4\
**Last updated:** [May 21, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/rspec-problems-with-autospec/167973 "2009-05-21T13:10:45Z")

</div>

Hi guys, I am having a problem with autospec. I upgraded to rspec-1.2.6, then I tried to run my specs with autospec. All my specs passes (green), until here, that’s all ok. The problem is that after all my specs have …

---

## [PDFWriter and Page Breaks](https://www.ruby-forum.com/t/pdfwriter-and-page-breaks/166326)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [April 30, 2009, 6:55am UTC](https://www.ruby-forum.com/t/pdfwriter-and-page-breaks/166326 "2009-04-30T06:55:10Z")

</div>

I’m sure this is something that someone here has done. More probably, I’m missing the obvious. In order to produce a report, I need to know when the text I’m printing (or about to print - I’m not picky) is going to do…

---

## [Applying default conditions to a model's find, find\_by\_\*](https://www.ruby-forum.com/t/applying-default-conditions-to-a-models-find-find-by/161528)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 4\
**Last updated:** [February 27, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/applying-default-conditions-to-a-models-find-find-by/161528 "2009-02-27T21:15:22Z")

</div>

What is the best solution for applying a default condition to a model, for example only records where active is boolean true? My initial implementation overrode the find method using with\_scope to apply the condition…

---

## [Merb on Websphere using RackServlet writes production.log to "/" (root of machine's filesystem)](https://www.ruby-forum.com/t/merb-on-websphere-using-rackservlet-writes-production-log-to-root-of-machines-filesystem/146174)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [August 19, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/merb-on-websphere-using-rackservlet-writes-production-log-to-root-of-machines-filesystem/146174 "2008-08-19T18:08:22Z")

</div>

JRuby 1.1.3 Rack 0.3.0 Merb 0.9.4 Warbler 0.9.10 I have an app. that appears to be “successfully” deployed to Websphere through warbler, but my production.log file is being written to the machine’s root directory “…

---

## [Fiber exists before require 'fiber'](https://www.ruby-forum.com/t/fiber-exists-before-require-fiber/140428)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [June 16, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/fiber-exists-before-require-fiber/140428 "2008-06-16T22:00:54Z")

</div>

So, in 1.9 it appears that the Fiber class exists before you’ve required fiber. Thoughts? irb(main):001:0\> Fiber =\> Fiber irb(main):002:0\> Fiber.current NoMethodError: undefined method current' for Fiber:Class from…

---

## [Hiding the passes](https://www.ruby-forum.com/t/hiding-the-passes/136996)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 4\
**Last updated:** [May 8, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/hiding-the-passes/136996 "2008-05-08T20:40:51Z")

</div>

How do you hide all the green passing examples from the output? I don’t need to know what has passed and it means I have to scroll to see what has failed.

---

## [Beginning Programmer](https://www.ruby-forum.com/t/beginning-programmer/134029)

<div class="topic-metadata">

**Author:** [@Qbert](https://www.ruby-forum.com/u/Qbert)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/beginning-programmer/134029 "2008-04-07T22:27:48Z")

</div>

Hello. I am somewhat of a novice when it comes to programming. To begin programming in RoR, what other programming languages should I know, and what is the reading material I should study? Thanks for any feedback

---

## [L'architecture de Friends for Sale](https://www.ruby-forum.com/t/larchitecture-de-friends-for-sale/129897)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 4\
**Last updated:** [February 22, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/larchitecture-de-friends-for-sale/129897 "2008-02-22T15:49:07Z")

</div>

Article et interview très intéressants : – Jean-François. – Ruby ( http://www.rubyfrance.org ) on Rails ( http://www.railsfrance.org )

---

## [Stubbing out required associated models](https://www.ruby-forum.com/t/stubbing-out-required-associated-models/120189)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 4\
**Last updated:** [November 15, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/stubbing-out-required-associated-models/120189 "2007-11-15T14:45:16Z")

</div>

Hello, As I’m becoming more and more familiar with mocking/stubbing, I’m going back to some of my model specs and revaluating how I wrote them. I have certain models in which validation requires the presence of an a…

---

## [FYI: Netbeans](https://www.ruby-forum.com/t/fyi-netbeans/119242)

<div class="topic-metadata">

**Author:** [@Manuel\_GonzSSSSlez\_S](https://www.ruby-forum.com/u/Manuel_GonzSSSSlez_S)\
**Replies:** 4\
**Last updated:** [November 5, 2007, 11:44am UTC](https://www.ruby-forum.com/t/fyi-netbeans/119242 "2007-11-05T11:44:11Z")

</div>

Un artículo sobre NetBeans como IDE para Rails. La verdad es que me lo instalé el otro día después de verlo en el ordenador de demimismo y tiene muy buena pinta, aunque de momento sigo con Textmate. http://lifeonrail…

---

## [Patch to extended oscope to enable dualchan and complex mode on basicRX and basicTX](https://www.ruby-forum.com/t/patch-to-extended-oscope-to-enable-dualchan-and-complex-mode-on-basicrx-and-basictx/118420)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 4\
**Last updated:** [October 29, 2007, 2:25am UTC](https://www.ruby-forum.com/t/patch-to-extended-oscope-to-enable-dualchan-and-complex-mode-on-basicrx-and-basictx/118420 "2007-10-29T02:25:48Z")

</div>

Hi all, inspired by the question of George N. I extended the usrp\_oscope.py script to enable dualchannel and complex mode for basicRX and LFRX. You can find a patch and the complete modified script at: http://www.oli…

---

## [Determining if a process is alive on windows](https://www.ruby-forum.com/t/determining-if-a-process-is-alive-on-windows/116226)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 1:10am UTC](https://www.ruby-forum.com/t/determining-if-a-process-is-alive-on-windows/116226 "2007-10-04T01:10:42Z")

</div>

on \*nix i use this returns true if pid is running, false otherwise def alive pid #–{{{ pid = Integer(“#{ pid }”) begin Process::kill 0, pid true rescue Errno::ESRCH false end #–}}} end alias alive? alive …

---

## [Rails app in Radiant CMS](https://www.ruby-forum.com/t/rails-app-in-radiant-cms/110229)

<div class="topic-metadata">

**Author:** [@franz](https://www.ruby-forum.com/u/franz)\
**Replies:** 4\
**Last updated:** [July 25, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/rails-app-in-radiant-cms/110229 "2007-07-25T14:31:21Z")

</div>

Hi, I would like to include a Rails app I have created in Radiant but I really have no idea on how to do that. Can somebody help me please ???

---

## [Request for 127.0.0.1 on remote servers (is it caching?)](https://www.ruby-forum.com/t/request-for-127-0-0-1-on-remote-servers-is-it-caching/104974)

<div class="topic-metadata">

**Author:** [@ehudros](https://www.ruby-forum.com/u/ehudros)\
**Replies:** 4\
**Last updated:** [May 25, 2007, 12:06am UTC](https://www.ruby-forum.com/t/request-for-127-0-0-1-on-remote-servers-is-it-caching/104974 "2007-05-25T00:06:31Z")

</div>

Hi everyone, I’m having some trouble understanding what’s going on with my production server. When a page is accessed, sometimes after the page is already displayed (in the log I get a 200 OK message for the entire p…

---

## [Richiesta banale](https://www.ruby-forum.com/t/richiesta-banale/92997)

<div class="topic-metadata">

**Author:** [@maxxer](https://www.ruby-forum.com/u/maxxer)\
**Replies:** 4\
**Last updated:** [April 26, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/richiesta-banale/92997 "2007-04-26T15:51:15Z")

</div>

Ciao Scusate se “approfitto” della vs. ospitatlitÃ , ma dovrei fare una modifica semplice ad un programma scritto in Ruby e non so minimamente dove iniziare :slight\_smile: Ho una lista creata con pkgs = Packages::PK…

---

## [Calling a method using a variable name?](https://www.ruby-forum.com/t/calling-a-method-using-a-variable-name/88758)

<div class="topic-metadata">

**Author:** [@ajtwatching](https://www.ruby-forum.com/u/ajtwatching)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/calling-a-method-using-a-variable-name/88758 "2007-03-14T21:36:14Z")

</div>

Hey folks, Like many posts have no doubt started… I’m giving this ruby business a crack!! :wink: Now this might be a really bad approach… but I’ll throw it out there. Here’s my simple class. class Myclass def initi…

---

## [Encoding Rails project source code](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303 "2007-03-01T16:41:50Z")

</div>

Hello, After weeks of speaking with my boss, I’ve finally convinced him to allow me to switch our in-house PHP application (for inventory control, employee monitoring, etc.) to Ruby on Rails. He told me that once the…

---

## [Rubygem's gemri broken?](https://www.ruby-forum.com/t/rubygems-gemri-broken/82192)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 4\
**Last updated:** [January 20, 2007, 8:52am UTC](https://www.ruby-forum.com/t/rubygems-gemri-broken/82192 "2007-01-20T08:52:01Z")

</div>

gem -v 0.9.0 gemri String /usr/lib/ruby/1.8/rdoc/ri/ri\_descriptions.rb:99:in concat': can't convert nil into Array (TypeError) from /usr/lib/ruby/1.8/rdoc/ri/ri\_descriptions.rb:99:inmerge\_in’ from /usr/lib/ruby/1.…

---

## [Tk problem](https://www.ruby-forum.com/t/tk-problem/81050)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 4\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/tk-problem/81050 "2007-01-19T16:29:23Z")

</div>

Hi, I get the following message when trying to use Tk “This application has failed to start because tk84.dll was not found. Re-installing the application may fix this problem.” I am using Ruby 1.8.4. Has anyone else …

---

## [Re: ruby for SCO](https://www.ruby-forum.com/t/re-ruby-for-sco/80704)

<div class="topic-metadata">

**Author:** [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Replies:** 4\
**Last updated:** [January 2, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704 "2007-01-02T20:09:35Z")

</div>

Yes I have tried that. The SCO libraries have some compatibility problems. I Tried finding the “gcc” compiler and libraries but they were not current enough and had compilation error too. So I’m kind of wondering if …

---

## [Dealing with large chunks of data](https://www.ruby-forum.com/t/dealing-with-large-chunks-of-data/75998)

<div class="topic-metadata">

**Author:** [@al-evans](https://www.ruby-forum.com/u/al-evans)\
**Replies:** 4\
**Last updated:** [November 15, 2006, 7:41am UTC](https://www.ruby-forum.com/t/dealing-with-large-chunks-of-data/75998 "2006-11-15T07:41:02Z")

</div>

In a site I’m working on, I have to generate statistics on demand. This requires going through substantially all three tables of the database, without about 1500 records in table A owning about 12,000 records in table…

---

## [Test/spec 0.1, a BDD interface for Test::Unit](https://www.ruby-forum.com/t/test-spec-0-1-a-bdd-interface-for-test-unit/70499)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 4\
**Last updated:** [October 3, 2006, 11:04pm UTC](https://www.ruby-forum.com/t/test-spec-0-1-a-bdd-interface-for-test-unit/70499 "2006-10-03T23:04:50Z")

</div>

Hello, today I’m releasing test/spec, a library to do BDD with Test::Unit. == What is test/spec? test/spec layers an RSpec-inspired interface on top of Test::Unit, so you can mix TDD and BDD (Behavior-Driven Developm…

---

## [Does the Simply\_resful plugin still work?](https://www.ruby-forum.com/t/does-the-simply-resful-plugin-still-work/69601)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 1:39pm UTC](https://www.ruby-forum.com/t/does-the-simply-resful-plugin-still-work/69601 "2006-09-22T13:39:03Z")

</div>

After finding 2 very good tutorials(see below) on RESTfulness on rails i went about installing the plugin in a test rails project. Im not ready to move from gems to the edge yet, so had to use the plugin (revision 516…

---

## [Strange behaviour from assert\_redirected\_to](https://www.ruby-forum.com/t/strange-behaviour-from-assert-redirected-to/96641)

<div class="topic-metadata">

**Author:** [@Pedro\_CSSSSrte-Real](https://www.ruby-forum.com/u/Pedro_CSSSSrte-Real)\
**Replies:** 4\
**Last updated:** [July 3, 2006, 11:42am UTC](https://www.ruby-forum.com/t/strange-behaviour-from-assert-redirected-to/96641 "2006-07-03T11:42:03Z")

</div>

I have this assertion in my tests: assert\_redirected\_to :controller =\> ‘user’, :action =\> ‘change\_password’ It fails with: response is not a redirection to all of the options supplied (redirection is \<“http://test.ho…

---

## [\<%= text\_field %\> - how to set the value to session name?](https://www.ruby-forum.com/t/text-field-how-to-set-the-value-to-session-name/59938)

<div class="topic-metadata">

**Author:** [@rhrhrh](https://www.ruby-forum.com/u/rhrhrh)\
**Replies:** 4\
**Last updated:** [May 8, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/text-field-how-to-set-the-value-to-session-name/59938 "2006-05-08T22:30:48Z")

</div>

I’m trying to automatically fill a “posted\_by” text by with whoever is logged into the session. How do you set the value attribute using “\<%= text\_field … %\>”??? I’ve tried: \<%= text\_field ‘post’, ‘posted\_by’, ‘valu…

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

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