# Top

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

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

---

## [IPython Notebook](https://www.ruby-forum.com/t/ipython-notebook/225555)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 6:17am UTC](https://www.ruby-forum.com/t/ipython-notebook/225555 "2013-01-15T06:17:37Z")

</div>

I had a nice discussion with Tom Ronadeau last weekend when he was in DC for an SDR conference. I mentioned a project some of you may be aware of called the IPython notebookhttp://ipython.org/ipython-doc/dev/interac…

---

## [Creating an array containing sums of combinations of ranges](https://www.ruby-forum.com/t/creating-an-array-containing-sums-of-combinations-of-ranges/218889)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [April 15, 2012, 4:49am UTC](https://www.ruby-forum.com/t/creating-an-array-containing-sums-of-combinations-of-ranges/218889 "2012-04-15T04:49:13Z")

</div>

I’ve got a puzzle I haven’t been able to solve. I have two user-provided arrays that look something like this: \[1…2, 2…3\] and \[2, 3\] I need to produce an array containing every possible sum of the ranges multiplied…

---

## [How do I create a Rails action for an Ajax request? Rails 3.2.1](https://www.ruby-forum.com/t/how-do-i-create-a-rails-action-for-an-ajax-request-rails-3-2-1/216465)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 5, 2012, 11:19pm UTC](https://www.ruby-forum.com/t/how-do-i-create-a-rails-action-for-an-ajax-request-rails-3-2-1/216465 "2012-02-05T23:19:23Z")

</div>

I have a list of items in my shopping page, and each time an “add to cart” button is clicked, an AJAX request is fired off with only a product\_id. “Add this item to the cart” so to speak. What does my Action have to …

---

## [Rspec :js =\> true issue (Rails 3)](https://www.ruby-forum.com/t/rspec-js-true-issue-rails-3/215129)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 22, 2011, 11:26pm UTC](https://www.ruby-forum.com/t/rspec-js-true-issue-rails-3/215129 "2011-12-22T23:26:17Z")

</div>

Hey all, I’m trying to get some Javascript test coverage in my app, so I decided to implement Rspec and Capybara with Selenium. I follow Ryan Bate’s Railscast episode 257 to a tee, but I still can’t get it to work. P…

---

## [Monthly Developers call](https://www.ruby-forum.com/t/monthly-developers-call/214891)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 16, 2011, 1:13am UTC](https://www.ruby-forum.com/t/monthly-developers-call/214891 "2011-12-16T01:13:00Z")

</div>

We will be having our monthly call tomorrow. Same time and details as usual. http://gnuradio.org/redmine/projects/gnuradio/wiki/DevelopersCalls I’ll try to post an agenda, but I don’t have much right now. Mostly, we …

---

## [Loading a large form in pieces via AJAX](https://www.ruby-forum.com/t/loading-a-large-form-in-pieces-via-ajax/213298)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 31, 2011, 1:14pm UTC](https://www.ruby-forum.com/t/loading-a-large-form-in-pieces-via-ajax/213298 "2011-10-31T13:14:33Z")

</div>

I have a page that has a very large form. That combined with the database is optimized for flexibility rather than speed with many joins and the server is not much of a machine and can be very slow means I would like …

---

## [Call method on attribute update](https://www.ruby-forum.com/t/call-method-on-attribute-update/212993)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 20, 2011, 5:22pm UTC](https://www.ruby-forum.com/t/call-method-on-attribute-update/212993 "2011-10-20T17:22:41Z")

</div>

Hello, I have an attribute in my class called @yn. If I change the value of @yn by doing this: foo.yn = 100.0 How do I cause another method in the class to automatically run? This is what I want to do: If @yn is up…

---

## [Best way to model rules in Rails?](https://www.ruby-forum.com/t/best-way-to-model-rules-in-rails/211514)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 6, 2011, 3:30pm UTC](https://www.ruby-forum.com/t/best-way-to-model-rules-in-rails/211514 "2011-09-06T15:30:05Z")

</div>

