# Top

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

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

---

## [Mongrel\_rails can't find memcache-client](https://www.ruby-forum.com/t/mongrel-rails-cant-find-memcache-client/185658)

<div class="topic-metadata">

**Author:** [@t\_s](https://www.ruby-forum.com/u/t_s)\
**Replies:** 2\
**Last updated:** [April 23, 2010, 7:47am UTC](https://www.ruby-forum.com/t/mongrel-rails-cant-find-memcache-client/185658 "2010-04-23T07:47:35Z")

</div>

I added memcache-client to our app: config.gem “memcache-client”, :version =\> “1.8.1” According to “gem list” the gem is there: memcache-client (1.8.1) If I run our app with “script/server” everything works just fine…

---

## [Tempfile.rb and unlink on windows](https://www.ruby-forum.com/t/tempfile-rb-and-unlink-on-windows/168324)

<div class="topic-metadata">

**Author:** [@modethree3](https://www.ruby-forum.com/u/modethree3)\
**Replies:** 2\
**Last updated:** [May 19, 2009, 9:16pm UTC](https://www.ruby-forum.com/t/tempfile-rb-and-unlink-on-windows/168324 "2009-05-19T21:16:33Z")

</div>

PROBLEM Was setting up a rails projects on a windows machine for and the project required RubyInline. When running rake db:migrate for the first time RubyInline creates a temp file to ensure it can have access to som…

---

## [Writing developer's document and user's document](https://www.ruby-forum.com/t/writing-developers-document-and-users-document/223427)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [October 5, 2012, 8:05am UTC](https://www.ruby-forum.com/t/writing-developers-document-and-users-document/223427 "2012-10-05T08:05:02Z")

</div>

I have developed a software using DRb, now as I have completed I want to write a nice complete and impressive developer document and user document. I have just started with Latex and IPE. Is there any other software t…

---

## [Extending class, namespace question](https://www.ruby-forum.com/t/extending-class-namespace-question/222189)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [August 18, 2012, 9:38am UTC](https://www.ruby-forum.com/t/extending-class-namespace-question/222189 "2012-08-18T09:38:35Z")

</div>

Hi everybody, I have this: class Fixnum def times\_print(str) times { puts str } end end module Bb def self.test 10.times\_print(‘foo’) end test end It works… But if some other .rb uses the same name for its …

---

## [\--with-debug compile option](https://www.ruby-forum.com/t/with-debug-compile-option/220980)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 27, 2012, 8:21am UTC](https://www.ruby-forum.com/t/with-debug-compile-option/220980 "2012-06-27T08:21:01Z")

</div>

Hi, I need to compile Nginx with --with-debug option. Will there be any performance implications if I have this flag set but NOT set the error log to debug\_\* when I don’t want to debug or troubleshoot any issue? Pos…

---

## [RCR feedback: Numeric#grouped](https://www.ruby-forum.com/t/rcr-feedback-numeric-grouped/203027)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 11, 2011, 5:33pm UTC](https://www.ruby-forum.com/t/rcr-feedback-numeric-grouped/203027 "2011-02-11T17:33:41Z")

</div>

Hello all. I notice in ruby there’s an easy to way to input “separated” number: 1\_000\_000 1\_000\_000.0 But there doesn’t seem to be an easy way to “separate” digits when outputting. At least I’m not aware of any. T…

---

## [Rewrite Performance Question](https://www.ruby-forum.com/t/rewrite-performance-question/191822)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 8\
**Last updated:** [July 20, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/rewrite-performance-question/191822 "2010-07-20T12:24:43Z")

</div>

Hi, come some take a look at these rewrite rules if they are ok regarding performance? if ($host = 'forum.de' ) { rewrite ^/(.\*)$ http://www.forum.de:81/$1 permanent; } if ($host ~\* ^(www\\.)??foru…

---

## [\[ANN\] activerecord-jdbc-adapter 0.9.2](https://www.ruby-forum.com/t/ann-activerecord-jdbc-adapter-0-9-2/176607)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 8\
**Last updated:** [October 14, 2009, 2:09pm UTC](https://www.ruby-forum.com/t/ann-activerecord-jdbc-adapter-0-9-2/176607 "2009-10-14T14:09:59Z")

</div>

Hi all, Just pushed the new activerecord-jdbc-adapter 0.9.2 release. It brings compatibility up to a new level, works with JRuby trunk and the soon-to-be-released JRuby 1.4, and many other fixes ( issues fixed in tot…

---

## [Route to static folder (to browse files)](https://www.ruby-forum.com/t/route-to-static-folder-to-browse-files/172494)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 3\
**Last updated:** [July 22, 2009, 3:26pm UTC](https://www.ruby-forum.com/t/route-to-static-folder-to-browse-files/172494 "2009-07-22T15:26:15Z")

</div>

Hi - I want to enable access to a directory inside my app’s public folder. This means that when a user will navigate to 应用宝官网-全网最新最热手机应用游戏下载, he will actually be accessing the root of RAILS\_ROOT/public/files. This fo…

---

## [How to validate with validates\_associated](https://www.ruby-forum.com/t/how-to-validate-with-validates-associated/171804)

<div class="topic-metadata">

**Author:** [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Replies:** 8\
**Last updated:** [July 11, 2009, 3:33am UTC](https://www.ruby-forum.com/t/how-to-validate-with-validates-associated/171804 "2009-07-11T03:33:34Z")

</div>

Hi , i am facing strange problem i want to validate two models through validates\_associated, class Cpanel::Banner \< ActiveRecord::Base has\_one :bannerimage validates\_associated :bannerimage validates\_presence\_of :ti…

---

## [Mongrel Handlers on Jruby or Ruby 1.9](https://www.ruby-forum.com/t/mongrel-handlers-on-jruby-or-ruby-1-9/164485)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 3\
**Last updated:** [April 2, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/mongrel-handlers-on-jruby-or-ruby-1-9/164485 "2009-04-02T17:25:07Z")

</div>

Dear Mongrel Users, I wanted to try using mongrel handlers running on JRuby. I am not sure if this stack is possible. Can anyone let me know if they have tried it and if so, what has been the performance difference. …

---

## [Assert\_select / assert\_tag issue](https://www.ruby-forum.com/t/assert-select-assert-tag-issue/124974)

<div class="topic-metadata">

**Author:** [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Replies:** 3\
**Last updated:** [January 21, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/assert-select-assert-tag-issue/124974 "2009-01-21T13:07:26Z")

</div>

Upgraded to RoR 2.0 on Mac OS X - and cannot seem to get assert\_select or the supposedly deprecated assert\_tag to work. - Asserts are fairly simple and so is the page being tested - see below for HTML and different er…

---

## [Problem with ssl](https://www.ruby-forum.com/t/problem-with-ssl/147919)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 3\
**Last updated:** [September 7, 2008, 7:48am UTC](https://www.ruby-forum.com/t/problem-with-ssl/147919 "2008-09-07T07:48:34Z")

</div>

Hi I am new to nginx. I am running Fedora Core 8 and have installed nginx from source. I am planning on using it for it’s load balancing ability. I have it set up and working for port 80 and it is working very nic…

---

## [Win32Ole, MAPI, and Outlook](https://www.ruby-forum.com/t/win32ole-mapi-and-outlook/132497)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 3\
**Last updated:** [March 25, 2008, 6:42am UTC](https://www.ruby-forum.com/t/win32ole-mapi-and-outlook/132497 "2008-03-25T06:42:55Z")

</div>

Hello Everybody, I’m trying to make a Ruby Script that adds contacts to Microsoft outlook via Ruby’s Win32OLE and MAPI. So it works for the most part, but I’m having trouble trying to handle exceptions… The big proble…

---

## [Some file operations](https://www.ruby-forum.com/t/some-file-operations/115644)

<div class="topic-metadata">

**Author:** [@blufur](https://www.ruby-forum.com/u/blufur)\
**Replies:** 8\
**Last updated:** [September 27, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/some-file-operations/115644 "2007-09-27T14:57:01Z")

</div>

A couple quick questions: how can my ruby program tell me how many lines are in a text file? how can i have my ruby program edit the last line of a text file (not add another line at the end, but get and then change t…

---

## [jEdit can run code like TextMate does?](https://www.ruby-forum.com/t/jedit-can-run-code-like-textmate-does/114858)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 8\
**Last updated:** [September 22, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/jedit-can-run-code-like-textmate-does/114858 "2007-09-22T16:11:22Z")

</div>

I am using jEdit on windows for Ruby, and it seems to lack a function to run code by popping up a new window. (by pressing F5 like in IDLE for Python, or %-R for mac using TextMate). The result window on TextMate l…

---

## [C(++) For Loop Equivalents](https://www.ruby-forum.com/t/c-for-loop-equivalents/89377)

<div class="topic-metadata">

**Author:** [@studlee2](https://www.ruby-forum.com/u/studlee2)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/c-for-loop-equivalents/89377 "2007-03-20T21:45:46Z")

</div>

What is the most efficient way in Ruby to create a conditional loop in Ruby that looks like this in C(++): for(int i=0; i\*j/2\<maxNum; i++) { //cool method stuff } I was looking at the .upto() method but it doesn’t …

---

## [How to sort the file contents by counrty names](https://www.ruby-forum.com/t/how-to-sort-the-file-contents-by-counrty-names/238398)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [January 9, 2014, 10:39am UTC](https://www.ruby-forum.com/t/how-to-sort-the-file-contents-by-counrty-names/238398 "2014-01-09T10:39:59Z")

</div>

I want to sort the file contents by country names : require ‘nokogiri’ file\_str = “C:\\Users\\TAX PAGE PROD\\Production\_validation.xml” File.open(file\_str) do |f| doc = Nokogiri::XML(f) @node\_set = doc.xpath("//field\[@…

---

## [Ignore part of URL to force caching?](https://www.ruby-forum.com/t/ignore-part-of-url-to-force-caching/223450)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 5, 2012, 5:46pm UTC](https://www.ruby-forum.com/t/ignore-part-of-url-to-force-caching/223450 "2012-10-05T17:46:29Z")

</div>

I would like to “override” the intent of the app server that is basically disabling any caching of the backend file. For example, they are embedding a “noCache=#######” parameter at the end of the URL (there are othe…

---

## [Unable to receive using USRP N210, XCVR2450 daughterboards running benchmark programs](https://www.ruby-forum.com/t/unable-to-receive-using-usrp-n210-xcvr2450-daughterboards-running-benchmark-programs/215572)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 4, 2012, 7:55am UTC](https://www.ruby-forum.com/t/unable-to-receive-using-usrp-n210-xcvr2450-daughterboards-running-benchmark-programs/215572 "2012-02-04T07:55:14Z")

</div>

Hi All, I´m new to GNUradio and have run into the basic problem of the receiver USRP device not being able to decode the senderś transmission. For our experiments, we used GNUradio (MAJOR\_VERSION=3, API\_COMPAT=5, MIN…

---

## [MySQL connect question](https://www.ruby-forum.com/t/mysql-connect-question/203268)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 16, 2011, 9:44pm UTC](https://www.ruby-forum.com/t/mysql-connect-question/203268 "2011-02-16T21:44:14Z")

</div>

Hey guys, I’m trying to get JRuby to talk to mysql. Can’t beleive how much of a pain in the butt this is! After searching the web I’m beginning to believe this is a right of passage! Satish’s blog post here: has hel…

---

## [Ruby script/plugin install not working](https://www.ruby-forum.com/t/ruby-script-plugin-install-not-working/168168)

<div class="topic-metadata">

**Author:** [@tispratik](https://www.ruby-forum.com/u/tispratik)\
**Replies:** 5\
**Last updated:** [May 18, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/ruby-script-plugin-install-not-working/168168 "2009-05-18T16:58:47Z")

</div>

Windows OS. Am running the following command to install authlogic. But the command is not working. Running the script creates an empty folder named authlogic inside /vendor/plugins directory but no files are copied i…

---

## [Deciphering objects.log](https://www.ruby-forum.com/t/deciphering-objects-log/117088)

<div class="topic-metadata">

**Author:** [@carlos](https://www.ruby-forum.com/u/carlos)\
**Replies:** 5\
**Last updated:** [October 14, 2007, 2:48am UTC](https://www.ruby-forum.com/t/deciphering-objects-log/117088 "2007-10-14T02:48:27Z")

</div>

Howdy – I’ve been tracking down mem leaks (oh, the fun…), and I think there is a clue in objects.log. There are a few mentions of this file, but usually Zed saying “look at this file and it will help you”. Can anyone …

---

## [Correct way to integrate bootstrap themes with rails app](https://www.ruby-forum.com/t/correct-way-to-integrate-bootstrap-themes-with-rails-app/239281)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [February 21, 2014, 7:20am UTC](https://www.ruby-forum.com/t/correct-way-to-integrate-bootstrap-themes-with-rails-app/239281 "2014-02-21T07:20:49Z")

</div>

Hello All, I want to integrate bootstrap admin themes into my rails app. What is the correct way to integrate ? Should I directly copy paste all the js, css & other files into the project ? Or I should go with the …

---

## [Setting a header inside an if block](https://www.ruby-forum.com/t/setting-a-header-inside-an-if-block/238962)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 6, 2014, 9:11pm UTC](https://www.ruby-forum.com/t/setting-a-header-inside-an-if-block/238962 "2014-02-06T21:11:27Z")

</div>

I currently have: server{ … if ($remote\_user = “”) { return 401; } … } But what I really want is: server{ … if ($remote\_user = “”) { add\_header WWW-Authenticate ‘Basic realm=“mydomainhere.com”’; return 401; …

---

## [First Model Macro](https://www.ruby-forum.com/t/first-model-macro/215203)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 26, 2011, 10:44pm UTC](https://www.ruby-forum.com/t/first-model-macro/215203 "2011-12-26T22:44:46Z")

</div>

Hello all, I trust you are having a good one. I’m just trying out macros and my first one is taken from the RSpec book which replaces … @obj.should\_not be\_valid @obj.should have(1).error\_on(:attr) with the macro… s…

---

## [Latest UHD version: error after update while trying to compile GRC model](https://www.ruby-forum.com/t/latest-uhd-version-error-after-update-while-trying-to-compile-grc-model/207835)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 3, 2011, 7:57pm UTC](https://www.ruby-forum.com/t/latest-uhd-version-error-after-update-while-trying-to-compile-grc-model/207835 "2011-06-03T19:57:54Z")

</div>

Dear list, I get a strange error when trying to compile a GRC model: – Opening a USRP2/N-Series device… Traceback (most recent call last): File “/home/vl/GnuRadio/Surse/top\_block.py”, line 43, in tb = top\_block() …

---

## [Extrayendo el contenido de un TMail::MessageIdHeader](https://www.ruby-forum.com/t/extrayendo-el-contenido-de-un-tmail-messageidheader/147639)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 4\
**Last updated:** [September 4, 2008, 1:38pm UTC](https://www.ruby-forum.com/t/extrayendo-el-contenido-de-un-tmail-messageidheader/147639 "2008-09-04T13:38:12Z")

</div>

Hola gente, Tengo un email con imágenes adjuntas que están directamente referenciadas en el body (html) del propio email de tal modo que el cliente al abrir el email incrusta las imágenes adjuntas directamente en la …

---

## [Troubles with bcrypt-ruby](https://www.ruby-forum.com/t/troubles-with-bcrypt-ruby/222908)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 19, 2012, 2:34pm UTC](https://www.ruby-forum.com/t/troubles-with-bcrypt-ruby/222908 "2012-10-19T14:34:47Z")

</div>

I am trying to set password with bcrypt-ruby and mongoid but whatever I do I get “Password digest can’t be blank”. Model class User include Mongoid::Document include Mongoid::Timestamps include ActiveModel::SecurePa…

---

## [OOK Modulation](https://www.ruby-forum.com/t/ook-modulation/223669)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 15, 2012, 4:33pm UTC](https://www.ruby-forum.com/t/ook-modulation/223669 "2012-10-15T16:33:31Z")

</div>

Hello, I am working on creating a OOK Modulation block. I have created a block using the bpsk.py file as an example. I changed the constellation points such that 1+0j and 0+0j. I am now trying to change the waveform t…

---

## [Can't activate gem because diff version already activated](https://www.ruby-forum.com/t/cant-activate-gem-because-diff-version-already-activated/142896)

<div class="topic-metadata">

**Author:** [@levander](https://www.ruby-forum.com/u/levander)\
**Replies:** 1\
**Last updated:** [September 7, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/cant-activate-gem-because-diff-version-already-activated/142896 "2008-09-07T22:49:25Z")

</div>

I’ve just done a ‘gem install junebug-wiki’. The 1st step to using junebug is to create a wiki instance. Trying to do that, I get this error: =========================================== levander@judas:~$ junebug te…

---

## [A Must Read!](https://www.ruby-forum.com/t/a-must-read/116194)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 4, 2007, 11:22am UTC](https://www.ruby-forum.com/t/a-must-read/116194 "2007-10-04T11:22:55Z")

</div>

I have found an excellent resource on Object Oriented Programming. http://technical-talk.com/SoftDev/OOP/OOPBASICS.asp

---

## [\[require\] le faire marcher dans tous les cas](https://www.ruby-forum.com/t/require-le-faire-marcher-dans-tous-les-cas/104973)

<div class="topic-metadata">

**Author:** [@lowx512](https://www.ruby-forum.com/u/lowx512)\
**Replies:** 7\
**Last updated:** [May 28, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/require-le-faire-marcher-dans-tous-les-cas/104973 "2007-05-28T16:04:28Z")

</div>

Salut j’aimerais utiliser dans un modèle un autre fichier. Pour ça, je place donc un require en début de fichier. Ca marche bien dans l’applciation Rails, mais pas quand je rake db:migrate, par exemple. Comment puis…

---

## [OT Mexican domains?](https://www.ruby-forum.com/t/ot-mexican-domains/61787)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 7\
**Last updated:** [May 27, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/ot-mexican-domains/61787 "2006-05-27T17:09:50Z")

</div>

Hola! In case there are some mexican readers here… It is little difficult for an english speaker to find information about mexican domains. Is it possible to register a domain like “fiesta.mx”? I have seen sites sell…

---

## [Problem with Creating table With MYSQL](https://www.ruby-forum.com/t/problem-with-creating-table-with-mysql/242660)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [July 14, 2015, 7:38am UTC](https://www.ruby-forum.com/t/problem-with-creating-table-with-mysql/242660 "2015-07-14T07:38:31Z")

</div>

I have one question Shall I create a table with uppercase in Mysql from ruby on rails. becoz whatever iam giving the tablename only table creation format like 1.lowercase 2.underscore 3.plural example tab\_names . …

---

## [Best way start fresh install OSX](https://www.ruby-forum.com/t/best-way-start-fresh-install-osx/239101)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [February 13, 2014, 5:55am UTC](https://www.ruby-forum.com/t/best-way-start-fresh-install-osx/239101 "2014-02-13T05:55:59Z")

</div>

I’ve installed multiple versions in multiple places trying to get everything up and working, what’s the best way to start fresh? Below are some of the errors with brew and the different ways I’ve tried to install Rub…

---

## [Delay of synchronization with PPS and UHD on USRP2](https://www.ruby-forum.com/t/delay-of-synchronization-with-pps-and-uhd-on-usrp2/188976)

<div class="topic-metadata">

**Author:** [@SSSSSSSSS\_SSSS](https://www.ruby-forum.com/u/SSSSSSSSS_SSSS)\
**Replies:** 6\
**Last updated:** [May 24, 2010, 9:47pm UTC](https://www.ruby-forum.com/t/delay-of-synchronization-with-pps-and-uhd-on-usrp2/188976 "2010-05-24T21:47:10Z")

</div>

Hi, These days I am trying to synchronize two USRP2 with PPS signal and UHD. The two USRP2 is connect with same reference clock and PPS signal. I use function “set\_time\_next\_pps(uhd::time\_spec\_t(0))” to set time to …

---

## [Setting partial stub for just one value and letting obj handle the rest](https://www.ruby-forum.com/t/setting-partial-stub-for-just-one-value-and-letting-obj-handle-the-rest/186190)

<div class="topic-metadata">

**Author:** [@drewB](https://www.ruby-forum.com/u/drewB)\
**Replies:** 6\
**Last updated:** [April 2, 2010, 3:37am UTC](https://www.ruby-forum.com/t/setting-partial-stub-for-just-one-value-and-letting-obj-handle-the-rest/186190 "2010-04-02T03:37:00Z")

</div>

Occasionally, I find myself in a situation where I want to have a mock obj returned if a method is called with a particular argument but handled normally otherwise. For example, lets say I have a Model named User and…

---

## [Problems installing/compiling gnuradio-companion in Ubuntu 12.04](https://www.ruby-forum.com/t/problems-installing-compiling-gnuradio-companion-in-ubuntu-12-04/220808)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 21, 2012, 6:42pm UTC](https://www.ruby-forum.com/t/problems-installing-compiling-gnuradio-companion-in-ubuntu-12-04/220808 "2012-06-21T18:42:33Z")

</div>

Hello, did not find in the wiki, did google but not found any special information… I am also new to gnuradio, so maybe I just don’t yet know the right place where to look… I am trying to install gnuradio and gnuradio…

---

## [Problems Including com.sun.awt.AWTUtilities class](https://www.ruby-forum.com/t/problems-including-com-sun-awt-awtutilities-class/205443)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 7, 2011, 9:01pm UTC](https://www.ruby-forum.com/t/problems-including-com-sun-awt-awtutilities-class/205443 "2011-04-07T21:01:18Z")

</div>

I am having trouble including the com.sun.awt.AWTUtilities class on my JRuby project. I need it to apply a transparency effect on a frame on my desktop app. java\_import and import give me this error NameError: cannot …

---

## [JRuby on windows thru proxy gem install fails](https://www.ruby-forum.com/t/jruby-on-windows-thru-proxy-gem-install-fails/172907)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 2\
**Last updated:** [November 23, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/jruby-on-windows-thru-proxy-gem-install-fails/172907 "2009-11-23T14:57:47Z")

</div>

Has anyone run into this problem? Installed Jruby 1.3.1 from the windows installation exe. Installed cntlm service to authenticate the proxy server here at my work. When I do a gem list -r, I’ll get a list of all the…

---

## [Where to find Ruby for the Amiga?](https://www.ruby-forum.com/t/where-to-find-ruby-for-the-amiga/52656)

<div class="topic-metadata">

**Author:** [@erikbauer](https://www.ruby-forum.com/u/erikbauer)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 9:03am UTC](https://www.ruby-forum.com/t/where-to-find-ruby-for-the-amiga/52656 "2006-01-18T09:03:59Z")

</div>

‘Hello World’ there, my first post. Now for the question: I red on Ruby’s main homepage that an Amiga version should be available, but searching over the net gives me no download links at all. Can someone of you plea…

---

## [How to Buy and Sell Used Textbooks in Singapore](https://www.ruby-forum.com/t/how-to-buy-and-sell-used-textbooks-in-singapore/261935)

<div class="topic-metadata">

**Author:** [@sumiyaakter2007](https://www.ruby-forum.com/u/sumiyaakter2007)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 5:30am UTC](https://www.ruby-forum.com/t/how-to-buy-and-sell-used-textbooks-in-singapore/261935 "2021-10-11T05:30:39Z")

</div>

Do you spend a fortune on new textbooks every school term. Fret not, country wise email list because a solution has been found. If you live in Singapore, a number of textbook exchange websites have been created in the c…

---

## [Different load order in rails console vs rspec tests?](https://www.ruby-forum.com/t/different-load-order-in-rails-console-vs-rspec-tests/202438)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 29, 2011, 12:50am UTC](https://www.ruby-forum.com/t/different-load-order-in-rails-console-vs-rspec-tests/202438 "2011-01-29T00:50:54Z")

</div>

I’ve written a simple module to extend ActiveRecord::Base, which works fine in the rails console but fails miserably in rspec tests. The intended usage looks like this: class Premise \< ActiveRecord::Base has\_my\_exte…

---

## [Enter key issue with RichTextCtrl](https://www.ruby-forum.com/t/enter-key-issue-with-richtextctrl/152685)

<div class="topic-metadata">

**Author:** [@chauk-mean](https://www.ruby-forum.com/u/chauk-mean)\
**Replies:** 3\
**Last updated:** [November 6, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/enter-key-issue-with-richtextctrl/152685 "2008-11-06T14:00:17Z")

</div>

Hi, I’m trying to use RichTextCtrl available with wxRuby 1.9.9 instead of TextCtrl and the Enter key does not work (as what I expect). With TextCtrl (with Wx::TE\_MULTILINE), the Enter key creates a new line of text. …

---

## [Ruby-oci8 build fails](https://www.ruby-forum.com/t/ruby-oci8-build-fails/119049)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [November 3, 2007, 2:21am UTC](https://www.ruby-forum.com/t/ruby-oci8-build-fails/119049 "2007-11-03T02:21:29Z")

</div>

I’m trying to build the ruby-oci8 with the Oracle Instant Client on OS X. The Instant Client works, and the make seems to be ok with it up until OCIInitialize(). Anybody got this to work? \[relevant output\] /System/Li…

---

## [How to pass an array through url\_for](https://www.ruby-forum.com/t/how-to-pass-an-array-through-url-for/114064)

<div class="topic-metadata">

**Author:** [@aotianlong](https://www.ruby-forum.com/u/aotianlong)\
**Replies:** 3\
**Last updated:** [September 7, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/how-to-pass-an-array-through-url-for/114064 "2007-09-07T17:45:12Z")

</div>

hi , every one. i just want to generate url from url\_for method like this: url\_for(:controller=\>“users”,:action=\>“index”,:names=\>\[“aotianlong”,“ayowaya”\]) i except it’s generate users?names\[\]=aotianlong&names\[\]=ayow…

---

## [Real life use of multiple linked models in the same view](https://www.ruby-forum.com/t/real-life-use-of-multiple-linked-models-in-the-same-view/61493)

<div class="topic-metadata">

**Author:** [@Sorin\_Sbarnea](https://www.ruby-forum.com/u/Sorin_Sbarnea)\
**Replies:** 3\
**Last updated:** [May 26, 2006, 1:58pm UTC](https://www.ruby-forum.com/t/real-life-use-of-multiple-linked-models-in-the-same-view/61493 "2006-05-26T13:58:18Z")

</div>

I’m pretty new to Rails and now, in order to fully learn RoR, I’m trying to replicate a project developed in Java using Hibernate+Tapestry. Tapestry is based on components and you can really use objects mappings in vi…

---

## [Requests being blocked client-side](https://www.ruby-forum.com/t/requests-being-blocked-client-side/240401)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 17, 2014, 4:25am UTC](https://www.ruby-forum.com/t/requests-being-blocked-client-side/240401 "2014-04-17T04:25:05Z")

</div>

I am seeing super strange behavior and I am absolutely stumped. If I open up two tabs in Google Chrome (34), and in the first refresh our application (foo.ourapp.com), which makes an ajax requests (via jQuery) that ta…

---

## [Storing RSS feed in the Database](https://www.ruby-forum.com/t/storing-rss-feed-in-the-database/84272)

<div class="topic-metadata">

**Author:** [@Rails\_junkie](https://www.ruby-forum.com/u/Rails_junkie)\
**Replies:** 5\
**Last updated:** [February 6, 2007, 7:03am UTC](https://www.ruby-forum.com/t/storing-rss-feed-in-the-database/84272 "2007-02-06T07:03:59Z")

</div>

Hello all, I have a requirement where I need to monitor a RSS feed.Once there is an update,I need t parse the title and content and store it in my DB table? Is this possible? Any ideas? Would appreciate any help. T…

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

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