# Top

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

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

---

## [Updated to 1.9.1, now cannot connect to ODBC using dbi](https://www.ruby-forum.com/t/updated-to-1-9-1-now-cannot-connect-to-odbc-using-dbi/213018)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 14, 2015, 8:16pm UTC](https://www.ruby-forum.com/t/updated-to-1-9-1-now-cannot-connect-to-odbc-using-dbi/213018 "2015-04-14T20:16:10Z")

</div>

I used to run Ruby 1.8.6. I used a simple script to pull some data from an odbc connection: require ‘DBI’ db = DBI.connect(‘DBI:ODBC:dsn’, ‘user’, ‘password’) It worked fine. I got the bright idea to download and ins…

---

## [String gsub returns an empty string, a bug?](https://www.ruby-forum.com/t/string-gsub-returns-an-empty-string-a-bug/246190)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 15, 2013, 6:04pm UTC](https://www.ruby-forum.com/t/string-gsub-returns-an-empty-string-a-bug/246190 "2013-09-15T18:04:05Z")

</div>

Why does the first line return an empty string? Is this a bug or a feature? irb(main):001:0\> a = “x”; a.gsub!(“x”,"\\’") =\> “” irb(main):002:0\> a = “x”; a.gsub!(“x”,“y”) =\> “y”

---

## [Another newbie frustration with class instantiation](https://www.ruby-forum.com/t/another-newbie-frustration-with-class-instantiation/243612)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [December 12, 2015, 6:34am UTC](https://www.ruby-forum.com/t/another-newbie-frustration-with-class-instantiation/243612 "2015-12-12T06:34:44Z")

</div>

Context: So far, I’ve been “writing” Ruby scripts to learn the basics. Now I want to use O-O such as class instantiation. Some of my attempts work pretty well, but the following one has been frustrating me for a while…

---

## [What does "ARGF.class" mean?](https://www.ruby-forum.com/t/what-does-argf-class-mean/204135)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 6, 2011, 10:55pm UTC](https://www.ruby-forum.com/t/what-does-argf-class-mean/204135 "2011-03-06T22:55:32Z")

</div>

ruby 1.9.2p180 (2011-02-18) \[i386-mingw32\] irb(main):001:0\> ARGF.class =\> ARGF.class What does “ARGF.class” mean? Isn’t ARGF a special IO object, whose class is “IO”, just like STDIN? irb(main):002:0\> STDIN.class =\>…

---

## [Start a program, get it's output, then kill it. while "multithreading"](https://www.ruby-forum.com/t/start-a-program-get-its-output-then-kill-it-while-multithreading/126456)

<div class="topic-metadata">