I have a Contract class, along the lines of: class Contract \< ActiveRecord::Base validates\_associated :signatures validates\_presence\_of :title … end One or more Conditions might apply to a Contract. Each Condition …

---

## [Hostgator WebHosting Discount Coupon Code For June 2011](https://www.ruby-forum.com/t/hostgator-webhosting-discount-coupon-code-for-june-2011/208691)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 1:26pm UTC](https://www.ruby-forum.com/t/hostgator-webhosting-discount-coupon-code-for-june-2011/208691 "2011-06-24T13:26:05Z")

</div>

Today i am going to share Hostgator web hosting (Shared, VPS, Dedicated) maximum discount coupon code for June 2011 month. Enter this Hostgator coupon and get 9.94$ OFF or 25% on any plans (hatchling, baby, business) …

---

## [Using collection\_select with accepts\_nested\_attributes\_for to generate many-to-many relations for an](https://www.ruby-forum.com/t/using-collection-select-with-accepts-nested-attributes-for-to-generate-many-to-many-relations-for-an/208214)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 3:08pm UTC](https://www.ruby-forum.com/t/using-collection-select-with-accepts-nested-attributes-for-to-generate-many-to-many-relations-for-an/208214 "2011-06-12T15:08:53Z")

</div>

Hi, New rails developer here trying to learn my way around active record associations. I’m building an event scheduling application and am working on the invitation feature. I already have a basic when / where event …

---

## [Application design question (Application Theory)](https://www.ruby-forum.com/t/application-design-question-application-theory/207929)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 6, 2011, 9:10pm UTC](https://www.ruby-forum.com/t/application-design-question-application-theory/207929 "2011-06-06T21:10:10Z")

</div>

This is currentlymaking my head spin, and it looks like i cant get a clear answer: so im turning to you. In my sandbox application i have users and these have profiles: in profiles i store information like a “about me…

---

## [Anyone scaling jruby tomcat?](https://www.ruby-forum.com/t/anyone-scaling-jruby-tomcat/202654)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 4, 2011, 3:07am UTC](https://www.ruby-forum.com/t/anyone-scaling-jruby-tomcat/202654 "2011-02-04T03:07:18Z")

</div>

ah ah ? Anyon netty a rails app behind apache?

---

## [Reducing redundant columns in tables?](https://www.ruby-forum.com/t/reducing-redundant-columns-in-tables/202543)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 1, 2011, 4:24pm UTC](https://www.ruby-forum.com/t/reducing-redundant-columns-in-tables/202543 "2011-02-01T16:24:24Z")

</div>

Consider the following scaffold for a virtual machine manager. rails g scaffold virtualmachine total\_memory:integer total\_disk:integer rails g scaffold plan title:string price\_usd:integer max\_memory:integer max\_disk:…

---

## [What Modulation Scheme does RFX400 can perform?](https://www.ruby-forum.com/t/what-modulation-scheme-does-rfx400-can-perform/201612)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 11, 2011, 8:09pm UTC](https://www.ruby-forum.com/t/what-modulation-scheme-does-rfx400-can-perform/201612 "2011-01-11T20:09:32Z")

</div>

Same as Title, What Modulation Scheme does RFX400 can perfom? If I draw a flow graph like below: http://dl.dropbox.com/u/11382666/02\_RXTX/TX.grc.png What Modulation Scheme is used by default? Can I change it?

---

