# Top

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

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

---

## [\[HS\] Interfaces lourdes (ou interfaces riches ?)](https://www.ruby-forum.com/t/hs-interfaces-lourdes-ou-interfaces-riches/158931)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 3\
**Last updated:** [January 30, 2009, 11:15am UTC](https://www.ruby-forum.com/t/hs-interfaces-lourdes-ou-interfaces-riches/158931 "2009-01-30T11:15:36Z")

</div>

Tiens puisqu’on est en train de dévier complètement de sujet, ça me fait penser que : Monkeybars vient de passer la barre des 1.0.0 (actuellement 1.0.1) tout récemment (c’est du JRuby / Swing) http://monkeybars.ruby…

---

## [How to set a font for the whol application](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 3\
**Last updated:** [July 24, 2008, 7:49am UTC](https://www.ruby-forum.com/t/how-to-set-a-font-for-the-whol-application/143646 "2008-07-24T07:49:29Z")

</div>

Hi all, how can i set a special font for the whole application, so that all elments (inclusive MessageBox, TipWindow, …) work with this font? (For a frame i can set the font, but then, only the inherited frames has …

---

## [Testing extensions from a git-clone](https://www.ruby-forum.com/t/testing-extensions-from-a-git-clone/136886)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 3\
**Last updated:** [May 7, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/testing-extensions-from-a-git-clone/136886 "2008-05-07T15:46:25Z")

</div>

I’m interested in contributing more to Radiant, but I’m a bit confused about how to get my test environment fully functional. On: http://dev.radiantcms.org/ under: 2. Get Radiant ready for patching: it says “Setup …

---

## [Xmlrpc client (HttpBadResponse error)](https://www.ruby-forum.com/t/xmlrpc-client-httpbadresponse-error/135766)

<div class="topic-metadata">

**Author:** [@nateleavitt](https://www.ruby-forum.com/u/nateleavitt)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 8:55pm UTC](https://www.ruby-forum.com/t/xmlrpc-client-httpbadresponse-error/135766 "2008-04-24T20:55:05Z")

</div>

Hey guys… I’m having some issues connecting to an xmlrpc server. Here is my code below: require “xmlrpc/client” server = XMLRPC::Client.new(“webservice.com”, “/api/xmlrpc”, 443) result = server.call(‘ContactService.l…

---

## [Regexp match /.../n against to UTF-8 string](https://www.ruby-forum.com/t/regexp-match-n-against-to-utf-8-string/127202)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [January 29, 2008, 6:58am UTC](https://www.ruby-forum.com/t/regexp-match-n-against-to-utf-8-string/127202 "2008-01-29T06:58:20Z")

</div>

e$B0J2\<$N$h$&$K!"$D$1$F$b$$$J$$@55,I=8=$Ne(B n e$B%\*%W%7%g%s$K4X$7$Fe(B e$B7Y9p$,=P$^$9!#e(B % ./ruby -ve '# -- coding:us-ascii -- /a/ = ~ “\\xc2\\x81”.force\_encoding(“utf-8”) ’ ruby 1.9.0 (2008-01-26 revision 15248) …

---

## [Rake aborted.. Mysql error](https://www.ruby-forum.com/t/rake-aborted-mysql-error/127211)

<div class="topic-metadata">

**Author:** [@stranger](https://www.ruby-forum.com/u/stranger)\
**Replies:** 3\
**Last updated:** [January 26, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/rake-aborted-mysql-error/127211 "2008-01-26T18:35:34Z")

</div>

Hi, I am following a tutorial using the acts\_as\_authenticated plugin. I created a new project and created a controller today and then installed the authentication plugin. I ran the rake db:migrate. == CreateUsers: mi…

---

## [Multi-part file upload read\_multipart error](https://www.ruby-forum.com/t/multi-part-file-upload-read-multipart-error/103371)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 3\
**Last updated:** [June 22, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/multi-part-file-upload-read-multipart-error/103371 "2007-06-22T22:13:24Z")

</div>

I’m running Mongrel (and the same thing happens in Webrick mode). I’m uploading a file via form, and I’m getting the following error: Error calling Dispatcher.dispatch #\<EOFError: bad content body\> /usr/local/lib/ruby…

---

## [RMagick not working](https://www.ruby-forum.com/t/rmagick-not-working/88432)

<div class="topic-metadata">

**Author:** [@marotte](https://www.ruby-forum.com/u/marotte)\
**Replies:** 3\
**Last updated:** [March 11, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/rmagick-not-working/88432 "2007-03-11T18:52:30Z")

</div>

Hello, On Windows XP, I got a ruby program using RMagick and working perfectly. I put this at the begining of my code: require 'rubygems' require 'RMagick' include 'Magick' Now, when I use the exact same code within …

---

## [SortHelper Problem with column name](https://www.ruby-forum.com/t/sorthelper-problem-with-column-name/87109)

<div class="topic-metadata">

**Author:** [@claudio](https://www.ruby-forum.com/u/claudio)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 1:04pm UTC](https://www.ruby-forum.com/t/sorthelper-problem-with-column-name/87109 "2007-02-28T13:04:19Z")

</div>

In my newscontroller I have two lists category\_list and news\_list def category\_list sort\_init ‘name’ sort\_update end

---

## [Acts\_as\_versioned only for certain fields?](https://www.ruby-forum.com/t/acts-as-versioned-only-for-certain-fields/83183)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 7:05am UTC](https://www.ruby-forum.com/t/acts-as-versioned-only-for-certain-fields/83183 "2007-01-24T07:05:25Z")

</div>

acts\_as\_versioned is a GREAT plugin. Having trouble only versioning specific fields however. Most of my fields will never change so it is a waste to store the same data over and over in all the versions. The docs say …

---

## [Aplicar css en ActionMailer](https://www.ruby-forum.com/t/aplicar-css-en-actionmailer/79521)

<div class="topic-metadata">

**Author:** [@juapdiaz](https://www.ruby-forum.com/u/juapdiaz)\
**Replies:** 3\
**Last updated:** [December 18, 2006, 8:24am UTC](https://www.ruby-forum.com/t/aplicar-css-en-actionmailer/79521 "2006-12-18T08:24:28Z")

</div>

Hola a todos, Estoy mandando emails con ActionMailer, el formato es en HTML y me gustarÃ­a aplicarle un css para darle el formato. Alguien sabe como hacerlo? gracias a todos,

---

## [Depricated Controller Method :model](https://www.ruby-forum.com/t/depricated-controller-method-model/69447)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 3\
**Last updated:** [September 21, 2006, 10:45am UTC](https://www.ruby-forum.com/t/depricated-controller-method-model/69447 "2006-09-21T10:45:07Z")

</div>

Hi everyone, I’ve just found out that the :model method in ActionController is now depricated. According to the source it suggests that it is now taken care of via ActiveSupport. Can anyone tell me the equivelant m…

---

## [Save data to blob](https://www.ruby-forum.com/t/save-data-to-blob/69394)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/save-data-to-blob/69394 "2006-09-20T20:45:39Z")

</div>

Hi, folks, I have a “data” field that is defined as “blob” in model file. However, it always fails when I try to save a larger file … in this case, the so-called larger is merely 200K around. Do I need to do anything …

---

## [\[ANN\] 0.10.2 release with win32 gem](https://www.ruby-forum.com/t/ann-0-10-2-release-with-win32-gem/67457)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [September 4, 2006, 3:51pm UTC](https://www.ruby-forum.com/t/ann-0-10-2-release-with-win32-gem/67457 "2006-09-04T15:51:25Z")

</div>

Hey all, I’ve just released Ferret version 0.10.2. It is mostly just a bug fix release. The only change is that a highlight method has been added to Ferret::Index::Index. Please try it out and let me know what you th…

---

## [Typo 4.0: Comments link dissapeared](https://www.ruby-forum.com/t/typo-4-0-comments-link-dissapeared/101135)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 1:15pm UTC](https://www.ruby-forum.com/t/typo-4-0-comments-link-dissapeared/101135 "2006-08-03T13:15:23Z")

</div>

Hi List, New user of Typo here, using 4.0. It looks great, but there’s one small problem - There are no links to make comments on articles (on eitehr the index or the individual article pages). I enabled spam protec…

---

## [Rescuing exceptions with "redo"](https://www.ruby-forum.com/t/rescuing-exceptions-with-redo/102964)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 3\
**Last updated:** [July 12, 2006, 4:20pm UTC](https://www.ruby-forum.com/t/rescuing-exceptions-with-redo/102964 "2006-07-12T16:20:17Z")

</div>

Hi aaall, I have a code like this (from Why’s (poignant) guide to Ruby, in http://poignantguide.net/ruby/chapter-5.html#section5): class LotteryTicket NUMERIC\_RANGE = 1…25 attr\_reader :picks def initialize( \*picks…

---

## [Migrating from a legacy Dbase app](https://www.ruby-forum.com/t/migrating-from-a-legacy-dbase-app/62396)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 3\
**Last updated:** [June 4, 2006, 3:19am UTC](https://www.ruby-forum.com/t/migrating-from-a-legacy-dbase-app/62396 "2006-06-04T03:19:22Z")

</div>

All, My company uses Goldmine as its contact/sales opportunity manager. (Uses Dbase for it’s DB). I’m trying to get a Rails app to implement the parts of it we actually use. I’ve been building my Rails app in MySQL.…

---

## [Question about one-to-many-to-many](https://www.ruby-forum.com/t/question-about-one-to-many-to-many/59812)

<div class="topic-metadata">

**Author:** [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Replies:** 3\
**Last updated:** [May 8, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/question-about-one-to-many-to-many/59812 "2006-05-08T14:44:53Z")

</div>

Guys, I’ve set up a 1-M-M relationship between 3 tables/models. I can’t get cascading deletes (haven’t tried updates yet) to work when the master record is deleted. I’m using MySQL 4.1.x, and the error message is: M…

---

## [\[JOB\] RoR/PHP Developer needed - London, SW2](https://www.ruby-forum.com/t/job-ror-php-developer-needed-london-sw2/65032)

<div class="topic-metadata">

**Author:** [@pozza](https://www.ruby-forum.com/u/pozza)\
**Replies:** 3\
**Last updated:** [February 9, 2006, 8:14pm UTC](https://www.ruby-forum.com/t/job-ror-php-developer-needed-london-sw2/65032 "2006-02-09T20:14:35Z")

</div>

NO AGENCIES PLEASE With that out the way, we (http://www.firebox.com) are looking for a web developer to join our existing small development team. Here’s the posting from our website\[1\]: ==== Web D. (ref W200) Repo…

---

## [Problem with mass asignment](https://www.ruby-forum.com/t/problem-with-mass-asignment/243936)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [January 27, 2016, 8:53am UTC](https://www.ruby-forum.com/t/problem-with-mass-asignment/243936 "2016-01-27T08:53:54Z")

</div>

Hi everyone. I’m new in ruby and recently faced with mass assignment problem. Below I attached a sample code similar to mine. Could you explain me what should I use in require method??? is it a name of model(person) o…

---

## [So close Static page is served](https://www.ruby-forum.com/t/so-close-static-page-is-served/233691)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 5, 2015, 7:28pm UTC](https://www.ruby-forum.com/t/so-close-static-page-is-served/233691 "2015-01-05T19:28:16Z")

</div>

Hi Folks, I am working to deploy a Ruby on Rails application on Apache. I’ve built the mod\_passenger tarball and copied it to /usr/lib64/httpd/modules/mod\_passenger. I’ve verified that ownership is root:root, and per…

---

## [Why does this fail](https://www.ruby-forum.com/t/why-does-this-fail/229998)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [May 26, 2014, 4:38pm UTC](https://www.ruby-forum.com/t/why-does-this-fail/229998 "2014-05-26T16:38:27Z")

</div>

\<html xmlns=“XHTML namespace”\> Hello, I have made this class def Hamming.compute(string1,string2) count = 0 for s in 0.. ((string1.length)-1) if string1\[s\] != string2\[s\] …

---

## [How can I make ruby read a string of characters per three characters?](https://www.ruby-forum.com/t/how-can-i-make-ruby-read-a-string-of-characters-per-three-characters/235655)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 8, 2013, 3:34pm UTC](https://www.ruby-forum.com/t/how-can-i-make-ruby-read-a-string-of-characters-per-three-characters/235655 "2013-07-08T15:34:09Z")

</div>

I want to input a string of characters, and have it be read by every three characters so I can translate it per three characters.

---

## [Ruby on Rails-Up to £65k-London](https://www.ruby-forum.com/t/ruby-on-rails-up-to-65k-london/220721)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 20, 2012, 1:40pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-up-to-65k-london/220721 "2012-06-20T13:40:53Z")

</div>

Hi, I am looking to connect with as many Italian ROR developers as I can, please get in contact if you are looking for ROR opportunities based in the UK. Thanks, Nick

---

## [Is it safe to use rb\_hash\_delete() without having the GVL?](https://www.ruby-forum.com/t/is-it-safe-to-use-rb-hash-delete-without-having-the-gvl/219721)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 14, 2012, 10:32pm UTC](https://www.ruby-forum.com/t/is-it-safe-to-use-rb-hash-delete-without-having-the-gvl/219721 "2012-05-14T22:32:44Z")

</div>

Hi, my code is a C event loop that runs without the GVL (so other Ruby 1.9.3 threads can take the control) and when an event occurs it get the GVL and executed a user provided Ruby block/proc. Prior to calling rb\_thre…

---

## [RoR to Visual Studio](https://www.ruby-forum.com/t/ror-to-visual-studio/219104)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 20, 2012, 8:39pm UTC](https://www.ruby-forum.com/t/ror-to-visual-studio/219104 "2012-04-20T20:39:24Z")

</div>

Hi I’m a new programmer and not familiar with Ruby on Rails. My first project is to convert a software written in RoR into a .net framework. Is it possible to convert/migrate the software into Visual Studio like Visua…

---

## [\[ruby-trunk - Bug #5593\]\[Open\] Windows上で \\\\.\\ から始まるデバイスをopenするとクラッシュ](https://www.ruby-forum.com/t/ruby-trunk-bug-5593-open-windows-open/213669)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 3, 2012, 6:04am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5593-open-windows-open/213669 "2012-01-03T06:04:35Z")

</div>

Issue #5593 has been reported by 宗介 相良. Bug #5593: Windows上で \\.\\ から始まるデバイスをopenするとクラッシュ Author: 宗介 相良 Status: Open Priority: Normal Assignee: Category: Target version: 1.9.3 ruby -v: ruby 1.9.3p0 (2011-10-30) \[…

---

## [Auth\_basic not requiring Authorization](https://www.ruby-forum.com/t/auth-basic-not-requiring-authorization/208982)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 1, 2011, 8:28pm UTC](https://www.ruby-forum.com/t/auth-basic-not-requiring-authorization/208982 "2011-07-01T20:28:37Z")

</div>

Having a huge problem with the auth\_basic. Despite putting in the exact same lines as what I found in many examples, the web server is still allowing access even without sending any authorization. Relevent conf bits: …

---

## [Help with authentication/authorisation design](https://www.ruby-forum.com/t/help-with-authentication-authorisation-design/207055)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 17, 2011, 9:55pm UTC](https://www.ruby-forum.com/t/help-with-authentication-authorisation-design/207055 "2011-05-17T21:55:07Z")

</div>

Could someone help me with an authentication/authorisation design please? It’s for a car garage application that allows a customer to monitor the status of their car. Here are my requirements: I need a heirarchy of …

---

## [Is it usual/valid to extend custom classes under Errno module?](https://www.ruby-forum.com/t/is-it-usual-valid-to-extend-custom-classes-under-errno-module/206119)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 1, 2011, 11:02pm UTC](https://www.ruby-forum.com/t/is-it-usual-valid-to-extend-custom-classes-under-errno-module/206119 "2011-05-01T23:02:52Z")

</div>

Hi, I’ve coded a DNS library. When a DNS query fails my library doesn’t raise an exception (as it’s expensive) but instead returns a Symbol (more efficient): :dns\_error\_nxdomain - The domain name does not exist. :dns…

---

## [Easiest way in Ruby to express "given this, set target to this if nil or undefined, else increment b](https://www.ruby-forum.com/t/easiest-way-in-ruby-to-express-given-this-set-target-to-this-if-nil-or-undefined-else-increment-b/202148)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 23, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/easiest-way-in-ruby-to-express-given-this-set-target-to-this-if-nil-or-undefined-else-increment-b/202148 "2011-01-23T20:23:48Z")

</div>

The following works, but I’d prefer not to have to class values: class Z def self.show\_z @@zz ||= 0; @@zz += 1 puts @@zz end end Z.show\_z # =\> 1 Z.show\_z # =\> 2 I tried this: $h = Hash.new(:y) def show\_y $…

---

## [Problems deploying an rails app to oc4j](https://www.ruby-forum.com/t/problems-deploying-an-rails-app-to-oc4j/199326)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 22, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/problems-deploying-an-rails-app-to-oc4j/199326 "2010-11-22T12:36:59Z")

</div>

Hello people, I’m having a bad time deploying a simple scaffold rails app to an OC4j app server. I don’t know why, i’m having very weird class cast exceptions when trying to access my rails app beside the “Welcome a…

---

## [About MIMO-cable](https://www.ruby-forum.com/t/about-mimo-cable/198964)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 18, 2010, 10:37pm UTC](https://www.ruby-forum.com/t/about-mimo-cable/198964 "2010-11-18T22:37:54Z")

</div>

Hello everyone, I’m curious about synchronising 2 USRP2 boards using MIMO-cable. Is there any firmware code, which supports transmitting and receiving signals from two USRP2s connected by MIMO-cable? Which blocks do…

---

## [Deprecation warning in Rails 3 about Base.named\_scope](https://www.ruby-forum.com/t/deprecation-warning-in-rails-3-about-base-named-scope/194254)

<div class="topic-metadata">

**Author:** [@daze](https://www.ruby-forum.com/u/daze)\
**Replies:** 4\
**Last updated:** [September 1, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/deprecation-warning-in-rails-3-about-base-named-scope/194254 "2010-09-01T23:41:02Z")

</div>

I recently upgraded to Rails 3, and this error has come up ubiquitously: DEPRECATION WARNING: Base.named\_scope has been deprecated, please use Base.scope instead. Any ideas on how to get rid of it? Or should I just …

---

## [\[Bug #2953\] nkf segfaults with --numchar-input](https://www.ruby-forum.com/t/bug-2953-nkf-segfaults-with-numchar-input/185079)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 4\
**Last updated:** [June 9, 2010, 11:58pm UTC](https://www.ruby-forum.com/t/bug-2953-nkf-segfaults-with-numchar-input/185079 "2010-06-09T23:58:00Z")

</div>

Bug #2953: nkf segfaults with --numchar-input http://redmine.ruby-lang.org/issues/show/2953 e$B5/I\<\<Te(B: Nobuyoshi N. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext ruby -v: 1.8.8dev (2010-02-24 r…

---

## [How can i get that kind of transpose?](https://www.ruby-forum.com/t/how-can-i-get-that-kind-of-transpose/187917)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/how-can-i-get-that-kind-of-transpose/187917 "2010-05-03T18:15:42Z")

</div>

there is text1 1,2,3,4 1,2,3 1,2 1,2,3,4,5 what i want to get is text2: 1ï¼Œ1ï¼Œ1ï¼Œ1 2ï¼Œ2ï¼Œ2ï¼Œ2 3ï¼Œ3ï¼Œ 3 4ï¼Œ 4 5 how to get it ?

---

## [Custom Matcher and Webrat methods](https://www.ruby-forum.com/t/custom-matcher-and-webrat-methods/179969)

<div class="topic-metadata">

**Author:** [@dracko](https://www.ruby-forum.com/u/dracko)\
**Replies:** 4\
**Last updated:** [December 10, 2009, 11:15am UTC](https://www.ruby-forum.com/t/custom-matcher-and-webrat-methods/179969 "2009-12-10T11:15:59Z")

</div>

I would like to be able to write a custom matcher so that I could call this test, for instance: @user.should be\_allowed\_to\_visit(url) @non\_welcome.should\_not be\_allowed\_to\_visit(url) The matcher would call Webrat met…

---

## [Glassfish gem 0.9.3 and Rails 2.3](https://www.ruby-forum.com/t/glassfish-gem-0-9-3-and-rails-2-3/163425)

<div class="topic-metadata">

**Author:** [@Miika\_LeppSSS\_nen](https://www.ruby-forum.com/u/Miika_LeppSSS_nen)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 12:09am UTC](https://www.ruby-forum.com/t/glassfish-gem-0-9-3-and-rails-2-3/163425 "2009-03-25T00:09:08Z")

</div>

Hello I made a basic rails app (script/generate scaffold Post title:string body:text). Then I moved app/models/post.rb to app/models/subfo/ post.rb and added config.load\_paths += Dir\["#{RAILS\_ROOT}/app/models/\*"\].fin…

---

## [Howto make](https://www.ruby-forum.com/t/howto-make/163591)

<div class="topic-metadata">

**Author:** [@bill-h](https://www.ruby-forum.com/u/bill-h)\
**Replies:** 4\
**Last updated:** [March 22, 2009, 8:38pm UTC](https://www.ruby-forum.com/t/howto-make/163591 "2009-03-22T20:38:07Z")

</div>

When I try to make the howto package (from the “How to write a signal processing block” tutorial), I get and error which says: Version mismatch error. This is libtool 2.2.6, but the definition of this LT\_INIT comes …

---

## [Implementing a dashboard-style controller, (think iGoogle)](https://www.ruby-forum.com/t/implementing-a-dashboard-style-controller-think-igoogle/162501)

<div class="topic-metadata">

**Author:** [@Lasertoast](https://www.ruby-forum.com/u/Lasertoast)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 7:03pm UTC](https://www.ruby-forum.com/t/implementing-a-dashboard-style-controller-think-igoogle/162501 "2009-03-10T19:03:44Z")

</div>

I’m a relatively new Rails developer, but I think I have a good grasp on the paradigm and I’m trying my best to adhere to RESTful standards. First, let me describe the basic structure of my Rails app (only the pieces …

---

## [BUG report: error log separation per virtual host does not work](https://www.ruby-forum.com/t/bug-report-error-log-separation-per-virtual-host-does-not-work/157178)

<div class="topic-metadata">

**Author:** [@Dan\_Dascalescu](https://www.ruby-forum.com/u/Dan_Dascalescu)\
**Replies:** 4\
**Last updated:** [January 13, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/bug-report-error-log-separation-per-virtual-host-does-not-work/157178 "2009-01-13T14:50:51Z")

</div>

I reported this bug already at http://thread.gmane.org/gmane.comp.web.nginx.english/1604/focus=1628 but was using the stable version of nginx. I just upgraded to the latest development version, 0.7.30, and the bug is …

---

## [Add prefix to all urls?](https://www.ruby-forum.com/t/add-prefix-to-all-urls/153225)

<div class="topic-metadata">

**Author:** [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Replies:** 4\
**Last updated:** [November 14, 2008, 5:58am UTC](https://www.ruby-forum.com/t/add-prefix-to-all-urls/153225 "2008-11-14T05:58:44Z")

</div>

hi i want to add a prefix to all urls in my project for example ,now i have like this “http://localhost:3000/posts” but i want like this “http://localhost:3000/my\_blog/posts” “http://localhost:3000/my\_blog/posts/n…

---

## [Can a "facebook" application be written in RoR?](https://www.ruby-forum.com/t/can-a-facebook-application-be-written-in-ror/147222)

<div class="topic-metadata">

**Author:** [@ewagner](https://www.ruby-forum.com/u/ewagner)\
**Replies:** 4\
**Last updated:** [August 30, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/can-a-facebook-application-be-written-in-ror/147222 "2008-08-30T14:16:02Z")

</div>

(Disclaimer: I am new to RoR, coming from developing in ASP.NET. I am looking to start my next project in an open source environment to 1) cut down on the costs of tools and hosting, and 2) to learn something new. The…

---

## [How to prevent same migration timestamps when scripting?](https://www.ruby-forum.com/t/how-to-prevent-same-migration-timestamps-when-scripting/145756)

<div class="topic-metadata">

**Author:** [@DarkTatka](https://www.ruby-forum.com/u/DarkTatka)\
**Replies:** 4\
**Last updated:** [August 13, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/how-to-prevent-same-migration-timestamps-when-scripting/145756 "2008-08-13T19:28:51Z")

</div>

Hi, recently i had a need to generate lots of migrations and models from csv fixtures. I wrote a generator script. The problem is, it runs so “fast” that all migrations are of the same timestamp, so i cant migrate. #…

---

## [Plug-in para mostrar sugerencias](https://www.ruby-forum.com/t/plug-in-para-mostrar-sugerencias/142150)

<div class="topic-metadata">

**Author:** [@Natalia\_A](https://www.ruby-forum.com/u/Natalia_A)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/plug-in-para-mostrar-sugerencias/142150 "2008-07-03T22:41:00Z")

</div>

Hola a todos, Estoy trabajando en un formulario y me gustarÃ­a que a medida que el usuario vaya introduciendo datos se le vayan mostrando unas sugerencias, como ocurre en google suggests o en la ventana de google en…

---

## [Performance of JRuby StringScanner](https://www.ruby-forum.com/t/performance-of-jruby-stringscanner/140355)

<div class="topic-metadata">

**Author:** [@gremio](https://www.ruby-forum.com/u/gremio)\
**Replies:** 4\
**Last updated:** [June 13, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/performance-of-jruby-stringscanner/140355 "2008-06-13T23:05:10Z")

</div>

I’ve been playing around with lexers that rely on the Ruby StringScanner to recognize lexical tokens. For large texts, the lexers are roughly twice as slow in JRuby as in MRI. I haven’t probed any further, but am wond…

---

## [Sockets, windoze, and threads](https://www.ruby-forum.com/t/sockets-windoze-and-threads/133450)

<div class="topic-metadata">

**Author:** [@ara\_howard](https://www.ruby-forum.com/u/ara_howard)\
**Replies:** 4\
**Last updated:** [April 1, 2008, 11:58am UTC](https://www.ruby-forum.com/t/sockets-windoze-and-threads/133450 "2008-04-01T11:58:22Z")

</div>

this works on \*nix and might on windoze - i don’t have a box near so cannot test… can someone give it a whirl and/or patch it to work? it should simply run forever: require ‘socket’ STDIN.sync = STDOUT.sync = STDERR.…

---

## [Scaffold: What's the advantage of actions create/update?](https://www.ruby-forum.com/t/scaffold-whats-the-advantage-of-actions-create-update/120885)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [March 24, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/scaffold-whats-the-advantage-of-actions-create-update/120885 "2008-03-24T21:54:09Z")

</div>

Hi all I’m quite unsure what’s the point to have a create and update action in the Rails scaffolds… I guess the developers had good reason to implement them, but I don’t really see the reason for them… Why no just ch…

---

## [Question about model attributes](https://www.ruby-forum.com/t/question-about-model-attributes/126449)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/question-about-model-attributes/126449 "2008-01-18T12:03:35Z")

</div>

Hi, At what point in rails are the methods for a models attributes defined? Because I have the following code: Parked at Loopia And it returns in irb: s = Playlist.find(:first).songs false 1 If I do this in i…

---

## [Help with Model Associations](https://www.ruby-forum.com/t/help-with-model-associations/122978)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 4\
**Last updated:** [December 13, 2007, 9:58am UTC](https://www.ruby-forum.com/t/help-with-model-associations/122978 "2007-12-13T09:58:47Z")

</div>

HI everybody, I need some help with model association. Here I have one user table. User table. id name 1 XXX 2 YYY 3 ZZZ 4 XYZ Message Table id sender\_id receiver\_id message 1 1 2 …

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

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