# Top

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

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

---

## [Strangeness with calling super class methods from JRuby](https://www.ruby-forum.com/t/strangeness-with-calling-super-class-methods-from-jruby/204841)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 23, 2011, 12:46pm UTC](https://www.ruby-forum.com/t/strangeness-with-calling-super-class-methods-from-jruby/204841 "2011-03-23T12:46:00Z")

</div>

Hi all I’m encountering this rather strange issue. I have this setup going. JavaClass.java public class JavaClass { public void pushString() { … } } RubyClass.rb class RubyClass \< JavaClass def pushString supe…

---

## [Cardmagic / contacts to import email contacts (GMAIL,Y!, etc.)](https://www.ruby-forum.com/t/cardmagic-contacts-to-import-email-contacts-gmail-y-etc/200626)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 1\
**Last updated:** [December 17, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/cardmagic-contacts-to-import-email-contacts-gmail-y-etc/200626 "2010-12-17T19:55:14Z")

</div>

Hello, I’m looking for a solution to allow users to import their contact lists. The Contacts Gem seems to be the only solution out there. Is it correct that the contacts gem screen scrapes and doesn’t use the provide…

---

## [Mocking a Model Class and a View with RSpec-Rails](https://www.ruby-forum.com/t/mocking-a-model-class-and-a-view-with-rspec-rails/200269)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 8, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/mocking-a-model-class-and-a-view-with-rspec-rails/200269 "2010-12-08T20:03:17Z")

</div>

Hi all, I’m new to RSpec and to TDD/Agile methods in general (by “new” I mean I’m about 4/5 of the way through The RSpec Book and haven’t yet actually implemented the practices in my projects), so this question may s…

---

## [Routes are not recognized in request specs after upgrading to 2.2](https://www.ruby-forum.com/t/routes-are-not-recognized-in-request-specs-after-upgrading-to-2-2/229182)

<div class="topic-metadata">

