# Top

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

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

---

## [\[Bug #644\] compile error on win32ole with VC++6](https://www.ruby-forum.com/t/bug-644-compile-error-on-win32ole-with-vc-6/150842)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/bug-644-compile-error-on-win32ole-with-vc-6/150842 "2008-10-14T14:47:47Z")

</div>

Bug #644: compile error on win32ole with VC++6 http://redmine.ruby-lang.org/issues/show/644 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: High e$B%+%F%4%je(B: ext, Target version: 1.9.x e$BI=Bj$…

---

## [Build problems on OS X PPC](https://www.ruby-forum.com/t/build-problems-on-os-x-ppc/150424)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 4\
**Last updated:** [October 9, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/build-problems-on-os-x-ppc/150424 "2008-10-09T13:37:57Z")

</div>

I have been having problems building recent Ruby 1.9 releases on my old PowerBook. I was wondering if anyone else on OX X 10.5.5 PPC has been having issues, or whether it might be some failure of my hardware. Is Ruby…

---

## [OpenSSL Test Failure](https://www.ruby-forum.com/t/openssl-test-failure/147785)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 4\
**Last updated:** [September 8, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/openssl-test-failure/147785 "2008-09-08T20:50:27Z")

</div>

e$B:XF#$G$9!#e(B e$B7k9=A0$+$i$J$N$G$9$,!"\<+J,$N4D6-e(B(Debian lenny on x86)e$B$G$Oe(Btest-alle$B$,\<:GT$7$^$9!#e(B Failure: test\_client\_session(OpenSSL::TestSSL) \[/home/tadashi/svn/ruby/trunk/test/openssl/test\_ssl.…

---

## [Script/console UTF-8 MacOS X?](https://www.ruby-forum.com/t/script-console-utf-8-macos-x/137118)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 4\
**Last updated:** [May 20, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/script-console-utf-8-macos-x/137118 "2008-05-20T15:11:16Z")

</div>

Is it possible to use foreign characters with UTF-8 encoding in the console on MacOS X? I found a few OLD tutorials on the Internet and none of them seemed to work. I’m using Leopard by the way. When I try to paste in…

---

## [Is this a threading bug in Ruby-185-21 on Win32?](https://www.ruby-forum.com/t/is-this-a-threading-bug-in-ruby-185-21-on-win32/133051)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 4\
**Last updated:** [March 27, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/is-this-a-threading-bug-in-ruby-185-21-on-win32/133051 "2008-03-27T14:40:45Z")

</div>

I’m trying to write a program that will poll some website and that is easily terminable. I have a similar Ruby program on a Linux machine that polls my inbox to see if I have mail and, whenever I have new mail, prin…

---

## [DRB+Mixin, a defect or an usage error?](https://www.ruby-forum.com/t/drb-mixin-a-defect-or-an-usage-error/127663)

<div class="topic-metadata">

