# Top

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

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

---

## [Strange Unit Testing error - newbie question](https://www.ruby-forum.com/t/strange-unit-testing-error-newbie-question/54589)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 4\
**Last updated:** [March 10, 2006, 11:22am UTC](https://www.ruby-forum.com/t/strange-unit-testing-error-newbie-question/54589 "2006-03-10T11:22:00Z")

</div>

I’m fairly new to Rails, and I’ve been learning from AGILE WEB DEVELOPMENT WITH RAILS. Everything has been going smoothly until the chapter on Unit Testing, where I’m getting some strange errors. I’m up to page 141 i…

---

## [Displaying double digits](https://www.ruby-forum.com/t/displaying-double-digits/71258)

<div class="topic-metadata">

**Author:** [@cranberry](https://www.ruby-forum.com/u/cranberry)\
**Replies:** 4\
**Last updated:** [February 21, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/displaying-double-digits/71258 "2006-02-21T15:29:01Z")

</div>

Hi, I have a question about displaying digits in Rails. whenever I print the price of an item, if the last digit is a zero or double zeros then it doesn’t display properly. How do I display a number so that it looks …

---

## [Class variable weirdness](https://www.ruby-forum.com/t/class-variable-weirdness/97457)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 4\
**Last updated:** [January 26, 2006, 6:08am UTC](https://www.ruby-forum.com/t/class-variable-weirdness/97457 "2006-01-26T06:08:20Z")

</div>

I was fooling around with class variables tonight, and I know this is pretty silly, but forsome reason this code will work when in its own class, as you can see in class A and class B, but when I put the code together…

---

## [Ruby 2.4 - another dev release?](https://www.ruby-forum.com/t/ruby-2-4-another-dev-release/244981)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 1, 2016, 3:31pm UTC](https://www.ruby-forum.com/t/ruby-2-4-another-dev-release/244981 "2016-08-01T15:31:55Z")

</div>

Hi, Anyone happens to know when another ruby 2.4 dev release happens? Or whether the next release will be official 2.4? I asked because I have had a few small issues but I also want to test stuff on 2.4 as soon as po…

---

## [How can I set up a proper getter/setter?](https://www.ruby-forum.com/t/how-can-i-set-up-a-proper-getter-setter/244026)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 9, 2016, 7:55pm UTC](https://www.ruby-forum.com/t/how-can-i-set-up-a-proper-getter-setter/244026 "2016-02-09T19:55:07Z")

</div>

I have a model named, Measurable, that stores many different types of of measurements for different things. All the measurements can be represented as a decimal, so my value column is of datatype decimal. My users …

---

## [How should I organize this data?](https://www.ruby-forum.com/t/how-should-i-organize-this-data/242641)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 10, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/how-should-i-organize-this-data/242641 "2015-07-10T20:12:13Z")

</div>

Hi Guys, new to RoR but I’ve been stuck on this problem for a few days now. So goal is to scrape this data http://lol.esportspedia.com/wiki/Riot\_League\_Championship\_Series/North\_America/2015\_Season/Summer\_Season/Pick…

---

## [Unit Test](https://www.ruby-forum.com/t/unit-test/232358)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 5, 2014, 4:43pm UTC](https://www.ruby-forum.com/t/unit-test/232358 "2014-10-05T16:43:11Z")

</div>

How Test::Unit is clever to run test even thongh there is no main program? Thanks. 发自网易邮箱大师

---

## [DNS problem](https://www.ruby-forum.com/t/dns-problem/231583)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 18, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/dns-problem/231583 "2014-08-18T15:05:44Z")

</div>

I know nginx 1.7.4 fixes a bug about DNS resolver, but i do not quite understand why this would lead to a request hang, Because there is a timeout handling, at a specified time if there is no response the timeout cal…

---

## [Unobtrusive Javascript in rails 4](https://www.ruby-forum.com/t/unobtrusive-javascript-in-rails-4/234802)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 14, 2014, 4:40pm UTC](https://www.ruby-forum.com/t/unobtrusive-javascript-in-rails-4/234802 "2014-07-14T16:40:59Z")

</div>

Hello I’m new in using Ruby on rails, and I was wondering how I can use Javascript in rails 4. I searched this topic a lot on google and I found RailsCasts - #205 Unobtrusive Javascript. Is there any good books on th…

---

## [FFI library/gem status](https://www.ruby-forum.com/t/ffi-library-gem-status/237226)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 30, 2013, 8:46pm UTC](https://www.ruby-forum.com/t/ffi-library-gem-status/237226 "2013-10-30T20:46:33Z")

</div>

The FFI library has been officially taken over for maintenance by the JRuby team. The project remains on github at GitHub - ffi/ffi: Ruby FFI with issue tracker and wiki intact. The ruby-ffi google group was deleted …

---

## [Check if variable exists in file, Using file contents for variable handling](https://www.ruby-forum.com/t/check-if-variable-exists-in-file-using-file-contents-for-variable-handling/246114)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 7:42pm UTC](https://www.ruby-forum.com/t/check-if-variable-exists-in-file-using-file-contents-for-variable-handling/246114 "2013-08-29T19:42:38Z")

</div>

Is there a way to check a variable against file contents for processing? A couple scenarios below. This is used here, but adding multiple agents can get burdensome: if ($http\_user\_agent ~ (agent1|agent2|Foo|Wget|Nmap…

---

## [Errors during make check 2.0.0\_p247 on RH Linux](https://www.ruby-forum.com/t/errors-during-make-check-2-0-0-p247-on-rh-linux/245964)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 14, 2013, 8:46am UTC](https://www.ruby-forum.com/t/errors-during-make-check-2-0-0-p247-on-rh-linux/245964 "2013-08-14T08:46:50Z")

</div>

Hello, I searched the Ruby forum and other Googling without success :frowning: Target machine RH Enterprise Linux Version 6, 64-bit, with latest patches. Ruby 2.0.0\_p247 source “./compile” shows no errors or warning…

---

## [How to display the selected values from the drop down list menu in rails?](https://www.ruby-forum.com/t/how-to-display-the-selected-values-from-the-drop-down-list-menu-in-rails/235987)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 28, 2013, 11:18pm UTC](https://www.ruby-forum.com/t/how-to-display-the-selected-values-from-the-drop-down-list-menu-in-rails/235987 "2013-07-28T23:18:14Z")

</div>

Dear Guys, I have created the drop down list for state and city. Now when the user selects the state say florida and city say miami, I want to display these names on the new page when the user clicks the search link.…

---

## [Symplex.com / nuand.com](https://www.ruby-forum.com/t/symplex-com-nuand-com/227173)

<div class="topic-metadata">

**Author:** [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Replies:** 1\
**Last updated:** [March 6, 2013, 5:36pm UTC](https://www.ruby-forum.com/t/symplex-com-nuand-com/227173 "2013-03-06T17:36:19Z")

</div>

Hi, When searching for small, portable and relatively cheap gnuradio compatible SDR devices with TX capability I always find some spurs of information about S-Mini / shd / symplex.com - did they cease to exist, or j…

---

## [Running python-gtk with GNURadio](https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 13, 2012, 10:24pm UTC](https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734 "2012-01-13T22:24:34Z")

</div>

Hi all, I’m trying to create a GUI for my GNURadio program using python-gtk on a USRP E100. I have GNURadio and pythong-gtk working separately. But now that I’m combining them, the graphic windows goes blank and wait…

---

## [Need help with tree cursor](https://www.ruby-forum.com/t/need-help-with-tree-cursor/211444)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 4, 2011, 3:01pm UTC](https://www.ruby-forum.com/t/need-help-with-tree-cursor/211444 "2011-09-04T15:01:42Z")

</div>

Hi, a question here How do I move cursor in tree view (with liststore as model) without using mouse click or arrow? I mean something like press F1 and it moves to first row? I can’t get it to work especially if tree…

---

## [Unable to install Rmagick + rails 2.3.9 + ruby 1.8.7 + windows Xp + bundler](https://www.ruby-forum.com/t/unable-to-install-rmagick-rails-2-3-9-ruby-1-8-7-windows-xp-bundler/209359)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 13, 2011, 5:51am UTC](https://www.ruby-forum.com/t/unable-to-install-rmagick-rails-2-3-9-ruby-1-8-7-windows-xp-bundler/209359 "2011-07-13T05:51:59Z")

</div>

My gemfile source ‘http://rubygems.org’ source ‘http://gems.github.com’ gem “rails”, “=2.3.8” gem “mogli” gem “geokit” gem “thinking-sphinx”, “=1.3.18”, :require =\> ‘thinking\_sphinx’ gem “ts-delayed-delta”, “=1.1.…

---

## [Ajax](https://www.ruby-forum.com/t/ajax/207967)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 7, 2011, 10:52am UTC](https://www.ruby-forum.com/t/ajax/207967 "2011-06-07T10:52:18Z")

</div>

link\_to t(‘Show’), supplier, :remote =\> true Voglio poter mostrare i dettagli di un supplier sia tramite una chiamata ajax sia tramite una chiamata normale a seconda del contesto. Per ajax ho creato il template show.j…

---

## [Newbie questions - Best practice for loading local db data and model tests? (factory\_girl , debuggin](https://www.ruby-forum.com/t/newbie-questions-best-practice-for-loading-local-db-data-and-model-tests-factory-girl-debuggin/199547)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 24, 2010, 1:24am UTC](https://www.ruby-forum.com/t/newbie-questions-best-practice-for-loading-local-db-data-and-model-tests-factory-girl-debuggin/199547 "2010-11-24T01:24:21Z")

</div>

I’m pretty much a newbie with Rails and RSpec. I’m trying to follow best practices as I start to work on my own Rails side project. I’m using: rspec 2.1.0 / Rails 3.0.1 / ruby 1.9.2 Currently I have a Rake task that…

---

## [\[ANN\] Ruby-GNOME2 0.90.3](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-3/197953)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 23, 2010, 12:33pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-3/197953 "2010-10-23T12:33:02Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.90.3: Download ruby-gtk2-0.90.3.tar.gz (Ruby-GNOME 2) Download ruby-gnome2-all-0.90.3.tar.gz (Ruby-GNOME 2) === Summary Support String encoding in Ruby 1.9. RVAL2C…

---

## [In a rails3 - rspec then require 'authlogic/test\_case' and now I broke stuff?](https://www.ruby-forum.com/t/in-a-rails3-rspec-then-require-authlogic-test-case-and-now-i-broke-stuff/194086)

<div class="topic-metadata">

**Author:** [@Rick\_R](https://www.ruby-forum.com/u/Rick_R)\
**Replies:** 1\
**Last updated:** [August 30, 2010, 6:03am UTC](https://www.ruby-forum.com/t/in-a-rails3-rspec-then-require-authlogic-test-case-and-now-i-broke-stuff/194086 "2010-08-30T06:03:15Z")

</div>

I’m a newb here and probably shouldn’t be using Rails3 yet to start with, but for some reason I was feeling adventurous. I’m also learning to use rspec along the way and things ‘were’ working out with my ‘rake spec’…

---

## [Audio Files length](https://www.ruby-forum.com/t/audio-files-length/192804)

<div class="topic-metadata">

**Author:** [@jcubed](https://www.ruby-forum.com/u/jcubed)\
**Replies:** 1\
**Last updated:** [August 6, 2010, 8:58am UTC](https://www.ruby-forum.com/t/audio-files-length/192804 "2010-08-06T08:58:39Z")

</div>

I’m modifying a Radio Automation program that I built with tkSnack for Ruby (which does not work on my computer), to work with Rubygame… One main problem is that I can not find a method to determine how long an audio …

---

## [Writing rails plugins](https://www.ruby-forum.com/t/writing-rails-plugins/187068)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 1\
**Last updated:** [April 16, 2010, 9:36pm UTC](https://www.ruby-forum.com/t/writing-rails-plugins/187068 "2010-04-16T21:36:56Z")

</div>

Hi \*, I’m trying to write a plugin to integrate my SSO server into my rails app. I’m finding the whole process quite difficult, I’m still blocked at configuring rspec, and the lack of documentation is not helping. I…

---

## [Continue save after before\_update observer](https://www.ruby-forum.com/t/continue-save-after-before-update-observer/186090)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 7:43pm UTC](https://www.ruby-forum.com/t/continue-save-after-before-update-observer/186090 "2010-03-31T19:43:32Z")

</div>

Hi all, I have a before\_update observer method. But after that method is finished, it doesn’t proceed to ActiveRecord’s save method. What do I need to write in my before\_update observer method to make it proceed to t…

---

## [å…³äºŽnginxçš„proxyçš„ç–‘é—®](https://www.ruby-forum.com/t/a-a-znginxcs-proxycs-c-e/186062)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 12:57pm UTC](https://www.ruby-forum.com/t/a-a-znginxcs-proxycs-c-e/186062 "2010-03-31T12:57:45Z")

</div>

å¤§å®¶å¥½ã€‚ è¯·é—®nginxçš„proxyæœ‰æ²¡æœ‰ç±»ä¼¼mail proxyçš„åŠŸèƒ½ï¼Œå†™ä¸€ä¸ªç¨‹åºæ¥æŸ¥è¯¢ä¸»æœºåæ‰€åœ¨çš„åŽç«¯æœåŠ¡å™¨çš„IPï¼Œç„¶åŽè‡ªåŠ¨çš„proxyåˆ°å¯¹åº”çš„åŽç«¯æœåŠ¡å™¨ä¸Šã€‚ è°¢è°¢

---

## [Fastest readline method](https://www.ruby-forum.com/t/fastest-readline-method/183284)

<div class="topic-metadata">

**Author:** [@kvetch](https://www.ruby-forum.com/u/kvetch)\
**Replies:** 1\
**Last updated:** [February 11, 2010, 11:07am UTC](https://www.ruby-forum.com/t/fastest-readline-method/183284 "2010-02-11T11:07:56Z")

</div>

I have a script that parses a bunch of data off the wire and pipes it into a fastercsv array. I want to read in a text file and check certain columns for matches from the data in the text file. There seems to be ton…

---

## [Convert XML/JSON reponse to ActiveRecord object](https://www.ruby-forum.com/t/convert-xml-json-reponse-to-activerecord-object/180315)

<div class="topic-metadata">

**Author:** [@jmanivannancse](https://www.ruby-forum.com/u/jmanivannancse)\
**Replies:** 1\
**Last updated:** [December 18, 2009, 7:53am UTC](https://www.ruby-forum.com/t/convert-xml-json-reponse-to-activerecord-object/180315 "2009-12-18T07:53:41Z")

</div>

I need to convert the xml/JSON response into an ActiveRecord object. For example, \<?xml version="1.0" encoding="UTF-8"?\> true removed\_email\_address@domain.invalid 1 9324405627 9324405627 Har…

---

## [Move a wiki page](https://www.ruby-forum.com/t/move-a-wiki-page/168875)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 27, 2009, 1:48pm UTC](https://www.ruby-forum.com/t/move-a-wiki-page/168875 "2009-05-27T13:48:02Z")

</div>

Hi, so I have created a page for the PanelApplet in the wiki. But I created under PanelApplet and not under Ruby/PanelApplet. How can I move it? Or have I to create it at the right place again and remove the old one? …

---

## [How to write test cases in rcov](https://www.ruby-forum.com/t/how-to-write-test-cases-in-rcov/159693)

<div class="topic-metadata">

**Author:** [@brijesh](https://www.ruby-forum.com/u/brijesh)\
**Replies:** 1\
**Last updated:** [February 7, 2009, 9:01pm UTC](https://www.ruby-forum.com/t/how-to-write-test-cases-in-rcov/159693 "2009-02-07T21:01:45Z")

</div>

Hi I am using rcov to generate code coverage. But I don’t know how to write cases for that… I have installed rcov gem and and execute rcov test/\*.rb command. It shows me some code coverage in files. Can anyone help…

---

## [Rails et les fichiers csv](https://www.ruby-forum.com/t/rails-et-les-fichiers-csv/154661)

<div class="topic-metadata">

**Author:** [@ideale](https://www.ruby-forum.com/u/ideale)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/rails-et-les-fichiers-csv/154661 "2008-12-02T23:03:29Z")

</div>

Bonjour Je dois programme en rails une application qui accÃ¨de a 3 fichiers CSV prof.csv, eleve.csv et cours.csv et inscriptions.csv un prof donne un ou plusieurs cours, un etudiant peut s inscrire a plusieurs cours …

---

## [Problems with the usrp\_rx\_cfile.py, usrp\_fft.py and usrp\_oscope.py and RFID signals](https://www.ruby-forum.com/t/problems-with-the-usrp-rx-cfile-py-usrp-fft-py-and-usrp-oscope-py-and-rfid-signals/153307)

<div class="topic-metadata">

**Author:** [@Marco\_Bottino](https://www.ruby-forum.com/u/Marco_Bottino)\
**Replies:** 1\
**Last updated:** [November 14, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/problems-with-the-usrp-rx-cfile-py-usrp-fft-py-and-usrp-oscope-py-and-rfid-signals/153307 "2008-11-14T20:23:17Z")

</div>

Hello, I am a student and I am doing my thesis project on the RFID protocols. At the present time, with the USRP, I am trying to catch the signal between a reader and a tag RFID. As reader I am using an OpendPCD (us…

---

## [Newbie's question about generated features by cucumber in Rails](https://www.ruby-forum.com/t/newbies-question-about-generated-features-by-cucumber-in-rails/150149)

<div class="topic-metadata">

**Author:** [@Lian\_L](https://www.ruby-forum.com/u/Lian_L)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/newbies-question-about-generated-features-by-cucumber-in-rails/150149 "2008-10-04T18:58:59Z")

</div>

Hi all, I am new to rspec and trying to use cucumber to learn writingfeatures. I follow the wiki page GitHub: Let’s build from here · GitHub to start my first feature. The command “ruby script/generate feature Froob…

---

## [Specifying a URI prefix for a route](https://www.ruby-forum.com/t/specifying-a-uri-prefix-for-a-route/146204)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [September 4, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/specifying-a-uri-prefix-for-a-route/146204 "2008-09-04T13:14:10Z")

</div>

All, I have an unusual requirement. I have two apps. deployed in a JEE container (one Rails, one Merb), and I am redirecting various requests between them. That is, from app. A, I am redirecting to a app. B URL and…

---

## [Using StemFilter with PhraseQuery](https://www.ruby-forum.com/t/using-stemfilter-with-phrasequery/137397)

<div class="topic-metadata">

**Author:** [@S\_D](https://www.ruby-forum.com/u/S_D)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 9:11am UTC](https://www.ruby-forum.com/t/using-stemfilter-with-phrasequery/137397 "2008-05-13T09:11:44Z")

</div>

Hi, I’m having difficulty getting the StemFilter and PhraseQuery to work properly together. When I use a StemFilter with a PhraseQuery, searches only work if the phrase consists of stems. For example, the search phra…

---

## [Typo grinding to a halt](https://www.ruby-forum.com/t/typo-grinding-to-a-halt/124688)

<div class="topic-metadata">

**Author:** [@Murray\_W](https://www.ruby-forum.com/u/Murray_W)\
**Replies:** 1\
**Last updated:** [January 1, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/typo-grinding-to-a-halt/124688 "2008-01-01T18:03:56Z")

</div>

I have an active blog, http://www.murmini.com and it has been remarkably robust for a couple of years. Over the past few months it has become painfully slow. If your posting articles or comments or making any updates …

---

## [Installing as non-root](https://www.ruby-forum.com/t/installing-as-non-root/82565)

<div class="topic-metadata">

**Author:** [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/installing-as-non-root/82565 "2007-09-25T22:31:58Z")

</div>

Hello, I'm using ubuntu, but ubuntu like debian only has ruby-gnome2 0.15 in its repositories. I need to run 0.16; I could install from source, but I would like to avoid writing on my / partition myself (not to confu…

---

## [Using a Model in a rake task?](https://www.ruby-forum.com/t/using-a-model-in-a-rake-task/113438)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 1\
**Last updated:** [August 31, 2007, 2:07am UTC](https://www.ruby-forum.com/t/using-a-model-in-a-rake-task/113438 "2007-08-31T02:07:49Z")

</div>

I’'m trying to use a model in a Rake task like this: require ‘time’ namespace :halo do desc "post to the usertable via " task :post\_user\_with\_activerecord do end\_time = Time.new start\_time = end\_time - 60 until st…

---

## [Password protection for subtree](https://www.ruby-forum.com/t/password-protection-for-subtree/105972)

<div class="topic-metadata">

**Author:** [@earl](https://www.ruby-forum.com/u/earl)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 4:29am UTC](https://www.ruby-forum.com/t/password-protection-for-subtree/105972 "2007-06-05T04:29:37Z")

</div>

I see two recent threads in this regard: http://lists.radiantcms.org/pipermail/radiant/2007-January/002879.html http://lists.radiantcms.org/pipermail/radiant/2007-May/004880.html The recommendation in the first thread…

---

## [Capistrano-fied Typo 4.0.3](https://www.ruby-forum.com/t/capistrano-fied-typo-4-0-3/92881)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 10:18am UTC](https://www.ruby-forum.com/t/capistrano-fied-typo-4-0-3/92881 "2007-04-25T10:18:08Z")

</div>

I put together a blog post about sourcing a local Typo 4.0.3 into a Subversion repository so the owner can customize it separate from the official source. The post includes instructions for adding a Capistrano config…

---

## [Capistrano/Dreamhost (svn: 'config' is not a working copy)](https://www.ruby-forum.com/t/capistrano-dreamhost-svn-config-is-not-a-working-copy/91947)

<div class="topic-metadata">

**Author:** [@MSKessinger](https://www.ruby-forum.com/u/MSKessinger)\
**Replies:** 1\
**Last updated:** [April 15, 2007, 12:10pm UTC](https://www.ruby-forum.com/t/capistrano-dreamhost-svn-config-is-not-a-working-copy/91947 "2007-04-15T12:10:56Z")

</div>

Hello, I am using this tutorial: http://wiki.dreamhost.com/index.php/Capistrano All seems to be working fine until I am asked to enter this command: svn add config/deploy.rb lib/tasks/capistrano.rake I am getting th…

---

## [Re: The shortest pulse length](https://www.ruby-forum.com/t/re-the-shortest-pulse-length/87400)

<div class="topic-metadata">

**Author:** [@seph\_004](https://www.ruby-forum.com/u/seph_004)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/re-the-shortest-pulse-length/87400 "2007-03-02T18:09:53Z")

</div>

Thanks for the reply. I mentioned in my response to David’s message that I’m purposefully setting the duc frequency to 0 to transmit at baseband. Is using .tune to do this better than the set\_freq method even if I don…

---

## [Re: The shortest pulse length](https://www.ruby-forum.com/t/re-the-shortest-pulse-length/87113)

<div class="topic-metadata">

**Author:** [@seph\_004](https://www.ruby-forum.com/u/seph_004)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 5:00am UTC](https://www.ruby-forum.com/t/re-the-shortest-pulse-length/87113 "2007-03-01T05:00:12Z")

</div>

Well, I have implemented a bit of a strange setup which seems to be working somewhat now. I’m not really trying to view only the first few samples, I’m currently trying to track where I might of made a mistake with tr…

---

## [What is the next step after downloading Gloc](https://www.ruby-forum.com/t/what-is-the-next-step-after-downloading-gloc/101211)

<div class="topic-metadata">

**Author:** [@Sathya](https://www.ruby-forum.com/u/Sathya)\
**Replies:** 1\
**Last updated:** [August 4, 2006, 3:23am UTC](https://www.ruby-forum.com/t/what-is-the-next-step-after-downloading-gloc/101211 "2006-08-04T03:23:54Z")

</div>

Hi, I just downloaded the Gloc plugin and extracted it in to the vendors/plugins folder but what is the next step? Is there any documentation or tutorial available as an example of how to check internationalization s…

---

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

<div class="topic-metadata">

**Author:** [@Clayton\_C](https://www.ruby-forum.com/u/Clayton_C)\
**Replies:** 1\
**Last updated:** [May 24, 2006, 11:14am UTC](https://www.ruby-forum.com/t/login-engine/95177 "2006-05-24T11:14:05Z")

</div>

Noticed some strange behaviour where the loginengine css in main public direcotry get rewritten all the time Should check to see if file present and then place else don’t rewrite Mostly a frustration

---

## [Jabber notification testability](https://www.ruby-forum.com/t/jabber-notification-testability/60543)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 1\
**Last updated:** [May 15, 2006, 9:46pm UTC](https://www.ruby-forum.com/t/jabber-notification-testability/60543 "2006-05-15T21:46:44Z")

</div>

Hi all. I have been working on a framework which I’m calling Action Messenger for the time being, which aims to provide an Action Mailer-like API for sending messages over XMPP (Jabber.) I’ve been playing with integ…

---

## [Better way to write this piece of code](https://www.ruby-forum.com/t/better-way-to-write-this-piece-of-code/244082)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 19, 2016, 12:36am UTC](https://www.ruby-forum.com/t/better-way-to-write-this-piece-of-code/244082 "2016-02-19T00:36:37Z")

</div>

I use this type of code for different message and status in my api. def 404 respond\_to do |format| format.json {render json: { error: ‘404, not found’ }, status: 404} format.xml {render xml: { error: ‘404, not found’…

---

## [NginX on Ubuntu 12.04](https://www.ruby-forum.com/t/nginx-on-ubuntu-12-04/240265)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 4, 2014, 10:34pm UTC](https://www.ruby-forum.com/t/nginx-on-ubuntu-12-04/240265 "2014-04-04T22:34:47Z")

</div>

I am attempting to install NginX on Ubuntu 12.04 using instructions found from the following link: http://wiki.nginx.org/Install but I am getting various error messages. Does anyone have updated instructions for 12.…

---

## [Ruby code to MS Exel 2013](https://www.ruby-forum.com/t/ruby-code-to-ms-exel-2013/238788)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 29, 2014, 4:55pm UTC](https://www.ruby-forum.com/t/ruby-code-to-ms-exel-2013/238788 "2014-01-29T16:55:45Z")

</div>

I’ve no idea, so I do ask from my Ruby community. I have an array with more elements. Then I need to store these elements in Excel 2013. Say me the steps and requirements if any.

---

## [\<terminated\> Upon script run](https://www.ruby-forum.com/t/terminated-upon-script-run/237720)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 26, 2013, 5:19pm UTC](https://www.ruby-forum.com/t/terminated-upon-script-run/237720 "2013-11-26T17:19:00Z")

</div>

Stupid question, I know. But, what am I missing here? I am just getting back into Ruby after a few years away. This code (\*See attached JPEG) is just a snippet I’m hacking away at to ensure watir is installed correctl…

---

## [Stream tag samples](https://www.ruby-forum.com/t/stream-tag-samples/237138)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 25, 2013, 9:42pm UTC](https://www.ruby-forum.com/t/stream-tag-samples/237138 "2013-10-25T21:42:27Z")

</div>

Hi, I’m using stream tags to time tag my data. In particular, I’m reading in one-second files and tagging the first sample read in with the time. I’m concerned with how the tag will be handled during decimation, fi…

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

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