# Top

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

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

---

## [How can I use Berkeley DB with Ruby?](https://www.ruby-forum.com/t/how-can-i-use-berkeley-db-with-ruby/145809)

<div class="topic-metadata">

**Author:** [@strdevil](https://www.ruby-forum.com/u/strdevil)\
**Replies:** 5\
**Last updated:** [August 15, 2008, 6:55am UTC](https://www.ruby-forum.com/t/how-can-i-use-berkeley-db-with-ruby/145809 "2008-08-15T06:55:31Z")

</div>

I’m a Thai student. My teacher ordered me to use Berkeley DB in the term project. I saw in BDB website that BDB is worked with Ruby but I don’t have any idea to connect it. Anyone knows how to connect it? I’ve used my…

---

## [Metrics rmagick problem](https://www.ruby-forum.com/t/metrics-rmagick-problem/133443)

<div class="topic-metadata">

**Author:** [@edbond](https://www.ruby-forum.com/u/edbond)\
**Replies:** 5\
**Last updated:** [April 1, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/metrics-rmagick-problem/133443 "2008-04-01T13:22:50Z")

</div>

I get a strange rmagick result. I need to add a centered text to image. Draw#inspect tell me that all is good, but on result image text isn’t centered. See Parked at Loopia for code and link to result image. Thanks…

---

## [How to install ruby on rail without gem](https://www.ruby-forum.com/t/how-to-install-ruby-on-rail-without-gem/131787)

<div class="topic-metadata">

**Author:** [@tomal](https://www.ruby-forum.com/u/tomal)\
**Replies:** 5\
**Last updated:** [March 13, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/how-to-install-ruby-on-rail-without-gem/131787 "2008-03-13T14:14:11Z")

</div>

any one kind enough to tell me how to install ruby on rail without using Gem.

---

## [Re: Longest Repeated Substring (#153)](https://www.ruby-forum.com/t/re-longest-repeated-substring-153/126756)

<div class="topic-metadata">

**Author:** [@jameskelly](https://www.ruby-forum.com/u/jameskelly)\
**Replies:** 5\
**Last updated:** [January 24, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/re-longest-repeated-substring-153/126756 "2008-01-24T13:18:05Z")

</div>

My solution finds substrings of length n, groups the identical ones together in a hash of their starting indices, prunes out cases where two of the “repeated” substring overlap each other, and then looks in the same p…

---

## [Handle mail server problems](https://www.ruby-forum.com/t/handle-mail-server-problems/112710)

<div class="topic-metadata">

**Author:** [@Eivind\_LSSSSland-An](https://www.ruby-forum.com/u/Eivind_LSSSSland-An)\
**Replies:** 5\
**Last updated:** [September 9, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/handle-mail-server-problems/112710 "2007-09-09T20:55:55Z")

</div>

I’m making a rails application that regularly sends out e-mails to users. While testing recently a controller got a timeout when trying to send an e-mail. =\> the mail server was down. Is there an easy way to handle so…

---

## [Hi, I'm Ruby on Rails](https://www.ruby-forum.com/t/hi-im-ruby-on-rails/104130)

<div class="topic-metadata">

**Author:** [@patched](https://www.ruby-forum.com/u/patched)\
**Replies:** 5\
**Last updated:** [May 15, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/hi-im-ruby-on-rails/104130 "2007-05-15T18:35:04Z")

</div>

Hey guys, Do you wonder what it would be like if someone did a Ruby On Rails commercial in the same style as the “Mac vs PC” apple commercials? To lead up to Railsconf, Jason Seifer and I at RailsEnvy.com put toge…

---

## [Recursive method not working](https://www.ruby-forum.com/t/recursive-method-not-working/92362)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 5\
**Last updated:** [April 19, 2007, 9:15am UTC](https://www.ruby-forum.com/t/recursive-method-not-working/92362 "2007-04-19T09:15:55Z")

</div>

Hi, I’m trying to display a hierarchical tree but there’s something wrong with the method below. The result var is ‘lost’ between the calls - I mean, each “#{result}” contains the right value at the end of the method …

---

## [Pass parameters on a redirct](https://www.ruby-forum.com/t/pass-parameters-on-a-redirct/91009)

<div class="topic-metadata">

**Author:** [@JoeyP](https://www.ruby-forum.com/u/JoeyP)\
**Replies:** 5\
**Last updated:** [April 3, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/pass-parameters-on-a-redirct/91009 "2007-04-03T21:36:04Z")

</div>

The client presses a submit button. The path goes to a .cgi script that gathers the form params. How can I pass those parameter onto another page? EX. #!/usr/bin/ruby -ruby-- require ‘cgi’ cgi = CGI.new def redir…

---

## [Having problems fiddling with rake](https://www.ruby-forum.com/t/having-problems-fiddling-with-rake/88140)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 5\
**Last updated:** [March 8, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/having-problems-fiddling-with-rake/88140 "2007-03-08T20:48:27Z")

</div>

I’m trying to get “rake doc:app” pull its input from a different Rails app’s source tree. In trying to prototype a solution, I’ve fiddled with documentation.rake. However, my hack isn’t working: rake aborted! stac…

---

## [Extender clase nativa Ruby](https://www.ruby-forum.com/t/extender-clase-nativa-ruby/70547)

<div class="topic-metadata">

**Author:** [@Esteban](https://www.ruby-forum.com/u/Esteban)\
**Replies:** 5\
**Last updated:** [October 2, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/extender-clase-nativa-ruby/70547 "2006-10-02T19:05:31Z")

</div>

Va una pregunta fácil, disculpen la trivialidad. Quiero extender la clase 'float ’ para agregarle un metodo ‘to\_money’ para mostrar el contenido de un float ya formateado como dinero Ej. f = 1000.3 f.to\_money(’$’…

---

## [Form helpers don't work with facade columns?](https://www.ruby-forum.com/t/form-helpers-dont-work-with-facade-columns/65587)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [September 20, 2006, 1:34am UTC](https://www.ruby-forum.com/t/form-helpers-dont-work-with-facade-columns/65587 "2006-09-20T01:34:55Z")

</div>

Hello all, I’ve been trying to use a facade column but I notice that the form helpers don’t seem to respect the facade. In the following example I’m trying to story the prices as Integer values but present them to th…

---

## [Sharing code between some controllers? Staying DRY](https://www.ruby-forum.com/t/sharing-code-between-some-controllers-staying-dry/62117)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 5\
**Last updated:** [May 31, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/sharing-code-between-some-controllers-staying-dry/62117 "2006-05-31T19:37:40Z")

</div>

Hi, I have four controllers: one for the store front and three for the store admin. In each controller I have copied and pasted exactly the same code. It is a method called redirect\_to() to override Action Controller…

---

## [Beta Ruby bindings for Xapian available](https://www.ruby-forum.com/t/beta-ruby-bindings-for-xapian-available/58676)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 5\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/beta-ruby-bindings-for-xapian-available/58676 "2006-05-03T18:56:23Z")

</div>

Dear Ruby-talk, I am pleased to announce that beta-quality Ruby bindings for Xapian are now available. Xapian is a powerful open source full text search engine written in C++ (http://www.xapian.org/). The latest vers…

---

## [Limiting the columns loaded from a legacy db](https://www.ruby-forum.com/t/limiting-the-columns-loaded-from-a-legacy-db/53382)

<div class="topic-metadata">

**Author:** [@Blair\_Z](https://www.ruby-forum.com/u/Blair_Z)\
**Replies:** 5\
**Last updated:** [February 4, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/limiting-the-columns-loaded-from-a-legacy-db/53382 "2006-02-04T18:54:43Z")

</div>

I’m setting up a new Rails project that is a nice front end for a company’s personnel database with a legacy schema. Unfortunately, the table that contains all the standard information (first name, last name, email ad…

---

## [Question about require](https://www.ruby-forum.com/t/question-about-require/52403)

<div class="topic-metadata">

**Author:** [@mr\_ra88it](https://www.ruby-forum.com/u/mr_ra88it)\
**Replies:** 5\
**Last updated:** [January 14, 2006, 1:17am UTC](https://www.ruby-forum.com/t/question-about-require/52403 "2006-01-14T01:17:09Z")

</div>

Hello all, I am under the impression that Kernel#require returns false if the argument is already loaded. However, this morning I encountered behavior that confused me. I was trying to require the RedCloth gem, and I…

---

## [Re: shortcut to self.class?](https://www.ruby-forum.com/t/re-shortcut-to-self-class/73940)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 5\
**Last updated:** [December 21, 2005, 1:43am UTC](https://www.ruby-forum.com/t/re-shortcut-to-self-class/73940 "2005-12-21T01:43:49Z")

</div>

Yeah, it may be awhile before I have enough time to learn ruby for the weird stuff (e.g. heredocs), but most of the edge cases are just edge cases and I think I can deal with those. -mental Then ditch heredocs. …

---

## [Problem with threaded TCPSocket reading](https://www.ruby-forum.com/t/problem-with-threaded-tcpsocket-reading/263898)

<div class="topic-metadata">

**Author:** [@hundred.percent](https://www.ruby-forum.com/u/hundred.percent)\
**Replies:** 1\
**Last updated:** [May 26, 2023, 2:24pm UTC](https://www.ruby-forum.com/t/problem-with-threaded-tcpsocket-reading/263898 "2023-05-26T14:24:20Z")

</div>

I’m try to write a wrapper around the rust analyzer to work over TCP while working “like normal”, I’m using GNU nc to connect to this wrapper. What am I doing wrong here: #!/usr/bin/env ruby require 'socket' listener…

---

## [Got error Could not find 'bundler' (2.0.1) required](https://www.ruby-forum.com/t/got-error-could-not-find-bundler-2-0-1-required/253469)

<div class="topic-metadata">

**Author:** [@tahsin352](https://www.ruby-forum.com/u/tahsin352)\
**Replies:** 1\
**Last updated:** [December 15, 2019, 3:04pm UTC](https://www.ruby-forum.com/t/got-error-could-not-find-bundler-2-0-1-required/253469 "2019-12-15T15:04:40Z")

</div>

I run bundle install under GarazLab’s WP Billing app. Then i get Could not find ‘bundler’ (2.0.1) required

---

## [File.expand\_path fails](https://www.ruby-forum.com/t/file-expand-path-fails/244240)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [March 15, 2016, 10:36am UTC](https://www.ruby-forum.com/t/file-expand-path-fails/244240 "2016-03-15T10:36:56Z")

</div>

Hi There, The following line fails when I try to execute it with a user what has no home directory set. I use the www-data user in a web browser and I cannot make it work - the command get sucked with ruby 2.3.0, no …

---

## [First project: Garmin Rino GPS/FRS/GMRS?](https://www.ruby-forum.com/t/first-project-garmin-rino-gps-frs-gmrs/234569)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 14, 2015, 2:29am UTC](https://www.ruby-forum.com/t/first-project-garmin-rino-gps-frs-gmrs/234569 "2015-03-14T02:29:00Z")

</div>

Hello, I’m very new to GNURadio and to RF exploration/hacking in general. I’ve downloaded GNURadio on my Linux system and have been successful in installing a couple of systems. I got the RTL-SDR USB receiver working, …

---

## [Pull requests](https://www.ruby-forum.com/t/pull-requests/212459)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 4, 2011, 4:06am UTC](https://www.ruby-forum.com/t/pull-requests/212459 "2011-10-04T04:06:01Z")

</div>

I’ve had an open pull request which resolves a deadlock in IronRuby itself sitting on github for over a month now. There are also two other pull requests which improve visual studio integration. While I can understa…

---

## [Handling Unicode in WxRuby](https://www.ruby-forum.com/t/handling-unicode-in-wxruby/209623)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 19, 2011, 1:39pm UTC](https://www.ruby-forum.com/t/handling-unicode-in-wxruby/209623 "2011-07-19T13:39:23Z")

</div>

If I am using Ruby 1.8.7, what are some recommended practices for supporting Unicode within a WxRuby application? My understanding, based on web research, is that I should use the multibyte module of Active Support i…

---

## [Getting color to work with jruby](https://www.ruby-forum.com/t/getting-color-to-work-with-jruby/200074)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [May 21, 2011, 1:21pm UTC](https://www.ruby-forum.com/t/getting-color-to-work-with-jruby/200074 "2011-05-21T13:21:16Z")

</div>

I’m having issues getting color to work when I’m running my tests. I’m writing a gem and using RSpec 2.1.0. I’m using JRuby-1.5.3 installed by RVM on OSX10.6 I have a rake task defined like so: Rspec::Core::RakeTask…

---

## [Unable to install Phusion passenger](https://www.ruby-forum.com/t/unable-to-install-phusion-passenger/205818)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 16, 2011, 8:37am UTC](https://www.ruby-forum.com/t/unable-to-install-phusion-passenger/205818 "2011-04-16T08:37:56Z")

</div>

i tried to install Phusion passenger ,when is issued sudo gem install passenger; I got following error messages WARNING: RubyGems 1.2+ index not found for: RubyGems will revert to legacy indexes degrading perform…

---

## [GEM EVENTMACHINE prob d'installation](https://www.ruby-forum.com/t/gem-eventmachine-prob-dinstallation/189832)

<div class="topic-metadata">

**Author:** [@thomthom](https://www.ruby-forum.com/u/thomthom)\
**Replies:** 1\
**Last updated:** [July 2, 2010, 12:52am UTC](https://www.ruby-forum.com/t/gem-eventmachine-prob-dinstallation/189832 "2010-07-02T00:52:52Z")

</div>

Bonjour, je suis sous mac OS X LÃ©opard. ruby 1.8.6 rails Rails 2.3.5 j’ai un soucis avec la gem event machine. Lorsque que je tape la ligne de commande sudo gem install eventmachine ca me marque : WARNING: RubyGe…

---

## [Gettext 1.90 to 2.0.5](https://www.ruby-forum.com/t/gettext-1-90-to-2-0-5/181398)

<div class="topic-metadata">

**Author:** [@ledowong](https://www.ruby-forum.com/u/ledowong)\
**Replies:** 1\
**Last updated:** [January 11, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/gettext-1-90-to-2-0-5/181398 "2010-01-11T13:35:35Z")

</div>

I upgrade our project from Rails 2.0.2 to Rails 2.3.5. We are using gettext 1.9x, so I follow this tutorial to upgrade the gettext plugin.: http://www.yotabanana.com/hiki/ruby-gettext-rails-migration.html base on the …

---

## [GTK and Ocra problem](https://www.ruby-forum.com/t/gtk-and-ocra-problem/174415)

<div class="topic-metadata">

**Author:** [@sgurbat](https://www.ruby-forum.com/u/sgurbat)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 7:56pm UTC](https://www.ruby-forum.com/t/gtk-and-ocra-problem/174415 "2009-08-27T19:56:49Z")

</div>

HI guys, for first sorry for my english. I’m trying to create and exe file with Ocra gem under Win Vista but the result is an application window without text for labels and buttons, i can see only little squares for e…

---

## [Ini file reader/writer](https://www.ruby-forum.com/t/ini-file-reader-writer/156338)

<div class="topic-metadata">

**Author:** [@madhan\_sym](https://www.ruby-forum.com/u/madhan_sym)\
**Replies:** 1\
**Last updated:** [December 24, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/ini-file-reader-writer/156338 "2008-12-24T22:50:38Z")

</div>

Hi Guys, I am new joinee to this forum and also to ruby language.After spent two weeks of ruby learning,I have written a module “IniParser” which basically read/write ini files. I know there are few ruby gems availab…

---

## [PDF::Writer, create pdf and insert in other pdf file](https://www.ruby-forum.com/t/pdf-writer-create-pdf-and-insert-in-other-pdf-file/133012)

<div class="topic-metadata">

**Author:** [@rpacheco](https://www.ruby-forum.com/u/rpacheco)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/pdf-writer-create-pdf-and-insert-in-other-pdf-file/133012 "2008-03-26T21:25:14Z")

</div>

Hi folks(wharever it mean my english is so bad…) the following code create a PDF: #!/usr/bin/ruby require ‘pdf/writer’ pdf = PDF::Writer.new pdf.text “Hello Matz”, :font\_size =\> 22 pdf.save\_as “novo.pdf” #########…

---

## [Find\_by\_sql vs connection.select\_all](https://www.ruby-forum.com/t/find-by-sql-vs-connection-select-all/112036)

<div class="topic-metadata">

**Author:** [@BowmanS\_Eric\_R](https://www.ruby-forum.com/u/BowmanS_Eric_R)\
**Replies:** 1\
**Last updated:** [August 14, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/find-by-sql-vs-connection-select-all/112036 "2007-08-14T17:27:29Z")

</div>

I was trying to do SUM based mySQL query simliar to the following: SELECT SUM(updated\_on - created\_on) AS total from signups If I were to run this command in the mySQL console I would get a result. However, if I were…

---

## [How to return Full path in File\_field?](https://www.ruby-forum.com/t/how-to-return-full-path-in-file-field/111901)

<div class="topic-metadata">

**Author:** [@coelho](https://www.ruby-forum.com/u/coelho)\
**Replies:** 1\
**Last updated:** [August 13, 2007, 6:36am UTC](https://www.ruby-forum.com/t/how-to-return-full-path-in-file-field/111901 "2007-08-13T06:36:01Z")

</div>

Hello, I have put a file\_field on my form and it is working but instead of returning the full PATH+filename it only returns filename. On screen when I pick a file it shows Path+filename but when submited only filena…

---

## [Consuming all inputs, small outputs](https://www.ruby-forum.com/t/consuming-all-inputs-small-outputs/233883)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 19, 2015, 10:06pm UTC](https://www.ruby-forum.com/t/consuming-all-inputs-small-outputs/233883 "2015-01-19T22:06:23Z")

</div>

I am trying to create a block that outputs one number from each chucnk of data it takes in, I would like to output this number and be able to use it in visualizations, what would the best block be for this? Would a …

---

## [Anyone interested in remote pairing?](https://www.ruby-forum.com/t/anyone-interested-in-remote-pairing/233559)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 25, 2014, 5:29pm UTC](https://www.ruby-forum.com/t/anyone-interested-in-remote-pairing/233559 "2014-12-25T17:29:26Z")

</div>

Hello guys, my name is Lester. I’m a beginner in rails, and I’m looking to try out this programming thing. I’m programming alone right now and I find that I get stuck often. Someone suggested that I pair program with …

---

## ["no such file to load -- my\_extensions (MissingSourceFile)"](https://www.ruby-forum.com/t/no-such-file-to-load-my-extensions-missingsourcefile/238181)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 26, 2013, 3:09am UTC](https://www.ruby-forum.com/t/no-such-file-to-load-my-extensions-missingsourcefile/238181 "2013-12-26T03:09:48Z")

</div>

I have a Rails application runnng on one machien quite happily, using Ruby 1.9.1-p243 and Rails 2.3.3. I copied the app and config folders to another machine, on which I’m also running 1.9.1-p243, but via RVM. Whenev…

---

## [Debugging and ubuntu](https://www.ruby-forum.com/t/debugging-and-ubuntu/237639)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 22, 2013, 11:01am UTC](https://www.ruby-forum.com/t/debugging-and-ubuntu/237639 "2013-11-22T11:01:55Z")

</div>

Been running nginx for years on centos and am in the process of migrating to an Ubuntu (raring) server. I’ve always compiled from source before but figured I’d use the Ubuntu apt-get install. For whatever reason, tes…

---

## [How to parse a json output](https://www.ruby-forum.com/t/how-to-parse-a-json-output/223145)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 24, 2012, 3:17pm UTC](https://www.ruby-forum.com/t/how-to-parse-a-json-output/223145 "2012-09-24T15:17:42Z")

</div>

Hi I am trying to read about json output , buts its getting little bit of hard url = “http://xxxxxxx:111/v1=rebuild” resp = Net::HTTP.get\_response(URI.parse(url)) data = resp.body puts data =::::::::::: {“BD5…

---

## [Conflict: index and try\_files](https://www.ruby-forum.com/t/conflict-index-and-try-files/214010)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 22, 2011, 2:56pm UTC](https://www.ruby-forum.com/t/conflict-index-and-try-files/214010 "2011-11-22T14:56:46Z")

</div>

In the following simple configuration server { server\_name testsite.static; root /some/path/; index blog.html; try\_files $uri $uri.html =404; } the try\_files directive seems to interfere with the index directive: …

---

## [Self referential has many through - belong to association dows not work?](https://www.ruby-forum.com/t/self-referential-has-many-through-belong-to-association-dows-not-work/208550)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 23, 2011, 1:27am UTC](https://www.ruby-forum.com/t/self-referential-has-many-through-belong-to-association-dows-not-work/208550 "2011-06-23T01:27:27Z")

</div>

I’m trying to set up a self-referential relationship, as described in this great video - and it’s mostly working, but not entirely. My self-referential relationship describes relationships between people using the …

---

## [SImple question about file io](https://www.ruby-forum.com/t/simple-question-about-file-io/205223)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 1, 2011, 12:21pm UTC](https://www.ruby-forum.com/t/simple-question-about-file-io/205223 "2011-04-01T12:21:38Z")

</div>

Hello there I am a little frustrated by a simple problem. This the script below is failing with C:/projects/LAF-01/For-District-Managers/breakout.rb:23:in \`block in ': wrong argument type Object (expected Data) (Typ…

---

## [Is pdf calling is possible in the frame in ruby on rails lik](https://www.ruby-forum.com/t/is-pdf-calling-is-possible-in-the-frame-in-ruby-on-rails-lik/195252)

<div class="topic-metadata">

**Author:** [@atulrai05](https://www.ruby-forum.com/u/atulrai05)\
**Replies:** 4\
**Last updated:** [September 20, 2010, 4:55pm UTC](https://www.ruby-forum.com/t/is-pdf-calling-is-possible-in-the-frame-in-ruby-on-rails-lik/195252 "2010-09-20T16:55:40Z")

</div>

is pdf calling is possible in the frame in ruby on rails like VB for the dataentry purpose. actually i m able to open a pdf in the browser but that is make the dataentry very complex to view the pdf and do the dataent…

---

## [Array#join using to\_a if defined](https://www.ruby-forum.com/t/array-join-using-to-a-if-defined/184314)

<div class="topic-metadata">

**Author:** [@benoitdinocourt](https://www.ruby-forum.com/u/benoitdinocourt)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 3:56pm UTC](https://www.ruby-forum.com/t/array-join-using-to-a-if-defined/184314 "2010-03-01T15:56:54Z")

</div>

Hi, I got recently an unexpected result using Array#join. In my thoughts, Array#join is sth like adding the separator between every element#to\_s. That is what seems to happen when there is no any #to\_a method define…

---

## [Server not starting with ruby 1.9.1](https://www.ruby-forum.com/t/server-not-starting-with-ruby-1-9-1/174874)

<div class="topic-metadata">

**Author:** [@abhishek](https://www.ruby-forum.com/u/abhishek)\
**Replies:** 4\
**Last updated:** [September 3, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/server-not-starting-with-ruby-1-9-1/174874 "2009-09-03T14:55:49Z")

</div>

i had ruby 1.8.7 in my system.(Ubuntu 9.04) Rails version is 2.1.0 now i have installed ruby 1.9.1p129 side by side with 1.8.7 $ ruby -v ruby 1.9.1p129 (2009-05-12 revision 23412) \[i686-linux\] nd i,ve also done the …

---

## [Proper way to extend an app engine model](https://www.ruby-forum.com/t/proper-way-to-extend-an-app-engine-model/166900)

<div class="topic-metadata">

**Author:** [@Brent\_D](https://www.ruby-forum.com/u/Brent_D)\
**Replies:** 4\
**Last updated:** [August 13, 2009, 12:06pm UTC](https://www.ruby-forum.com/t/proper-way-to-extend-an-app-engine-model/166900 "2009-08-13T12:06:32Z")

</div>

Can anyone tell me the “proper” way to extend a model provided by an app engine (or any plugin for that matter). I’m attempting to extend an app engine model by adding a has\_many :through. So I’ve got lib/myplugin\_ext…

---

## [Speed comparison between mac/linux and windows](https://www.ruby-forum.com/t/speed-comparison-between-mac-linux-and-windows/172760)

<div class="topic-metadata">

**Author:** [@kghose](https://www.ruby-forum.com/u/kghose)\
**Replies:** 4\
**Last updated:** [August 3, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/speed-comparison-between-mac-linux-and-windows/172760 "2009-08-03T15:05:05Z")

</div>

Hi, I remember there was a period when there was a substantial performance difference between windows and mac/linux. I experienced this personally when I moved from rails 1.2 or so to a recent version on windows (it …

---

## [Clr Interop and private member variables](https://www.ruby-forum.com/t/clr-interop-and-private-member-variables/167170)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 4\
**Last updated:** [May 5, 2009, 1:57am UTC](https://www.ruby-forum.com/t/clr-interop-and-private-member-variables/167170 "2009-05-05T01:57:19Z")

</div>

I have the following C# class namespace MyNamespace { public class MyObject { private string m\_Name; } } and I’m extending it from IronRuby class MyNameSpace::MyObject def printme puts m\_Name end end When I…

---

## [Alternative coding for decimal arithmetic](https://www.ruby-forum.com/t/alternative-coding-for-decimal-arithmetic/166888)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [April 30, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/alternative-coding-for-decimal-arithmetic/166888 "2009-04-30T18:19:07Z")

</div>

I need to transform a decimal fraction received as a string into its reciprocal, also stored as a string. I have come up with this but I would like to know if there exists a better way to accomplish this requirement. …

---

## [\[noob question\] View error, Resource route](https://www.ruby-forum.com/t/noob-question-view-error-resource-route/165945)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 4\
**Last updated:** [April 20, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/noob-question-view-error-resource-route/165945 "2009-04-20T18:51:57Z")

</div>

Hello everyone, I have a little problem, since I have change my route from resources to resource. My files look like: config/routes.rb ActionController::Routing::Routes.draw do |map| map.resource :system end app/co…

---

## [Sensitivity of USRP to power glitches](https://www.ruby-forum.com/t/sensitivity-of-usrp-to-power-glitches/165296)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 4\
**Last updated:** [April 12, 2009, 12:06am UTC](https://www.ruby-forum.com/t/sensitivity-of-usrp-to-power-glitches/165296 "2009-04-12T00:06:54Z")

</div>

Something I’ve noticed over the years with the USRP is that it seems unusually sensitive to power glitches, even tiny ones. Maybe ground noise? For example, removing an RF connector while the USRP is powered up can s…

---

## [Compiling .rb files vs. embedding and hosting?](https://www.ruby-forum.com/t/compiling-rb-files-vs-embedding-and-hosting/157323)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 4\
**Last updated:** [January 30, 2009, 9:14am UTC](https://www.ruby-forum.com/t/compiling-rb-files-vs-embedding-and-hosting/157323 "2009-01-30T09:14:05Z")

</div>

Hello, I’m starting to integrate IronRuby files into a VisualStudio C# project, mainly to write easy-to-maintain GUI builders. As I don’t want to have .rb files lying around this deployment, I had that idea about em…

---

## [Problem on installing ngnix](https://www.ruby-forum.com/t/problem-on-installing-ngnix/154525)

<div class="topic-metadata">

**Author:** [@Stephen\_Liu](https://www.ruby-forum.com/u/Stephen_Liu)\
**Replies:** 4\
**Last updated:** [December 4, 2008, 8:01am UTC](https://www.ruby-forum.com/t/problem-on-installing-ngnix/154525 "2008-12-04T08:01:25Z")

</div>

Hi folks, OS - Debina Etch Problem on installing nginx apt-get install nginx … Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) Fail. But I can’t uninstall …

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

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