# Top

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

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

---

## [Problems with rspec + remote db](https://www.ruby-forum.com/t/problems-with-rspec-remote-db/125750)

<div class="topic-metadata">

**Author:** [@Rafael\_B](https://www.ruby-forum.com/u/Rafael_B)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 12:02am UTC](https://www.ruby-forum.com/t/problems-with-rspec-remote-db/125750 "2008-01-12T00:02:11Z")

</div>

hey guys, I’m having a problem here, I have a pc in my house that I use as a db server (postgresql). I have the pr-postgresql gem running and it works very well But when I try to “rake spec” I get these 2 errors C:/…

---

## [Connect to MS Access Database?](https://www.ruby-forum.com/t/connect-to-ms-access-database/122229)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 2\
**Last updated:** [December 8, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/connect-to-ms-access-database/122229 "2007-12-08T18:09:40Z")

</div>

Can RoR easily connect and modify an Access database? Also can RoR be used to easily create a web application that is just accessed over an intranet?

---

## [Production.log not working after I deleted it](https://www.ruby-forum.com/t/production-log-not-working-after-i-deleted-it/120676)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/production-log-not-working-after-i-deleted-it/120676 "2007-11-19T19:50:38Z")

</div>

My production.log was getting big, so I deleted on my server. And after running another cap deploy, the production.log file was regenerated but now the file is not being written to (it stays blank). How can I get my l…

---

## [\[OT\] Ruby-Ldap: borrar un "ou" o todas sus entradas](https://www.ruby-forum.com/t/ot-ruby-ldap-borrar-un-ou-o-todas-sus-entradas/76443)

<div class="topic-metadata">

**Author:** [@ISSSSaki](https://www.ruby-forum.com/u/ISSSSaki)\
**Replies:** 2\
**Last updated:** [November 19, 2006, 2:19am UTC](https://www.ruby-forum.com/t/ot-ruby-ldap-borrar-un-ou-o-todas-sus-entradas/76443 "2006-11-19T02:19:53Z")

</div>

Hola, estoy usando la librerÃ­a Ruby-LDAP para un script en Ruby (mÃ¡s adelante lo implementarÃ© en ROR seguramente). SÃ³lo me falta un detalle y consiste en que no sÃ© cÃ³mo borrar todos los hijos de una entrada (o…

---

## [Tests and login\_engine](https://www.ruby-forum.com/t/tests-and-login-engine/59049)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 2\
**Last updated:** [April 28, 2006, 11:12am UTC](https://www.ruby-forum.com/t/tests-and-login-engine/59049 "2006-04-28T11:12:28Z")

</div>

Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I’m hitting a wall when it comes to functional\_testing pages protected by logi…

---

## [Problems with rescue clause](https://www.ruby-forum.com/t/problems-with-rescue-clause/52777)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 2\
**Last updated:** [January 19, 2006, 1:47am UTC](https://www.ruby-forum.com/t/problems-with-rescue-clause/52777 "2006-01-19T01:47:51Z")

</div>

Hi Folks, I’m writing a script to check passwords against email accounts, so I have written a method: def tryIMAP (host, usessl, user, pass) proto = usessl ? "IMAPS" : "IMAP" begin imap = Net::IMAP.new(host, usessl…

---

## [Use of eval](https://www.ruby-forum.com/t/use-of-eval/94913)

<div class="topic-metadata">

**Author:** [@rich](https://www.ruby-forum.com/u/rich)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/use-of-eval/94913 "2006-01-10T16:59:21Z")

</div>

I was thinking of adding a simple command console to a Ruby project I’m working on (something like a domain-specific REPL). Under what execution environment do the “eval”-ed strings execute, relative to the execution…

---

## [Find all ActiveRecord::Base subclasses?](https://www.ruby-forum.com/t/find-all-activerecord-base-subclasses/50079)

<div class="topic-metadata">

**Author:** [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Replies:** 2\
**Last updated:** [December 12, 2005, 9:58pm UTC](https://www.ruby-forum.com/t/find-all-activerecord-base-subclasses/50079 "2005-12-12T21:58:42Z")

</div>

I’m wondering was the most Rubyish way to get an array of all subclasses of ActiveRecord::Base. This should be possible through Ruby’s reflection capabilities, right? Or is there a method in ActiveRecord? Thanks.

---

## [Upgrade OS X Snow Leopard to 1.9.x](https://www.ruby-forum.com/t/upgrade-os-x-snow-leopard-to-1-9-x/200741)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [December 21, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/upgrade-os-x-snow-leopard-to-1-9-x/200741 "2010-12-21T16:36:23Z")

</div>

I am trying to update my mac to the latest ruby. I follow the instructions on Hivelogic Dan Benjamin. I compiled Ruby from source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel 174) \[universal-darwin10…

---

## [Substitution](https://www.ruby-forum.com/t/substitution/191438)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 8\
**Last updated:** [July 12, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/substitution/191438 "2010-07-12T23:31:23Z")

</div>

I have this part of code from “Why’s poignant guide to Ruby” that is intended to make substitution: Note: code\_words here is a hash … idea = gets code\_words.each do |real, code| idea.gsub!(real, code) end … I kn…

---

## [A question for Matz](https://www.ruby-forum.com/t/a-question-for-matz/119712)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 8\
**Last updated:** [November 10, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/a-question-for-matz/119712 "2007-11-10T16:33:56Z")

</div>

I have no idea where to ask this so, as Matz posts here, I will ask here. I apologize for any inconvenience. I just saw Black Lagoon and the director of photography is Yukihiro Matsumoto. Could that, by any chance, …

---

## [Ruby/dl question](https://www.ruby-forum.com/t/ruby-dl-question/65703)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [February 12, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/ruby-dl-question/65703 "2006-02-12T14:47:26Z")

</div>

if one has: struct flock { … short l\_type; /\* Type of lock: F\_RDLCK, F\_WRLCK, F\_UNLCK / short l\_whence; / How to interpret l\_start: SEEK\_SET, SEEK\_CUR, SEEK\_END / off\_t l\_start; / Starting offset for lock / …

---

## [If like smalltalk](https://www.ruby-forum.com/t/if-like-smalltalk/49170)

<div class="topic-metadata">

**Author:** [@jules](https://www.ruby-forum.com/u/jules)\
**Replies:** 8\
**Last updated:** [December 2, 2005, 1:37am UTC](https://www.ruby-forum.com/t/if-like-smalltalk/49170 "2005-12-02T01:37:46Z")

</div>

Hi, I have a question about Ruby if constructs. Why aren’t they like smalltalk if’s, where you have a boolean class and two subclasses: true and false. They both have these methods: ifTrue and ifFalse. If you use a bl…

---

## [Glimmer DSL for LibUI 0.12.0 Custom Control Component Slots](https://www.ruby-forum.com/t/glimmer-dsl-for-libui-0-12-0-custom-control-component-slots/264863)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [June 23, 2024, 11:38pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-libui-0-12-0-custom-control-component-slots/264863 "2024-06-23T23:38:23Z")

</div>

Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library) version 0.12.0 ships with an exciting new feature called Custom Control Component Slots!!! Component Slots are containe…

---

## [How to strip() all instance var of class instance?](https://www.ruby-forum.com/t/how-to-strip-all-instance-var-of-class-instance/242550)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [July 2, 2015, 8:08pm UTC](https://www.ruby-forum.com/t/how-to-strip-all-instance-var-of-class-instance/242550 "2015-07-02T20:08:21Z")

</div>

Something like x.instance\_variables.each… { |i} … } Ought to be a one liner. I can’t figure out how to apply strip() to each variable, since instance\_variable\_get returns the value. I really want something I can apply…

---

## [I need some urgent rewrites](https://www.ruby-forum.com/t/i-need-some-urgent-rewrites/234686)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 23, 2015, 12:47pm UTC](https://www.ruby-forum.com/t/i-need-some-urgent-rewrites/234686 "2015-03-23T12:47:08Z")

</div>

I need some urgent rewrites From: http://www.my-domain.de/kalorientabelle.php/unterkategorie/204-suppen To: http://www.my-domain.de/kalorientabelle/suppen.204/unterkategorie From: http://www.my-domain.de/kalorienta…

---

## [A regex for rewrite](https://www.ruby-forum.com/t/a-regex-for-rewrite/236461)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 5, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/a-regex-for-rewrite/236461 "2013-09-05T17:20:59Z")

</div>

I have a set of rewrites as rewrite ^/(.)/(.)/(.).(.) /script.php?a=$1&b=$2&c=$3&ext=$4 last; rewrite ^/(.)/(.).(.) /script.php?a=$1&b=$2&ext=$3 last; rewrite ^/(.).(.) /script.php?a=$1&ext=$2 last; rewrite ^/(.)/(.)…

---

## [Migration from SQLite to PostgreSQL](https://www.ruby-forum.com/t/migration-from-sqlite-to-postgresql/228616)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 30, 2013, 12:56pm UTC](https://www.ruby-forum.com/t/migration-from-sqlite-to-postgresql/228616 "2013-04-30T12:56:53Z")

</div>

I saw some of the tutorials on how to migrate from sqlite to postgresql, but it is either for mac or it is for a new/fresh app. What if I already have an App with data sqlite in it. I am using rails 3.2.2 and windows …

---

## [\[ruby-trunk - RubySpec #7803\]\[Open\] RDoc documentation: \`Array#&\` clarification](https://www.ruby-forum.com/t/ruby-trunk-rubyspec-7803-open-rdoc-documentation-array-clarification/229864)

<div class="topic-metadata">

**Author:** [@tsuyoshi\_s](https://www.ruby-forum.com/u/tsuyoshi_s)\
**Replies:** 3\
**Last updated:** [February 23, 2013, 3:52am UTC](https://www.ruby-forum.com/t/ruby-trunk-rubyspec-7803-open-rdoc-documentation-array-clarification/229864 "2013-02-23T03:52:29Z")

</div>

Issue #7803 has been reported by sawa (Tsuyoshi Sawada). RubySpec #7803: RDoc documentation: Array#& clarification Author: sawa (Tsuyoshi Sawada) Status: Open Priority: Normal Assignee: Category: Target version: …

---

## [My app waits undefinedly after an O printf](https://www.ruby-forum.com/t/my-app-waits-undefinedly-after-an-o-printf/220124)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 30, 2012, 9:00am UTC](https://www.ruby-forum.com/t/my-app-waits-undefinedly-after-an-o-printf/220124 "2012-05-30T09:00:14Z")

</div>

Dear list, I am using gr\_uhd\_source as the source of my app. At some moment, there is an overflow, an O is printf’ed and the scheduler stops. The program is still running but there is no flow of samples between blocks…

---

## [Regexp detect repeating number](https://www.ruby-forum.com/t/regexp-detect-repeating-number/214924)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 17, 2011, 1:29pm UTC](https://www.ruby-forum.com/t/regexp-detect-repeating-number/214924 "2011-12-17T13:29:19Z")

</div>

Hi, I want to detect a repeating number in a string; something like: 252525252525 or 123123123 regards,

---

## [USRP2 General I/O](https://www.ruby-forum.com/t/usrp2-general-i-o/209140)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 6, 2011, 8:40pm UTC](https://www.ruby-forum.com/t/usrp2-general-i-o/209140 "2011-07-06T20:40:18Z")

</div>

Is there a general I/O port on the USRP2? I was told there was, but the only thing I can find is the 20-pin unused port on the granddaughter board. If this is a G-I/O port is it accessible from the GNU-Radio software…

---

## [F14 GR traditional usrp install (no uhd)](https://www.ruby-forum.com/t/f14-gr-traditional-usrp-install-no-uhd/206994)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 16, 2011, 11:11am UTC](https://www.ruby-forum.com/t/f14-gr-traditional-usrp-install-no-uhd/206994 "2011-05-16T11:11:32Z")

</div>

Hi all, I really screwed up today when I upgraded from F13 to F14 result, no network, access denied to every device (RAID), etc. I was able to burn (backup) sources to disk and then formatted from latest F14. I run …

---

## [Using MDBs with an app server?](https://www.ruby-forum.com/t/using-mdbs-with-an-app-server/206650)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 9, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/using-mdbs-with-an-app-server/206650 "2011-05-09T20:23:10Z")

</div>

I want to set up asynchronous messaging with our application and I’m thinking it would be good to leverage the existing JMS in our app server. There are some examples on the web on how to write JMS code in Ruby but i…

---

## [Issues with Time.parse](https://www.ruby-forum.com/t/issues-with-time-parse/202309)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 26, 2011, 8:34pm UTC](https://www.ruby-forum.com/t/issues-with-time-parse/202309 "2011-01-26T20:34:15Z")

</div>

Hi, I just started working my way around web scraping with Ruby and I just run in to some problems with Time.parse. I’m scraping a date from a website: collect\_last\_bid = last\_bid\_cell.scan(/\\d{1,2}.\\d{1,2}.\\d{1,4}…

---

## [Beginner question - searching csv file by column and returning values if true](https://www.ruby-forum.com/t/beginner-question-searching-csv-file-by-column-and-returning-values-if-true/198638)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 10, 2010, 10:33pm UTC](https://www.ruby-forum.com/t/beginner-question-searching-csv-file-by-column-and-returning-values-if-true/198638 "2010-11-10T22:33:51Z")

</div>

I’m a complete noob to ruby and am hoping someone can help me with this. I have a csv file with one field called geo\_enabled (the 6th column). The values are true or false. If the value is true, I’d like to return the…

---

## [Resource busy error:](https://www.ruby-forum.com/t/resource-busy-error/166226)

<div class="topic-metadata">

**Author:** [@kollimarla\_bhargav](https://www.ruby-forum.com/u/kollimarla_bhargav)\
**Replies:** 3\
**Last updated:** [April 23, 2009, 2:55am UTC](https://www.ruby-forum.com/t/resource-busy-error/166226 "2009-04-23T02:55:59Z")

</div>

Hi all, We are trying to run a simple receiver program using benchmark\_rx.py. The problem we are facing is when we try to run another receiver program like usrp\_spectrum\_sense.py inside the benchmark\_rx.py using os.s…

---

## [Export to PDF](https://www.ruby-forum.com/t/export-to-pdf/164248)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 3\
**Last updated:** [April 8, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/export-to-pdf/164248 "2009-04-08T12:05:09Z")

</div>

Dear All, How to export a dataset to PDF file. I wrote the following code for exporting a dataset to pdf file. I want the column name and column seperators(leave space for each column),Please find the attatched file, …

---

## [How to spec a around\_filter](https://www.ruby-forum.com/t/how-to-spec-a-around-filter/163882)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 3\
**Last updated:** [March 26, 2009, 9:04pm UTC](https://www.ruby-forum.com/t/how-to-spec-a-around-filter/163882 "2009-03-26T21:04:00Z")

</div>

Hi all, any of you guys had success specking out a around\_filter? I tried a few things like controller.should\_receive (:around\_filter\_method), controller.stub!(:around\_filter\_method) but without success. In fact, the …

---

## [Multiple foreign keys create / destroy](https://www.ruby-forum.com/t/multiple-foreign-keys-create-destroy/162316)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 3\
**Last updated:** [March 9, 2009, 6:35am UTC](https://www.ruby-forum.com/t/multiple-foreign-keys-create-destroy/162316 "2009-03-09T06:35:52Z")

</div>

I have 4 models : class Country \< ActiveRecord::Base has\_many :cities has\_many :streets has\_many :houses end class City \< ActiveRecord::Base belongs\_to :country has\_many :streets has\_many :houses end class Str…

---

## [Preemph time constant](https://www.ruby-forum.com/t/preemph-time-constant/161603)

<div class="topic-metadata">

**Author:** [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Replies:** 3\
**Last updated:** [March 2, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/preemph-time-constant/161603 "2009-03-02T22:25:38Z")

</div>

the fm\_preemph and fm\_deemph functions in blks2impl/fm\_emph.py take the argument tau (time constant), which is 75Î¼sec for the US and 50Î¼sec for Europe and the rest of the world. If now tau is given, the 75 is assume…

---

## [Validaciones sin vista](https://www.ruby-forum.com/t/validaciones-sin-vista/159200)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/validaciones-sin-vista/159200 "2009-02-03T18:03:17Z")

</div>

Buenos dÃ­as, Tengo una aplicaciÃ³n que hace un render inline y otro en XML en base a unos datos pasados por URL. El caso es que necesito validar los mismos antes de hacer cualquier consulta a la BBDD, y me interesar…

---

## [Cucumber resource routes](https://www.ruby-forum.com/t/cucumber-resource-routes/159025)

<div class="topic-metadata">

**Author:** [@churp](https://www.ruby-forum.com/u/churp)\
**Replies:** 3\
**Last updated:** [January 30, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/cucumber-resource-routes/159025 "2009-01-30T18:17:58Z")

</div>

Hi all, I’m missing something basic here. Inside ./features/support/paths.rb I want to use a ActionController::Resources helper for Products as mapped in routes.rb ./routes.rb map.resource :product ./features/suppo…

---

## [Display the form text at page itself](https://www.ruby-forum.com/t/display-the-form-text-at-page-itself/152372)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 10:31am UTC](https://www.ruby-forum.com/t/display-the-form-text-at-page-itself/152372 "2008-11-03T10:31:55Z")

</div>

hi, i have a view called forum which is a form and i want to show the data below the form when user fill the form. i have this code in Blog controller def forum if request.post? and params\[:blog} @blog = Blog.new(pa…

---

## [Erro pages customization in production environment](https://www.ruby-forum.com/t/erro-pages-customization-in-production-environment/196825)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [October 20, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/erro-pages-customization-in-production-environment/196825 "2008-10-20T12:04:35Z")

</div>

Hi, In my application i had two error pages for 500 and 404 error. 500.html and 404.html when someting went wrong this pages is called. but this pages are static pages if i want to add some dynamic data how i can add…

---

## [Sketchup: Constructing Triangle with Ruby](https://www.ruby-forum.com/t/sketchup-constructing-triangle-with-ruby/127349)

<div class="topic-metadata">

**Author:** [@eps](https://www.ruby-forum.com/u/eps)\
**Replies:** 3\
**Last updated:** [September 3, 2008, 11:27am UTC](https://www.ruby-forum.com/t/sketchup-constructing-triangle-with-ruby/127349 "2008-09-03T11:27:02Z")

</div>

Hello, i’m constructing triangles with ruby and try to plot them within Sketchup. In most cases, this works. But sometimes, an error occurs: “Points are not planar”, which is quite strange for a triangle… model = Ske…

---

## [Routing Error No route matches "/employee/list" with {:method=\>:get}](https://www.ruby-forum.com/t/routing-error-no-route-matches-employee-list-with-method-get/141156)

<div class="topic-metadata">

**Author:** [@zhiguang](https://www.ruby-forum.com/u/zhiguang)\
**Replies:** 3\
**Last updated:** [June 23, 2008, 5:40am UTC](https://www.ruby-forum.com/t/routing-error-no-route-matches-employee-list-with-method-get/141156 "2008-06-23T05:40:42Z")

</div>

hi, I am very frustrated by this error when I just put together a very simple project from one of the textbook on RoR: Routing Error No route matches “/employee/list” with {:method=\>:get} For your reference, #The f…

---

## [Hash#each with nested array as value](https://www.ruby-forum.com/t/hash-each-with-nested-array-as-value/117520)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 3\
**Last updated:** [October 17, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/hash-each-with-nested-array-as-value/117520 "2007-10-17T20:09:58Z")

</div>

I have a hash where the values are nested arrays. I’d like to be able to iterate over the hash and have 3 vars available in the block: key, value\[0\], and value\[1\]. As you can see, h.each {|a,b,c|…} doesn’t work. Is …

---

## [Acts\_as\_attachment y gifs animados](https://www.ruby-forum.com/t/acts-as-attachment-y-gifs-animados/116263)

<div class="topic-metadata">

**Author:** [@Borja\_MartSSS\_n](https://www.ruby-forum.com/u/Borja_MartSSS_n)\
**Replies:** 3\
**Last updated:** [October 4, 2007, 1:06pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-y-gifs-animados/116263 "2007-10-04T13:06:00Z")

</div>

Buenas, estoy utilizando el plugin acts\_as\_attachment para subir imágenes. Hasta ahí todo normal, pero el problema viene cuando suben un gif animado, que la imagen se queda en el primer fotograma, como si se comiese l…

---

## [Rails para bobos](https://www.ruby-forum.com/t/rails-para-bobos/111681)

<div class="topic-metadata">

**Author:** [@Mauricio\_D](https://www.ruby-forum.com/u/Mauricio_D)\
**Replies:** 3\
**Last updated:** [August 10, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/rails-para-bobos/111681 "2007-08-10T13:27:24Z")

</div>

Hola, me gustaria saber que libro me recomiendan para entender un poco mas sobre rails, soy diseÃ±ador y no tengo la mentalidad de coder pero e visto que es mucho mas facil que php o eso creo y me canse de usar cms, …

---

## [Radiant site with subsections](https://www.ruby-forum.com/t/radiant-site-with-subsections/111091)

<div class="topic-metadata">

**Author:** [@pietro\_ferrari](https://www.ruby-forum.com/u/pietro_ferrari)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/radiant-site-with-subsections/111091 "2007-08-02T19:21:51Z")

</div>

Hi, I need to create a web site with subsections and I need to let some users edit each subsection and block others from doing this, much like http://groups.drupal.org/ is it possible to do this with radiant? if not …

---

## [Re: Error writing blob to sqlserver](https://www.ruby-forum.com/t/re-error-writing-blob-to-sqlserver/86625)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 3\
**Last updated:** [July 6, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/re-error-writing-blob-to-sqlserver/86625 "2007-07-06T15:59:41Z")

</div>

It’s entirely possible I spoke too soon. I’ve patched sqlserver adapter to apparently write blobs properly without needing ADODB.Stream mediation, thanks to some instructions kindly provided by Patrick Spence. The rel…

---

## [App ignores cached pages and re-caches them again and again](https://www.ruby-forum.com/t/app-ignores-cached-pages-and-re-caches-them-again-and-again/91234)

<div class="topic-metadata">

**Author:** [@tharealpatton](https://www.ruby-forum.com/u/tharealpatton)\
**Replies:** 3\
**Last updated:** [April 6, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/app-ignores-cached-pages-and-re-caches-them-again-and-again/91234 "2007-04-06T18:42:39Z")

</div>

I’m wondering if anyone has any ideas on what would cause rails to write the cached page, but the app ignore the caches pages and instead cache it again and again on every request? I’m setting config.action\_controller…

---

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

<div class="topic-metadata">

**Author:** [@bellzii](https://www.ruby-forum.com/u/bellzii)\
**Replies:** 3\
**Last updated:** [March 18, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/installation-error/89030 "2007-03-18T23:53:28Z")

</div>

hey everyone, Im using a ubuntu 6.10 ,ive tried compiling the gnuradio but when i tried the configuring gnuradio but i got the error : gr\_block.cc:41: error: ‘gr\_io\_signature\_sptr’ has not been declared gr\_block.cc:…

---

## [Is net/https part of ruby's stdlib?](https://www.ruby-forum.com/t/is-net-https-part-of-rubys-stdlib/86350)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 3\
**Last updated:** [February 21, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/is-net-https-part-of-rubys-stdlib/86350 "2007-02-21T19:41:35Z")

</div>

Is net/https part of Ruby’s standard library? Can I safely assume that it is installed when developing a gem for distribution? It seems to be installed on FC4 with the ruby-libs package, but it looks like you have to…

---

## [Mandar array en php a rails](https://www.ruby-forum.com/t/mandar-array-en-php-a-rails/80944)

<div class="topic-metadata">

**Author:** [@fesja](https://www.ruby-forum.com/u/fesja)\
**Replies:** 3\
**Last updated:** [January 2, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/mandar-array-en-php-a-rails/80944 "2007-01-02T14:15:24Z")

</div>

Buenas, QuizÃ¡s esta pregunta deberÃ­a ir en un foro de php, pero a lo mejor alguno sabe. \*\* Problema Tengo un script en php que me da como resultado un array de 2 dimensiones y quiero procesarlo en rails. \*\* Soluc…

---

## [Star rating system - IE display problems](https://www.ruby-forum.com/t/star-rating-system-ie-display-problems/76032)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 3\
**Last updated:** [November 19, 2006, 5:22pm UTC](https://www.ruby-forum.com/t/star-rating-system-ie-display-problems/76032 "2006-11-19T17:22:54Z")

</div>

Has anyone out there implemented a star rating system as described by Dave Naffis? http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system He really has an excellent HOWTO to set this up. Unfortu…

---

## [Non-customizable parts in the routes hierarchy-chain](https://www.ruby-forum.com/t/non-customizable-parts-in-the-routes-hierarchy-chain/60453)

<div class="topic-metadata">

**Author:** [@alder](https://www.ruby-forum.com/u/alder)\
**Replies:** 3\
**Last updated:** [May 14, 2006, 9:57am UTC](https://www.ruby-forum.com/t/non-customizable-parts-in-the-routes-hierarchy-chain/60453 "2006-05-14T09:57:19Z")

</div>

Hi I created a custom route that looks like this: map.connect ‘:controller/:table/:action/:id’ Hierarchically, :table is above :action and :id. So, if we call ActionController::Base#url\_for with an argument :table=\>n…

---

## [Date find help please](https://www.ruby-forum.com/t/date-find-help-please/59579)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 3\
**Last updated:** [May 4, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/date-find-help-please/59579 "2006-05-04T15:42:54Z")

</div>

Here’s my problem. I have an ‘Item’ model with a date column called “inserted\_on” formatted as “yyyy-mm-dd hh:mm:ss:t”. I want to find all records that were inserted more than 30 days ago. How would I say that using…

---

## [Routing Error after upgrade](https://www.ruby-forum.com/t/routing-error-after-upgrade/89288)

<div class="topic-metadata">

**Author:** [@exile](https://www.ruby-forum.com/u/exile)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 3:43am UTC](https://www.ruby-forum.com/t/routing-error-after-upgrade/89288 "2006-03-29T03:43:42Z")

</div>

I successfully upgraded to Rails 1.1., but now when I point my browser to localhost:3000, I get a the following: Routing Error Recognition failed for â?/rails\_info/propertiesâ? Whatâ??s the best fix for this?

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

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