**Author:** [@ESLitwin](https://www.ruby-forum.com/u/ESLitwin)\
**Replies:** 1\
**Last updated:** [December 4, 2010, 3:35am UTC](https://www.ruby-forum.com/t/routes-are-not-recognized-in-request-specs-after-upgrading-to-2-2/229182 "2010-12-04T03:35:54Z")

</div>

I’m getting undefined local variable or method \`users\_path’ (as an example) my request spec tests after upgrading to 2.2.0 from 2.1.0. I haven’t really changed these tests from the generated code but am curious as to …

---

## [How to connect LP0410 to the daughter board?](https://www.ruby-forum.com/t/how-to-connect-lp0410-to-the-daughter-board/199215)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 16, 2010, 9:15pm UTC](https://www.ruby-forum.com/t/how-to-connect-lp0410-to-the-daughter-board/199215 "2010-11-16T21:15:07Z")

</div>

Hi, We bought several LP0410 antennas, but not sure how to connect them to the daughter board. The LP0926 has a male SMA connector to it, but the LP0410 doesn’t. That means we need to buy an SMA connector and solder…

---

## [Sending data to gnuradio](https://www.ruby-forum.com/t/sending-data-to-gnuradio/191634)

<div class="topic-metadata">

**Author:** [@Garrett\_Wenger](https://www.ruby-forum.com/u/Garrett_Wenger)\
**Replies:** 1\
**Last updated:** [July 16, 2010, 10:20am UTC](https://www.ruby-forum.com/t/sending-data-to-gnuradio/191634 "2010-07-16T10:20:35Z")

</div>

Hi all, I am trying to use a use a file source block to read data from a fifo so that eventually I can process data sent by another computer. I wrote a simple c program to write data to the fifo and I have verified t…

---

## [Jruby-Bug or wrong Java code?](https://www.ruby-forum.com/t/jruby-bug-or-wrong-java-code/186784)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 1\
**Last updated:** [April 19, 2010, 11:39am UTC](https://www.ruby-forum.com/t/jruby-bug-or-wrong-java-code/186784 "2010-04-19T11:39:16Z")

</div>

Hello there, I have a problem with a third-party-Jar file. The Jar file tries to establish a connection to Jackrabbit (Content Repository). For that connection a properties file is located in the Jar file. When I try…

---

## [Can you set a custom user-agent?](https://www.ruby-forum.com/t/can-you-set-a-custom-user-agent/183910)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 22, 2010, 5:35pm UTC](https://www.ruby-forum.com/t/can-you-set-a-custom-user-agent/183910 "2010-02-22T17:35:22Z")

</div>

I was wondering how I could set a custom user-agent for all of my API requests from ActiveResource? Basically, I want to identify my application when ever I hit someone’s API from ActiveResource. Thanks! Tom

---

## [IronRuby, RubyZip and ZLib == error](https://www.ruby-forum.com/t/ironruby-rubyzip-and-zlib-error/177365)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 1\
**Last updated:** [October 15, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/ironruby-rubyzip-and-zlib-error/177365 "2009-10-15T18:11:17Z")

</div>

Hello, Just tried to use RubyZip with IronRuby (porting a rake task onto irake) and I received the following error: rake aborted! wrong number of arguments (2 for 0) c:/ironruby/lib/ironruby/gems/1.8/gems/rubyzip-0.…

---

## [Problema con gema contacts hotmail](https://www.ruby-forum.com/t/problema-con-gema-contacts-hotmail/167924)

<div class="topic-metadata">

**Author:** [@carakan](https://www.ruby-forum.com/u/carakan)\
**Replies:** 1\
**Last updated:** [May 14, 2009, 6:43am UTC](https://www.ruby-forum.com/t/problema-con-gema-contacts-hotmail/167924 "2009-05-14T06:43:32Z")

</div>

Saludos a toda la comunidad. Mi problema es el siguiente, dentro de un proyecto estoy utilizando la gema contacts para importar contactos de hotmail, me ha funcionado de mil maravillas el problema es que recientemente…

---

## [Cucumber - wierd button pressing error](https://www.ruby-forum.com/t/cucumber-wierd-button-pressing-error/167165)

<div class="topic-metadata">

**Author:** [@kwe](https://www.ruby-forum.com/u/kwe)\
**Replies:** 1\
**Last updated:** [May 6, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/cucumber-wierd-button-pressing-error/167165 "2009-05-06T23:46:15Z")

</div>

I wonder if anyone has some clues as to what is happening in the following… Output from running the feature… Quote\>\> Scenario: Create an Order Given I’m viewing the Rubber Duck product When I press “Add to cart” T…

---

## [Where's an example of an RSpec'd Rails or Merb site with RJS calls?](https://www.ruby-forum.com/t/wheres-an-example-of-an-rspecd-rails-or-merb-site-with-rjs-calls/165245)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 1\
**Last updated:** [April 11, 2009, 1:30am UTC](https://www.ruby-forum.com/t/wheres-an-example-of-an-rspecd-rails-or-merb-site-with-rjs-calls/165245 "2009-04-11T01:30:47Z")

</div>

RSpeckers: The time has come to plug assert\_rjs\_ into a matcher providing a grammar like “should generate\_js\_to :replace\_html…”. Does anyone have a lite website that uses Ajax and RSpec, for a reference implementat…

---

## [General ways to create a filterable search](https://www.ruby-forum.com/t/general-ways-to-create-a-filterable-search/164702)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 6:45am UTC](https://www.ruby-forum.com/t/general-ways-to-create-a-filterable-search/164702 "2009-04-06T06:45:26Z")

</div>

Ive done a lot of searching on this and found lots of topics on what search tools to use but couldnt find something re: how you generally implement search into your project regardless of the choice of tool (ferret etc…

---

## [Nginx-0.6.36](https://www.ruby-forum.com/t/nginx-0-6-36/164527)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [April 2, 2009, 9:51am UTC](https://www.ruby-forum.com/t/nginx-0-6-36/164527 "2009-04-02T09:51:01Z")

</div>

Changes with nginx 0.6.36 02 Apr 2009 \*) Change: now the "Invalid argument" error returned by setsockopt(TCP\_NODELAY) on Solaris, is ignored. \*) Change: now POSTs without "Con…

---

## [GNU radio based RFID reader/writer](https://www.ruby-forum.com/t/gnu-radio-based-rfid-reader-writer/163794)

<div class="topic-metadata">

**Author:** [@harshal\_jadhav](https://www.ruby-forum.com/u/harshal_jadhav)\
**Replies:** 1\
**Last updated:** [March 25, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/gnu-radio-based-rfid-reader-writer/163794 "2009-03-25T19:38:54Z")

</div>

Hi, I am a student of Master’s program in electrical engineering (major : telecommunications and dsp) . As a master’s final project i want to develop RFID reader/writer based on GNU and compare the performance of RF…

---

## [Debian patches not upstream](https://www.ruby-forum.com/t/debian-patches-not-upstream/161358)

<div class="topic-metadata">

**Author:** [@arnaudcoquelet](https://www.ruby-forum.com/u/arnaudcoquelet)\
**Replies:** 1\
**Last updated:** [March 7, 2009, 1:51pm UTC](https://www.ruby-forum.com/t/debian-patches-not-upstream/161358 "2009-03-07T13:51:26Z")

</div>

Hello, I’m preparing ruby-gnome2 0.18.1 and taking a look at some patches that are not upstream in 0.18.1, some might be of interest. http://t1r.net/~nohar/drag-signals.patch adds dnd support to GtkTreeStore http://…

---

## [Rewrite rule to parse .html to .php?](https://www.ruby-forum.com/t/rewrite-rule-to-parse-html-to-php/154326)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 1\
**Last updated:** [November 27, 2008, 10:59pm UTC](https://www.ruby-forum.com/t/rewrite-rule-to-parse-html-to-php/154326 "2008-11-27T22:59:59Z")

</div>

Without editing: location ~ \\.php$ { include conf/fastcgi\_params; fastcgi\_pass unix:/home/nginx/phpcgi/USERNAME; fastcgi\_index index.php; …

---

## [Error loading Rails fixtures](https://www.ruby-forum.com/t/error-loading-rails-fixtures/151248)

<div class="topic-metadata">

**Author:** [@scottbrisko](https://www.ruby-forum.com/u/scottbrisko)\
**Replies:** 1\
**Last updated:** [October 20, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/error-loading-rails-fixtures/151248 "2008-10-20T14:38:53Z")

</div>

Hi all; I’m getting a weird error from the rspec gem when using rake to load fixtures in rails: % rake db:fixtures:load RAILS\_ENV=test /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/options.rb: 229:in files…

---

## [Nginx as a reverse proxy dor several internal services and ssl-endpoint](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-dor-several-internal-services-and-ssl-endpoint/135980)

<div class="topic-metadata">

**Author:** [@Norbert\_Klamann](https://www.ruby-forum.com/u/Norbert_Klamann)\
**Replies:** 1\
**Last updated:** [April 29, 2008, 11:11am UTC](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-dor-several-internal-services-and-ssl-endpoint/135980 "2008-04-29T11:11:23Z")

</div>

Hello list, I want to use nginx as a ssl-Endponit and semi-public face to some internal wenservicese like trac, nagios and squirrelmail. These services run on other (virtual) boxes, nginx shall live in its own (virt…

---

## [Help with primary\_key\_prefix\_type](https://www.ruby-forum.com/t/help-with-primary-key-prefix-type/134183)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [April 8, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/help-with-primary-key-prefix-type/134183 "2008-04-08T18:17:27Z")

</div>

I put this config in environment.rb Use table\_id instead of id for primary key. config.active\_record.primary\_key\_prefix\_type = :table\_name\_with\_underscore I have this migration: class CreateEntities \< ActiveRecord::M…

---

## [Need some help using Rinda or RingyDingy between Linux / Windows Machines](https://www.ruby-forum.com/t/need-some-help-using-rinda-or-ringydingy-between-linux-windows-machines/124175)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 1\
**Last updated:** [December 27, 2007, 4:30am UTC](https://www.ruby-forum.com/t/need-some-help-using-rinda-or-ringydingy-between-linux-windows-machines/124175 "2007-12-27T04:30:56Z")

</div>

I’ve search far and wide and I haven’t found very much information on this - I’m running a Rinda ringserver on a linux box and I’m trying to find the ring from a Windows box. From what I was able to read - I think the…

---

## [Auto-Completion in dynamisch erzeugten Formulare](https://www.ruby-forum.com/t/auto-completion-in-dynamisch-erzeugten-formulare/118053)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/auto-completion-in-dynamisch-erzeugten-formulare/118053 "2007-10-23T17:17:55Z")

</div>

ja hallo erstmal,… mir hat das Complex-Forms howto von R.Bates sehr gut gefallen (#74 Complex Forms Part 2 - RailsCasts) D.h. es soll gibt auch bei mir einen “Add Task” Link geben, der dynamisch durch injezieren dur…

---

## [How to search date with ferret and acts\_as\_ferret?](https://www.ruby-forum.com/t/how-to-search-date-with-ferret-and-acts-as-ferret/108689)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [July 6, 2007, 2:46am UTC](https://www.ruby-forum.com/t/how-to-search-date-with-ferret-and-acts-as-ferret/108689 "2007-07-06T02:46:48Z")

</div>

Hey all, How can I search date with ferret? Do I need to submit them in a special format? Right now I have in my Item model: acts\_as\_ferret :fields =\> \[:created\_on\] with eg created\_on = Thu May 11 17:00:00 -0500 200…

---

## [Validar insercion de multiples registros](https://www.ruby-forum.com/t/validar-insercion-de-multiples-registros/91033)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 1\
**Last updated:** [April 4, 2007, 12:43am UTC](https://www.ruby-forum.com/t/validar-insercion-de-multiples-registros/91033 "2007-04-04T00:43:25Z")

</div>

Saludos amigos, actualmente tengo un esquema algo complicado con mis modelos y necesitaba manejar todos desde un mismo formulario, me explico: Un producto tiene muchos tamaÃ±os: class Producto \< AR… has\_many :taman…

---

## [The shortest pulse length](https://www.ruby-forum.com/t/the-shortest-pulse-length/86591)

<div class="topic-metadata">

**Author:** [@seph\_004](https://www.ruby-forum.com/u/seph_004)\
**Replies:** 1\
**Last updated:** [February 23, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/the-shortest-pulse-length/86591 "2007-02-23T17:09:13Z")

</div>

Hi Does anyone know what the shortest duration pulse is which the USRP can transmit? I’ve tried to test it by using gr.head to limit the number of samples to produce a short waveform, but I can’t catch anything appea…

---

## [Engine with images](https://www.ruby-forum.com/t/engine-with-images/77601)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 11:18am UTC](https://www.ruby-forum.com/t/engine-with-images/77601 "2006-11-29T11:18:38Z")

</div>

I have a few images that I want to include with my engine. I see a method for including stylesheets and javascript files but nothing for images. Obviously I could create a rake task for the user to run but was wonderi…

---

## [Rjs? ujs!](https://www.ruby-forum.com/t/rjs-ujs/76802)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 1\
**Last updated:** [November 22, 2006, 1:07am UTC](https://www.ruby-forum.com/t/rjs-ujs/76802 "2006-11-22T01:07:31Z")

</div>

Pensavate di sapere tutto su rjs? su http://therubymine.com Federico ha appena postato su ujs, un modo per scrivere js + DRY in Rails.

---

## [RE: Re: How do I identify the initiating View from within aH](https://www.ruby-forum.com/t/re-re-how-do-i-identify-the-initiating-view-from-within-ah/94496)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 1\
**Last updated:** [May 5, 2006, 2:07am UTC](https://www.ruby-forum.com/t/re-re-how-do-i-identify-the-initiating-view-from-within-ah/94496 "2006-05-05T02:07:23Z")

</div>

Lindsay, Wouldn’t you want to use a component for this? I know components seem to be out of favor, but they seem like a perfect fit for this very thing. You could then go like: \<%= render\_component :controller =\> ‘…

---

## [The problem of install mysql driver using gem for Rails](https://www.ruby-forum.com/t/the-problem-of-install-mysql-driver-using-gem-for-rails/66071)

<div class="topic-metadata">

**Author:** [@gaoxt1983](https://www.ruby-forum.com/u/gaoxt1983)\
**Replies:** 1\
**Last updated:** [February 12, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/the-problem-of-install-mysql-driver-using-gem-for-rails/66071 "2006-02-12T20:07:46Z")

</div>

No more words, see the console textï¼? Results logged to c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7/gem\_make.out C:\>gem install --remote mysql Attempting remote installation of ‘mysql’ Building native extensions. This …

---

## [Reaching into a has\_and\_belongs\_to\_many - will :through work?](https://www.ruby-forum.com/t/reaching-into-a-has-and-belongs-to-many-will-through-work/216212)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 30, 2012, 5:06pm UTC](https://www.ruby-forum.com/t/reaching-into-a-has-and-belongs-to-many-will-through-work/216212 "2012-01-30T17:06:55Z")

</div>

Hi. I’m hoping somebody can tell me that I’ve just gotten my syntax wrong and I can in fact do what I want to do. I’ve got a Group, and a Group has\_many Campaigns. Campaign has\_and\_belongs\_to\_many Users (and, natural…

---

## [Installing error](https://www.ruby-forum.com/t/installing-error/211145)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 26, 2011, 10:08pm UTC](https://www.ruby-forum.com/t/installing-error/211145 "2011-08-26T22:08:23Z")

</div>

hi, i’m now getting the following download error when trying to install gnuradio + uhd from the git repository (build-gnuradio): Done Fetching Gnu Radio via GIT…Done Fetching UHD via GIT…Done Building UHD…Done buil…

---

## [Don't Automatically start SESSION?](https://www.ruby-forum.com/t/dont-automatically-start-session/186637)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 4\
**Last updated:** [April 12, 2010, 5:38am UTC](https://www.ruby-forum.com/t/dont-automatically-start-session/186637 "2010-04-12T05:38:46Z")

</div>

Hey, i created a user authentication system with authlogic, everytime a user registers, the user is created, AND the user\_session is automatically started, and the new user is considered logged in. Is it possible to …

---

## [Compress location config](https://www.ruby-forum.com/t/compress-location-config/181061)

<div class="topic-metadata">

**Author:** [@macindy](https://www.ruby-forum.com/u/macindy)\
**Replies:** 4\
**Last updated:** [January 9, 2010, 1:41am UTC](https://www.ruby-forum.com/t/compress-location-config/181061 "2010-01-09T01:41:45Z")

</div>

Hi nginx community! I am new to nginx and my regex knowledge is just basic. Can somebody help me to compress these three rules: location ~ ^/forum/vbseo\_sitemap/.+\\.php$ { fastcgi\_param SCRIP…

---

## [Generators](https://www.ruby-forum.com/t/generators/181050)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 4\
**Last updated:** [January 5, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/generators/181050 "2010-01-05T12:24:09Z")

</div>

Could anyone tell me (or link me to) the best place to learn about RoR Module Generators?

---

## [Simple Ruby Project](https://www.ruby-forum.com/t/simple-ruby-project/179410)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 4\
**Last updated:** [November 24, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/simple-ruby-project/179410 "2009-11-24T15:07:42Z")

</div>

Hello all, I’ve just started with Ruby and decided to do a little project. Since this is my first time doing something related with the internet, I could sure use some guidelines. Let me first tell you what my projec…

---

## [Which finder syntax would be preferred as far as being the most database agnostic?](https://www.ruby-forum.com/t/which-finder-syntax-would-be-preferred-as-far-as-being-the-most-database-agnostic/178474)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 4\
**Last updated:** [November 5, 2009, 2:37pm UTC](https://www.ruby-forum.com/t/which-finder-syntax-would-be-preferred-as-far-as-being-the-most-database-agnostic/178474 "2009-11-05T14:37:59Z")

</div>

Which finder syntax is preferred? Or are they the same? I’m developing on sqlite and I’ve posted the result of each query…they kind of look the same but not really. Would this scale to say, Mysql or Postgres? Thank…

---

## [Jruby + SQLServer](https://www.ruby-forum.com/t/jruby-sqlserver/171494)

<div class="topic-metadata">

**Author:** [@Augustus\_C](https://www.ruby-forum.com/u/Augustus_C)\
**Replies:** 4\
**Last updated:** [July 3, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/jruby-sqlserver/171494 "2009-07-03T22:51:36Z")

</div>

Hi, IÂ´m using jruby and sqladapter.jar to conect in my sql server. but this integration dont work well yet. my database.yml config: host: localhost adapter: jdbc username: sasa password: senha driver: com.microsoft.s…

---

## [Multiple database connections](https://www.ruby-forum.com/t/multiple-database-connections/166976)

<div class="topic-metadata">

**Author:** [@jameslabocki](https://www.ruby-forum.com/u/jameslabocki)\
**Replies:** 4\
**Last updated:** [May 3, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/multiple-database-connections/166976 "2009-05-03T21:44:43Z")

</div>

A quick question: Say my project needs to connect to a second database, Users stored in one db and data in another, How would I configure my projects database.yml? Thanks for the help.

---

## [Ruby Installation](https://www.ruby-forum.com/t/ruby-installation/152753)

<div class="topic-metadata">

**Author:** [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Replies:** 4\
**Last updated:** [November 7, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/ruby-installation/152753 "2008-11-07T20:35:50Z")

</div>

Hi, I am trying to install ruby on my XP machine, but I get the error which says “The installer you are trying to use is corrupted or incomplete”, use / NCRC switch . I tried doing that( ruby186-27\_rc1.exe /NCRC ) bu…

---

## [How to add a method to an existing class and use it in rails environment](https://www.ruby-forum.com/t/how-to-add-a-method-to-an-existing-class-and-use-it-in-rails-environment/142121)

<div class="topic-metadata">

**Author:** [@pbn](https://www.ruby-forum.com/u/pbn)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/how-to-add-a-method-to-an-existing-class-and-use-it-in-rails-environment/142121 "2008-07-03T21:57:33Z")

</div>

Hi, I am using rails 2.0.2 version and I have a need to add a method to an existing class and use it in the rails environment. For example, I would like to add a method to Numeric class, so I coded it as follows clas…

---

## [Ruby vs Smalltalk](https://www.ruby-forum.com/t/ruby-vs-smalltalk/139865)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [June 8, 2008, 2:33pm UTC](https://www.ruby-forum.com/t/ruby-vs-smalltalk/139865 "2008-06-08T14:33:26Z")

</div>

Some time ago we have had ruby vs ~ada discussions, or more generally ruby and “large scale applications” - actually, the people that contributed their (impressive) knowledge made this quite interesting. So here I sta…

---

## [An Example of a Form With Many To Many Relationships](https://www.ruby-forum.com/t/an-example-of-a-form-with-many-to-many-relationships/139337)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 1:55am UTC](https://www.ruby-forum.com/t/an-example-of-a-form-with-many-to-many-relationships/139337 "2008-06-03T01:55:24Z")

</div>

I wished to look at an example of a form that does the following: \[table A\] \[table A\_B\] \[table B\] a\_id A\_B\_id b\_id nameA a\_id nameB b\_id The above table basically allows for…

---

## [Patch for ruby\_1\_8\_6/lib/rexml/element.rb@12852](https://www.ruby-forum.com/t/patch-for-ruby-1-8-6-lib-rexml-element-rb-12852/130311)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [February 29, 2008, 8:17am UTC](https://www.ruby-forum.com/t/patch-for-ruby-1-8-6-lib-rexml-element-rb-12852/130311 "2008-02-29T08:17:03Z")

</div>

æŠ¼ç”°ã§ã™ã€‚ ã“ã‚“ã«ã¡ã¯ã€‚ 32040 ã¨ä¼¼ãŸã‚ˆã†ãªå•é¡Œã®ãƒ‘ãƒƒãƒã§ã™ã€‚ å¯¾è±¡ã¯ deprecate ãƒžãƒ¼ã‚¯ã•ã‚Œã¦ã„ã¾ã™ãŒã€ trunk ã§ã¯ 15141 ã§å¯¾å‡¦ã•ã‚Œã¦ã„ãŸã®ã§ã€ 1.8 ã‚‚åŒæ§˜ã«ã‚±ã‚…

---

## [How to use ActiveRecord plugins outside of Rails framework?](https://www.ruby-forum.com/t/how-to-use-activerecord-plugins-outside-of-rails-framework/129728)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [February 21, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/how-to-use-activerecord-plugins-outside-of-rails-framework/129728 "2008-02-21T18:52:51Z")

</div>

Hey Guys, I’ve got an acts\_as\_list association in one of my models. When I attempt to load this file outside of Rails… ie: when I invoke my script via: ruby -S -I $RAILS\_ROOT/app/models myscript.rb I get the foll…

---

## [Regex question](https://www.ruby-forum.com/t/regex-question/129705)

<div class="topic-metadata">

**Author:** [@nefigah](https://www.ruby-forum.com/u/nefigah)\
**Replies:** 4\
**Last updated:** [February 20, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/regex-question/129705 "2008-02-20T21:50:15Z")

</div>

So I am scanning through chat logs looking for messages where I mentioned “points”. My current regex is: text.scan /^(.)(\[-+\]?\[0-9\]+\\s+points?)(.)$/i So I’d like each match in 3 groups: The message up until the part…

---

## [Regular Expresion Error?](https://www.ruby-forum.com/t/regular-expresion-error/115896)

<div class="topic-metadata">

**Author:** [@Filipe](https://www.ruby-forum.com/u/Filipe)\
**Replies:** 4\
**Last updated:** [October 5, 2007, 3:36am UTC](https://www.ruby-forum.com/t/regular-expresion-error/115896 "2007-10-05T03:36:40Z")

</div>

Hello all, According to the Regular Expressions section of the following ruby guide: Programming Ruby: The Pragmatic Programmer's Guide, the piece of code bellow should have returned “He\<\>o”, instead of “No match”. …

---

## [I don't get how the method is added in this case](https://www.ruby-forum.com/t/i-dont-get-how-the-method-is-added-in-this-case/113693)

<div class="topic-metadata">

**Author:** [@overworked\_phd](https://www.ruby-forum.com/u/overworked_phd)\
**Replies:** 4\
**Last updated:** [September 4, 2007, 2:40am UTC](https://www.ruby-forum.com/t/i-dont-get-how-the-method-is-added-in-this-case/113693 "2007-09-04T02:40:14Z")

</div>

I have the following #!/usr/bin/ruby -w require ‘net/http’ h=Net::HTTP.new(‘www.pragmaticprogrammer.com’,80) response=h.get(‘/index.html’,nil) if(response.message==“OK”) puts response.body.scan(/\<img src=“(.\*?)”/m)…

---

## [Unit test failing](https://www.ruby-forum.com/t/unit-test-failing/113573)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 4\
**Last updated:** [September 2, 2007, 6:26am UTC](https://www.ruby-forum.com/t/unit-test-failing/113573 "2007-09-02T06:26:20Z")

</div>

I have unit tests set up with “self.use\_transactional\_fixtures = true”, so each test should roll back. Run individually, all my tests succeed. But running “rake test:units”, I get the below error in 5 test cases. I’m…

---

## [Saving the image](https://www.ruby-forum.com/t/saving-the-image/110427)

<div class="topic-metadata">

**Author:** [@xyzt](https://www.ruby-forum.com/u/xyzt)\
**Replies:** 4\
**Last updated:** [July 26, 2007, 11:46am UTC](https://www.ruby-forum.com/t/saving-the-image/110427 "2007-07-26T11:46:13Z")

</div>

Hello, I try to prepare a upload page and here’s my controller: def new if request.post? begin @file = params\[:img\] if @file.original\_filename.length \> 0 filename = “/images/userimg/” + @file.original\_filename Fi…

---

## [Ruby Messaging Library](https://www.ruby-forum.com/t/ruby-messaging-library/109119)

<div class="topic-metadata">

**Author:** [@Douglas\_T](https://www.ruby-forum.com/u/Douglas_T)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/ruby-messaging-library/109119 "2007-07-12T16:21:22Z")

</div>

I vaguely recall reading about a Ruby messaging library written by 2 Japanese developers which was put into high volume production usage. I’m trying to gather more information about this piece of software as well as …

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

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