# Top

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

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

---

## [Non-static page parts](https://www.ruby-forum.com/t/non-static-page-parts/115963)

<div class="topic-metadata">

**Author:** [@Micah\_Wylde](https://www.ruby-forum.com/u/Micah_Wylde)\
**Replies:** 3\
**Last updated:** [October 1, 2007, 1:57am UTC](https://www.ruby-forum.com/t/non-static-page-parts/115963 "2007-10-01T01:57:31Z")

</div>

I’ve written an extension (which I can clean-up and release at some point if there’s interest) that allows for uploading and cropping header images, and then includes a partial in the page editing interface that allow…

---

## [Functional testing controllers that rely authentication](https://www.ruby-forum.com/t/functional-testing-controllers-that-rely-authentication/114442)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/functional-testing-controllers-that-rely-authentication/114442 "2007-09-12T19:41:43Z")

</div>

I have this login scheme in my application.rb controller that looks like this: (pretty must straight from the rails recipes book): def check\_authorization @user=User.find(session\[:user\]) unless @user.roles.det…

---

## [Basic RubyTk questions](https://www.ruby-forum.com/t/basic-rubytk-questions/112339)

<div class="topic-metadata">

**Author:** [@siemsen](https://www.ruby-forum.com/u/siemsen)\
**Replies:** 3\
**Last updated:** [August 18, 2007, 2:55am UTC](https://www.ruby-forum.com/t/basic-rubytk-questions/112339 "2007-08-18T02:55:05Z")

</div>

I have a Mac OS X system. I wrote a Ruby program that uses RubyTk to display a TkLabel. It works, but I’d like a bit more control over how it looks. Here’s the code minus the non-Tk stuff that isn’t relevant to my …

---

## [Deploying the data](https://www.ruby-forum.com/t/deploying-the-data/111602)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 9, 2007, 1:42am UTC](https://www.ruby-forum.com/t/deploying-the-data/111602 "2007-08-09T01:42:40Z")

</div>

I think I have a fundamental misunderstanding of the deployment process that I’m hoping someone can clear up for me. I’ve been developing a rails app on my local machine in the development environment. All data is wr…

---

## [Cache\_page does not work](https://www.ruby-forum.com/t/cache-page-does-not-work/105686)

<div class="topic-metadata">

**Author:** [@shawn\_shao](https://www.ruby-forum.com/u/shawn_shao)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/cache-page-does-not-work/105686 "2007-06-01T17:38:31Z")

</div>

Hi guys: i got a problem on caching my pages: in my Sweeper i wrote: class MySweeper \< ActionController::Caching::Sweeper observe Post def after\_save(post) expire\_page(:controller =\> ‘post’, :action =\> ‘show’, :id =\>…

---

## [Ruby socket programming](https://www.ruby-forum.com/t/ruby-socket-programming/104900)

<div class="topic-metadata">

**Author:** [@monarailguy42](https://www.ruby-forum.com/u/monarailguy42)\
**Replies:** 3\
**Last updated:** [May 24, 2007, 5:06am UTC](https://www.ruby-forum.com/t/ruby-socket-programming/104900 "2007-05-24T05:06:50Z")

</div>

Hello I am trying to write a simple ruby socket program. I am trying to communicate to a device that once I establish a TCPSocket connection I can pass it sql commands and it will return me data. Here is what I have …

---

## [Page Level Caching](https://www.ruby-forum.com/t/page-level-caching/104618)

<div class="topic-metadata">

**Author:** [@Bill\_Rowell](https://www.ruby-forum.com/u/Bill_Rowell)\
**Replies:** 3\
**Last updated:** [May 20, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/page-level-caching/104618 "2007-05-20T21:36:16Z")

</div>

I’ve been searching the archives and google for a way to do this, but can’t find what I’m looking for. Is there a way to disable caching on a particular page? I don’t want to disable it for the entire site, just one…

---

## [Migrate, 2 aplicaciones y una BD](https://www.ruby-forum.com/t/migrate-2-aplicaciones-y-una-bd/85753)

<div class="topic-metadata">

**Author:** [@Jonathan\_HernSSSSnd](https://www.ruby-forum.com/u/Jonathan_HernSSSSnd)\
**Replies:** 3\
**Last updated:** [February 16, 2007, 9:54am UTC](https://www.ruby-forum.com/t/migrate-2-aplicaciones-y-una-bd/85753 "2007-02-16T09:54:06Z")

</div>

Buenas a todos, SegÃºn veo, migrate esta concebido para cuando se trabaja con 1 aplicaciÃ³n - 1 BD. En mi situaciÃ³n, estoy haciendo 2 aplicaciones. Una para cliente y otra para administrar. Estan separadas pero atac…

---

## [How many mongel backends for an application?](https://www.ruby-forum.com/t/how-many-mongel-backends-for-an-application/85661)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/how-many-mongel-backends-for-an-application/85661 "2007-02-15T13:23:56Z")

</div>

A question that appears to have not been asked nor answered in this group… How many mongrel backends for an application? How do you measure how the mongrel instances are going? (When do you decide to add another inst…

---

## [: Ruby/FLTK 0.9.6](https://www.ruby-forum.com/t/ruby-fltk-0-9-6/81512)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 3\
**Last updated:** [January 9, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ruby-fltk-0-9-6/81512 "2007-01-09T23:10:57Z")

</div>

Ruby/FLTK 0.9.6 , 2007-01-09 http://ruby-fltk.sourceforge.net/ “Graphical functions of FLTK for make benefit glorious language of Ruby” What is this?: Ruby/FLTK is a Ruby binding for the FLTK (Fast, Light Toolkit) GU…

---

## [Metacarta-geoparser 1.0.2 Released](https://www.ruby-forum.com/t/metacarta-geoparser-1-0-2-released/77464)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 3\
**Last updated:** [November 28, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/metacarta-geoparser-1-0-2-released/77464 "2006-11-28T20:52:28Z")

</div>

metacarta-geoparser version 1.0.2 has been released! http://dev.robotcoop.com/Libraries/metacarta-geoparser Map addresses to latitude and longitude with MetaCarta’s GeoParser API. Changes: = 1.0.2 Upgraded to rc-re…

---

## [Manipuler un tableau de tableaux](https://www.ruby-forum.com/t/manipuler-un-tableau-de-tableaux/69958)

<div class="topic-metadata">

**Author:** [@zencocoon](https://www.ruby-forum.com/u/zencocoon)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 7:35am UTC](https://www.ruby-forum.com/t/manipuler-un-tableau-de-tableaux/69958 "2006-09-26T07:35:40Z")

</div>

Salut, dans un tableau de tableaux je souhaite retrouver le première element en ne connaissant que le deuxième. Dans le cas suivant, comment récupérer “key\_1” quand on ne connait que “value\_1” MY\_ARRAY = \[ \[“key\_1”,…

---

## [If\_url and menu sub menus](https://www.ruby-forum.com/t/if-url-and-menu-sub-menus/98439)

<div class="topic-metadata">

**Author:** [@Erik\_BSOrdway](https://www.ruby-forum.com/u/Erik_BSOrdway)\
**Replies:** 3\
**Last updated:** [July 14, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/if-url-and-menu-sub-menus/98439 "2006-07-14T21:40:20Z")

</div>

I have a site structure like this. --\> denote children Main Page –\>scicomp ----\>student\_projects ----\>instruments ------\>gcms ------\>ftir ------\>sem –\>other areas h3. Scientific Computing \<r:find url="/scicom…

---

## [How to use Rails and REST](https://www.ruby-forum.com/t/how-to-use-rails-and-rest/58488)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 3\
**Last updated:** [April 22, 2006, 9:54am UTC](https://www.ruby-forum.com/t/how-to-use-rails-and-rest/58488 "2006-04-22T09:54:33Z")

</div>

Hi, I just wrote an article on how to easily create a REST API for Ruby on Rails applications: Putting REST on Rails It describes how to create everything from the ground up and includes information on testing your …

---

## [Multiple indexes?](https://www.ruby-forum.com/t/multiple-indexes/51528)

<div class="topic-metadata">

**Author:** [@cooldudevamsee](https://www.ruby-forum.com/u/cooldudevamsee)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 1:57pm UTC](https://www.ruby-forum.com/t/multiple-indexes/51528 "2006-01-03T13:57:13Z")

</div>

Hi, I'm indexing records from different database tables and they have identical column names in many cases. Does this mean I have to create different indexes for each table? TIA, Vamsee.

---

## [Differences between 1.8.2 and 1.8.4](https://www.ruby-forum.com/t/differences-between-1-8-2-and-1-8-4/50258)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 3\
**Last updated:** [December 15, 2005, 11:26am UTC](https://www.ruby-forum.com/t/differences-between-1-8-2-and-1-8-4/50258 "2005-12-15T11:26:27Z")

</div>

Is there any place that summarizes the major differences between Ruby 1.8.2 and Ruby 1.8.4? I’ve got Ruby 1.8.2 installed in a bunch of places and am wondering if it’s worth it to upgrade. Thanks, Joe

---

## [Multiple array problem](https://www.ruby-forum.com/t/multiple-array-problem/223676)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 13, 2012, 8:19pm UTC](https://www.ruby-forum.com/t/multiple-array-problem/223676 "2012-10-13T20:19:04Z")

</div>

Hello, Suppose I have 3 arrays with content. The content are articles of that category.Now I want 1 of the 3 arrays displayed and the other 2 not.Which array depends on the content. Now I can make 3 times this code. …

---

## [Accessing a file with normal Ruby IO fails. Security issue of what?](https://www.ruby-forum.com/t/accessing-a-file-with-normal-ruby-io-fails-security-issue-of-what/153924)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 6\
**Last updated:** [November 26, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/accessing-a-file-with-normal-ruby-io-fails-security-issue-of-what/153924 "2008-11-26T21:27:57Z")

</div>

Hi, I’m developing a small Rails 2.2.0 app. I have a slightly modified scaffold-generated file, PayrollSys\\app\\controllers\\cvs\_items\_controller.rb, as follows: class CvsItemsController \< ApplicationController GET …

---

## [ActiveRecord::StatementInvalid error](https://www.ruby-forum.com/t/activerecord-statementinvalid-error/145597)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 6\
**Last updated:** [August 13, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-error/145597 "2008-08-13T13:03:07Z")

</div>

I updated to Rails 2.1.0 and I’m getting an ActiveRecord::StatementInvalid error on an sql query that was working on the previous version. A simple call with and include getting data from 2 tables. I’m not sure why th…

---

## [Global www removal/redirect?](https://www.ruby-forum.com/t/global-www-removal-redirect/140043)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 6\
**Last updated:** [June 10, 2008, 12:57pm UTC](https://www.ruby-forum.com/t/global-www-removal-redirect/140043 "2008-06-10T12:57:24Z")

</div>

Is there a quick way to remove the redirect from http://www.\* to http://\* without listing all the domains? I’m about to point a couple of hundred domains to a box running nginx, and need to remove all the www’s from …

---

## [Why cannot i put conditions in when clause](https://www.ruby-forum.com/t/why-cannot-i-put-conditions-in-when-clause/139648)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 6\
**Last updated:** [June 5, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/why-cannot-i-put-conditions-in-when-clause/139648 "2008-06-05T21:16:16Z")

</div>

irb(main):003:0\> case a irb(main):004:1\> when 0 irb(main):005:1\> puts “0” irb(main):006:1\> when \>0 irb(main):007:1\> puts “greater” irb(main):008:1\> end SyntaxError: compile error (irb):6: syntax error, unexpected …

---

## [Use Ruby on Rails for a standalone prototype?](https://www.ruby-forum.com/t/use-ruby-on-rails-for-a-standalone-prototype/131079)

<div class="topic-metadata">

**Author:** [@flag](https://www.ruby-forum.com/u/flag)\
**Replies:** 6\
**Last updated:** [March 13, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/use-ruby-on-rails-for-a-standalone-prototype/131079 "2008-03-13T15:41:36Z")

</div>

I need to develop a web prototype. I want to learn and use Ruby on Rails to do it. I don’t have an ISP for this project. I want to build it on my laptop (WinXP Pro), then zip it up nicely for a clean easy install o…

---

## [Again .. Proplem while creating new ruby project](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039)

<div class="topic-metadata">

**Author:** [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Replies:** 6\
**Last updated:** [March 12, 2008, 10:52am UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039 "2008-03-12T10:52:33Z")

</div>

hello everyone, i have a proplem while creating new application . when i starting the WEBrick Built-in Server by writing the command ruby script/server in the directory of the project ,it’s appear to me a long Error…

---

## [Gsub help](https://www.ruby-forum.com/t/gsub-help/113226)

<div class="topic-metadata">

**Author:** [@hurcan\_solter](https://www.ruby-forum.com/u/hurcan_solter)\
**Replies:** 6\
**Last updated:** [August 29, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/gsub-help/113226 "2007-08-29T20:01:31Z")

</div>

Hi there; this is more of a regexp question but I’de be happy if you help me since i am doing it in ruby. i want to beautify some line by inserting or removing some space around the operators like = or == so i came …

---

## [Paginating a find](https://www.ruby-forum.com/t/paginating-a-find/109206)

<div class="topic-metadata">

**Author:** [@nanouk](https://www.ruby-forum.com/u/nanouk)\
**Replies:** 6\
**Last updated:** [July 12, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/paginating-a-find/109206 "2007-07-12T20:10:01Z")

</div>

def summary @most\_recent\_fails = Run.find(:all, :order =\> ‘id DESC’) @fails\_pages, @most\_recent\_fails = paginate :most\_recent\_fails, :per\_page =\> 2, :conditions =\> \[‘run\_id=?’, @run.id\] end Brings up the following e…

---

## [Lite RESTful Webservlet](https://www.ruby-forum.com/t/lite-restful-webservlet/82993)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 6\
**Last updated:** [January 23, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/lite-restful-webservlet/82993 "2007-01-23T22:25:32Z")

</div>

Can anyone give me a quick and dirty account of creating a light-weight RESTful web-servlet that can be used to pass data and a file or two to a server. (I’m thinking webrick and maybe JSON could be used?) Anything t…

---

## [Selecting 'attribute id' not 'object id'](https://www.ruby-forum.com/t/selecting-attribute-id-not-object-id/75987)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 6\
**Last updated:** [November 15, 2006, 12:31am UTC](https://www.ruby-forum.com/t/selecting-attribute-id-not-object-id/75987 "2006-11-15T00:31:16Z")

</div>

When a user logs in I want to grab the room he lives in by its id but I can’t seem to get only the room id! session\[:current\_room\_id\] = Person.find(session\[:person\_id\]).rooms.id returns this for ‘session’: — …

---

## [\[OT\] PDF's not Downloading in Win/IE](https://www.ruby-forum.com/t/ot-pdfs-not-downloading-in-win-ie/100870)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 6\
**Last updated:** [August 3, 2006, 1:23pm UTC](https://www.ruby-forum.com/t/ot-pdfs-not-downloading-in-win-ie/100870 "2006-08-03T13:23:29Z")

</div>

I have a Rails app that’s working perfectly (http://amuinsurance.com), but on Windows IE and no other browser, if I go for the URL: http://amuinsurance.com/content/marine\_insurance.pdf View this message in context: …

---

## [Ruby 1.8.4 compilation failed on cygwin](https://www.ruby-forum.com/t/ruby-1-8-4-compilation-failed-on-cygwin/61343)

<div class="topic-metadata">

**Author:** [@uncutstone](https://www.ruby-forum.com/u/uncutstone)\
**Replies:** 6\
**Last updated:** [May 29, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-compilation-failed-on-cygwin/61343 "2006-05-29T16:50:19Z")

</div>

My current ruby version is 1.8.1 under cygwin , I want to upgrade it to 1.8.4. Here is the info about the enviroment: cygwin version 2.427 window 98 ruby - 1.8.4 source code After run ./configure and make, I got th…

---

## [OT: best books](https://www.ruby-forum.com/t/ot-best-books/95174)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 6\
**Last updated:** [May 23, 2006, 11:04pm UTC](https://www.ruby-forum.com/t/ot-best-books/95174 "2006-05-23T23:04:50Z")

</div>

Hopefully this isn’t completely inappropriate, but lately I’ve been curious about what books people have found most helpful in their development as programmers. If one of the icons like Dave T., DHH, Mike C., Andy …

---

## [Todo MVC Ruby Edition is the one Todo MVC To Rule Them All!](https://www.ruby-forum.com/t/todo-mvc-ruby-edition-is-the-one-todo-mvc-to-rule-them-all/264845)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [June 15, 2024, 5:40pm UTC](https://www.ruby-forum.com/t/todo-mvc-ruby-edition-is-the-one-todo-mvc-to-rule-them-all/264845 "2024-06-15T17:40:53Z")

</div>

Todo MVC is a popular sample that is built in all Web Frontend Frameworks to provide a comprehensive SPA (Single Page Application) example covering all basic Frontend features. As such, it provides Software Engineers wit…

---

## [How to create a monocrome bitmap with win32api](https://www.ruby-forum.com/t/how-to-create-a-monocrome-bitmap-with-win32api/245162)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [November 30, 2016, 9:06am UTC](https://www.ruby-forum.com/t/how-to-create-a-monocrome-bitmap-with-win32api/245162 "2016-11-30T09:06:04Z")

</div>

Hello all, I’m trying to convert a visual basic algorithm that copy a bitmap into another performing a transparency effect. The transparence is the fined by a chosen color. In orther to do that, it’s necessary to crea…

---

## [GNU Radio Support for Matchstiq](https://www.ruby-forum.com/t/gnu-radio-support-for-matchstiq/236695)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 26, 2013, 12:35am UTC](https://www.ruby-forum.com/t/gnu-radio-support-for-matchstiq/236695 "2013-09-26T00:35:29Z")

</div>

GNU Radio support for Epiq Solutions’ Matchstiq SDR platform is now publicly available. This includes support for both the Matchstiq 001 (TI DM3730 ARM + Xilinx Spartan 6 LX45 FPGA), as well as the Matchstiq Z01 (Xil…

---

## [Ayuda con un Modelo de Base de Datos](https://www.ruby-forum.com/t/ayuda-con-un-modelo-de-base-de-datos/229318)

<div class="topic-metadata">

**Author:** [@wildwill](https://www.ruby-forum.com/u/wildwill)\
**Replies:** 0\
**Last updated:** [January 28, 2013, 5:39am UTC](https://www.ruby-forum.com/t/ayuda-con-un-modelo-de-base-de-datos/229318 "2013-01-28T05:39:34Z")

</div>

Hola tengo una duda de como generar un modelo de base de datos para el siguiente mapa de sitio, las categorias cuentan con diferentes tipos de templates, voy a generar un rails-admin para el cliente y que le sea facil…

---

## [Rspec dry run](https://www.ruby-forum.com/t/rspec-dry-run/212702)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 11, 2011, 1:52pm UTC](https://www.ruby-forum.com/t/rspec-dry-run/212702 "2011-10-11T13:52:06Z")

</div>

We count how many examples before start executing example, we used to use --dry–run option to achieve this. Now dry run is removed in Rspec 2, do you have a way that we can count examples without executing examples? T…

---

## [Aaf - I can't add new fields search](https://www.ruby-forum.com/t/aaf-i-cant-add-new-fields-search/161053)

<div class="topic-metadata">

**Author:** [@iuranchita](https://www.ruby-forum.com/u/iuranchita)\
**Replies:** 0\
**Last updated:** [February 22, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/aaf-i-cant-add-new-fields-search/161053 "2009-02-22T23:55:12Z")

</div>

Hi, I’m workin with acts\_as\_ferret plugin y the is indexed like this: acts\_as\_ferret :fields =\> \[:name , :description\] but, now i need add a new field to search and make my model like this: acts\_as\_ferret :fields =\> …

---

## [Bugs in Matrix#rank](https://www.ruby-forum.com/t/bugs-in-matrix-rank/84283)

<div class="topic-metadata">

**Author:** [@sander](https://www.ruby-forum.com/u/sander)\
**Replies:** 0\
**Last updated:** [February 2, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/bugs-in-matrix-rank/84283 "2007-02-02T22:06:24Z")

</div>

I think I found some bugs in Matrix#rank ruby -rmatrix -e’p Matrix\[\[7,0\], \[1,0\], \[2,0\]\].rank’ …/matrix.rb:761:in \`/’: nil can’t be coerced into Fixnum (TypeError) ruby -rmatrix -e’p Matrix\[\[7,0\], \[1,0\], \[2,1\]\].ran…

---

## [Time\_select is not disabled](https://www.ruby-forum.com/t/time-select-is-not-disabled/244864)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 29, 2016, 7:20pm UTC](https://www.ruby-forum.com/t/time-select-is-not-disabled/244864 "2016-06-29T19:20:34Z")

</div>

Hi, I have a problem with rails time\_select. I want to disable time\_select while page load. \<%= h.time\_select dow + “\_start\_time”,{minute\_step: 15, ampm: true}, {class: ‘test’, disabled: ‘’} %\> generated html is …

---

## [Debugging 'reverse.rb' --- NoMethodError 'push'](https://www.ruby-forum.com/t/debugging-reverse-rb-nomethoderror-push/243958)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 28, 2016, 12:23pm UTC](https://www.ruby-forum.com/t/debugging-reverse-rb-nomethoderror-push/243958 "2016-01-28T12:23:36Z")

</div>

Write a method that will take a string as input, and return a new string with the same letters in reverse order. Don’t use String’s reverse method; that would be too simple. Difficulty: easy. def reverse(string) input…

---

## [Can someone tell me if it is possible to run a python code directly in GNUradio?](https://www.ruby-forum.com/t/can-someone-tell-me-if-it-is-possible-to-run-a-python-code-directly-in-gnuradio/242452)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 24, 2015, 9:25pm UTC](https://www.ruby-forum.com/t/can-someone-tell-me-if-it-is-possible-to-run-a-python-code-directly-in-gnuradio/242452 "2015-06-24T21:25:06Z")

</div>

Can someone tell me if it is possible to run a python code directly in GNUradio?

---

## [How to require tkextlib/tkimg](https://www.ruby-forum.com/t/how-to-require-tkextlib-tkimg/230238)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 6, 2014, 3:21am UTC](https://www.ruby-forum.com/t/how-to-require-tkextlib-tkimg/230238 "2014-06-06T03:21:26Z")

</div>

Hi all, I have Ruby 2.0.0-x64 installed on my windows 8. I want to require tkimage.rb . I check folder of ‘C:/Ruby200-x64/ruby/2.0.0’ and I can see many subfolders, of two of which are tk and tkextlib. And inside th…

---

## [JRuby 1.7.11 released](https://www.ruby-forum.com/t/jruby-1-7-11-released/239424)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 26, 2014, 3:47pm UTC](https://www.ruby-forum.com/t/jruby-1-7-11-released/239424 "2014-02-26T15:47:36Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.7.11 Homepage: http://www.jruby.org/ Download: http://www.jruby.org/download JRuby 1.7.11 is our eleventh update release since JRuby 1.7.0. The primary …

---

## [Minor misleading configure error-msg around PCRE](https://www.ruby-forum.com/t/minor-misleading-configure-error-msg-around-pcre/237194)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 29, 2013, 11:48am UTC](https://www.ruby-forum.com/t/minor-misleading-configure-error-msg-around-pcre/237194 "2013-10-29T11:48:48Z")

</div>

Hi, ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using –without-http\_rewrite\_module option, or install the PCRE library into the system, or build the PCR…

---

## [How to process Facebook signed request to determine proxy target?](https://www.ruby-forum.com/t/how-to-process-facebook-signed-request-to-determine-proxy-target/216810)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 10, 2013, 6:00pm UTC](https://www.ruby-forum.com/t/how-to-process-facebook-signed-request-to-determine-proxy-target/216810 "2013-09-10T18:00:18Z")

</div>

Hello all, we’re using a Nginx as proxy gateway to several customer specific apache instances on different servers. In order to determine where to route the traffic from a Facebook application, we need to extract the…

---

## [Recursive finds](https://www.ruby-forum.com/t/recursive-finds/212712)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 31, 2011, 11:44pm UTC](https://www.ruby-forum.com/t/recursive-finds/212712 "2011-10-31T23:44:38Z")

</div>

I am trying to supplement and ultimately provide a patch for ‘foreman’ which is an adjunct to puppet. Essentially, there is a Hosts class which belongs\_to Hostgroup and Hostgroup class has a column called ‘ancestry’ w…

---

## [Problems with the Windows gems](https://www.ruby-forum.com/t/problems-with-the-windows-gems/211517)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 10, 2011, 3:48pm UTC](https://www.ruby-forum.com/t/problems-with-the-windows-gems/211517 "2011-09-10T15:48:25Z")

</div>

Here are a couple of problems that I’ve found with the recent Windows gems (1.0.0) that occur if you want to compile against the Gtk/GLib system underneath it. Pkg-config is missing You can download it from http://w…

---

## [Autotest Parallel Support](https://www.ruby-forum.com/t/autotest-parallel-support/205284)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 3, 2011, 12:44am UTC](https://www.ruby-forum.com/t/autotest-parallel-support/205284 "2011-04-03T00:44:04Z")

</div>

I have a commit to add support for the -p (parallel) option to autotest, which is a feature provided by @grosser’s autotest fork. The discussion is here: The commit is here: Being that this adds a feature only supp…

---

## [Derby, Tomcat and Warbler](https://www.ruby-forum.com/t/derby-tomcat-and-warbler/186805)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 1\
**Last updated:** [April 12, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/derby-tomcat-and-warbler/186805 "2010-04-12T18:25:45Z")

</div>

I’m using Derby as an embedded database with Rails 3 and JRuby 1.5. When I warble up my app and deploy it under Tomcat, my database doesn’t carry over and doesn’t get created. What is the best way to deploy a Derby d…

---

## [OpenSSL / Persistent connection](https://www.ruby-forum.com/t/openssl-persistent-connection/172243)

<div class="topic-metadata">

**Author:** [@Fabien\_P](https://www.ruby-forum.com/u/Fabien_P)\
**Replies:** 1\
**Last updated:** [July 18, 2009, 12:27pm UTC](https://www.ruby-forum.com/t/openssl-persistent-connection/172243 "2009-07-18T12:27:11Z")

</div>

Hi. I want to have a persistent OpenSSL over a TCPSocket connection. The idea is having a rails website, a backgroundrb daemon. I do keep the connections within Model.something and I reuse them when needed. Sadly the…

---

## [XML y formato de fecha RFC2822](https://www.ruby-forum.com/t/xml-y-formato-de-fecha-rfc2822/168603)

<div class="topic-metadata">

**Author:** [@Hernan\_MaguiSSSSa](https://www.ruby-forum.com/u/Hernan_MaguiSSSSa)\
**Replies:** 1\
**Last updated:** [May 22, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/xml-y-formato-de-fecha-rfc2822/168603 "2009-05-22T21:40:50Z")

</div>

Hola a todos y desde ya gracias por las posibles respuestas, he creado un metodo dentro de mi controlador “tools” llamado “feed”, el codigo a continuacion: def feed @tools = Tool.find(:all, :order =\> “created\_at DESC…

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

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