# Top

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

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

---

## [Different behavior of '$,' output separator in Ruby 1.9](https://www.ruby-forum.com/t/different-behavior-of-output-separator-in-ruby-1-9/184649)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 7\
**Last updated:** [March 13, 2010, 8:01am UTC](https://www.ruby-forum.com/t/different-behavior-of-output-separator-in-ruby-1-9/184649 "2010-03-13T08:01:29Z")

</div>

In switching to Ruby 1.9 from 1.8 I notice that the behavior of the ‘$,’ output separator has changed. In Ruby 1.9 the output separator is placed after a newline character, but this didn’t happen with Ruby 1.8. Using…

---

## [Select\_date](https://www.ruby-forum.com/t/select-date/178508)

<div class="topic-metadata">

**Author:** [@miclab](https://www.ruby-forum.com/u/miclab)\
**Replies:** 7\
**Last updated:** [November 11, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/select-date/178508 "2009-11-11T18:31:28Z")

</div>

Vorrei inserire una data in un form. Seguendo l’esempio (ActionView::Helpers::DateHelper) \<% my\_date = Time.today %\> \<%= select\_date my\_date, :order =\> \[:year, :month,:day \] %\> \<%= my\_date %\> Il giorno e l’anno van…

---

## [Alternate display of records](https://www.ruby-forum.com/t/alternate-display-of-records/176595)

<div class="topic-metadata">

**Author:** [@snlsn](https://www.ruby-forum.com/u/snlsn)\
**Replies:** 7\
**Last updated:** [October 2, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/alternate-display-of-records/176595 "2009-10-02T23:11:47Z")

</div>

What is the current best practice for displaying records in alternate ways? This relates to an internal scheduling app I’m trying to get off the ground for our photo studio. I have a model: Assignment I’d like the o…

---

## [Updating gems for ruby 1.9](https://www.ruby-forum.com/t/updating-gems-for-ruby-1-9/174605)

<div class="topic-metadata">

**Author:** [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Replies:** 7\
**Last updated:** [September 3, 2009, 6:56am UTC](https://www.ruby-forum.com/t/updating-gems-for-ruby-1-9/174605 "2009-09-03T06:56:54Z")

</div>

Hi, This might have been discussed somewhere else already, if this is the case, I apologize. I publish a significant number of gems. These were all designed for Ruby 1.8. Apart from syntax and functional changes, how…

---

## [JRuby constructor issue or just me?](https://www.ruby-forum.com/t/jruby-constructor-issue-or-just-me/166532)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 7\
**Last updated:** [April 29, 2009, 1:34pm UTC](https://www.ruby-forum.com/t/jruby-constructor-issue-or-just-me/166532 "2009-04-29T13:34:31Z")

</div>

Hi, I can’t figure out why this doesn’t work. I need to do this because I’m initializing the button elements separately within the constructor, but I want to ensure that the button is actually created first. I do th…

---

## [How to override one method of AssetTagHelper](https://www.ruby-forum.com/t/how-to-override-one-method-of-assettaghelper/151985)

<div class="topic-metadata">

**Author:** [@rgagnon](https://www.ruby-forum.com/u/rgagnon)\
**Replies:** 7\
**Last updated:** [October 28, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/how-to-override-one-method-of-assettaghelper/151985 "2008-10-28T23:26:14Z")

</div>

I created a file ./lib/action\_view/helpers/asset\_tag\_helper.rb and put in it only the method I want to override. like this module ActionView module Helpers #:nodoc: module AssetTagHelper def image\_path(source) comp…

---

## [Run rails on cd](https://www.ruby-forum.com/t/run-rails-on-cd/151410)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 7\
**Last updated:** [October 22, 2008, 1:44pm UTC](https://www.ruby-forum.com/t/run-rails-on-cd/151410 "2008-10-22T13:44:46Z")

</div>

Dear is there a way that we can rails on cd. for example, a dictionary book has a cd and they asked me to do software for that. since i am familiar with rails, i prefer to do it on rails. So, can we have a way to run…

---

## [Book Recommendation for Somewhat Experienced Rails Programmer](https://www.ruby-forum.com/t/book-recommendation-for-somewhat-experienced-rails-programmer/143464)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 7\
**Last updated:** [July 19, 2008, 4:59am UTC](https://www.ruby-forum.com/t/book-recommendation-for-somewhat-experienced-rails-programmer/143464 "2008-07-19T04:59:24Z")

</div>

Hi all, I am in the process of learning rails, and so far I’ve relied on “Agile Web D. with Rails” and “Rails Recipes”. I’ve noticed there are are couple of more advanced rails books on amazon, and many seem to cove…

---

## [Just announced that we're running unmodified Rails on my blog](https://www.ruby-forum.com/t/just-announced-that-were-running-unmodified-rails-on-my-blog/139058)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 7\
**Last updated:** [June 1, 2008, 4:10am UTC](https://www.ruby-forum.com/t/just-announced-that-were-running-unmodified-rails-on-my-blog/139058 "2008-06-01T04:10:45Z")

</div>

http://www.iunknown.com/2008/05/ironruby-and-rails.html Thanks all for your help and support of IronRuby! -John

---

## [Model Advice](https://www.ruby-forum.com/t/model-advice/126931)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 7\
**Last updated:** [January 24, 2008, 12:27am UTC](https://www.ruby-forum.com/t/model-advice/126931 "2008-01-24T00:27:19Z")

</div>

Hi- I have a single controller that’s associated with a single model. I would now like to create a whole bunch more models to use the same controller, is this a bad idea? If I use the scaffold generator (which takes…

---

## [Singleton definition differences](https://www.ruby-forum.com/t/singleton-definition-differences/126886)

<div class="topic-metadata">

**Author:** [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Replies:** 7\
**Last updated:** [January 23, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/singleton-definition-differences/126886 "2008-01-23T15:05:28Z")

</div>

would someone please explain the difference between these definitions class A class \<\< self def hello puts ‘hello’ end end end class B def B.hello puts ‘hello’ end end A.hello B.hello

---

## [Turning symbols into class names](https://www.ruby-forum.com/t/turning-symbols-into-class-names/122942)

<div class="topic-metadata">

**Author:** [@Samantha](https://www.ruby-forum.com/u/Samantha)\
**Replies:** 7\
**Last updated:** [December 12, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/turning-symbols-into-class-names/122942 "2007-12-12T22:58:38Z")

</div>

Long time no see! Hopefully I can get some insight into something I’m dealing with, as I have in the past! I’m working on something in Rails, however, I believe this to be more of a Ruby question than anything having…

---

## [How to pass 2 ids](https://www.ruby-forum.com/t/how-to-pass-2-ids/108416)

<div class="topic-metadata">

**Author:** [@mahen1981](https://www.ruby-forum.com/u/mahen1981)\
**Replies:** 7\
**Last updated:** [July 3, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-pass-2-ids/108416 "2007-07-03T14:08:55Z")

</div>

Hi, I want to pass 2 ids to same controller.How can i do this? I have following code \<%= link\_to “delete”, :action =\> “delete”, :id =\> @met.id %\> I also want to pass project.id to id

---

## [Is there a tool to document method invocations?](https://www.ruby-forum.com/t/is-there-a-tool-to-document-method-invocations/90569)

<div class="topic-metadata">

**Author:** [@lfast](https://www.ruby-forum.com/u/lfast)\
**Replies:** 7\
**Last updated:** [March 30, 2007, 1:13am UTC](https://www.ruby-forum.com/t/is-there-a-tool-to-document-method-invocations/90569 "2007-03-30T01:13:28Z")

</div>

I’m looking for something that will create a cross-reference document showing where all my methods are being used. An ideal world would include forward and reverse links within an editor. Are there any editors, envir…

---

## [Rjs](https://www.ruby-forum.com/t/rjs/75557)

<div class="topic-metadata">

**Author:** [@stb](https://www.ruby-forum.com/u/stb)\
**Replies:** 7\
**Last updated:** [November 11, 2006, 1:05pm UTC](https://www.ruby-forum.com/t/rjs/75557 "2006-11-11T13:05:08Z")

</div>

Ciao, non sono ancora riuscito a capire come chiamare un metodo javascript dal controller, cioè la sintassi la so ma mi dice che può fare solo un render o redirect per chiamata, come posso fare? questo è un esempio d…

---

## [MVC and modules. Views telling models to behave](https://www.ruby-forum.com/t/mvc-and-modules-views-telling-models-to-behave/72966)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 7\
**Last updated:** [October 26, 2006, 2:37pm UTC](https://www.ruby-forum.com/t/mvc-and-modules-views-telling-models-to-behave/72966 "2006-10-26T14:37:54Z")

</div>

I was thinking today, it would be nice if a view could tell a model how to format it’s data for that particular view. Kind of like, the view is bestowing instant, and temporary knowledge on the model for the duratio…

---

## [RUBY keeps complaining about my "end" statement](https://www.ruby-forum.com/t/ruby-keeps-complaining-about-my-end-statement/63291)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 7\
**Last updated:** [June 14, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/ruby-keeps-complaining-about-my-end-statement/63291 "2006-06-14T15:03:25Z")

</div>

When I try and run a script that has this as part of it, RUBY keeps complaining about my “end” statement. Can someone please help me with this? What’s its problem with it? Thanks. ps2kfiles = Dir.glob(“{aacmc7,acm05…

---

## [Has\_many :addresses, :as =\> :addressable](https://www.ruby-forum.com/t/has-many-addresses-as-addressable/55692)

<div class="topic-metadata">

**Author:** [@rath](https://www.ruby-forum.com/u/rath)\
**Replies:** 1\
**Last updated:** [March 23, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/has-many-addresses-as-addressable/55692 "2006-03-23T14:47:21Z")

</div>

I just got the Rails Recipies and I’m looking the Recipe 17. class Person \< ActiveRecord::Base has\_many :addresses, :as =\> :addressable end class Company \< ActiveRecord::Base has\_many :addresses, :as =\> :addressable …

---

## [About gps lock](https://www.ruby-forum.com/t/about-gps-lock/245537)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 11, 2013, 8:43am UTC](https://www.ruby-forum.com/t/about-gps-lock/245537 "2013-06-11T08:43:24Z")

</div>

Dear all, I meet a problem about the gpsdo for lock. First I check the usrp-\>get\_mboard\_sensor(“gps\_locked”,0); it indicates the gps is locked. Then the program is sleep for 5 mins. Then I check the gps again but in …

---

## [Accessing Legacy Derby Database From Rails (how to set schema?)](https://www.ruby-forum.com/t/accessing-legacy-derby-database-from-rails-how-to-set-schema/221616)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 23, 2012, 6:24pm UTC](https://www.ruby-forum.com/t/accessing-legacy-derby-database-from-rails-how-to-set-schema/221616 "2012-07-23T18:24:48Z")

</div>

I have a legacy Derby database that I am trying to access from Rails. Here is my database.yml as currently configured: development: adapter: jdbcderby database: db/perm schema: app (also tried APP) My tables are i…

---

## [Aligned memory and posix\_memalign](https://www.ruby-forum.com/t/aligned-memory-and-posix-memalign/204142)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 9, 2011, 1:45am UTC](https://www.ruby-forum.com/t/aligned-memory-and-posix-memalign/204142 "2011-03-09T01:45:46Z")

</div>

A worrisome (to me) issue with the volk library is the use of posix\_memalign() in the qa tests. The worry is: posix\_memalign() will never work on Windows with Microsoft’s runtime library \* That means that code that…

---

## [Print page](https://www.ruby-forum.com/t/print-page/197790)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 20, 2010, 10:30am UTC](https://www.ruby-forum.com/t/print-page/197790 "2010-10-20T10:30:42Z")

</div>

Hello all! Is threre any ways to implement “print version” of radiant pages? Best Regards, Mamed Mamedov

---

## [Proxy\_cache\_key + redirects](https://www.ruby-forum.com/t/proxy-cache-key-redirects/184519)

<div class="topic-metadata">

**Author:** [@mayday](https://www.ruby-forum.com/u/mayday)\
**Replies:** 2\
**Last updated:** [March 3, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/proxy-cache-key-redirects/184519 "2010-03-03T21:03:38Z")

</div>

Hi, community. I’ve installed nginx as proxy-caching server and now got such a problem. One of backend is hosting magento websites, while trying to log in into admin panel (url looks like http://…/admin) system want t…

---

## [Ffmpeg fÃ¼r 	 Windows](https://www.ruby-forum.com/t/ffmpeg-fa-r-windows/161989)

<div class="topic-metadata">

**Author:** [@bluecat](https://www.ruby-forum.com/u/bluecat)\
**Replies:** 2\
**Last updated:** [March 5, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/ffmpeg-fa-r-windows/161989 "2009-03-05T13:09:40Z")

</div>

Hallo Leute, ich möchte dieses Tutorial ausprobieren. Es muss aber ffmpeg installiert werden. Habe leider nur einen Windowsrechner zur Verfügung. Hat jemand von Euch ffmpeg auf Windows installiert? Geht das überh…

---

## [wxDirDialog and show\_modal don't work](https://www.ruby-forum.com/t/wxdirdialog-and-show-modal-dont-work/142378)

<div class="topic-metadata">

**Author:** [@tracerek](https://www.ruby-forum.com/u/tracerek)\
**Replies:** 2\
**Last updated:** [July 8, 2008, 12:51pm UTC](https://www.ruby-forum.com/t/wxdirdialog-and-show-modal-dont-work/142378 "2008-07-08T12:51:46Z")

</div>

Hi, I’m playing around with wxRuby and XRC and I’m unable to create modal WxDirDialog. After opening it I’m always able to get focus on parent window. class TestApp \< Wx::App def on\_init @test = Main.new.show end …

---

## [Nitro/Facets 2.0.3: OgAdminController fails to mount](https://www.ruby-forum.com/t/nitro-facets-2-0-3-ogadmincontroller-fails-to-mount/119151)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 2\
**Last updated:** [November 3, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/nitro-facets-2-0-3-ogadmincontroller-fails-to-mount/119151 "2007-11-03T21:35:50Z")

</div>

When I run this against Nitro trunk the OgAdminController is mounted on /admin/og. Running against the new branch OgAdminController doesn’t get mounted. My hunch is that part code needs more updates… Example copi…

---

## [\#more\_like\_this : strange behaviour](https://www.ruby-forum.com/t/more-like-this-strange-behaviour/109624)

<div class="topic-metadata">

**Author:** [@skade](https://www.ruby-forum.com/u/skade)\
**Replies:** 2\
**Last updated:** [July 17, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/more-like-this-strange-behaviour/109624 "2007-07-17T14:08:08Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have the following Problem: I created a fairly simple sample project to try out acts\_as\_ferret and present the results. The test set is relatively easy: I have ex…

---

## [Advice for RoR begginer, first book](https://www.ruby-forum.com/t/advice-for-ror-begginer-first-book/238747)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [January 27, 2014, 9:29pm UTC](https://www.ruby-forum.com/t/advice-for-ror-begginer-first-book/238747 "2014-01-27T21:29:00Z")

</div>

Hi guys, I’m looking for some help, some advice about which book should get to start to learn Rails. This is not an ordinary case, since I’ve mastered Ruby, the language itself. Been working with it for 2 years, I’ve …

---

## [Forked child processes](https://www.ruby-forum.com/t/forked-child-processes/227494)

<div class="topic-metadata">

**Author:** [@kenfc](https://www.ruby-forum.com/u/kenfc)\
**Replies:** 5\
**Last updated:** [March 18, 2013, 3:47pm UTC](https://www.ruby-forum.com/t/forked-child-processes/227494 "2013-03-18T15:47:22Z")

</div>

Hi, Is there a way to know how many child processes that have been forked by its parent process? The forked process may exit when it finishes, so if parent process needs to know the status, it has to check it regularl…

---

## [How to exit from the forever loop when using "-np" switch?](https://www.ruby-forum.com/t/how-to-exit-from-the-forever-loop-when-using-np-switch/229638)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 5\
**Last updated:** [February 13, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/how-to-exit-from-the-forever-loop-when-using-np-switch/229638 "2013-02-13T17:54:32Z")

</div>

I was trying to see the how they(-n,-p) works in ruby? I tried the below : peter@ubuntu:~$ ruby -np “hi” ^Z \[2\]+ Stopped ruby -np peter@ubuntu:~$ But the above code taking me to an infinite loop. …

---

## [One model or many for a multistep form?](https://www.ruby-forum.com/t/one-model-or-many-for-a-multistep-form/225209)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 24, 2012, 7:01pm UTC](https://www.ruby-forum.com/t/one-model-or-many-for-a-multistep-form/225209 "2012-12-24T19:01:26Z")

</div>

Hey fellas, I am trying to put together a small app to help my university accept applications for one of its summer programs. Currently, they send you an application, you print it, you fill it, scan it, then send it b…

---

## [This modules thing somehow really does not work for me, please help](https://www.ruby-forum.com/t/this-modules-thing-somehow-really-does-not-work-for-me-please-help/214737)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [December 11, 2011, 10:37pm UTC](https://www.ruby-forum.com/t/this-modules-thing-somehow-really-does-not-work-for-me-please-help/214737 "2011-12-11T22:37:49Z")

</div>

Hey, thank you in advance for reading this post. I struggle with modularization / packaging / name spacing (however you want to call it) via ruby modules. I have the feeling that somehow rails is responsible for the …

---

## [File.open of HTML file removes code](https://www.ruby-forum.com/t/file-open-of-html-file-removes-code/206284)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 28, 2011, 8:14am UTC](https://www.ruby-forum.com/t/file-open-of-html-file-removes-code/206284 "2011-04-28T08:14:28Z")

</div>

Hey there, I am trying to edit an erb file in ruby, however when I do: file.open(“index.erb”) It displays the information, but removes the Doctype, html, body, and head tags. Is there any way to read the entire cont…

---

## [\[Bug #2747\] io.dup doesn't handle pos properly](https://www.ruby-forum.com/t/bug-2747-io-dup-doesnt-handle-pos-properly/183490)

<div class="topic-metadata">

**Author:** [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Replies:** 5\
**Last updated:** [February 19, 2010, 11:37am UTC](https://www.ruby-forum.com/t/bug-2747-io-dup-doesnt-handle-pos-properly/183490 "2010-02-19T11:37:28Z")

</div>

Bug #2747: io.dup doesn’t handle pos properly http://redmine.ruby-lang.org/issues/show/2747 e$B5/I\<\<Te(B: Motohiro KOSAKI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1.9.x ruby…

---

## [404 location problem](https://www.ruby-forum.com/t/404-location-problem/181579)

<div class="topic-metadata">

**Author:** [@lnxa](https://www.ruby-forum.com/u/lnxa)\
**Replies:** 5\
**Last updated:** [January 14, 2010, 4:42am UTC](https://www.ruby-forum.com/t/404-location-problem/181579 "2010-01-14T04:42:10Z")

</div>

this configure can’t visit www.abc.com/blog/index.php error 404 but can visit www.abc.com/blog/info.txt I don’t know how to do? please tell me! thanks. server { listen 80; server\_name www.abc.com; root /da…

---

## [Default parameter values for methods in Ruby 1.9](https://www.ruby-forum.com/t/default-parameter-values-for-methods-in-ruby-1-9/172465)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [July 22, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/default-parameter-values-for-methods-in-ruby-1-9/172465 "2009-07-22T12:28:24Z")

</div>

Hi, I expected that the following is valid in Ruby 1.9: def get\_element(auid, document=nil, selector, check\_etag=true) \[…\] end However I get an error: syntax error, unexpected ‘=’, expecting ‘)’ (SyntaxError) …, el…

---

## [How to upgrade an existing application to 2.2.2?](https://www.ruby-forum.com/t/how-to-upgrade-an-existing-application-to-2-2-2/155222)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 5\
**Last updated:** [January 7, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-an-existing-application-to-2-2-2/155222 "2009-01-07T17:17:49Z")

</div>

I apologize for asking such a basic question, but I have a RoR application I started developing last July and would like to continue working on it now. Since that time, I have updated my rails version to 2.2.2 and, s…

---

## [\[1.9:Feature\] faster bignum multiplication by karatsuba method](https://www.ruby-forum.com/t/1-9-feature-faster-bignum-multiplication-by-karatsuba-method/155442)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 5\
**Last updated:** [December 14, 2008, 5:03am UTC](https://www.ruby-forum.com/t/1-9-feature-faster-bignum-multiplication-by-karatsuba-method/155442 "2008-12-14T05:03:14Z")

</div>

e$B1sF#$G$9!#e(B Python e$B$N%=!\<%9$r;29M$K$7$F!"e(Bbignum e$B$N\>h;;$re(B Karatsuba e$BK!$J$I$Ge(B e$B9bB.2=$7$F$\_$^$7$?!#e(B e$B%Y%s%A%^!\<%/$9$k$H$3$s$J46$8$G$9!#e(B e$B5le(B …

---

## [What's different between self.method and class \<\< self?](https://www.ruby-forum.com/t/whats-different-between-self-method-and-class-self/151424)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 5\
**Last updated:** [October 21, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/whats-different-between-self-method-and-class-self/151424 "2008-10-21T21:38:38Z")

</div>

we can define a instance method in lots way. mostly, I saw people define like this: 1. class A def self.class\_method #some code here… end end class A class \<\< self def class\_method #some code here… end e…

---

## [Problema con oberserve\_field](https://www.ruby-forum.com/t/problema-con-oberserve-field/144110)

<div class="topic-metadata">

**Author:** [@admon](https://www.ruby-forum.com/u/admon)\
**Replies:** 5\
**Last updated:** [July 27, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/problema-con-oberserve-field/144110 "2008-07-27T16:49:41Z")

</div>

Saludos a todos. Tengo un problema con mi aplicaciÃ³n. Lo que pretendo es que, al cambiar el valor de un select, se me actualice una parte de la pÃ¡gina, mostrando la informacion segun el valor del select. Estos son …

---

## [Gsub! and quoting question](https://www.ruby-forum.com/t/gsub-and-quoting-question/114247)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 5\
**Last updated:** [September 10, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/gsub-and-quoting-question/114247 "2007-09-10T16:20:37Z")

</div>

I thought this would be a trivial task, but it seems to be more difficult than expected: I have a variable, data, containing some string. I would like to preprend every single apostrophe in this string by a backslash…

---

## [Frustration with dapper -\> feisty](https://www.ruby-forum.com/t/frustration-with-dapper-feisty/103492)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 5\
**Last updated:** [May 11, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/frustration-with-dapper-feisty/103492 "2007-05-11T13:33:11Z")

</div>

I updated my server from dapper drake to feisty fawn this weekend and all seemed to go fine. However, I’m now getting nothing but Internal Server Error 500 on my rails apps. Non-rails apps are fine… It doesn’t seem …

---

## [Why does popen3 fork a grandchild?](https://www.ruby-forum.com/t/why-does-popen3-fork-a-grandchild/88878)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [March 16, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/why-does-popen3-fork-a-grandchild/88878 "2007-03-16T13:27:11Z")

</div>

So I wanted to know why the global variable $? wasn’t being set to reflect the exit status of the subprocess when using popen3; I checked the list archives and saw that this has come up many times and that the cause i…

---

## [Site5 Nightmare](https://www.ruby-forum.com/t/site5-nightmare/84999)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 5\
**Last updated:** [February 10, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/site5-nightmare/84999 "2007-02-10T20:16:42Z")

</div>

Hi all, I’m absolutely tearing my hair out here… I’ve been fighting with a RoR install on Site5 all afternoon. First off, the app was running just fine, and is deployed via capistrano. I added page caching, a piston…

---

## [Relationship Advice - who do I belong to & can I have many?](https://www.ruby-forum.com/t/relationship-advice-who-do-i-belong-to-can-i-have-many/72904)

<div class="topic-metadata">

**Author:** [@mic](https://www.ruby-forum.com/u/mic)\
**Replies:** 5\
**Last updated:** [October 20, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/relationship-advice-who-do-i-belong-to-can-i-have-many/72904 "2006-10-20T18:26:02Z")

</div>

I am trying to figure out the has / belongs\_to etc relationship for rails but everyone always uses very abstract examples. Could someone fill in the blanks on the following example I came up with over lunch? In my ac…

---

## [A nicer-looking ri](https://www.ruby-forum.com/t/a-nicer-looking-ri/70450)

<div class="topic-metadata">

**Author:** [@gnuvince](https://www.ruby-forum.com/u/gnuvince)\
**Replies:** 5\
**Last updated:** [October 1, 2006, 10:02am UTC](https://www.ruby-forum.com/t/a-nicer-looking-ri/70450 "2006-10-01T10:02:28Z")

</div>

Hello ! I’m recently in a shell scripting mood, and I came up with some small code that makes ri output look a fair deal nicer (at least on my box). If you put the following function definition in your shell’s init sc…

---

## [Include existing C/C++ libraries in Ruby](https://www.ruby-forum.com/t/include-existing-c-c-libraries-in-ruby/101419)

<div class="topic-metadata">

**Author:** [@rtijoriwala](https://www.ruby-forum.com/u/rtijoriwala)\
**Replies:** 5\
**Last updated:** [August 4, 2006, 9:33pm UTC](https://www.ruby-forum.com/t/include-existing-c-c-libraries-in-ruby/101419 "2006-08-04T21:33:19Z")

</div>

I want to use my existing C/C++ libraries in Ruby and is there a way to do that? I tried SWIG but it doesn’t work out that good for complex objects and methods that I have in my libraries. Any other ways to accomplish…

---

## [Newbie question about Agile Rails book - Delete from cart](https://www.ruby-forum.com/t/newbie-question-about-agile-rails-book-delete-from-cart/64467)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 5\
**Last updated:** [June 26, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/newbie-question-about-agile-rails-book-delete-from-cart/64467 "2006-06-26T17:26:47Z")

</div>

I have been working through the Agile Web D. with Rails book doing the Depot tutorial. I have completed it and it works but I cant say I understand how and why. My question is this “After adding products to the Cart, …

---

## [Nihongo Benkyo 0.3](https://www.ruby-forum.com/t/nihongo-benkyo-0-3/100054)

<div class="topic-metadata">

**Author:** [@mblondel](https://www.ruby-forum.com/u/mblondel)\
**Replies:** 5\
**Last updated:** [November 17, 2005, 7:34pm UTC](https://www.ruby-forum.com/t/nihongo-benkyo-0-3/100054 "2005-11-17T19:34:15Z")

</div>

Hi all, I’m pleased to announce that Nihongo Benkyo 0.3 has finally been released! Highlights Support for Windows, in addition to Linux. View further details about a result. Kanji dictionary. History and go back/for…

---

## [Undefined method \`scope' for non ActiveRecord class](https://www.ruby-forum.com/t/undefined-method-scope-for-non-activerecord-class/226368)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [July 21, 2012, 11:50pm UTC](https://www.ruby-forum.com/t/undefined-method-scope-for-non-activerecord-class/226368 "2012-07-21T23:50:37Z")

</div>

I am trying to use the geocoding capabilities into a table less model , but the method :scope is not defined … is there a way to include it ? class SearchLocation require ‘geocoder’ include ActiveModel::Validations …

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

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