# Top

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

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

---

## [Bash fork: Resource temporarily unavailable](https://www.ruby-forum.com/t/bash-fork-resource-temporarily-unavailable/138085)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 21, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/bash-fork-resource-temporarily-unavailable/138085 "2008-05-21T19:00:04Z")

</div>

i am using nginx version 0.6.31, to server static files config files below. now regularly when I login and I try to do something I get this error, and I am not able to start anything… i have over 10GB of free RAM… ho…

---

## [Comment creer des groupes de migration indÃ©pendants?](https://www.ruby-forum.com/t/comment-creer-des-groupes-de-migration-inda-pendants/119927)

<div class="topic-metadata">

**Author:** [@friofool](https://www.ruby-forum.com/u/friofool)\
**Replies:** 4\
**Last updated:** [November 14, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/comment-creer-des-groupes-de-migration-inda-pendants/119927 "2007-11-14T21:07:07Z")

</div>

Salut, J’ai crÃ©e un petit CMS permettant de traiter diffÃ©rentes applications. Par exemple je suis en train d’ajouter un module de blog au CMS et je souhaiterai traiter les tables du BLOG de maniere distincte de cell…

---

## [Blogs en ruby on rails](https://www.ruby-forum.com/t/blogs-en-ruby-on-rails/109617)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 4\
**Last updated:** [July 17, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/blogs-en-ruby-on-rails/109617 "2007-07-17T17:21:37Z")

</div>

Hay algun equivalente a Wordpress en ruby on rails? si me podeis dar una lista de blogs gratuitos os lo agradecería, muchas gracias.

---

## [Generate Extension problem](https://www.ruby-forum.com/t/generate-extension-problem/108517)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 4\
**Last updated:** [July 4, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/generate-extension-problem/108517 "2007-07-04T22:36:02Z")

</div>

I’m getting this problem, and I can’t fix it, any clue? tigger:~/src/sposivip/trunk intinig$ script/generate extension\_controller dummy ‘admin/foo’ bar The name ‘admin’ is reserved by Ruby on Rails. Please choose an …

---

## [Custom URL/path for map.resources?](https://www.ruby-forum.com/t/custom-url-path-for-map-resources/105960)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [June 5, 2007, 3:47am UTC](https://www.ruby-forum.com/t/custom-url-path-for-map-resources/105960 "2007-06-05T03:47:34Z")

</div>

Hi, what should I do if I want to customize/get rid of the controller name that’s part of the URL generated by default by map.resources ? What I mean is I would like : /posts/5 to become: /5 or: /blah/5 That must b…

---

## [Doing forms -- thinking way outside the box](https://www.ruby-forum.com/t/doing-forms-thinking-way-outside-the-box/91318)

<div class="topic-metadata">

**Author:** [@orff](https://www.ruby-forum.com/u/orff)\
**Replies:** 4\
**Last updated:** [April 6, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/doing-forms-thinking-way-outside-the-box/91318 "2007-04-06T22:35:26Z")

</div>

We needed to launch our new website lighthouse.org We needed complicated forms

---

## [RDoc: How to extend; YAML?](https://www.ruby-forum.com/t/rdoc-how-to-extend-yaml/67293)

<div class="topic-metadata">

**Author:** [@graham\_w](https://www.ruby-forum.com/u/graham_w)\
**Replies:** 4\
**Last updated:** [September 2, 2006, 5:01am UTC](https://www.ruby-forum.com/t/rdoc-how-to-extend-yaml/67293 "2006-09-02T05:01:46Z")

</div>

Folks: I’m wanting to extend RDoc to produce module/class/method etc data in an alternative format. Looks like the general principle is to add a generator module, and then command rdoc to use that using the fmt comma…

---

## [Named method arguments with defaults](https://www.ruby-forum.com/t/named-method-arguments-with-defaults/79824)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 11, 2006, 11:39am UTC](https://www.ruby-forum.com/t/named-method-arguments-with-defaults/79824 "2006-03-11T11:39:18Z")

</div>

Hello all, What is the current idiomatic approach to pass named arguments to a method in Ruby ? In Perl, I can do: sub method { first the defaults are specified, then @\_ is appended and overrides the defaults, usin…

---

## [Dynamic url with javascript? - Help Please](https://www.ruby-forum.com/t/dynamic-url-with-javascript-help-please/53492)

<div class="topic-metadata">

**Author:** [@Matias\_S](https://www.ruby-forum.com/u/Matias_S)\
**Replies:** 4\
**Last updated:** [February 8, 2006, 12:40pm UTC](https://www.ruby-forum.com/t/dynamic-url-with-javascript-help-please/53492 "2006-02-08T12:40:49Z")

</div>

Hi, I’m trying to call a remote function when a combobox option is selected, passing as an argument the current value of the combobox (paramenter “panel\_id”: As you can see in this example, the :panel\_id value is h…

---

## [Rails migration issue with foreign key after moving from sqlite to mysql](https://www.ruby-forum.com/t/rails-migration-issue-with-foreign-key-after-moving-from-sqlite-to-mysql/241452)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 7, 2015, 6:46pm UTC](https://www.ruby-forum.com/t/rails-migration-issue-with-foreign-key-after-moving-from-sqlite-to-mysql/241452 "2015-04-07T18:46:38Z")

</div>

Hi, As much as I like Rails, I’m not very proficient at databases/schemas and migrations. Right now the data inside the db does not matter as nothing has been populated yet, I’m just trying to get my app working. I…

---

## [Not able to save PDF Kit file to a Paperclip attachment in Rails 3.2.15](https://www.ruby-forum.com/t/not-able-to-save-pdf-kit-file-to-a-paperclip-attachment-in-rails-3-2-15/238842)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 31, 2014, 4:07am UTC](https://www.ruby-forum.com/t/not-able-to-save-pdf-kit-file-to-a-paperclip-attachment-in-rails-3-2-15/238842 "2014-01-31T04:07:11Z")

</div>

I am trying to save a pdf file (generated using Rails PDFKit gem) to a paperclip attachment. The MySQL table entry shows following for the paperclip attachment after saving the generated PDF file: MySQL table record: …

---

## [Issues when updating nested attributes in rails](https://www.ruby-forum.com/t/issues-when-updating-nested-attributes-in-rails/203139)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 14, 2011, 2:16am UTC](https://www.ruby-forum.com/t/issues-when-updating-nested-attributes-in-rails/203139 "2011-02-14T02:16:59Z")

</div>

Hi, I am having some issues when updating an object that has a nested attribute. My model objects are: User class User \< ActiveRecord::Base has\_one :portal\_user accepts\_nested\_attributes\_for :portal\_user val…

---

## [How to hack a mongrel cluster to restart in an alternating manner?](https://www.ruby-forum.com/t/how-to-hack-a-mongrel-cluster-to-restart-in-an-alternating-manner/159382)

<div class="topic-metadata">

**Author:** [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 2:23am UTC](https://www.ruby-forum.com/t/how-to-hack-a-mongrel-cluster-to-restart-in-an-alternating-manner/159382 "2009-02-04T02:23:24Z")

</div>

Hello, I’ve been trying (unsuccessfully) to hack my mongrel\_cluster to re-ststart in an alternating manner. Specifically, this soluiton: http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongr…

---

## [How to install community engine on windows?](https://www.ruby-forum.com/t/how-to-install-community-engine-on-windows/150418)

<div class="topic-metadata">

**Author:** [@sray](https://www.ruby-forum.com/u/sray)\
**Replies:** 1\
**Last updated:** [October 20, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/how-to-install-community-engine-on-windows/150418 "2008-10-20T16:15:34Z")

</div>

Hi Can any body please tell me how can i install community engine on windows XP OS as i downloaded it from http://git.or.cz/.But the commands which is mention on Sign in - Google Accounts â€¦ ocial-site doesn’t work …

---

## [Strange 'string modified' error!](https://www.ruby-forum.com/t/strange-string-modified-error/90543)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 1\
**Last updated:** [March 29, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/strange-string-modified-error/90543 "2007-03-29T23:07:59Z")

</div>

Hi, Got this strange error message coming from the second instance of the ‘scan’ method (line 39) on the text string. Any clues. Really stumped me… It was working fine, then suddenly - boom it stopped. ... text.scan…

---

## [Autodetect encoding / mojibake correction?](https://www.ruby-forum.com/t/autodetect-encoding-mojibake-correction/73491)

<div class="topic-metadata">

**Author:** [@capeboylego](https://www.ruby-forum.com/u/capeboylego)\
**Replies:** 1\
**Last updated:** [October 25, 2006, 12:05pm UTC](https://www.ruby-forum.com/t/autodetect-encoding-mojibake-correction/73491 "2006-10-25T12:05:23Z")

</div>

Hi, Is there something to automatically detect what encoding a file is? That way, I don’t have to guess when using iconv. Also, is there a script/gem/etc that can correct mojibake? If not, I want to write it… though…

---

## [Load balancing % available](https://www.ruby-forum.com/t/load-balancing-available/244451)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 13, 2016, 3:16pm UTC](https://www.ruby-forum.com/t/load-balancing-available/244451 "2016-04-13T15:16:00Z")

</div>

Hello, I’m not yet an Nginx user, but have a question on it’s capacbility. I’ve had a look at the http load balancer, but cannot see anything that would allow me to set the % or number of servers in an upstream backen…

---

## [Ruby newbie, my first binary search - is this idiomatic ruby?](https://www.ruby-forum.com/t/ruby-newbie-my-first-binary-search-is-this-idiomatic-ruby/244408)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 10:55am UTC](https://www.ruby-forum.com/t/ruby-newbie-my-first-binary-search-is-this-idiomatic-ruby/244408 "2016-04-07T10:55:32Z")

</div>

Hi All, I just finished the codeacademy Ruby course, and ventured to write a binary search in Ruby. After years of Java , this is fun ! Let me know what you think - any feedback / tips / pointers , alternate ways …

---

## [Pcre](https://www.ruby-forum.com/t/pcre/242403)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 23, 2015, 1:01am UTC](https://www.ruby-forum.com/t/pcre/242403 "2015-06-23T01:01:35Z")

</div>

Hi Experts, I am working on NGINX-1.6.3 version. Installation is successful using latest pcre, pcre-devel packages too… While accessing the service, static contents were not loaded. As suggested in google, I tried c…

---

## [Print vs puts handling of $\_](https://www.ruby-forum.com/t/print-vs-puts-handling-of/238589)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 20, 2014, 5:19pm UTC](https://www.ruby-forum.com/t/print-vs-puts-handling-of/238589 "2014-01-20T17:19:34Z")

</div>

‘print’ seems to handle $\_ differently ‘puts’: fh = open ‘./file.txt’ while fh.gets print if ~ /\\b\\w{2}\\b/ end ;=\> prints matching lines fh = open ‘./file.txt’ while fh.gets puts if ~ /\\b\\w{2}\\b/ end ;=\> prints…

---

## [Changes in rspec 2.4 break ci\_reporter](https://www.ruby-forum.com/t/changes-in-rspec-2-4-break-ci-reporter/202302)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 28, 2011, 11:26am UTC](https://www.ruby-forum.com/t/changes-in-rspec-2-4-break-ci-reporter/202302 "2011-01-28T11:26:37Z")

</div>

Hi I use the ci\_reporter gem for builds on my CI machine (hudson). Prior to rspec 2.4, environment options would override commandline options. So the gem used this to change the formatter and require its files. In …

---

## [Problem reading PDF](https://www.ruby-forum.com/t/problem-reading-pdf/200450)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 13, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/problem-reading-pdf/200450 "2010-12-13T15:36:18Z")

</div>

I downloaded/installed the pdf-reader-0.9.0 using gem install. I followed the usage advice from I posted my code in http://www.pastie.org/1369323 When running my test, I got: Will process PDF files in “K:\_Projects\\…

---

## [Refactoring Global Constants](https://www.ruby-forum.com/t/refactoring-global-constants/193419)

<div class="topic-metadata">

**Author:** [@goodfriend](https://www.ruby-forum.com/u/goodfriend)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 2:22am UTC](https://www.ruby-forum.com/t/refactoring-global-constants/193419 "2010-08-18T02:22:01Z")

</div>

Hi, I’m going to ask a dumb question (sorry for that, in advance)… What’s the most elegant syntax and form for refactoring Global Constants out of Ruby code so they can be shared across different Ruby code files? For…

---

## [Rails form\_for submit button](https://www.ruby-forum.com/t/rails-form-for-submit-button/173829)

<div class="topic-metadata">

**Author:** [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Replies:** 2\
**Last updated:** [August 17, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/rails-form-for-submit-button/173829 "2009-08-17T21:26:01Z")

</div>

Hi, Presently the submit button is coming as a button in below case. \<% form\_for @chapter do |chapter\_form| %\> … labels … text\_areas… \<%= chapter\_form.submit ‘Create’ %\> I want to build a custom button in CSS and s…

---

## [Hongli's merge sort benchmark runs 2x faster in JRuby/Ruby 1.9](https://www.ruby-forum.com/t/honglis-merge-sort-benchmark-runs-2x-faster-in-jruby-ruby-1-9/159490)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 2\
**Last updated:** [February 14, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/honglis-merge-sort-benchmark-runs-2x-faster-in-jruby-ruby-1-9/159490 "2009-02-14T22:20:07Z")

</div>

I wrapped Hongli’s simple merge sort benchmark described here: http://izumi.plan99.net/blog/index.php/2008/01/17/ruby-vs-php-performance in Ruby’s Benchmark library and did a more detailed comparison of 1.8.6, 1.9 tru…

---

## [After\_save -- stack level too deep](https://www.ruby-forum.com/t/after-save-stack-level-too-deep/158030)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 2\
**Last updated:** [January 18, 2009, 7:55am UTC](https://www.ruby-forum.com/t/after-save-stack-level-too-deep/158030 "2009-01-18T07:55:46Z")

</div>

Hi all, I’m running into a brick wall trying to figure out my problem here. I have a model that has a boolean property called “paid”. I’d like to add the following to my model: def after\_save self.amount == self.s…

---

## [Acts\_as\_ferret connection was refused](https://www.ruby-forum.com/t/acts-as-ferret-connection-was-refused/113939)

<div class="topic-metadata">

**Author:** [@jstotz](https://www.ruby-forum.com/u/jstotz)\
**Replies:** 2\
**Last updated:** [September 7, 2007, 11:21am UTC](https://www.ruby-forum.com/t/acts-as-ferret-connection-was-refused/113939 "2007-09-07T11:21:24Z")

</div>

Hello, I tried to install the acts\_as\_ferret plugin: ruby script/plugin install svn://projects.jkraemer.net/acts\_as\_ferret/tags/stable/acts\_as\_ferret but I get the response svn: Can’t connect to host ‘projects.jkrae…

---

## [How can I change the default font size in tk?](https://www.ruby-forum.com/t/how-can-i-change-the-default-font-size-in-tk/85270)

<div class="topic-metadata">

**Author:** [@wangdong2](https://www.ruby-forum.com/u/wangdong2)\
**Replies:** 2\
**Last updated:** [February 12, 2007, 5:45am UTC](https://www.ruby-forum.com/t/how-can-i-change-the-default-font-size-in-tk/85270 "2007-02-12T05:45:17Z")

</div>

root = TkRoot.new do font {Tahoma 10 normal} end can’t work.

---

## [Engines & config](https://www.ruby-forum.com/t/engines-config/72325)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 2\
**Last updated:** [October 16, 2006, 11:57pm UTC](https://www.ruby-forum.com/t/engines-config/72325 "2006-10-16T23:57:47Z")

</div>

Hello all, So, finally (yes, yes, I know) a version of the engines plugin approacheth targetted at edge rails (aiming at the 1.2 release). I’m taking this opportunity to do some serious refactoring, so I thought I’d …

---

## [Montreal.rb May 2024 - Hotwire Turbo in Rails: Drive, Frames and Streams](https://www.ruby-forum.com/t/montreal-rb-may-2024-hotwire-turbo-in-rails-drive-frames-and-streams/266632)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [October 31, 2024, 8:27pm UTC](https://www.ruby-forum.com/t/montreal-rb-may-2024-hotwire-turbo-in-rails-drive-frames-and-streams/266632 "2024-10-31T20:27:58Z")

</div>

The video of the Montreal.rb May 2024 talk “Hotwire Turbo in Rails: Drive, Frames and Streams” by Helmer Davila has been finally posted on YouTube: Blog post announcement:

---

## [Rails pagination with mongoid, graphql, using the Kaminari gem](https://www.ruby-forum.com/t/rails-pagination-with-mongoid-graphql-using-the-kaminari-gem/261300)

<div class="topic-metadata">

**Author:** [@raphael\_noriode](https://www.ruby-forum.com/u/raphael_noriode)\
**Replies:** 0\
**Last updated:** [May 3, 2021, 8:33am UTC](https://www.ruby-forum.com/t/rails-pagination-with-mongoid-graphql-using-the-kaminari-gem/261300 "2021-05-03T08:33:02Z")

</div>

Hi there I am trying to use pagination in a Rails, mongoid, graphql project. I have setup the Kaminari gem to work with mongoid and from the console I see that it works properly at least I can do this Module::Class.page…

---

## [TDOA estimation with USRP and GPSDO](https://www.ruby-forum.com/t/tdoa-estimation-with-usrp-and-gpsdo/236508)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 9, 2013, 7:37am UTC](https://www.ruby-forum.com/t/tdoa-estimation-with-usrp-and-gpsdo/236508 "2013-09-09T07:37:05Z")

</div>

Hi all, I’ve been working with Cheng C. (http://gnuradio.4.n7.nabble.com/How-good-can-USRPs-with-internal-GPSDOs-being-synchronized-td43502.html) on a project where we try to estimate the TDOA (Time-difference of arr…

---

## [Spec'ing a rails controller that does error handling](https://www.ruby-forum.com/t/specing-a-rails-controller-that-does-error-handling/225732)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 26, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/specing-a-rails-controller-that-does-error-handling/225732 "2013-01-26T19:25:16Z")

</div>

I am trying to spec a controller action that does some error handling, and I’m having a tough time expressing what I expect in rspec code. The ‘create’ action is the action in question. It is a fairly standard create …

---

## [Run "generator destroy", now git is telling me I have missing files. How do I best deal with this?](https://www.ruby-forum.com/t/run-generator-destroy-now-git-is-telling-me-i-have-missing-files-how-do-i-best-deal-with-this/238857)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [February 2, 2014, 2:19am UTC](https://www.ruby-forum.com/t/run-generator-destroy-now-git-is-telling-me-i-have-missing-files-how-do-i-best-deal-with-this/238857 "2014-02-02T02:19:27Z")

</div>

Hi, In rails I run “rails generator destroy…” for my controllers and models. When I "git add . " files and commit changes, git tells me I have missing files. How best to handle this? I want the files off git as I do…

---

## [Here docs: WTF am i doing wrong?](https://www.ruby-forum.com/t/here-docs-wtf-am-i-doing-wrong/208855)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 28, 2011, 11:54pm UTC](https://www.ruby-forum.com/t/here-docs-wtf-am-i-doing-wrong/208855 "2011-06-28T23:54:36Z")

</div>

ok, so i’m trying to create a here doc for a little program i’m writing and it dosn’t seem to want to work right! this code works: pry(main)\> print \<\<NUMS pry(main)\* 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 1…

---

## [Upload module 2.2.0](https://www.ruby-forum.com/t/upload-module-2-2-0/195663)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 5\
**Last updated:** [March 2, 2011, 2:51am UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663 "2011-03-02T02:51:53Z")

</div>

Greetings! This release of upload module opens a new branch and new feature: resumable uploads. Resumable uploads were tested on Mail.ru’s file exchange service: files.mail.ru They were very kind to publish sources …

---

## [How to call .py file into another .py file](https://www.ruby-forum.com/t/how-to-call-py-file-into-another-py-file/182350)

<div class="topic-metadata">

**Author:** [@muhammad\_k](https://www.ruby-forum.com/u/muhammad_k)\
**Replies:** 5\
**Last updated:** [January 27, 2010, 9:28am UTC](https://www.ruby-forum.com/t/how-to-call-py-file-into-another-py-file/182350 "2010-01-27T09:28:33Z")

</div>

hi guy, I am facing some problem. I want to execute a (.py) extension file into another (.py) extension file. i am tired of searching on websites but didn’t get any satisfactory results. Is it possible or is there an…

---

## [Dynamically call object instances](https://www.ruby-forum.com/t/dynamically-call-object-instances/175367)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 5\
**Last updated:** [September 14, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/dynamically-call-object-instances/175367 "2009-09-14T20:15:02Z")

</div>

Hi again, I have these functions - about five of them - and they are all the exact same code except for which object instances they are referencing. For example, if I have a user object and each user can modify one of…

---

## [Cannot open database under Passenger](https://www.ruby-forum.com/t/cannot-open-database-under-passenger/169986)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 5\
**Last updated:** [June 11, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/cannot-open-database-under-passenger/169986 "2009-06-11T15:28:57Z")

</div>

After switching to passenger from WEBbrick I keep getting “attempt to write to read-only database”, so I chown’d the sqlite file apache.apache and chmod’d 666, now I get “unable to open database file”? -MK

---

## [RDoc (Darkfish) not ordering method by name](https://www.ruby-forum.com/t/rdoc-darkfish-not-ordering-method-by-name/162437)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [March 16, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/rdoc-darkfish-not-ordering-method-by-name/162437 "2009-03-16T19:51:04Z")

</div>

Hi, when I run “rdoc” Darkfish creates an HTML in which my class methods appear in alphabetic order. Is it possible RDoc not to order the methods by name? I would really prefer it to respect the order in which they a…

---

## [Achat d'un livre](https://www.ruby-forum.com/t/achat-dun-livre/151154)

<div class="topic-metadata">

**Author:** [@nelson](https://www.ruby-forum.com/u/nelson)\
**Replies:** 5\
**Last updated:** [October 19, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/achat-dun-livre/151154 "2008-10-19T12:46:55Z")

</div>

Bonjour a tous, Je debut actuellement rails, des lors j’aimerais bien acheter un livre, mais lequel ? Si vous avez le bon livre a avoir…:slight\_smile: \[ eventuellement si quelqu’un veut vendre le sien \]

---

## [How to apply a class method to a limited collection of the objects?](https://www.ruby-forum.com/t/how-to-apply-a-class-method-to-a-limited-collection-of-the-objects/146459)

<div class="topic-metadata">

**Author:** [@deegee](https://www.ruby-forum.com/u/deegee)\
**Replies:** 5\
**Last updated:** [August 22, 2008, 10:20am UTC](https://www.ruby-forum.com/t/how-to-apply-a-class-method-to-a-limited-collection-of-the-objects/146459 "2008-08-22T10:20:33Z")

</div>

Hi, I just can’t figure out how to do it, i’m sure it’s pretty simple: I have a model Order with a few named\_scope methods (:completed, :incompleted, :recent). Now I’d like to define a method that returns the latest …

---

## [Rbgccxml / rbplusplus gem dependency on hpricot question](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 5\
**Last updated:** [August 18, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784 "2008-08-18T21:19:41Z")

</div>

Dear all, I am having problems installing the rbgccxml gem on ubuntu 8.04, I get a runtime error saying that hpricot version=0.6 is required. Now I had hpricot installed, as a gem, but it is version 0.6.161 . Is the…

---

## [Packet via USB](https://www.ruby-forum.com/t/packet-via-usb/125232)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 11:37am UTC](https://www.ruby-forum.com/t/packet-via-usb/125232 "2008-01-10T11:37:38Z")

</div>

Hi at all, i’ve a question. I send a packet data with a variable length to USRP via USB every 1 second. At the receiver side, using usrp\_fft.py, i notice that the most part of packets aren’t transmitted. Someone c…

---

## [A loop in a thread... very greedy](https://www.ruby-forum.com/t/a-loop-in-a-thread-very-greedy/124618)

<div class="topic-metadata">

**Author:** [@jazzhammer](https://www.ruby-forum.com/u/jazzhammer)\
**Replies:** 5\
**Last updated:** [December 31, 2007, 9:53am UTC](https://www.ruby-forum.com/t/a-loop-in-a-thread-very-greedy/124618 "2007-12-31T09:53:20Z")

</div>

need a class(we’ll call it a ‘simulator’ since that’s what i’m attempting to write) to run a loop. need that loop to stop when asked to, such as when the user that started it clicks a button to stop it. i write java …

---

## [FW: Review of Peter Bacon Darwin's Fixnum patch](https://www.ruby-forum.com/t/fw-review-of-peter-bacon-darwins-fixnum-patch/123432)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 5\
**Last updated:** [December 18, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/fw-review-of-peter-bacon-darwins-fixnum-patch/123432 "2007-12-18T21:50:40Z")

</div>

FYI We did this internal review last week (we had a ski day interfere with work on Friday :))- am working on some minor changes to the shelveset before checking in later today. Thanks! -John From: John M. Sent: Thu…

---

## [Installation Ror + Mysql + Aptana](https://www.ruby-forum.com/t/installation-ror-mysql-aptana/117865)

<div class="topic-metadata">

**Author:** [@dathing](https://www.ruby-forum.com/u/dathing)\
**Replies:** 5\
**Last updated:** [October 22, 2007, 9:31am UTC](https://www.ruby-forum.com/t/installation-ror-mysql-aptana/117865 "2007-10-22T09:31:38Z")

</div>

Bonsoir, Attention, Grand dÃ©butant: J’ai installÃ© Ruby, Rails (via gem) et je souahites continuer avec MySql, mais la j’ai une erreur: C:\>gem install mysql Select which gem to install for your platform (i386-mswin…

---

## [Stompserver & ActiveMessaging hacking](https://www.ruby-forum.com/t/stompserver-activemessaging-hacking/108887)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 5\
**Last updated:** [July 9, 2007, 3:30am UTC](https://www.ruby-forum.com/t/stompserver-activemessaging-hacking/108887 "2007-07-09T03:30:07Z")

</div>

Hi, == Context == I need a messaging system to have rails pushing tasks to processes in a distributed environment. I need this to be small and hacker friendly, so Stompserver and activemessaging looked good to me. Th…

---

## [Multidimensional hash](https://www.ruby-forum.com/t/multidimensional-hash/108558)

<div class="topic-metadata">

**Author:** [@Lucea](https://www.ruby-forum.com/u/Lucea)\
**Replies:** 5\
**Last updated:** [July 4, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/multidimensional-hash/108558 "2007-07-04T19:10:37Z")

</div>

Salve a tutti :slight\_smile: Mi pare di aver capito che non esistono hash a più dimensioni in ruby, quindi chiedevo a voi se sapreste dirmi come gestire la cosa… Ho provato a cercare qualcosa di già pronto ma le soluz…

---

## [Tail call optimization](https://www.ruby-forum.com/t/tail-call-optimization/104648)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 5\
**Last updated:** [May 22, 2007, 7:55am UTC](https://www.ruby-forum.com/t/tail-call-optimization/104648 "2007-05-22T07:55:01Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!KvHx8F$S=P$7$N:GE,2=5!G=$r!$$-$A$s$H9M$($F;H$($k$h$&$K$7$F$\_$^$7$?!%A0e(B e$B$+$i=hM}\<+BN$OF~$C$F$?$s$G$9$,!$\>/$7??LLL$K9M$(D\>$7$F;H$($k$h$&$K$7$?$@e(B e$B$1$G$9!%e(B def rec n rec n-1 if n…

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

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