## [About the branch 2-2](https://www.ruby-forum.com/t/about-the-branch-2-2/200942)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 0\
**Last updated:** [December 25, 2010, 7:44pm UTC](https://www.ruby-forum.com/t/about-the-branch-2-2/200942 "2010-12-25T19:44:18Z")

</div>

One year ago I submitted a proposal to host multiple Rails versions. https://groups.google.com/forum/#!topic/rails-i18n-locales/a5gHBasXQ0U For this reason, I created a branch called 2-2. https://github.com/svenfuchs/…

---

## [Proper way to back out a bad migration?](https://www.ruby-forum.com/t/proper-way-to-back-out-a-bad-migration/200210)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 3:25pm UTC](https://www.ruby-forum.com/t/proper-way-to-back-out-a-bad-migration/200210 "2010-12-07T15:25:51Z")

</div>

I’m curious on the best practice to remedy this situation… I created a habtm migration but forgot the :id =\> false I ran the migration (rake db:migrate) I tried to run my tests and then go the error that made me reali…

---

## [What is the best column time to store amount of hours](https://www.ruby-forum.com/t/what-is-the-best-column-time-to-store-amount-of-hours/196040)

<div class="topic-metadata">

**Author:** [@leonel](https://www.ruby-forum.com/u/leonel)\
**Replies:** 3\
**Last updated:** [October 6, 2010, 3:13pm UTC](https://www.ruby-forum.com/t/what-is-the-best-column-time-to-store-amount-of-hours/196040 "2010-10-06T15:13:14Z")

</div>

For example, if I want to store the amount of hours a service takes to complete such as… 1 hour of consulting 2 hours of consulting 3 hours of consulting 1 hour swedish massage 1.5 hours swedish massage If it was …

---

## [Method\_missing](https://www.ruby-forum.com/t/method-missing/195747)

<div class="topic-metadata">

**Author:** [@simon780](https://www.ruby-forum.com/u/simon780)\
**Replies:** 3\
**Last updated:** [September 29, 2010, 3:38pm UTC](https://www.ruby-forum.com/t/method-missing/195747 "2010-09-29T15:38:39Z")

</div>

Hi, I have extended BDI::Row as below in order to use dot notation to retrieve columns values from result rows. It seems however that some methods like inspect for example now get caught as missing by this hook and ar…

---

## [Remove the error](https://www.ruby-forum.com/t/remove-the-error/192664)

<div class="topic-metadata">

**Author:** [@amiref](https://www.ruby-forum.com/u/amiref)\
**Replies:** 3\
**Last updated:** [August 4, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/remove-the-error/192664 "2010-08-04T12:23:53Z")

</div>

Hi Why these codes result error ? 1- array = \[\*1…10\] sum = array.inject { |memo,item| memo+item if item !=3 } 2- array = \[\*1…10\] sum = array.inject { |memo,item| puts memo+item }

---

## [Rspec controller test strange error: undefined method \`call' for nil:NilClass](https://www.ruby-forum.com/t/rspec-controller-test-strange-error-undefined-method-call-for-nil-nilclass/191037)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 0\
**Last updated:** [July 3, 2010, 8:24am UTC](https://www.ruby-forum.com/t/rspec-controller-test-strange-error-undefined-method-call-for-nil-nilclass/191037 "2010-07-03T08:24:47Z")

</div>

must be doing something dumb… not sure, but the ‘call’ appears to be on the block.call when the respond\_to block gets executed. straight forward “channels” resource with a ‘create’ action… only new thing is just assi…

---

## [New controller - how do I access it via other controllers/views?](https://www.ruby-forum.com/t/new-controller-how-do-i-access-it-via-other-controllers-views/188878)

<div class="topic-metadata">

**Author:** [@chewmanfoo](https://www.ruby-forum.com/u/chewmanfoo)\
**Replies:** 3\
**Last updated:** [May 19, 2010, 9:09pm UTC](https://www.ruby-forum.com/t/new-controller-how-do-i-access-it-via-other-controllers-views/188878 "2010-05-19T21:09:50Z")

</div>

Guys, I have created a new controller Worker which has a method do\_work(inputs), and another method show\_work, which has a meaningful associated view (showing the results of the ‘work’. So, I need to display the resu…

---

## [How to access multiple models in a single controller](https://www.ruby-forum.com/t/how-to-access-multiple-models-in-a-single-controller/184948)

<div class="topic-metadata">

**Author:** [@richardsugg](https://www.ruby-forum.com/u/richardsugg)\
**Replies:** 3\
**Last updated:** [March 15, 2010, 6:58pm UTC](https://www.ruby-forum.com/t/how-to-access-multiple-models-in-a-single-controller/184948 "2010-03-15T18:58:46Z")

</div>

I am creating a customer database. The navigation menu will have sections for supported customers, trial customers, unsupported customers, etc. The nav menu will appear on every page. I need to get the list of custo…

---

## [Capistrano: saving a result on var](https://www.ruby-forum.com/t/capistrano-saving-a-result-on-var/181743)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 3\
**Last updated:** [January 17, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/capistrano-saving-a-result-on-var/181743 "2010-01-17T18:19:59Z")

</div>

Hi All, sorry if this dumb and not pure ruby q, but i just hit a bump on capistrano. how does one get a result of a run or sudo? eg, task :testing do x = run “date” p x end it runs without error but i get nothin…

---

## [Retrieving subject line from a mail](https://www.ruby-forum.com/t/retrieving-subject-line-from-a-mail/175981)

<div class="topic-metadata">

**Author:** [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Replies:** 3\
**Last updated:** [September 23, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/retrieving-subject-line-from-a-mail/175981 "2009-09-23T14:21:24Z")

</div>

Hi I want to retrieve the subject line received from the inbox in a mail either from yahoo, gmail, etc. Please guide me on this if anybody can. How do i proceed? Please let me know that. Thanks in advance. Regard…

---

## [ActionMailer method level layouts](https://www.ruby-forum.com/t/actionmailer-method-level-layouts/173908)

<div class="topic-metadata">

**Author:** [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Replies:** 3\
**Last updated:** [August 19, 2009, 2:01am UTC](https://www.ruby-forum.com/t/actionmailer-method-level-layouts/173908 "2009-08-19T02:01:51Z")

</div>

I am using layouts in 2.3’s ActionMalier. I know I can specify a layout at the class level: class MyMailer \< ActionMailer::Base layout ‘foo’ … end Is it possible to define one at the method level? i.e. class MyMa…

---

## [Cant find method in application\_helper from layout](https://www.ruby-forum.com/t/cant-find-method-in-application-helper-from-layout/173214)

<div class="topic-metadata">

**Author:** [@hirodusk](https://www.ruby-forum.com/u/hirodusk)\
**Replies:** 3\
**Last updated:** [August 5, 2009, 9:46pm UTC](https://www.ruby-forum.com/t/cant-find-method-in-application-helper-from-layout/173214 "2009-08-05T21:46:18Z")

</div>

I am having some trouble with an old app I need to work on… I have managed to get it mostly working with Rails 2.3, but I have run into this problem: undefined method \`class\_current\_controller?’ for #ActionView::Base…

---

## [FasterCSV](https://www.ruby-forum.com/t/fastercsv/172819)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [July 28, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/fastercsv/172819 "2009-07-28T17:05:12Z")

</div>

have problem with getting output. I get an error no matter how I try to get output… NoMethodError in Reports#commissions\_export Showing app/views/reports/commissions\_export.erb where line #26 raised: undefined method…

---

## [Error with Rails.logger: closed stream (IOError)](https://www.ruby-forum.com/t/error-with-rails-logger-closed-stream-ioerror/169468)

<div class="topic-metadata">

**Author:** [@cpher](https://www.ruby-forum.com/u/cpher)\
**Replies:** 0\
**Last updated:** [June 4, 2009, 2:29am UTC](https://www.ruby-forum.com/t/error-with-rails-logger-closed-stream-ioerror/169468 "2009-06-04T02:29:18Z")

</div>

Hi all. I am creating a plugin that uses the daemons gem to run some code in the background. In that code, I call Rails.logger.info “message”, but receive the following error. /opt/local/lib/ruby/gems/1.8/gems/activ…

---

## [Re: Pair Programming (WAS: Have opening for ROR engineers)](https://www.ruby-forum.com/t/re-pair-programming-was-have-opening-for-ror-engineers/168660)

<div class="topic-metadata">

**Author:** [@Hassan\_S](https://www.ruby-forum.com/u/Hassan_S)\
**Replies:** 3\
**Last updated:** [May 23, 2009, 11:16pm UTC](https://www.ruby-forum.com/t/re-pair-programming-was-have-opening-for-ror-engineers/168660 "2009-05-23T23:16:10Z")

</div>

On Sat, May 23, 2009 at 7:42 AM, Phlip removed\_email\_address@domain.invalid wrote: (Y’all do practice Pair Programming, don’t you??) Nope. Never had the opportunity. You? :slight\_smile: It’s an interesting idea, w…

---

## [Case sensitive strings](https://www.ruby-forum.com/t/case-sensitive-strings/168493)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 3\
**Last updated:** [May 21, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/case-sensitive-strings/168493 "2009-05-21T15:45:55Z")

</div>

Hi all, This is one of those annoying ones, but simple to solve I would imagine. I have a word list, where each entry is on a single line and in lowercase. I process this text file reading each word words.each |word| …

---

## [How to eliminate replace\_html alert pop-up in RJS](https://www.ruby-forum.com/t/how-to-eliminate-replace-html-alert-pop-up-in-rjs/164523)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 3\
**Last updated:** [April 2, 2009, 10:18am UTC](https://www.ruby-forum.com/t/how-to-eliminate-replace-html-alert-pop-up-in-rjs/164523 "2009-04-02T10:18:00Z")

</div>

Hello, I’m using RJS for AJAX call. Something like: page\[“edit\_single\_client\_div” + params\[“client\_id”\]\].replace\_html :partial =\> ‘client\_single\_display’, :locals =\> {:the\_client =\> SmsClient.valid.find\_by\_id(params\[…

---

## [Output to Printer](https://www.ruby-forum.com/t/output-to-printer/164025)

<div class="topic-metadata">

**Author:** [@eengnerd](https://www.ruby-forum.com/u/eengnerd)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 12:12am UTC](https://www.ruby-forum.com/t/output-to-printer/164025 "2009-04-01T00:12:01Z")

</div>

It was very surprising to me to find out that there is no current, GPL’ed “ruby-” package designed for outputting HTML / CSS pages to a printer. For reasons of principle, I won’t use any add on modules for ruby that …

---

## [Extracting the name of the template I am yielding](https://www.ruby-forum.com/t/extracting-the-name-of-the-template-i-am-yielding/161434)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/extracting-the-name-of-the-template-i-am-yielding/161434 "2009-02-26T17:25:34Z")

</div>

Hey guys, I’m trying to extract the name of the template I am currently to be yielding from my layout, but with no success. Does anyone know how to do that? Suppose I am calling the MainController#create action. On f…

---

## [Jquery, ajax, and Internet Explorer](https://www.ruby-forum.com/t/jquery-ajax-and-internet-explorer/161134)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 8:09am UTC](https://www.ruby-forum.com/t/jquery-ajax-and-internet-explorer/161134 "2009-02-24T08:09:19Z")

</div>

I have a code like this that works in all browsers and not IE. That is they send the expected GET request while IE is sending a POST request. I have tested this using IE7 $.ajax({ url: this.href, type: ‘get’, dataTyp…

---

## [Find duplicate entries](https://www.ruby-forum.com/t/find-duplicate-entries/160464)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 3\
**Last updated:** [February 17, 2009, 4:36am UTC](https://www.ruby-forum.com/t/find-duplicate-entries/160464 "2009-02-17T04:36:51Z")

</div>

Hey all, i create a hash from an description field to find equal entries. Now i want to show only the entries with an equal hash. (Hash value is stored in text\_hash field on the model) I try :group =\> ‘text\_hash’ but…

---

## [Gmailer](https://www.ruby-forum.com/t/gmailer/128504)

<div class="topic-metadata">

**Author:** [@shweta\_kadam](https://www.ruby-forum.com/u/shweta_kadam)\
**Replies:** 3\
**Last updated:** [February 10, 2009, 1:40pm UTC](https://www.ruby-forum.com/t/gmailer/128504 "2009-02-10T13:40:46Z")

</div>

hi all, i want to know how to use gmailer in rails

---

## [Script/process/spawner silently failing](https://www.ruby-forum.com/t/script-process-spawner-silently-failing/157943)

<div class="topic-metadata">

**Author:** [@Tobias\_Knaup](https://www.ruby-forum.com/u/Tobias_Knaup)\
**Replies:** 3\
**Last updated:** [January 24, 2009, 2:00pm UTC](https://www.ruby-forum.com/t/script-process-spawner-silently-failing/157943 "2009-01-24T14:00:34Z")

</div>

Hi all, I set up a standard Capistrano deployment on a new host. To start the Mongrels, “script/spin” calls “script/process/spawner mongrel”. It prints a few lines as if everything were normal, however the mongrels …

---

## [Various problems after installing ruby 1.9.1](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 3\
**Last updated:** [January 14, 2009, 9:00pm UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613 "2009-01-14T21:00:44Z")

</div>

Team, I unzipped ruby 1.9.1 where ruby 1.8.6 was located and since then I am having some problems and therefore will appreciate some help. Please notice that I still CAN run my ruby scripts, at least the few I tried. …

---

## [Auto\_complete with no of occurance](https://www.ruby-forum.com/t/auto-complete-with-no-of-occurance/155376)

<div class="topic-metadata">

**Author:** [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Replies:** 3\
**Last updated:** [December 12, 2008, 5:57am UTC](https://www.ruby-forum.com/t/auto-complete-with-no-of-occurance/155376 "2008-12-12T05:57:55Z")

</div>

Hi, I have implemented auto complete text box by using auto\_complete plugins in rails 2 application. Can I show the number of occurence of the text those display in the list drived by auto\_complete pugin? just like …

---

## [Problem with Adge ActsAsFerret](https://www.ruby-forum.com/t/problem-with-adge-actsasferret/154093)

<div class="topic-metadata">

**Author:** [@capi](https://www.ruby-forum.com/u/capi)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 10:29am UTC](https://www.ruby-forum.com/t/problem-with-adge-actsasferret/154093 "2008-11-25T10:29:44Z")

</div>

Hi guys! We try use ActsAsFerret from trunk But shit happen! We create singel index for multi models like in http://www.ruby-forum.com/topic/167953#new When we use Local index all work good. But when work with Drb …

---

## [FasterCVS Question/Problem](https://www.ruby-forum.com/t/fastercvs-question-problem/152731)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 3\
**Last updated:** [November 7, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/fastercvs-question-problem/152731 "2008-11-07T21:59:11Z")

</div>

Hello- I’m using FasterCSV to export order records for our fulfillment partner. Here’s a boiled-down snippet of my code: FasterCSV.open(filename, “w”, :encoding =\> ‘N’) do |csv| orders.each do |order| order.items.ea…

---

## [RJS: How to highlight multiple items](https://www.ruby-forum.com/t/rjs-how-to-highlight-multiple-items/149296)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 3\
**Last updated:** [September 23, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/rjs-how-to-highlight-multiple-items/149296 "2008-09-23T21:01:49Z")

</div>

I have an array with many DIV ids. I want to highlight all at once. The current… page.visual\_effect :highlight, “div\_id” only takes one div id.

---

## [Proxy for POST update requests](https://www.ruby-forum.com/t/proxy-for-post-update-requests/147969)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 3\
**Last updated:** [September 8, 2008, 1:17am UTC](https://www.ruby-forum.com/t/proxy-for-post-update-requests/147969 "2008-09-08T01:17:34Z")

</div>

Well, I got this working and it’s pretty nice too. I just wanted to post a couple notes here in the hope they may help someone else who needs to do this. relevant config looks like this, location ~ .php$ { proxy\_set…

---

## [About transaction do..end block (or critical section)](https://www.ruby-forum.com/t/about-transaction-do-end-block-or-critical-section/147731)

<div class="topic-metadata">

**Author:** [@difei](https://www.ruby-forum.com/u/difei)\
**Replies:** 0\
**Last updated:** [September 4, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/about-transaction-do-end-block-or-critical-section/147731 "2008-09-04T19:21:20Z")

</div>

Greetings all, Does the transaction do…end block guaranteed a critical section or just a database transaction? I want to save some file to the file system and then save the file path to a DB table, there are race cond…

---

## [Open3 and ssh](https://www.ruby-forum.com/t/open3-and-ssh/147475)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 0\
**Last updated:** [September 2, 2008, 9:05am UTC](https://www.ruby-forum.com/t/open3-and-ssh/147475 "2008-09-02T09:05:47Z")

</div>

I’m writing an app using RubyCocoa on MacOS X 10.4.11 which i want to implement a Pseudo-terminal connected to a remote host via ssh. When i test ssh from command line i get the waiting prompt and escape sequences, lo…

---

## [Dynamic Arrary Names](https://www.ruby-forum.com/t/dynamic-arrary-names/142917)

<div class="topic-metadata">

**Author:** [@drweb](https://www.ruby-forum.com/u/drweb)\
**Replies:** 3\
**Last updated:** [July 13, 2008, 3:56pm UTC](https://www.ruby-forum.com/t/dynamic-arrary-names/142917 "2008-07-13T15:56:39Z")

</div>

Is there any way in ruby to create dynamic array names? correctarrayfiles=Dir.glob(“array\_ast\_correct\_\*.rb”).size correctarrayfiles.times do |num| correctfiles=findbug.file\_exist(“array\_ast\_correct”) array+num=findbu…

---

## [Tweaking this to get a get a hash of namespaced models](https://www.ruby-forum.com/t/tweaking-this-to-get-a-get-a-hash-of-namespaced-models/141854)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/tweaking-this-to-get-a-get-a-hash-of-namespaced-models/141854 "2008-07-01T14:16:19Z")

</div>

so i have this piece of code here Dir.glob(RAILS\_ROOT + ‘/app/models//\*.rb’).each do |file| @models.push file.gsub(%r{ ^#{RAILS\_ROOT + ‘/app/models/’}(.) }io, ‘\\1’).chomp(’.rb’) end that gives me an array of all…

---

## [Rendering and custom routes](https://www.ruby-forum.com/t/rendering-and-custom-routes/138570)

<div class="topic-metadata">

**Author:** [@wemagor](https://www.ruby-forum.com/u/wemagor)\
**Replies:** 3\
**Last updated:** [May 25, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/rendering-and-custom-routes/138570 "2008-05-25T14:55:44Z")

</div>

Quick, probably n00bish question, but I can’t seem to figure it out. I am developing a contact management application, and while I am using REST, I have also defined a custom route to make it more understandable to th…

---

## [\[ANN\] Hamburg: Vortrags-Betatest "wie teste ich..." am 28.05.08 bei mindmatters](https://www.ruby-forum.com/t/ann-hamburg-vortrags-betatest-wie-teste-ich-am-28-05-08-bei-mindmatters/138485)

<div class="topic-metadata">

**Author:** [@halfbyte](https://www.ruby-forum.com/u/halfbyte)\
**Replies:** 0\
**Last updated:** [May 23, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/ann-hamburg-vortrags-betatest-wie-teste-ich-am-28-05-08-bei-mindmatters/138485 "2008-05-23T15:54:18Z")

</div>

Hallo, wie angekündigt werden Thorsten Böttger und ich (Jan) am nächsten Mittwoch, also am 28.05. um 19:00 unseren Rails-Konferenz-Vortrag betatesten. Das ganze findet bei der mindmatters GmbH & Co. KG, Neuer Kamp 30…

---

## [Problem while using Effect.toggle( )](https://www.ruby-forum.com/t/problem-while-using-effect-toggle/138135)

<div class="topic-metadata">

**Author:** [@jagdishSRubin](https://www.ruby-forum.com/u/jagdishSRubin)\
**Replies:** 3\
**Last updated:** [May 21, 2008, 9:42am UTC](https://www.ruby-forum.com/t/problem-while-using-effect-toggle/138135 "2008-05-21T09:42:21Z")

</div>

Hi I’m new in rails…I have a problem plz help me… I’m using Effect.toggle in my code. But it is not working…My code is like this… \<%=link\_to\_function “Toggle this”, onClick=“Effect.toggle( ‘ddiv’, ‘slide’ ); return f…

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

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