**Author:** [@Deadolus](https://www.ruby-forum.com/u/Deadolus)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 4:36am UTC](https://www.ruby-forum.com/t/start-a-program-get-its-output-then-kill-it-while-multithreading/126456 "2008-01-22T04:36:53Z")

</div>

Hi everybody, i’d like to program a gui for iperf (Best Open Source Mac Software 2023 iperf), it should run under windows And \*NIX and I’m using fox as my gui toolkit, I’ll use some extra calculations to get the param…

---

## [Ruby-Thread and Gtk](https://www.ruby-forum.com/t/ruby-thread-and-gtk/75520)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 6\
**Last updated:** [November 11, 2006, 1:55pm UTC](https://www.ruby-forum.com/t/ruby-thread-and-gtk/75520 "2006-11-11T13:55:14Z")

</div>

Hi to all, I did all my best and try to find out a way how to use Ruby with Gtk and Threads. I need an example, or a better explaining about how this things works. I found something like that “In Ruby/GTK, you shoul…

---

## [Block equality](https://www.ruby-forum.com/t/block-equality/65073)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 6\
**Last updated:** [August 16, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/block-equality/65073 "2006-08-16T19:57:39Z")

</div>

Is there a way to compare two blocks with each other? If you promote a block into a Proc, how would you know that the original block was the same? This is what I want to do (1…10).each do once { puts “Hi Tom”} end …

---

## [Error in dispatch.fcgi](https://www.ruby-forum.com/t/error-in-dispatch-fcgi/63452)

<div class="topic-metadata">

**Author:** [@hdlverde](https://www.ruby-forum.com/u/hdlverde)\
**Replies:** 6\
**Last updated:** [June 15, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/error-in-dispatch-fcgi/63452 "2006-06-15T18:06:07Z")

</div>

Yesterday, our of nothing my server went down… Rails application failed to start properly Imediately i started checking my logs and found quickly that something was wrong with the dispatch.fcgi or its function. I use…

---

## [QT GUI time sink (float) unnecessary memmove()?](https://www.ruby-forum.com/t/qt-gui-time-sink-float-unnecessary-memmove/234770)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [March 31, 2015, 12:15am UTC](https://www.ruby-forum.com/t/qt-gui-time-sink-float-unnecessary-memmove/234770 "2015-03-31T00:15:24Z")

</div>

Hi, Can this memmove() be safely skipped if ((d\_start == 0) || (gr::high\_res\_timer\_now() - d\_last\_time \> d\_update\_time))? I think it can, but I am not sure. With some high throughput, high sample rate flowgraphs, …

---

## [Question on how to derive a class in an out-of-tree module based on a gnuradio class](https://www.ruby-forum.com/t/question-on-how-to-derive-a-class-in-an-out-of-tree-module-based-on-a-gnuradio-class/232388)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [October 12, 2014, 4:34pm UTC](https://www.ruby-forum.com/t/question-on-how-to-derive-a-class-in-an-out-of-tree-module-based-on-a-gnuradio-class/232388 "2014-10-12T16:34:52Z")

</div>

Dear all, I’m trying to derive a packet\_header2 class in my own OOT module based on gr::digital::packet\_header\_default. I followed the way in packet\_heade\_ofdm of gr-digital and made packet\_header2.h and packet\_hea…

---

## [Interest in extending FastCGI / SCGI support to allow TLS encrypted connections to back end?](https://www.ruby-forum.com/t/interest-in-extending-fastcgi-scgi-support-to-allow-tls-encrypted-connections-to-back-end/225618)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [January 21, 2013, 3:22pm UTC](https://www.ruby-forum.com/t/interest-in-extending-fastcgi-scgi-support-to-allow-tls-encrypted-connections-to-back-end/225618 "2013-01-21T15:22:42Z")

</div>

Hi, I was wondering if there was any interest in extending the FastCGI and SCGI implementations in Nginx to allow a TLS encryption to the application backend? Currently if you have Nginx on one machine and your FastC…

---

## [Decoding someone elses code what is this?](https://www.ruby-forum.com/t/decoding-someone-elses-code-what-is-this/211117)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [August 25, 2011, 11:54pm UTC](https://www.ruby-forum.com/t/decoding-someone-elses-code-what-is-this/211117 "2011-08-25T23:54:08Z")

</div>

What does this “\>\>” mean? As in… first\_payment\_in\_series\_date \>\> 3 I have never used this nor have i seen it before.

---

## [Setting or clearing request-\>args](https://www.ruby-forum.com/t/setting-or-clearing-request-args/175901)

<div class="topic-metadata">

**Author:** [@leki75](https://www.ruby-forum.com/u/leki75)\
**Replies:** 7\
**Last updated:** [September 23, 2009, 4:33am UTC](https://www.ruby-forum.com/t/setting-or-clearing-request-args/175901 "2009-09-23T04:33:00Z")

</div>

Hello, I try to write a nginx http module which decides to enable or forbid a HTTP request sent in the request parameters (r-\>args). At the end of decision I would like to clear the whole args or just a part of it, so …

---

## [Login Generator, Rails 2.0.2 y DreamHost](https://www.ruby-forum.com/t/login-generator-rails-2-0-2-y-dreamhost/132771)

<div class="topic-metadata">

**Author:** [@rodrigomt](https://www.ruby-forum.com/u/rodrigomt)\
**Replies:** 7\
**Last updated:** [March 30, 2008, 12:35pm UTC](https://www.ruby-forum.com/t/login-generator-rails-2-0-2-y-dreamhost/132771 "2008-03-30T12:35:39Z")

</div>

ruby script/generate login Account identical lib/login\_system.rb identical app/controllers/account\_controller.rb identical test/functional/account\_controller\_test.rb identical app/helpers/account\_helper.rb ident…

---

## [Writable attributes - how does this work?](https://www.ruby-forum.com/t/writable-attributes-how-does-this-work/60227)

<div class="topic-metadata">

**Author:** [@Krekna\_M](https://www.ruby-forum.com/u/Krekna_M)\
**Replies:** 7\
**Last updated:** [May 11, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/writable-attributes-how-does-this-work/60227 "2006-05-11T17:54:30Z")

</div>

Hi! How does this actually work? from the Pick Axe book: irb\> 1\> class Song 2 \> def duration=(new\_duration) 3\> @duration = new\_duration 4\> end 5\> end 6\> 7\> song = Song.new(“Bicylops”, “Fleck”, 260) 8\> …

---

## [Archive monthly count for blog](https://www.ruby-forum.com/t/archive-monthly-count-for-blog/93636)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 7\
**Last updated:** [April 5, 2006, 11:46pm UTC](https://www.ruby-forum.com/t/archive-monthly-count-for-blog/93636 "2006-04-05T23:46:40Z")

</div>

I am creating a blog to learn ruby on rails. from the layout page i pass all the posts as a collection to \_archive.rhtml \<%= render :partial =\> “archive”, :collection =\> @archive %\> On \_archive.rhtml i have access to…

---

## [Osv on ror](https://www.ruby-forum.com/t/osv-on-ror/233900)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [January 22, 2015, 10:22am UTC](https://www.ruby-forum.com/t/osv-on-ror/233900 "2015-01-22T10:22:10Z")

</div>

Hello everyone, I do the work on OSV on ROR on ubuntu 12.04. 12.04 is compatable for this or not. I faced many problems related to this work i cannot run OSV on local host. please help me. thankx in advance.

---

## [Git push not working](https://www.ruby-forum.com/t/git-push-not-working/237045)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 22, 2013, 12:28pm UTC](https://www.ruby-forum.com/t/git-push-not-working/237045 "2013-10-22T12:28:34Z")

</div>

https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf\_kHsug/s1600/git.gif Hi again, I’m working on http://ruby.railstutorial.org section I’m trying to push the repository to the remote site bu…

---

## [\[ruby-trunk - Bug #6479\]\[Open\] ipaddr.rbの受け付ける書式が、プラットフォームによって異なる](https://www.ruby-forum.com/t/ruby-trunk-bug-6479-open-ipaddr-rb/219946)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 7, 2013, 12:06pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6479-open-ipaddr-rb/219946 "2013-03-07T12:06:48Z")

</div>

Issue #6479 has been reported by kachick (Kenichi K.). Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる Author: kachick (Kenichi K.) Status: Open Priority: Normal Assignee: Category: lib Target version: 1.9.3 ruby…

---

## [4 RX with 2 WBXs?](https://www.ruby-forum.com/t/4-rx-with-2-wbxs/194797)

<div class="topic-metadata">

**Author:** [@asherwood](https://www.ruby-forum.com/u/asherwood)\
**Replies:** 8\
**Last updated:** [September 13, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/4-rx-with-2-wbxs/194797 "2010-09-13T23:23:06Z")

</div>

I have a USRP and two WBX daughterboards. Is it possible to use 4 independent RX antennas (all tuned to the same frequency) with this hardware setup? Specifically, here’s what I’m trying to achieve: Antenna 0 → Sid…

---

## [Can I construct the controller myself in a controller spec?](https://www.ruby-forum.com/t/can-i-construct-the-controller-myself-in-a-controller-spec/162040)

<div class="topic-metadata">

**Author:** [@Perryn\_F](https://www.ruby-forum.com/u/Perryn_F)\
**Replies:** 8\
**Last updated:** [March 6, 2009, 9:40am UTC](https://www.ruby-forum.com/t/can-i-construct-the-controller-myself-in-a-controller-spec/162040 "2009-03-06T09:40:29Z")

</div>

Hi I am experimenting with Constructor based dependency injection for rails controllers. So I have something like this class LoginSessionsController \< ApplicationController def initialize(authenticator = TheRealAut…

---

## [What replaces RubyEngine.CurrentEngine?](https://www.ruby-forum.com/t/what-replaces-rubyengine-currentengine/122006)

<div class="topic-metadata">

**Author:** [@technomancy](https://www.ruby-forum.com/u/technomancy)\
**Replies:** 8\
**Last updated:** [December 3, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/what-replaces-rubyengine-currentengine/122006 "2007-12-03T22:36:38Z")

</div>

Hi All, I’m updating some demos I did for ASP.NET MVC. In particular my “ancient” IronRuby view template (rhtml) demo. You guys have been busy! :wink: I wanted to update this wiki entry http://ironruby.rubyforge.org/…

---

## [Rechnen in ror](https://www.ruby-forum.com/t/rechnen-in-ror/116121)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 8\
**Last updated:** [October 2, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/rechnen-in-ror/116121 "2007-10-02T17:59:39Z")

</div>

KÃ¶nnt ihr mir sagen was ich da nicht verstanden habe…? Wenn ich ‘basis’ anzeigen lasse zeigt er 90.00 def rechne\_hin\_rueckfahrt(basis,abhol\_rueck) if abhol\_rueck == ‘1’ grundpreis = basis \* 2 end Er gibt mir 90.00…

---

## [Capistrano can't find svn](https://www.ruby-forum.com/t/capistrano-cant-find-svn/60725)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 8\
**Last updated:** [May 18, 2006, 7:58am UTC](https://www.ruby-forum.com/t/capistrano-cant-find-svn/60725 "2006-05-18T07:58:38Z")

</div>

I’m trying to get capistrano to deploy to an osx machine - rake remote:cold\_deploy but it fails on the svn co line with “bash: line 2: svn: command not found” I’ve set the proper path to svn (/usr/local/bin) in both .…

---

## [Ð¾Ð±Ñ€ÑƒÑ‡ Ð³Ð¸Ð¼Ð½Ð°ÑÑ‚Ð¸Ñ‡ÐµÑÐºÐ¸Ð¹ Ð¼Ð°ÑÑÐ°Ð¶Ð½Ñ‹Ð¹](https://www.ruby-forum.com/t/d-d-n-n-n-d-d-d-d-d-n-n-d-n-d-n-d-d-d-d-d-n-n-d-d-d-n-d/149758)

<div class="topic-metadata">

**Author:** [@ShopBody.ru](https://www.ruby-forum.com/u/ShopBody.ru)\
**Replies:** 0\
**Last updated:** [September 29, 2008, 1:53pm UTC](https://www.ruby-forum.com/t/d-d-n-n-n-d-d-d-d-d-n-n-d-n-d-n-d-d-d-d-d-n-n-d-d-d-n-d/149758 "2008-09-29T13:53:39Z")

</div>

Ð”Ð¸Ð½Ð°Ð¼Ð¸Ðº ÐžÐ±Ñ€ÑƒÑ‡ Ð—Ð´Ð¾Ñ€Ð¾Ð²ÑŒÑ Ð¥ÑÐ»Ñ Ð¥ÑƒÐ¿ W Ð˜Ð¼ÐµÐµÑ‚ 72 Ð¼Ð°ÑÑÐ°Ð¶Ð½Ñ‹Ñ… ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð° ÑÐ¾ Ð²ÑÑ‚Ñ€Ð¾ÐµÐ½Ð½Ñ‹Ð¼Ð¸ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð°Ð¼Ð¸ Ñ€Ð°ÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð½Ñ‹Ñ… Ð·Ð¸Ð³Ð·Ð°Ð³Ð¾Ð¼.Ð”Ð¸Ð½Ð°Ð¼Ð¸Ðº Ðž…

---

## [Nginx with Organization PROXY server](https://www.ruby-forum.com/t/nginx-with-organization-proxy-server/242671)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [July 15, 2015, 9:33pm UTC](https://www.ruby-forum.com/t/nginx-with-organization-proxy-server/242671 "2015-07-15T21:33:52Z")

</div>

Hello , on a linux box I define to move the traffic through some Centralize proxy server ( Organization one ) in order to configure the proxy from the command line I ran : export HTTP\_PROXY=“http://\<proxy\_server\>:” …

---

## [Why so complicated?](https://www.ruby-forum.com/t/why-so-complicated/222798)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 13, 2012, 4:15pm UTC](https://www.ruby-forum.com/t/why-so-complicated/222798 "2012-09-13T16:15:06Z")

</div>

Why is it almost routine, whenever anyone looks for advice on this Forum, to be advised to use things like RVM and Bundler (apparently there is now even a JBundler). These things may be useful for MRI Ruby (RVM certai…

---

## [Beginner: how to use gedcom parser](https://www.ruby-forum.com/t/beginner-how-to-use-gedcom-parser/213796)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 29, 2011, 10:26am UTC](https://www.ruby-forum.com/t/beginner-how-to-use-gedcom-parser/213796 "2011-12-29T10:26:49Z")

</div>

Hi, I am beginner with Ruby and I would like to use gedcom parser. First, I install it with gem install gedcom. The documentation is not very useful for me since I don’t where to begin. I tried examples from https:…

---

## [Should I hold off a large patch until glib2 1.0.4 has been released?](https://www.ruby-forum.com/t/should-i-hold-off-a-large-patch-until-glib2-1-0-4-has-been-released/211989)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 22, 2011, 8:31pm UTC](https://www.ruby-forum.com/t/should-i-hold-off-a-large-patch-until-glib2-1-0-4-has-been-released/211989 "2011-09-22T20:31:25Z")

</div>

Hi! Should I hold off a large patch to atk, gio2, glib2, gtk2, and pango until glib2 1.0.4 has been released? The patch fixes a lot of array conversions that may leak memory.

---

## [Gst::Pipeline : iterate : no such method](https://www.ruby-forum.com/t/gst-pipeline-iterate-no-such-method/112392)

<div class="topic-metadata">

**Author:** [@Max\_Payne](https://www.ruby-forum.com/u/Max_Payne)\
**Replies:** 5\
**Last updated:** [August 2, 2008, 8:43am UTC](https://www.ruby-forum.com/t/gst-pipeline-iterate-no-such-method/112392 "2008-08-02T08:43:48Z")

</div>

Hi, I was trying the Hello World tutorial for Ruby-Gstreamer. However, when I try to iterate over the pipeline at the end with pipeline.iterate, it says that the method was not found. However, the documentation says…

---

## [\[Ferret\] Serious memory leak on Joyent / TextDrive / Solaris](https://www.ruby-forum.com/t/ferret-serious-memory-leak-on-joyent-textdrive-solaris/91960)

<div class="topic-metadata">

**Author:** [@mlemos](https://www.ruby-forum.com/u/mlemos)\
**Replies:** 5\
**Last updated:** [April 17, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/ferret-serious-memory-leak-on-joyent-textdrive-solaris/91960 "2007-04-17T20:02:09Z")

</div>

There is serious memory leak bug in ferret. I’m having this error on TextDrive Container (aka. Joyent Accelerators) OpenSolaris with Ferret 0.11.4 It happens while searching for some terms with accented or special ch…

---

## [Unix Sockets SOCK\_DGRAM](https://www.ruby-forum.com/t/unix-sockets-sock-dgram/152775)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 2\
**Last updated:** [November 7, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/unix-sockets-sock-dgram/152775 "2008-11-07T19:10:32Z")

</div>

Hi THis is my first post so I hope I do not break any rule with it. I did not found how to send packets via a datagram UNIX sockets? I was able to create a server using: sock = Socket::new( Socket::AF\_UNIX, Socket::S…

---

## [ActiveRecords question](https://www.ruby-forum.com/t/activerecords-question/72279)

<div class="topic-metadata">

**Author:** [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Replies:** 2\
**Last updated:** [May 31, 2006, 7:36pm UTC](https://www.ruby-forum.com/t/activerecords-question/72279 "2006-05-31T19:36:00Z")

</div>

I need to turn off and on the autocommit in MySql is there a method in active records that allows me to do this? or is there a method which allows me to type in the pure mysql code “set autocommit=0” Thanks.

---

## [Selective delete from join tables](https://www.ruby-forum.com/t/selective-delete-from-join-tables/235111)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [June 1, 2013, 4:16am UTC](https://www.ruby-forum.com/t/selective-delete-from-join-tables/235111 "2013-06-01T04:16:33Z")

</div>

Hi, I’m learning rails and have run into what for me is a difficult problem. I have the following associations with a galleries\_pictures and a pictures\_questions join table: class Picture \< ActiveRecord::Base has\_an…

---

## [Compile and execute ruby script at runtime?](https://www.ruby-forum.com/t/compile-and-execute-ruby-script-at-runtime/223818)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 19, 2012, 1:00am UTC](https://www.ruby-forum.com/t/compile-and-execute-ruby-script-at-runtime/223818 "2012-10-19T01:00:45Z")

</div>

Hello, I have written a DSL using Ruby that I run on my JBoss server(s). Currently I load a ScriptEngine using “JRuby” and execute the script (which is stored in the DB). This is running horribly slow and I’m lookin…

---

## [Usrp\_spectrum\_sense and average dBm power levels](https://www.ruby-forum.com/t/usrp-spectrum-sense-and-average-dbm-power-levels/221283)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 6, 2012, 8:04pm UTC](https://www.ruby-forum.com/t/usrp-spectrum-sense-and-average-dbm-power-levels/221283 "2012-07-06T20:04:28Z")

</div>

I’m having trouble trying to implement an energy detector in GNU Radio. I want to find empty channels that have a signal power less than or equal to the FCC’s -114 dBm detection threshold. I’ve been modifying the usrp…

---

## [Authlogic not active](https://www.ruby-forum.com/t/authlogic-not-active/198360)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [May 16, 2011, 12:44am UTC](https://www.ruby-forum.com/t/authlogic-not-active/198360 "2011-05-16T00:44:53Z")

</div>

Trying to add authlogic in a simple project but get the error; Showing app/views/layouts/application.html.erb where line #33 raised: undefined method \`underscore’ for nil:NilClass Extracted source (around line #33): …

---

## [How to increase the time-out](https://www.ruby-forum.com/t/how-to-increase-the-time-out/195183)

<div class="topic-metadata">

**Author:** [@walterdavis](https://www.ruby-forum.com/u/walterdavis)\
**Replies:** 3\
**Last updated:** [September 19, 2010, 9:53am UTC](https://www.ruby-forum.com/t/how-to-increase-the-time-out/195183 "2010-09-19T09:53:46Z")

</div>

I have a Rails 2 app that doesn’t get a lot of traffic. It’s running under Passenger and Apache 2.2, and when it’s running, it has great performance, page loads are very snappy, etc. But the first hit on the site afte…

---

## [Ruby Database Application](https://www.ruby-forum.com/t/ruby-database-application/154626)

<div class="topic-metadata">

**Author:** [@rapido](https://www.ruby-forum.com/u/rapido)\
**Replies:** 3\
**Last updated:** [December 2, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/ruby-database-application/154626 "2008-12-02T15:49:34Z")

</div>

Can someone upload a database application on Ruby? preferably an Inventory and Point of Sale that will run on Windows, I want to learn Ruby by learning the codes on a complete app. Thank you

---

## [Array#to\_s in Ruby 1.9 Head](https://www.ruby-forum.com/t/array-to-s-in-ruby-1-9-head/72930)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 21, 2006, 11:26am UTC](https://www.ruby-forum.com/t/array-to-s-in-ruby-1-9-head/72930 "2006-10-21T11:26:27Z")

</div>

Mauricio F. writes in eigenclass.org +Ruby+1.9+update+5 that Ruby 1.9 Head has changed Array#to\_s to be an alias for Array#to\_inspect. What is the motivation for that change? print a becomes a.each { |x| print x } …

---

## [Sorting by multiple categories](https://www.ruby-forum.com/t/sorting-by-multiple-categories/94379)

<div class="topic-metadata">

**Author:** [@BBBBBB](https://www.ruby-forum.com/u/BBBBBB)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/sorting-by-multiple-categories/94379 "2006-05-03T19:06:53Z")

</div>

I have a database with a field called ‘category’. ‘category’ contains the categories separated by a “,” i.e. 1, 2, 5 I know with something like: @products = Product.find(:all, :condition =\> “category = ‘1’”) I could …

---

## [Stripping www and forcing ssl](https://www.ruby-forum.com/t/stripping-www-and-forcing-ssl/234674)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 21, 2015, 7:09am UTC](https://www.ruby-forum.com/t/stripping-www-and-forcing-ssl/234674 "2015-03-21T07:09:14Z")

</div>

Hi all, I am attempting to strip www. and force SSL. Here are the blocks I’m using: server { listen 50.250.218.168:80; listen 50.250.218.168:443 ssl; listen \[2001:470:67:2b5::10…

---

## [Please give me some example about highchart in Rails using highcharts-rails gem](https://www.ruby-forum.com/t/please-give-me-some-example-about-highchart-in-rails-using-highcharts-rails-gem/245770)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 16, 2013, 7:41am UTC](https://www.ruby-forum.com/t/please-give-me-some-example-about-highchart-in-rails-using-highcharts-rails-gem/245770 "2013-07-16T07:41:01Z")

</div>

I have to build some report screeen for my project I want to use highcharts-rails gem to build this screen I research some document about it but I want someone have ever done with highcharts-rails gem can give me some…

---

## [Place string into paste buffer?](https://www.ruby-forum.com/t/place-string-into-paste-buffer/192991)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [August 10, 2010, 2:42am UTC](https://www.ruby-forum.com/t/place-string-into-paste-buffer/192991 "2010-08-10T02:42:14Z")

</div>

How can I copy a string to Windows paste buffer. A google search of ruby “paste buffer” seems not to have anything relevant. Oh … and is there a way to suck information out of the paste buffer in Ruby?

---

## [Ruby/Tk/Iwidgets tabnotebook (and scrollbar)](https://www.ruby-forum.com/t/ruby-tk-iwidgets-tabnotebook-and-scrollbar/127426)

<div class="topic-metadata">

**Author:** [@kmeister2000](https://www.ruby-forum.com/u/kmeister2000)\
**Replies:** 4\
**Last updated:** [February 7, 2008, 10:29pm UTC](https://www.ruby-forum.com/t/ruby-tk-iwidgets-tabnotebook-and-scrollbar/127426 "2008-02-07T22:29:37Z")

</div>

Hi I’ve created an iwidgets tabnotebook, with a large number of tabs, and attached a scrollbar. Moving the scroll bar successfully moves back and forth amongst pages, but the subset of tabs displayed does not change. …

---

## [Does anyone know how to open a excel file in read only?](https://www.ruby-forum.com/t/does-anyone-know-how-to-open-a-excel-file-in-read-only/128044)

<div class="topic-metadata">

**Author:** [@ddad01](https://www.ruby-forum.com/u/ddad01)\
**Replies:** 4\
**Last updated:** [February 4, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-open-a-excel-file-in-read-only/128044 "2008-02-04T19:40:14Z")

</div>

I’ve tried: $Test\_suite\_workbook = excel.workbooks.open(FileName,ReadOnly:=True) and $Test\_suite\_workbook = excel.workbooks.openFileName),ReadOnly:=True Neither worked. Thanks

---

## [Frameowork Volt & Isomorphic app](https://www.ruby-forum.com/t/frameowork-volt-isomorphic-app/243815)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 13, 2016, 9:32am UTC](https://www.ruby-forum.com/t/frameowork-volt-isomorphic-app/243815 "2016-01-13T09:32:47Z")

</div>

Ciao a tutti, volevo sapere se qualcuno è a conoscenza del framework Volt,quando ho visto i video ne sono rimasto sbalordito, ti permette di scrive delle Isomorphic app appoggiandosi a Opal che trasforma il nostro cod…

---

## [I am getting following error while running the rails s](https://www.ruby-forum.com/t/i-am-getting-following-error-while-running-the-rails-s/238189)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 21, 2013, 9:57pm UTC](https://www.ruby-forum.com/t/i-am-getting-following-error-while-running-the-rails-s/238189 "2013-12-21T21:57:48Z")

</div>

\[WARNING\] Please install gem ‘therubyracer’ to use Less. C:/Users/srinisen/Documents/aptana\_studio\_workspace/HEI/vendor/bundle/ruby/1.9.1 /gems/activesupport-3.2.16/lib/active\_support/dependencies.rb:251:in require': …

---

## [State Management Rails](https://www.ruby-forum.com/t/state-management-rails/170671)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 21, 2009, 1:00am UTC](https://www.ruby-forum.com/t/state-management-rails/170671 "2009-06-21T01:00:13Z")

</div>

Hi, I’m new to rails and I have a question about how to manage state in rails application in general. How would I solve the following szenario: I have an application in which a user has to fill out a html form. This…

---

## [\[Rails\] Single Table Inheritance with self-referential join](https://www.ruby-forum.com/t/rails-single-table-inheritance-with-self-referential-join/67031)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 1\
**Last updated:** [August 31, 2006, 3:18am UTC](https://www.ruby-forum.com/t/rails-single-table-inheritance-with-self-referential-join/67031 "2006-08-31T03:18:43Z")

</div>

Please tell me if this train of thinking makes sense, I need help on solving this association model problem: I am doing an app that creates and manages stereoscopic images, one stereoscopic image is formed by two phot…

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

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