# Top

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

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

---

## [Rspec not returning exit code with --drb w/o spork running](https://www.ruby-forum.com/t/rspec-not-returning-exit-code-with-drb-w-o-spork-running/208614)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 22, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/rspec-not-returning-exit-code-with-drb-w-o-spork-running/208614 "2011-06-22T18:45:29Z")

</div>

I am seeing a problem with running rspec (rspec 2.6.0, rspec-core 2.6.4) with --drb (our default) when spork is not running. It fails to return a non-zero error code. Anyone has any suggestions where I should start lo…

---

## [SMTP AUTH with XCLIENT - impossible or just difficult?](https://www.ruby-forum.com/t/smtp-auth-with-xclient-impossible-or-just-difficult/192728)

<div class="topic-metadata">

**Author:** [@Karl\_Kraft](https://www.ruby-forum.com/u/Karl_Kraft)\
**Replies:** 2\
**Last updated:** [August 6, 2010, 3:59am UTC](https://www.ruby-forum.com/t/smtp-auth-with-xclient-impossible-or-just-difficult/192728 "2010-08-06T03:59:44Z")

</div>

I have been successful at using nginx as a front end to POP and IMAP servers to keep mailboxes spread across multiple machines. It also provided the added benefit of enabling SSL for privacy. I wrote a custom HTTP b…

---

## [Script for wrapping and unwrapping text?](https://www.ruby-forum.com/t/script-for-wrapping-and-unwrapping-text/145764)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 1:11am UTC](https://www.ruby-forum.com/t/script-for-wrapping-and-unwrapping-text/145764 "2008-08-14T01:11:38Z")

</div>

I’m interested in storing, say, wiki pages as flat files that can be edited with Vim or Emacs and also processed with line-based unix text tools and version control systems like Git. All these tools work much better w…

---

## [Validates\_associated doesn't work on update (and i've tried :on =\> :update)](https://www.ruby-forum.com/t/validates-associated-doesnt-work-on-update-and-ive-tried-on-update/140106)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/validates-associated-doesnt-work-on-update-and-ive-tried-on-update/140106 "2008-06-11T14:51:04Z")

</div>

HI all- I have two models, Story and Tag, and they are habtm. My goal is to show the errors for @story in a form on both new and edit. Everything works fine on new/create, but it fails on edit/update. First the mo…

---

## [Glib-enum-types.c error](https://www.ruby-forum.com/t/glib-enum-types-c-error/137900)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [May 18, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/glib-enum-types-c-error/137900 "2008-05-18T15:01:15Z")

</div>

Hi there, I seem to have a problem getting ruby-glib to compile. First some info about my setup: Linux gcc version 4.2.1 ruby 1.8.7 (2008-04-20 patchlevel 0) \[i686-linux\] glib 2.16.3 gtk 2.12.9 Here the error (i …

---

## [Load fixtures](https://www.ruby-forum.com/t/load-fixtures/94614)

<div class="topic-metadata">

**Author:** [@Kian](https://www.ruby-forum.com/u/Kian)\
**Replies:** 2\
**Last updated:** [May 10, 2006, 2:07am UTC](https://www.ruby-forum.com/t/load-fixtures/94614 "2006-05-10T02:07:31Z")

</div>

I’m finally getting beyond using basic test fixtures, and a few questions have popped up. Has anyone found ways to do these? Use a test fixture that is named differently from its table name? We’d like to have more…

---

## [Newbie web development](https://www.ruby-forum.com/t/newbie-web-development/156133)

<div class="topic-metadata">

**Author:** [@rpflaum](https://www.ruby-forum.com/u/rpflaum)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 11:39am UTC](https://www.ruby-forum.com/t/newbie-web-development/156133 "2024-11-26T11:39:22Z")

</div>

Hello All, I have been a C++ desktop applications developer for 10 years now, with a bit of C# programming, still in desktop applications. I am excited to make a move to learn web applications development. I figure …

---

## [Possible bug with cached redirects and chunked encoding](https://www.ruby-forum.com/t/possible-bug-with-cached-redirects-and-chunked-encoding/181552)

<div class="topic-metadata">

**Author:** [@sfussenegger](https://www.ruby-forum.com/u/sfussenegger)\
**Replies:** 1\
**Last updated:** [January 13, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/possible-bug-with-cached-redirects-and-chunked-encoding/181552 "2010-01-13T19:05:02Z")

</div>

Hi all, I have a problem using nginx as reverse proxy cache (in front of Jetty). Depending on the client, a redirect from cache takes either very long to complete or fails (curl: (18) transfer closed with outstanding …

---

## [WxRuby installation solution for Ubuntu 9.10](https://www.ruby-forum.com/t/wxruby-installation-solution-for-ubuntu-9-10/179134)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 8:36am UTC](https://www.ruby-forum.com/t/wxruby-installation-solution-for-ubuntu-9-10/179134 "2009-11-18T08:36:00Z")

</div>

Hi Chauk-Mean P. The wxruby Linux gem has been built with/for Ubuntu 9.04. A different C++ compiler version is shipped with Ubuntu 9.10 (g++ 4.4.1). So the gem is not compatible with Ubuntu 9.10. We may provide a U…

---

## [Helps! Rails database connection guru needed!](https://www.ruby-forum.com/t/helps-rails-database-connection-guru-needed/52752)

<div class="topic-metadata">

**Author:** [@Saiho\_Y](https://www.ruby-forum.com/u/Saiho_Y)\
**Replies:** 1\
**Last updated:** [January 19, 2006, 4:53pm UTC](https://www.ruby-forum.com/t/helps-rails-database-connection-guru-needed/52752 "2006-01-19T16:53:54Z")

</div>

Hi, I really need help to understand what is happening while Rails connect to a database, (we area actually using postgresql, so my example will be with postgresql) What I understand is Rails is able to connect to d…

---

## [Screen for adding/deleting items from 2 List Boxes and linking with search page](https://www.ruby-forum.com/t/screen-for-adding-deleting-items-from-2-list-boxes-and-linking-with-search-page/217425)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 6, 2012, 4:05pm UTC](https://www.ruby-forum.com/t/screen-for-adding-deleting-items-from-2-list-boxes-and-linking-with-search-page/217425 "2012-03-06T16:05:10Z")

</div>

Basically need to develop a GUI which can be helpful in adding/removing items from one listbox to another. This should be linked to a previous search page to retrieve the items from a simple search. I have developed a…

---

## [Execution order of HttpLimitReq, proxy\_pass and rewrites](https://www.ruby-forum.com/t/execution-order-of-httplimitreq-proxy-pass-and-rewrites/205138)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 30, 2011, 8:52pm UTC](https://www.ruby-forum.com/t/execution-order-of-httplimitreq-proxy-pass-and-rewrites/205138 "2011-03-30T20:52:21Z")

</div>

Hello, I have tried to rate limit a resource using HttpLimitReq that is passed on to a backend Apache server. Now when I try to limit this resource, nothing is blocked and all requests go through. When using static r…

---

## [Prevent caching of helper method](https://www.ruby-forum.com/t/prevent-caching-of-helper-method/169193)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 5\
**Last updated:** [June 1, 2009, 10:03am UTC](https://www.ruby-forum.com/t/prevent-caching-of-helper-method/169193 "2009-06-01T10:03:29Z")

</div>

Hi, I have a helper method to get a date from a cookie (in application helper) that looks like this: def getToday if(cookies\[:date\]) cookies\[:date\].to\_date else Date.today end end I set the cooke date using a b…

---

## [Cucumber - Performance](https://www.ruby-forum.com/t/cucumber-performance/157097)

<div class="topic-metadata">

**Author:** [@trptcolin](https://www.ruby-forum.com/u/trptcolin)\
**Replies:** 5\
**Last updated:** [March 4, 2009, 11:40am UTC](https://www.ruby-forum.com/t/cucumber-performance/157097 "2009-03-04T11:40:36Z")

</div>

Hi, Small question on performance. I’ve just run the CS example provided with Cucumber and it took about 45-50 seconds before the first output appeared in the console, but once this first output had appeared the test…

---

## [Creacion de rutas - error en link\_to y link\_to\_remote](https://www.ruby-forum.com/t/creacion-de-rutas-error-en-link-to-y-link-to-remote/157914)

<div class="topic-metadata">

**Author:** [@agustinvinao](https://www.ruby-forum.com/u/agustinvinao)\
**Replies:** 5\
**Last updated:** [January 16, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/creacion-de-rutas-error-en-link-to-y-link-to-remote/157914 "2009-01-16T23:32:26Z")

</div>

Buenas a todos, estoy intentando armar unas rutas para mi aplicacion, pero tengo problemas cuando se arman los links con link\_to y link\_to\_remote, el tema es asi: Mis rutas en routes.rb son: map.connect ‘:categoria/:…

---

## [Sort hash, hash key and val off by one, see attached](https://www.ruby-forum.com/t/sort-hash-hash-key-and-val-off-by-one-see-attached/157432)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 5\
**Last updated:** [January 12, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/sort-hash-hash-key-and-val-off-by-one-see-attached/157432 "2009-01-12T15:06:42Z")

</div>

Please help me with this. I have been trying for days to get this right. I don’t see a next method for a hash. Just don’t know what to do. Thanks MC Temp1.txt PersonID,PersonID ID,ID LastName,Social Security \<need t…

---

## [Alternatives to ?\\C-n, ?\\M-a etc in ruby 1.9](https://www.ruby-forum.com/t/alternatives-to-c-n-m-a-etc-in-ruby-1-9/154277)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 5\
**Last updated:** [November 28, 2008, 6:31am UTC](https://www.ruby-forum.com/t/alternatives-to-c-n-m-a-etc-in-ruby-1-9/154277 "2008-11-28T06:31:35Z")

</div>

I need to make a rather important design in my 1.8 application, so i don’t have too much rework to do when i want to port to 1.9. I understand that in 1.9 we would use String.ord for cases like a\[0\] or ?a (getting asc…

---

## [Best way to invoke JRuby from Java](https://www.ruby-forum.com/t/best-way-to-invoke-jruby-from-java/138686)

<div class="topic-metadata">

**Author:** [@Matt\_Fletcher](https://www.ruby-forum.com/u/Matt_Fletcher)\
**Replies:** 5\
**Last updated:** [May 28, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/best-way-to-invoke-jruby-from-java/138686 "2008-05-28T15:59:04Z")

</div>

Hi. Short version: I need to start JRuby from Java. I’m wondering what the preferred way is to do that now. I’ve perused two wiki pages (http://wiki.jruby.org/wiki/Java\_Integration and (http://wiki.jruby.org/wiki/Di…

---

## [Phpinfo for RoR?](https://www.ruby-forum.com/t/phpinfo-for-ror/108198)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 5\
**Last updated:** [June 30, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/phpinfo-for-ror/108198 "2007-06-30T21:11:56Z")

</div>

Dear all, Is there something like phpinfo() for RoR? I have a dual install of ruby and would like to know which version I am actually using. Thanks in advance! Harm

---

## [Str.scan](https://www.ruby-forum.com/t/str-scan/106907)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 5\
**Last updated:** [June 15, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/str-scan/106907 "2007-06-15T17:46:25Z")

</div>

I have a page of html, the usual thing. It has an ordered list. So it has item item item item Well, I am going through this my usual way, which is just brute force string manipulation. It’…

---

## [Proofread Theme Catalog](https://www.ruby-forum.com/t/proofread-theme-catalog/97740)

<div class="topic-metadata">

**Author:** [@hapticbovinator](https://www.ruby-forum.com/u/hapticbovinator)\
**Replies:** 5\
**Last updated:** [July 12, 2006, 8:14am UTC](https://www.ruby-forum.com/t/proofread-theme-catalog/97740 "2006-07-12T08:14:05Z")

</div>

A while back I thought it would be cool to set up a theme repository that allowed themes to be tested and maintained against multiple versions of Typo. It took longer than expected due to a sudden flurry of house buy…

---

## [Fwd: Generate MS Word files in Rails](https://www.ruby-forum.com/t/fwd-generate-ms-word-files-in-rails/234744)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 26, 2015, 1:00pm UTC](https://www.ruby-forum.com/t/fwd-generate-ms-word-files-in-rails/234744 "2015-03-26T13:00:29Z")

</div>

On Wed, Mar 25, 2015 at 7:32 PM, Scott R. removed\_email\_address@domain.invalid wrote: You might want to use RTF templates instead. It’s a format you can more easily search for your markers and modify, and Word will…

---

## [Getting the associated exception instance after using rb\_protect()](https://www.ruby-forum.com/t/getting-the-associated-exception-instance-after-using-rb-protect/219360)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [April 30, 2012, 9:57pm UTC](https://www.ruby-forum.com/t/getting-the-associated-exception-instance-after-using-rb-protect/219360 "2012-04-30T21:57:56Z")

</div>

Hi, by using rb\_protect() I can get an integer “exception” which I can use within rb\_jump\_tag(exception) and that causes the exception to be executed. Ok, but what I need is the associated Ruby exception object that …

---

## [Windows pry editor setup](https://www.ruby-forum.com/t/windows-pry-editor-setup/213797)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 29, 2011, 10:55am UTC](https://www.ruby-forum.com/t/windows-pry-editor-setup/213797 "2011-12-29T10:55:18Z")

</div>

Does anyone know the correct way to configure Pry’s editor variable on Windows? I use Emacs so I took the wiki entry Pry.config.editor = proc { | file, line| “emacsclient +#{line} #{file}” } However when I run the ed…

---

## [Problem with Rails Action Mailer](https://www.ruby-forum.com/t/problem-with-rails-action-mailer/213921)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 16, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/problem-with-rails-action-mailer/213921 "2011-11-16T14:18:20Z")

</div>

Hi all, I have a problem with my action mailer .! When i send mail in the email it shows the html tags same written as in mailer view html here is my code: In the Model :---------------- class CronjobMailer \< Actio…

---

## [RSSI estimation](https://www.ruby-forum.com/t/rssi-estimation/187676)

<div class="topic-metadata">

**Author:** [@bin\_zan](https://www.ruby-forum.com/u/bin_zan)\
**Replies:** 4\
**Last updated:** [April 28, 2010, 3:13am UTC](https://www.ruby-forum.com/t/rssi-estimation/187676 "2010-04-28T03:13:39Z")

</div>

Hello, Anyone know if it is correct to roughly estimate RSSI information from I/Q values. For example is it correct to say RSSI of a message is equal to 10log10(I^2-Q^2). Otherwise, what is the correct way to obtain …

---

## [trap(:INT); system(); STDIN.gets(); ^C](https://www.ruby-forum.com/t/trap-int-system-stdin-gets-c/186122)

<div class="topic-metadata">

**Author:** [@clashcityrocker](https://www.ruby-forum.com/u/clashcityrocker)\
**Replies:** 4\
**Last updated:** [April 1, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/trap-int-system-stdin-gets-c/186122 "2010-04-01T19:30:33Z")

</div>

Considering a trivial example: trap :INT do puts puts ‘Bye’ exit end system ‘date’ print 'Say something: ’ STDOUT.flush puts “You said: #{STDIN.gets}” When prompted to say something, hitting Ctrl+C will call tra…

---

## [Binary image and email](https://www.ruby-forum.com/t/binary-image-and-email/179096)

<div class="topic-metadata">

**Author:** [@lune9](https://www.ruby-forum.com/u/lune9)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/binary-image-and-email/179096 "2009-11-19T17:32:29Z")

</div>

Hi, I generate graphs in Flash (with open flash charts) that I convert in a binary image. Then I send the source in an email but I don’t have the image in the mail. The content type of the mail is “text/html”. Do I h…

---

## [How to get stacktrace for extending Ruby in C](https://www.ruby-forum.com/t/how-to-get-stacktrace-for-extending-ruby-in-c/166045)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 4\
**Last updated:** [April 22, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/how-to-get-stacktrace-for-extending-ruby-in-c/166045 "2009-04-22T19:31:43Z")

</div>

Hi I extend ruby with C . i get error like segmentation fault when i call my client.rb how can i get the stacktrace ? Pls help me out Thanks

---

## [Euruko 2009: el 9 y 10 de mayo en Barcelona](https://www.ruby-forum.com/t/euruko-2009-el-9-y-10-de-mayo-en-barcelona/155303)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 4\
**Last updated:** [December 12, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/euruko-2009-el-9-y-10-de-mayo-en-barcelona/155303 "2008-12-12T21:03:36Z")

</div>

Perdon por el offtopic, pero creo que es de interÃ©s general: Ya hemos cerrado las fechas para la proxÃ­ma Euruko el prÃ³ximo aÃ±o en Barcelona, son el 9 y 10 de mayo y se celebrarÃ¡ en el Citilab \[1\] De momento Matz …

---

## [Request.params causing errors](https://www.ruby-forum.com/t/request-params-causing-errors/134546)

<div class="topic-metadata">

**Author:** [@reivilo](https://www.ruby-forum.com/u/reivilo)\
**Replies:** 4\
**Last updated:** [April 11, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/request-params-causing-errors/134546 "2008-04-11T22:38:47Z")

</div>

Hello, I have a rhtml file that goes through the request.params. One of my test generates that file, but rspec pops an error saying : undefined method ‘params’ for … I’m not sure what to do with this, since request…

---

## [Search for dates in oracle not working?](https://www.ruby-forum.com/t/search-for-dates-in-oracle-not-working/92288)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 4\
**Last updated:** [May 1, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/search-for-dates-in-oracle-not-working/92288 "2007-05-01T15:03:01Z")

</div>

hi list, i’m using the oci adapter to talk to Oracle 9i on Win XP Pro, ruby 185-21, rails 1.2.1 my controller has this code (simplified for testing): sql = “SELECT \* FROM reviews WHERE ((created\_at between ‘06feb07’ …

---

## [Splitting an array into sub\_arrays ...need advice](https://www.ruby-forum.com/t/splitting-an-array-into-sub-arrays-need-advice/90046)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/splitting-an-array-into-sub-arrays-need-advice/90046 "2007-03-27T17:51:06Z")

</div>

I have an array similar to this example (after sorting it on a\[i\]\[1\] and a\[i\]\[2\]) start\_array = \[ \[1, 1, 1, 0\], \[2, 1, 1, 0\], \[3, 1, 1, 0\], \[4, 1, 2, 0\], \[5, 1, 2, 0\], \[6, 2, 1, 0\], \[7, 2, 1, 0\], \[8, 2, 2, 0\], \[9, 2,…

---

## [Undefining an engine action?](https://www.ruby-forum.com/t/undefining-an-engine-action/68839)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 4\
**Last updated:** [February 16, 2006, 5:08am UTC](https://www.ruby-forum.com/t/undefining-an-engine-action/68839 "2006-02-16T05:08:28Z")

</div>

How can I override an engine action with nothingness? For instance, I want all my users to register themselves, so I want to remove the ability to create a new user. I tried def new end as well as undef new in …

---

## [Problems install RForum 0.2](https://www.ruby-forum.com/t/problems-install-rforum-0-2/89192)

<div class="topic-metadata">

**Author:** [@zerohalo](https://www.ruby-forum.com/u/zerohalo)\
**Replies:** 4\
**Last updated:** [January 4, 2006, 5:41am UTC](https://www.ruby-forum.com/t/problems-install-rforum-0-2/89192 "2006-01-04T05:41:50Z")

</div>

When trying to do a clean install of RForum 0.2, rake migrate gives me the following error: rake aborted! Mysql::Error: You have an error in your SQL syntax near ‘ENGINE=InnoDB’ at line 1: CREATE TABLE attachments (i…

---

## [Configuring Ruby on Rails on IIS](https://www.ruby-forum.com/t/configuring-ruby-on-rails-on-iis/259640)

<div class="topic-metadata">

**Author:** [@usamaalam](https://www.ruby-forum.com/u/usamaalam)\
**Replies:** 0\
**Last updated:** [May 25, 2020, 5:41pm UTC](https://www.ruby-forum.com/t/configuring-ruby-on-rails-on-iis/259640 "2020-05-25T17:41:01Z")

</div>

Hi, I am new to Ruby on Rails. I have an existing website that I need to configure on IIS. I installed Ruby Hosting package from Web Platform Installer. When I ran the website, I got the following error. The page you a…

---

## [Understanding counts\[counts\_idx\]\[0\]?](https://www.ruby-forum.com/t/understanding-counts-counts-idx-0/244120)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 23, 2016, 9:30pm UTC](https://www.ruby-forum.com/t/understanding-counts-counts-idx-0/244120 "2016-02-23T21:30:52Z")

</div>

def num\_repeats(string) counts = \[\] str\_idx = 0 while str\_idx \< string.length letter = string\[str\_idx\] counts\_idx = 0 while counts\_idx \< counts.length if counts\[counts\_idx\]\[0\] == letter counts\[counts\_idx\]\[1\] +…

---

## [Good queue manager?](https://www.ruby-forum.com/t/good-queue-manager/242765)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [July 20, 2015, 11:16pm UTC](https://www.ruby-forum.com/t/good-queue-manager/242765 "2015-07-20T23:16:09Z")

</div>

What’s a good admin interface for managing your queues (like delayed job)? I had a good experience with Google App Engine’s, but that was for Python, not Rails, so I’m wondering if there’s something similar.

---

## [Ruby on Rails Developer for tech start-up in Berlin – Visasponsorship](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-tech-start-up-in-berlin-visasponsorship/231768)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 29, 2014, 1:54pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-for-tech-start-up-in-berlin-visasponsorship/231768 "2014-08-29T13:54:42Z")

</div>

Our client is one of Europe’s most successful tech start-ups and is expanding at a rapid rate. This is an incredible opportunity for an Ruby enthusiast to get involved with various cutting edge Greenfield projects. Th…

---

## [Better visualizations of spec running time besides --profile?](https://www.ruby-forum.com/t/better-visualizations-of-spec-running-time-besides-profile/211301)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 1, 2011, 10:19am UTC](https://www.ruby-forum.com/t/better-visualizations-of-spec-running-time-besides-profile/211301 "2011-09-01T10:19:00Z")

</div>

We have about 2,000 specs in a Rails app that take roughly 80 seconds to run, and I’m trying to improve the performance of things a bit. While the profile mode has proven useful so far, it only shows the top ten slowe…

---

## [Has\_many :through: zusÃ¤tz licher Join fÃ¼r through-Model?](https://www.ruby-forum.com/t/has-many-zusa-tz-licher-join-fa-r-through-model/162277)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 3\
**Last updated:** [March 9, 2009, 12:54am UTC](https://www.ruby-forum.com/t/has-many-zusa-tz-licher-join-fa-r-through-model/162277 "2009-03-09T00:54:12Z")

</div>

Um ein paar der neuen Rails-Features auszuprobieren, baue ich eine kleine Filmdatenbank. Darin gibt es Filme, Personen, Rollen und RollenTypen. RollenTypen gibt es “Schauspieler” und “Regisseur”. Ich möchte nun für Pe…

---

## [Part.require expected behaviour](https://www.ruby-forum.com/t/part-require-expected-behaviour/121461)

<div class="topic-metadata">

**Author:** [@Arne\_B](https://www.ruby-forum.com/u/Arne_B)\
**Replies:** 3\
**Last updated:** [November 28, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/part-require-expected-behaviour/121461 "2007-11-28T15:14:44Z")

</div>

Hi devs, Part.require(“part\_name”) currently does a Kernel.require(“./part/part\_name”). The consequence is that only parts in the actual application directory can be loaded with Part.require. If they’re somewhere els…

---

## [ActiveRecord, blocking or async, logging, syslog/udp](https://www.ruby-forum.com/t/activerecord-blocking-or-async-logging-syslog-udp/114356)

<div class="topic-metadata">

**Author:** [@marcbey](https://www.ruby-forum.com/u/marcbey)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/activerecord-blocking-or-async-logging-syslog-udp/114356 "2007-09-17T13:25:12Z")

</div>

Here’s a gedanken experiment for those w/ far more knowledge than I about ActiveRecord, etc.: Let’s say my database is very remote and on a very slow machine. Let’s further say that my app has an action that leads t…

---

## [\[USRP\] tracking the transmission/receiving process](https://www.ruby-forum.com/t/usrp-tracking-the-transmission-receiving-process/243299)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 9, 2015, 8:36pm UTC](https://www.ruby-forum.com/t/usrp-tracking-the-transmission-receiving-process/243299 "2015-09-09T20:36:57Z")

</div>

Hello, I’ve been tracking the source code to figure out the procedure of transmission/receiving. All I’ve found out is that the parameters (e.g. freq, gain, etc.) are stored in a property tree, and messages are inser…

---

## [How to specify vector input signature for gr\_sync\_block](https://www.ruby-forum.com/t/how-to-specify-vector-input-signature-for-gr-sync-block/245630)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 22, 2013, 9:45pm UTC](https://www.ruby-forum.com/t/how-to-specify-vector-input-signature-for-gr-sync-block/245630 "2013-06-22T21:45:00Z")

</div>

I am trying to write code for a block which accepts a vector input and spits out a vector output. The block is derived from gr\_sync\_block. From the tutorial on OOThttp://gnuradio.org/redmine/projects/gnuradio/wiki/Out…

---

## [Torquebox JRuby/Rails app rarely loads](https://www.ruby-forum.com/t/torquebox-jruby-rails-app-rarely-loads/228067)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 2\
**Last updated:** [April 9, 2013, 1:58am UTC](https://www.ruby-forum.com/t/torquebox-jruby-rails-app-rarely-loads/228067 "2013-04-09T01:58:34Z")

</div>

I am having one heck of a time keeping an app running. Every time I restart the app for any reason (and it’s in staging, so it restarts A LOT), I get this “JRuby puke”: javax.servlet.ServletException: org.jruby.except…

---

## [Mysql2 error in production](https://www.ruby-forum.com/t/mysql2-error-in-production/215755)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 16, 2012, 12:54am UTC](https://www.ruby-forum.com/t/mysql2-error-in-production/215755 "2012-01-16T00:54:30Z")

</div>

As I need to upgrade a Rails app to 3.1 , I am trying to deploy it on a remote production server ( Linux Debian, after installing Rails 3.0.9 under rvm with all needed gems including mysql2 version 0.2.18 used by th…

---

## [Expanding a Button in a GridSizer vertically](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 28, 2011, 1:11pm UTC](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266 "2011-09-28T13:11:26Z")

</div>

Hi there, when adding a Button to a GridSizer cell, i can expand it with the EXPAND flag horizontally. But how can i expand it vertically, so that it will fill the whole cell? Thank you, Simon

---

## [Validating an individual field (Rails 3)](https://www.ruby-forum.com/t/validating-an-individual-field-rails-3/186896)

<div class="topic-metadata">

**Author:** [@cult\_hero](https://www.ruby-forum.com/u/cult_hero)\
**Replies:** 2\
**Last updated:** [April 14, 2010, 6:17pm UTC](https://www.ruby-forum.com/t/validating-an-individual-field-rails-3/186896 "2010-04-14T18:17:52Z")

</div>

I’m working on a form using a model that isn’t tied to a database or ORM at all and using ActiveModel::Validations works like a charm. I’m very pleased with it thus far. However, I can’t find an obvious way to validat…

---

## [Interacting with a WPF/Winforms application](https://www.ruby-forum.com/t/interacting-with-a-wpf-winforms-application/145937)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [August 16, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/interacting-with-a-wpf-winforms-application/145937 "2008-08-16T21:38:51Z")

</div>

Hi Is there a simple way to interact with the GUI of a WPF/Winforms application? I’ll clarify a little what I would like to achieve: when you start a console session with an environment loaded you could potentially …

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

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