**Author:** [@yangpeng](https://www.ruby-forum.com/u/yangpeng)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/drb-mixin-a-defect-or-an-usage-error/127663 "2008-02-01T21:27:01Z")

</div>

I found a strange thing when I include a module to a Drb object.I’m confused. server.rb:require 'drb’require ‘module\_a’ class ServerHello include TestModule1 def sayHello puts ‘I am server’ end endDR…

---

## [Enumerable can't take multiple parameters](https://www.ruby-forum.com/t/enumerable-cant-take-multiple-parameters/124086)

<div class="topic-metadata">

**Author:** [@GOTOU\_Yuuzou](https://www.ruby-forum.com/u/GOTOU_Yuuzou)\
**Replies:** 4\
**Last updated:** [December 24, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/enumerable-cant-take-multiple-parameters/124086 "2007-12-24T22:11:36Z")

</div>

eache$B$GJ#?t$N%Q%i%a!\<%?$re(Byielde$B$7$?$H$-$K!"e(BEnumerable#colecte$B$G!"e(B e$B@hF,$NCM$7$+\<u$1\<h$l$J$$$h$&$G$9!#e(B % ruby-1.9 -v -e ’ ~ class Foo include Enumerable def each {1=\>2, 3=\>4}.each{|k, v| yield(…

---

## [I need some guidance](https://www.ruby-forum.com/t/i-need-some-guidance/123891)

<div class="topic-metadata">

**Author:** [@jimmy\_zimmerman](https://www.ruby-forum.com/u/jimmy_zimmerman)\
**Replies:** 4\
**Last updated:** [December 21, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/i-need-some-guidance/123891 "2007-12-21T20:44:45Z")

</div>

I’m building an http communicator class for a web service API wrapper and I’m trying to go through the BDD process in doing so. I’m having a bit of a struggle figuring out how to set up the tests in relation to isola…

---

## [Problem testing certain Thread methods with Test::Unit](https://www.ruby-forum.com/t/problem-testing-certain-thread-methods-with-test-unit/122455)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/problem-testing-certain-thread-methods-with-test-unit/122455 "2007-12-12T21:40:23Z")

</div>

Hi all, Ruby 1.8.6 I’m trying to do write some basic tests for Thread#raise. Unfortunately, because of the way Test::Unit implements assert\_raise (I think) I can’t actually verify that Thread#raise actually works. F…

---

## [Interdependency between RSpec files](https://www.ruby-forum.com/t/interdependency-between-rspec-files/120188)

<div class="topic-metadata">

**Author:** [@Glenn\_F](https://www.ruby-forum.com/u/Glenn_F)\
**Replies:** 4\
**Last updated:** [November 14, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/interdependency-between-rspec-files/120188 "2007-11-14T20:14:53Z")

</div>

I run my suite of tests, one test fails. I run that one test file, no tests fail. Something is carrying over between files and I can’t figure out what. I tracked down the problem to the very line it’s occurring on, wi…

---

## [Swl'ing with gnuradio](https://www.ruby-forum.com/t/swling-with-gnuradio/119498)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 4\
**Last updated:** [November 8, 2007, 3:32am UTC](https://www.ruby-forum.com/t/swling-with-gnuradio/119498 "2007-11-08T03:32:25Z")

</div>

Hey all - There’s an interesting bit in the November “Monitoring Times” (p.32) about “Monitoring 192 kHz of Spectrum at a Time”, promoting the use of the RFSpace SDR-14 in swl’ing. I’m just moving into an RF quiet ren…

---

## [Image libraries for Ruby?](https://www.ruby-forum.com/t/image-libraries-for-ruby/116533)

<div class="topic-metadata">

**Author:** [@forgottenwizard](https://www.ruby-forum.com/u/forgottenwizard)\
**Replies:** 4\
**Last updated:** [October 8, 2007, 5:27am UTC](https://www.ruby-forum.com/t/image-libraries-for-ruby/116533 "2007-10-08T05:27:16Z")

</div>

I’m trying to write out a script to help me sort out a bunch (more than 1,000) wallpapers, and do so by wallpaper size. I’ve done a little looking, but so far the only lib I have seen that might help is ImageMagick, a…

---

## [Unequal Object Identities in Rails](https://www.ruby-forum.com/t/unequal-object-identities-in-rails/111109)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/unequal-object-identities-in-rails/111109 "2007-08-02T20:57:10Z")

</div>

My question is best illustrated by an example. Let’s say we have two simple classes, Order and LineItem defined as follows. class Order \< ActiveRecord::Base has\_many :line\_items end class LineItem \< ActiveRecord::B…

---

## [Unexpectadly end of program](https://www.ruby-forum.com/t/unexpectadly-end-of-program/110240)

<div class="topic-metadata">

**Author:** [@sirtyman](https://www.ruby-forum.com/u/sirtyman)\
**Replies:** 4\
**Last updated:** [July 24, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/unexpectadly-end-of-program/110240 "2007-07-24T17:05:45Z")

</div>

Hi, Can anybody help me with this: Cannot move multiple files to a single file. What does it mean. Such communicate appears after several iterations of my application. What is it come from? Cheers, MT

---

## [Outsourcing](https://www.ruby-forum.com/t/outsourcing/108725)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 4\
**Last updated:** [July 9, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/outsourcing/108725 "2007-07-09T13:43:56Z")

</div>

Hi all! Currently I am trying to convince a company to make the switch to RoR as I did a couple of years ago. They are quite willing to do so but as they regularly outsource programming tasks they want to know if they …

---

## [ActionWebService for many APIs in rails?](https://www.ruby-forum.com/t/actionwebservice-for-many-apis-in-rails/107248)

<div class="topic-metadata">

**Author:** [@joaz](https://www.ruby-forum.com/u/joaz)\
**Replies:** 4\
**Last updated:** [June 19, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/actionwebservice-for-many-apis-in-rails/107248 "2007-06-19T18:17:54Z")

</div>

Hi, We’ve a pretty large rails application and we are currently deciding moving a part of the application front-end to a desktop GUI. For communication between application and GUI we decided to use an API. So basical…

---

## [Overcoming security via typing in the URL?](https://www.ruby-forum.com/t/overcoming-security-via-typing-in-the-url/105936)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 4\
**Last updated:** [June 4, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/overcoming-security-via-typing-in-the-url/105936 "2007-06-04T22:17:34Z")

</div>

I’m creating a registration page where parents register their children for an event. I have each parent give me a username and password to login and register their children. Parents also have the ability to come bac…

---

## [Putting executables in sbin in gems](https://www.ruby-forum.com/t/putting-executables-in-sbin-in-gems/105193)

<div class="topic-metadata">

**Author:** [@lynxinator](https://www.ruby-forum.com/u/lynxinator)\
**Replies:** 4\
**Last updated:** [May 28, 2007, 11:37pm UTC](https://www.ruby-forum.com/t/putting-executables-in-sbin-in-gems/105193 "2007-05-28T23:37:22Z")

</div>

Hi all, My project\[1\] has a couple of daemons, which should go in sbin, but I can’t seem to find a way to get my gem specification to do so. Heck, I can’t even find any evidence that gems support sbin at all. Does …

---

## [Web Flow and the session method in ActionController](https://www.ruby-forum.com/t/web-flow-and-the-session-method-in-actioncontroller/92176)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 16, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/web-flow-and-the-session-method-in-actioncontroller/92176 "2007-04-16T23:04:42Z")

</div>

Hi there, I’m writing a port of Spring Webflow to Ruby on rails and I’ve encountered quite a lot of difficulty finding how to override the session\[\] method which is accessed via any ActionController. I have my pseudo…

---

## [Rss\_behavior plugin](https://www.ruby-forum.com/t/rss-behavior-plugin/79630)

<div class="topic-metadata">

**Author:** [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Replies:** 4\
**Last updated:** [December 17, 2006, 8:00pm UTC](https://www.ruby-forum.com/t/rss-behavior-plugin/79630 "2006-12-17T20:00:55Z")

</div>

Hello all. I’m trying to use the rss\_behavior to display my mephisto blog’s rss feed on my radiant site. I’ve installed rss\_behavior via script/plugin install etc. i’ve installed ruby-feedparser I am getting the fol…

---

## [Correct place for this code?](https://www.ruby-forum.com/t/correct-place-for-this-code/70260)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 9:09pm UTC](https://www.ruby-forum.com/t/correct-place-for-this-code/70260 "2006-09-27T21:09:52Z")

</div>

Hi! I’m writing a piece of code that tries to truncate the amount of text displayed in the cell to restrict it such that the formatting doesn’t spoil if the string is too long. What I want to do is: If the ‘met\_per…

---

## [Problems with \<r:random\> tags](https://www.ruby-forum.com/t/problems-with-r-random-tags/66048)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 4\
**Last updated:** [September 4, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/problems-with-r-random-tags/66048 "2006-09-04T14:46:07Z")

</div>

Hi, I’m now having a problem with the \<r:random\> tag for inserting a random image into a snippet. I’ve looked at http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/page\_context.rb where I see: \<r:r…

---

## [Creating new tabs in the admin interface?](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808)

<div class="topic-metadata">

**Author:** [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Replies:** 4\
**Last updated:** [August 29, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808 "2006-08-29T14:59:15Z")

</div>

Hi all, The website Iâ??m building has a traditional three-column layout, but Radiant only has a â??bodyâ? and â??sidebarâ? tab on the standard pages installed by default. Iâ??d like to create a â??sidebar-2â? ta…

---

## [Macros and macro expansion](https://www.ruby-forum.com/t/macros-and-macro-expansion/95671)

<div class="topic-metadata">

**Author:** [@countbrass](https://www.ruby-forum.com/u/countbrass)\
**Replies:** 4\
**Last updated:** [June 8, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/macros-and-macro-expansion/95671 "2006-06-08T21:07:53Z")

</div>

I was looking at my controller code (Rails) and the edit/create/update/new for each are practically identical. So first I DRY’d the four methods in each controller to just one and then I decided to write a single macr…

---

## [Ticket/Issue support system](https://www.ruby-forum.com/t/ticket-issue-support-system/60226)

<div class="topic-metadata">

**Author:** [@perherman](https://www.ruby-forum.com/u/perherman)\
**Replies:** 4\
**Last updated:** [May 11, 2006, 11:28am UTC](https://www.ruby-forum.com/t/ticket-issue-support-system/60226 "2006-05-11T11:28:22Z")

</div>

Hi I am looking for a Open Source RoR-based system for handling support issues for our customers. I needs to be simple so that the end user easily can add support issues. We also need to administer the issues (assign…

---

## [Re: ot: spam (was RE: Text Munger (#76))](https://www.ruby-forum.com/t/re-ot-spam-was-re-text-munger-76/94129)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/re-ot-spam-was-re-text-munger-76/94129 "2006-05-03T19:00:19Z")

</div>

Dave B. \[mailto:removed\_email\_address@domain.invalid\]: Wer mit Ungeheuern kämpft, mag zusehn, dass er nicht dabei zum Ungeheuer wird. Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich hinei…

---

## [\[ANN\] Engines 1.1.1](https://www.ruby-forum.com/t/ann-engines-1-1-1/57080)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 4\
**Last updated:** [April 7, 2006, 9:45am UTC](https://www.ruby-forum.com/t/ann-engines-1-1-1/57080 "2006-04-07T09:45:36Z")

</div>

Since a minor change in Rails (renaming the file that the version is stored in, namely) causes a bit of a hiccup for the Engines plugin, here’s a new release, full of bug fixes and other nice things. ALL users of Engi…

---

## [Help with many-to-many using :through](https://www.ruby-forum.com/t/help-with-many-to-many-using-through/56796)

<div class="topic-metadata">

**Author:** [@Vaishal\_S](https://www.ruby-forum.com/u/Vaishal_S)\
**Replies:** 4\
**Last updated:** [April 4, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/help-with-many-to-many-using-through/56796 "2006-04-04T16:34:12Z")

</div>

I am using many-to-many using :through since I need to store additional information in the join table. I am doing this and it seems to work. I want to verify that this is the best way to do this. Tables foods - id,…

---

## [Setting up Ruby + RubyOnRails on the new intel mac (any feed](https://www.ruby-forum.com/t/setting-up-ruby-rubyonrails-on-the-new-intel-mac-any-feed/53554)

<div class="topic-metadata">

**Author:** [@Thibaut\_BarrSSSSre](https://www.ruby-forum.com/u/Thibaut_BarrSSSSre)\
**Replies:** 4\
**Last updated:** [February 9, 2006, 8:46pm UTC](https://www.ruby-forum.com/t/setting-up-ruby-rubyonrails-on-the-new-intel-mac-any-feed/53554 "2006-02-09T20:46:55Z")

</div>

Hi I’m about to attempt to setup RoR on an iMac powered by an Intel core duo. Before I start, is there anyone who would have some feedback about a similar setup (and likely, the caveats hidden down there) ? thanks! …

---

## [Multiple database in the same actions?](https://www.ruby-forum.com/t/multiple-database-in-the-same-actions/52840)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 4\
**Last updated:** [January 20, 2006, 9:03pm UTC](https://www.ruby-forum.com/t/multiple-database-in-the-same-actions/52840 "2006-01-20T21:03:58Z")

</div>

Hi, I read the example in Peak Obsession, it show us how to connect to other database, each time we start a new action, however, this doesn’t work while you try to connect to two different database within the same …

---

## [Looking for RoR job (remotely/part-time/full-time)](https://www.ruby-forum.com/t/looking-for-ror-job-remotely-part-time-full-time/229503)

<div class="topic-metadata">

**Author:** [@sep](https://www.ruby-forum.com/u/sep)\
**Replies:** 5\
**Last updated:** [February 26, 2013, 2:25pm UTC](https://www.ruby-forum.com/t/looking-for-ror-job-remotely-part-time-full-time/229503 "2013-02-26T14:25:39Z")

</div>

Hi guys, I am looking for a job as a Ruby On Rails developer - remotely, as a part-time or full-time. My knowledge - 2,5 years programming in Ruby On Rails, further - knowledge of: MySQL, PostgreSQL, SQLite JS (jQu…

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 9, 2012, 3:25am UTC](https://www.ruby-forum.com/t/save-array/215571 "2012-01-09T03:25:05Z")

</div>

Hi, is there a way to save an array of float values to my database (for a specific mode, for example User, so it stays like user.values = \[0, 2, 54, 3\])? Thanks in advance

---

## [Noob question regarding strings](https://www.ruby-forum.com/t/noob-question-regarding-strings/215363)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 1, 2012, 11:05pm UTC](https://www.ruby-forum.com/t/noob-question-regarding-strings/215363 "2012-01-01T23:05:22Z")

</div>

Hello, I am still learning Ruby, my question is, what is a string and what is a string literal? If possible, can you give me an example of both. Any help would be much appreciated.

---

## [Concurrent Ruby webservices from wsdl2ruby](https://www.ruby-forum.com/t/concurrent-ruby-webservices-from-wsdl2ruby/197794)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 25, 2010, 9:07am UTC](https://www.ruby-forum.com/t/concurrent-ruby-webservices-from-wsdl2ruby/197794 "2010-10-25T09:07:12Z")

</div>

Hi, as a ruby-newbie I’m currently stuck with a problem (possibly more problems?) with the setup of an webservice environment on Windows. 1st try: Ruby/wsdl2ruby I’ve created two webservices from wsdls and I am able …

---

## [Stopping Nginx](https://www.ruby-forum.com/t/stopping-nginx/191688)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [July 17, 2010, 2:02am UTC](https://www.ruby-forum.com/t/stopping-nginx/191688 "2010-07-17T02:02:32Z")

</div>

I’m trying to get rails running with Nginx. I have Nginx installed using Macports and I can get it running. But I can’t stop it. This will not work: alias nginx-stop=“sudo launchctl unload /Library/LaunchDaemons/org.…

---

## [A method to search for empty stuff](https://www.ruby-forum.com/t/a-method-to-search-for-empty-stuff/187550)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 5\
**Last updated:** [April 25, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/a-method-to-search-for-empty-stuff/187550 "2010-04-25T17:48:14Z")

</div>

I’m trying to write some tools to help me clean up my data, first stop is trying to find empty attributes in my Resort model…the following works, def self.find\_empty\_resort\_heights resorts = \[\] Resort.all.each do |r…

---

## [Sub accounts](https://www.ruby-forum.com/t/sub-accounts/185515)

<div class="topic-metadata">

**Author:** [@mlittle](https://www.ruby-forum.com/u/mlittle)\
**Replies:** 5\
**Last updated:** [March 22, 2010, 6:57am UTC](https://www.ruby-forum.com/t/sub-accounts/185515 "2010-03-22T06:57:24Z")

</div>

I am using restful authentication and was wondering if anyone has had any experience with sub accounts. Basically, I want a user to have the ability to add another user(s) to his/her account. So if user A creates an a…

---

## [Rails Render Issue](https://www.ruby-forum.com/t/rails-render-issue/182087)

<div class="topic-metadata">

**Author:** [@senling](https://www.ruby-forum.com/u/senling)\
**Replies:** 5\
**Last updated:** [January 23, 2010, 1:30pm UTC](https://www.ruby-forum.com/t/rails-render-issue/182087 "2010-01-23T13:30:42Z")

</div>

Hi, I am adding login functionality to my app which has two controllers users and photos and i am having some trouble. In my users/index view \<%if logged\_in? %\> \<%=render “photos/index”%\> \<%else%\> … Home page With…

---

## [How to derive from DateTime?](https://www.ruby-forum.com/t/how-to-derive-from-datetime/175748)

<div class="topic-metadata">

**Author:** [@luisealvarezb](https://www.ruby-forum.com/u/luisealvarezb)\
**Replies:** 5\
**Last updated:** [September 19, 2009, 4:15am UTC](https://www.ruby-forum.com/t/how-to-derive-from-datetime/175748 "2009-09-19T04:15:59Z")

</div>

Hi, everybody: I have been tring to derive a class from DateTime and in doing so have come across some nasty problems: it turns out overriding the constructor is not straight forward at all. I was looking for some po…

---

## [\[newbie\] double relationships in database](https://www.ruby-forum.com/t/newbie-double-relationships-in-database/172889)

<div class="topic-metadata">

**Author:** [@jask](https://www.ruby-forum.com/u/jask)\
**Replies:** 5\
**Last updated:** [July 30, 2009, 6:41am UTC](https://www.ruby-forum.com/t/newbie-double-relationships-in-database/172889 "2009-07-30T06:41:47Z")

</div>

I have the following tables teams id :string name :string and matches id: home\_team :team\_id visitor\_team :team\_id how can I reflect that kind of relationship in a RoR model? thanks and keep up the good work.

---

## [Making a name like "Copy of...", "Copy 2 of..."](https://www.ruby-forum.com/t/making-a-name-like-copy-of-copy-2-of/169016)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [May 28, 2009, 6:05pm UTC](https://www.ruby-forum.com/t/making-a-name-like-copy-of-copy-2-of/169016 "2009-05-28T18:05:43Z")

</div>

Here’s a little ruby exercise - i’m a bit brain damaged today and can’t think of a nice way to do this. I want a method where you pass a name as a string and it returns ‘copy of x’ or ‘copy 2 of x’ eg new\_name(“My Le…

---

## [Problems with GC.. again](https://www.ruby-forum.com/t/problems-with-gc-again/164296)

<div class="topic-metadata">

**Author:** [@peterz](https://www.ruby-forum.com/u/peterz)\
**Replies:** 5\
**Last updated:** [April 2, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/problems-with-gc-again/164296 "2009-04-02T16:40:32Z")

</div>

Hi. Again, I ran into some kind of wrongly garbage collected object, but can’t determine exactly which one. Sources is at: http://files.whitequark.ru/rlua.tgz Try: ruby1.9 extconf.rb make ruby1.9 test.rb A segfa…

---

## [Xpath](https://www.ruby-forum.com/t/xpath/160275)

<div class="topic-metadata">

**Author:** [@palberto](https://www.ruby-forum.com/u/palberto)\
**Replies:** 5\
**Last updated:** [February 16, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/xpath/160275 "2009-02-16T12:13:13Z")

</div>

Hi all, I have a question: I would like to know if it is possible, using REXML, get full path from root, of document XML, to leaf node, through a XPath query? example with l’XML: ... …

---

## [Output fleximage image from DB?](https://www.ruby-forum.com/t/output-fleximage-image-from-db/158124)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/output-fleximage-image-from-db/158124 "2009-01-19T16:47:00Z")

</div>

I’m a bit stuck trying to output a DB-stored file in a view with FlexImage 2. DB storing is supported but there is no documentation on how to get it out of the DB. Could someone point me to a resource explaining how…

---

## [Session Corruption?](https://www.ruby-forum.com/t/session-corruption/153496)

<div class="topic-metadata">

**Author:** [@Nik\_B](https://www.ruby-forum.com/u/Nik_B)\
**Replies:** 5\
**Last updated:** [November 18, 2008, 3:56pm UTC](https://www.ruby-forum.com/t/session-corruption/153496 "2008-11-18T15:56:22Z")

</div>

I have a vexing problem where a request is completed and customer information is stored in session (to be deleted on successful checkout). After the request completes, any subsequent action throws a Internal Server Er…

---

## [Compile error on gnuradio-core/src/lib/viterbi/encode.cc](https://www.ruby-forum.com/t/compile-error-on-gnuradio-core-src-lib-viterbi-encode-cc/150056)

<div class="topic-metadata">

**Author:** [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Replies:** 5\
**Last updated:** [October 3, 2008, 1:31am UTC](https://www.ruby-forum.com/t/compile-error-on-gnuradio-core-src-lib-viterbi-encode-cc/150056 "2008-10-03T01:31:11Z")

</div>

i have the latest trunk (9699) g++ is 4.3.1-1ubuntu2 make exits with an error for gnuradio-core/src/lib/viterbi/encode.cc: g++ -DHAVE\_CONFIG\_H -I. -I…/…/…/… -Wall -Werror -g -O2 -pthread -pthread -Wall -Woverloade…

---

## [Best Database for a Nuby?](https://www.ruby-forum.com/t/best-database-for-a-nuby/146134)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 5\
**Last updated:** [August 18, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/best-database-for-a-nuby/146134 "2008-08-18T15:57:14Z")

</div>

I have no prior experience with a database, and am trying to figure out which one to go with. I was going to go with MySQL (rather than Postgres, which seems to be considered superior) because it had more documentatio…

---

## [Ruby 1.9.0-3 is released](https://www.ruby-forum.com/t/ruby-1-9-0-3-is-released/144126)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 5\
**Last updated:** [August 2, 2008, 11:26am UTC](https://www.ruby-forum.com/t/ruby-1-9-0-3-is-released/144126 "2008-08-02T11:26:21Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Ruby 1.9.0-3 has just been released. This is a snapshot release. The next release is 1.9.0-4. It will be released at 25 Oct. See \[ruby-core:17644\] for more details. …

---

## [Ruby tail](https://www.ruby-forum.com/t/ruby-tail/86440)

<div class="topic-metadata">

**Author:** [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Replies:** 5\
**Last updated:** [June 6, 2008, 1:46am UTC](https://www.ruby-forum.com/t/ruby-tail/86440 "2008-06-06T01:46:56Z")

</div>

Hello, Is there a gem or perhaps a method I am not aware of that does the similar function of tail? Or is there a way to use tail in ruby? I have a file that I want to process as new data is appended to the file. …

---

## [Bug / typo in gri\_wavfile.cc (gr\_wavfile\_source)](https://www.ruby-forum.com/t/bug-typo-in-gri-wavfile-cc-gr-wavfile-source/134293)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 5\
**Last updated:** [April 9, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/bug-typo-in-gri-wavfile-cc-gr-wavfile-source/134293 "2008-04-09T17:25:33Z")

</div>

Hello All, I think there is a typo / bug in gri\_wavfile.cc that prevents it from working properly with big-endian machines. Please see patch below. Index: gnuradio-core/src/lib/io/gri\_wavfile.cc — gnuradio-core/src/l…

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

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