# Top

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

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

---

## [How to catch STDIO STREAM?](https://www.ruby-forum.com/t/how-to-catch-stdio-stream/138699)

<div class="topic-metadata">

**Author:** [@cheyne](https://www.ruby-forum.com/u/cheyne)\
**Replies:** 6\
**Last updated:** [May 27, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/how-to-catch-stdio-stream/138699 "2008-05-27T17:45:35Z")

</div>

Hi, there How can I capture a error massage from the STD IO? For instance, I have a program call foo.exe and i run the program ./foo.exe Then the program prints out some error messages. How can I write a script that…

---

## [Best practice for object transaction?](https://www.ruby-forum.com/t/best-practice-for-object-transaction/136312)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 6\
**Last updated:** [May 1, 2008, 11:59am UTC](https://www.ruby-forum.com/t/best-practice-for-object-transaction/136312 "2008-05-01T11:59:44Z")

</div>

I have a new @offer that needs to generate a document if saved. But that’s all or nothing: transaction do @offer.save! generate\_document end # handle exceptions if needed If save! fails everything is fine, but if …

---

## [Surprising Result](https://www.ruby-forum.com/t/surprising-result/131517)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 6\
**Last updated:** [March 11, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/surprising-result/131517 "2008-03-11T16:39:20Z")

</div>

I’d just gotten done implementing DEFLATE in pure ruby, and figuring there’d be a performance hit I was interested to see what it would be. On IronRuby (compiled in Release) it takes a full 16 seconds to decompress a …

---

## [Trunk: $B%$%s%9%H!\<%k%U%!%$%k$N%"%/%;%98"(B](https://www.ruby-forum.com/t/trunk-b-s-9-h-k-u-k-n-98-b/128781)

<div class="topic-metadata">

**Author:** [@pegacorn](https://www.ruby-forum.com/u/pegacorn)\
**Replies:** 6\
**Last updated:** [February 16, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/trunk-b-s-9-h-k-u-k-n-98-b/128781 "2008-02-16T17:39:17Z")

</div>

trunk ã§ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ãŒé©åˆ‡ã«è¨­å®šã•ã‚Œãªã„ã‚‚ã®ãŒ ã‚ã‚Šã¾ã™ã€‚ Index: instruby.rb — instruby.rb (ãƒªãƒ“ã‚¸ãƒ§ãƒ³ 15429) +++ instruby.rb (ä½œæ¥­ã‚³ãƒ”ãƒ¼) @@ -123…

---

## [RailsStory runner - empty response](https://www.ruby-forum.com/t/railsstory-runner-empty-response/117402)

<div class="topic-metadata">

**Author:** [@Alvin\_S](https://www.ruby-forum.com/u/Alvin_S)\
**Replies:** 6\
**Last updated:** [October 17, 2007, 1:16pm UTC](https://www.ruby-forum.com/t/railsstory-runner-empty-response/117402 "2007-10-17T13:16:03Z")

</div>

I generated a new rails app then installed rspec and rspec\_on\_rails from trunk. I then created a sample story: require File.dirname(FILE) + “/helper” Story “View Home Page”, %{ As a user I want to view my home page …

---

## [Link\_to\_remote problem](https://www.ruby-forum.com/t/link-to-remote-problem/105861)

<div class="topic-metadata">

**Author:** [@nightdog](https://www.ruby-forum.com/u/nightdog)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 12:30pm UTC](https://www.ruby-forum.com/t/link-to-remote-problem/105861 "2007-06-05T12:30:08Z")

</div>

hey everyone I’m trying to implement a google map in my application using the ym4r framework. Accessing the action directly using the url /controller/action works fine. However, when i use link\_to\_remote or render\_c…

---

## [RJS problem](https://www.ruby-forum.com/t/rjs-problem/229130)

<div class="topic-metadata">

**Author:** [@abon](https://www.ruby-forum.com/u/abon)\
**Replies:** 6\
**Last updated:** [January 29, 2007, 7:49am UTC](https://www.ruby-forum.com/t/rjs-problem/229130 "2007-01-29T07:49:33Z")

</div>

Hi, I’m implementing a “digg-like” page, that once you digg. The score for each item will dynamically reflect your current action +1 . I am not sure what’s In the controller I have an action responsible for increase …

---

## [Version.h maintenance](https://www.ruby-forum.com/t/version-h-maintenance/81226)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 6\
**Last updated:** [January 23, 2007, 4:18am UTC](https://www.ruby-forum.com/t/version-h-maintenance/81226 "2007-01-23T04:18:43Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!8=:\_!"e(Bversion.h e$B$NF|IU$N99?7$O$o$?$J$Y$5$sEy$N\<j:n6H$K$h$C$F9T$o$l$F$$e(B e$B$^$9!#$3$l$O!"e(BSubversion e$B$K0\\9T$7$F$+$i\<+F02=$G$-$F$$$J$$$N$,LdBj$G$9!#e(B e$B!!$^$?!"e(BSubversion …

---

## [Batch processes interacting with ROR data](https://www.ruby-forum.com/t/batch-processes-interacting-with-ror-data/77058)

<div class="topic-metadata">

**Author:** [@dkam](https://www.ruby-forum.com/u/dkam)\
**Replies:** 6\
**Last updated:** [November 24, 2006, 4:40am UTC](https://www.ruby-forum.com/t/batch-processes-interacting-with-ror-data/77058 "2006-11-24T04:40:22Z")

</div>

The application I am working on needs a nightly process to comb through the database and make periodic changes. What is the best way to implement a script in order to leverage the existing database connection manageme…

---

## [Remote form w/ evalScripts:true](https://www.ruby-forum.com/t/remote-form-w-evalscripts-true/96872)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 6\
**Last updated:** [July 3, 2006, 12:55pm UTC](https://www.ruby-forum.com/t/remote-form-w-evalscripts-true/96872 "2006-07-03T12:55:51Z")

</div>

Hello. I want to select an item from a select list and have that result in an ajax call that updates two sections on the page. Here is the code in the controller def create … render :update do |page| page.replace\_h…

---

## [Oracle unit test problem in Rails 1.1.2/Ruby-OCI 0.1.14](https://www.ruby-forum.com/t/oracle-unit-test-problem-in-rails-1-1-2-ruby-oci-0-1-14/57557)

<div class="topic-metadata">

**Author:** [@lori](https://www.ruby-forum.com/u/lori)\
**Replies:** 6\
**Last updated:** [April 12, 2006, 6:43am UTC](https://www.ruby-forum.com/t/oracle-unit-test-problem-in-rails-1-1-2-ruby-oci-0-1-14/57557 "2006-04-12T06:43:53Z")

</div>

I’ve upgraded to Rails 1.1.2, and I’m trying to push this change through to our build server (Linux/Oracle) and we are getting some errors in the unit tests using Oracle. Looking at the data in the tests reveals a pr…

---

## [How to define a minimum number of input samples for a block](https://www.ruby-forum.com/t/how-to-define-a-minimum-number-of-input-samples-for-a-block/241373)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 6, 2015, 3:34pm UTC](https://www.ruby-forum.com/t/how-to-define-a-minimum-number-of-input-samples-for-a-block/241373 "2015-04-06T15:34:43Z")

</div>

Hi, I’m developing a block that need a minimum number of input samples to process, for example, the block must have at least 1000 samples. In the work() function may I compare if the ninput\_items\[\] is greater than 1…

---

## [Question about a model example](https://www.ruby-forum.com/t/question-about-a-model-example/215837)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 17, 2012, 1:31pm UTC](https://www.ruby-forum.com/t/question-about-a-model-example/215837 "2012-01-17T13:31:36Z")

</div>

I’m a beginner to both Ruby and Rails and I’m currently reading the Agile development with Rails, in which I’m currently developing the cart of the store. I have a line\_items model which belongs\_to :products. This m…

---

## [\[ruby-trunk - Bug #5738\]\[Open\] if false; BEGIN {}; end が syntax error になる](https://www.ruby-forum.com/t/ruby-trunk-bug-5738-open-if-false-begin-end-syntax-error/214725)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 12, 2011, 5:03am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5738-open-if-false-begin-end-syntax-error/214725 "2011-12-12T05:03:16Z")

</div>

Issue #5738 has been reported by Sho H… Bug #5738: if false; BEGIN {}; end が syntax error になる Author: Sho H. Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3dev (2011-07-31 …

---

## [Unable to send html format through mail](https://www.ruby-forum.com/t/unable-to-send-html-format-through-mail/213916)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 16, 2011, 2:36pm UTC](https://www.ruby-forum.com/t/unable-to-send-html-format-through-mail/213916 "2011-11-16T14:36:21Z")

</div>

hi everyone out there when i am trying to send the mail with html tags i am getting the same tags in the mail. i have named the file with .html.erb only .please help me thanks in advance

---

## [Upgrade to 1.1.8 still shows 1.1.7?](https://www.ruby-forum.com/t/upgrade-to-1-1-8-still-shows-1-1-7/213898)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 15, 2011, 6:28pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1-8-still-shows-1-1-7/213898 "2011-11-15T18:28:05Z")

</div>

We usually upgrade Nginx when a new version comes out. I upgraded to 1.1.8 and when I do “nginx -v” from the command line, it shows 1.1.8. When I run phpinfo() through the php-fpm service that we use (having restar…

---

## [Using "class Object" for a project](https://www.ruby-forum.com/t/using-class-object-for-a-project/207165)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 19, 2011, 8:51pm UTC](https://www.ruby-forum.com/t/using-class-object-for-a-project/207165 "2011-05-19T20:51:02Z")

</div>

Hello. I am currently contemplating writing a MUD in Ruby. (I don’t mind how “slow” ruby would be.) Now there is a lot of unfinished code so far, but I was wondering about one thing actually: I am thinking of a base…

---

## [Test.php being downloaded instead of displayed](https://www.ruby-forum.com/t/test-php-being-downloaded-instead-of-displayed/195894)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [October 2, 2010, 4:35am UTC](https://www.ruby-forum.com/t/test-php-being-downloaded-instead-of-displayed/195894 "2010-10-02T04:35:12Z")

</div>

I set up a simple test.php on my server with \<?php phpinfo(); ?\> but it seems like when i browse to the file its being downloaded instead of displayed in the browser window. does anyone know how i can fix this?

---

## [How it would be tested?](https://www.ruby-forum.com/t/how-it-would-be-tested/191895)

<div class="topic-metadata">

**Author:** [@tests\_learner](https://www.ruby-forum.com/u/tests_learner)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 10:09pm UTC](https://www.ruby-forum.com/t/how-it-would-be-tested/191895 "2010-07-25T22:09:25Z")

</div>

Hello all. I’m working with rails and came to a situation that i cannot imagine how to test this. Given i have an index action that retrieves me a collection of objects. But some of them have especific permissions. …

---

## [Gem spec](https://www.ruby-forum.com/t/gem-spec/191452)

<div class="topic-metadata">

**Author:** [@Hassan\_S](https://www.ruby-forum.com/u/Hassan_S)\
**Replies:** 4\
**Last updated:** [July 13, 2010, 10:05pm UTC](https://www.ruby-forum.com/t/gem-spec/191452 "2010-07-13T22:05:47Z")

</div>

JRuby 1.5.1, Rails app, with JDBC adapter 0.9.7 config.gem: Unpacked gem activerecord-jdbc-adapter-0.9.7 in vendor/gems has a mismatched specification file. Run ‘rake gems:refresh\_specs’ to fix this. mmm, OK. jruby …

---

## [Php-fpm for 5.2.9](https://www.ruby-forum.com/t/php-fpm-for-5-2-9/168241)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 4\
**Last updated:** [May 19, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/php-fpm-for-5-2-9/168241 "2009-05-19T12:32:15Z")

</div>

Hi All, This question is not exactly related to Nginx (sorry), but is related to our php configuration for Nginx. There have been many discussions about php / php-fpm and the fact that there’s no php-fpm version for …

---

## [Accessing ruby objects across VMs](https://www.ruby-forum.com/t/accessing-ruby-objects-across-vms/166008)

<div class="topic-metadata">

**Author:** [@piyush\_r](https://www.ruby-forum.com/u/piyush_r)\
**Replies:** 4\
**Last updated:** [April 21, 2009, 9:29am UTC](https://www.ruby-forum.com/t/accessing-ruby-objects-across-vms/166008 "2009-04-21T09:29:09Z")

</div>

I have 1 ruby instance running for a website. I do heavy polling using in memory data and to do run a few more. I have all my data stored in a MySQL DB. Right now whenever an entry is made to this DB (containing only…

---

## [Phusion Passenger Installation Problem](https://www.ruby-forum.com/t/phusion-passenger-installation-problem/162477)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/phusion-passenger-installation-problem/162477 "2009-03-10T22:01:00Z")

</div>

Hello, I am trying to install Passenger on Mac OS 10.5 but running: % sudo gem install passenger gives me: Error installing passenger: invalid gem format for /Library/Ruby/Gems/1.8/cache/ passenger-2.0.6.gem I don…

---

## [CookieOverflow errors while using DB cookie store](https://www.ruby-forum.com/t/cookieoverflow-errors-while-using-db-cookie-store/155486)

<div class="topic-metadata">

**Author:** [@brady8](https://www.ruby-forum.com/u/brady8)\
**Replies:** 4\
**Last updated:** [December 13, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/cookieoverflow-errors-while-using-db-cookie-store/155486 "2008-12-13T17:49:56Z")

</div>

Hello all, Using Edge Rails, SQLite development database on OSX. I’m receiving CookieOverflow errors in my application while using the AR cookie store. Tested in both Safari and Firefox, same error, although sporadic…

---

## [Gem generators on 1.2.6](https://www.ruby-forum.com/t/gem-generators-on-1-2-6/150387)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [October 8, 2008, 2:01am UTC](https://www.ruby-forum.com/t/gem-generators-on-1-2-6/150387 "2008-10-08T02:01:36Z")

</div>

In a 1.2.6 app (don’t ask), I don’t see the generators available to me with the gems installed. However the documentation makes it look like it should work: Generator gems are also available: gem search -r generato…

---

## [User Authentication](https://www.ruby-forum.com/t/user-authentication/123676)

<div class="topic-metadata">

**Author:** [@Rick\_Henderson](https://www.ruby-forum.com/u/Rick_Henderson)\
**Replies:** 4\
**Last updated:** [December 22, 2007, 2:43am UTC](https://www.ruby-forum.com/t/user-authentication/123676 "2007-12-22T02:43:32Z")

</div>

Greetings all, New to Radiant and the community, but my hope is that my co-worker and I can contribute a lot to the project in the years to come. That being said, our first step is to develop a user extension for Ra…

---

## [Sample size and data rates](https://www.ruby-forum.com/t/sample-size-and-data-rates/122249)

<div class="topic-metadata">

**Author:** [@Aadil\_V](https://www.ruby-forum.com/u/Aadil_V)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/sample-size-and-data-rates/122249 "2007-12-06T18:11:39Z")

</div>

Hi, I have modified the usrp\_wfm\_rc.py script to capture samples of an FM signal and write them to disk, and a second script to demodulate and playback the samples. The scripts are available here: http://rrsg.ee.uct.…

---

## [Difficulties with a navigation menu and selectively showing children](https://www.ruby-forum.com/t/difficulties-with-a-navigation-menu-and-selectively-showing-children/122100)

<div class="topic-metadata">

**Author:** [@Lou\_Brothers](https://www.ruby-forum.com/u/Lou_Brothers)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 9:31am UTC](https://www.ruby-forum.com/t/difficulties-with-a-navigation-menu-and-selectively-showing-children/122100 "2007-12-06T09:31:10Z")

</div>

Hi. I recently started using Radiant to host http://www.vfct.com/ . I’m not using many of the more sophisticated features (nearly everything is hard-coded in some way). I’d like to get away from having to hard-code …

---

## [Tls](https://www.ruby-forum.com/t/tls/115212)

<div class="topic-metadata">

**Author:** [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 11:40am UTC](https://www.ruby-forum.com/t/tls/115212 "2007-09-27T11:40:27Z")

</div>

Anyone know if ruby supports TLS in SMTP? can you please provide code snippets?

---

## [REST routes :has\_many , new style](https://www.ruby-forum.com/t/rest-routes-has-many-new-style/112996)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 12:22am UTC](https://www.ruby-forum.com/t/rest-routes-has-many-new-style/112996 "2007-09-25T00:22:42Z")

</div>

I am trying to write a nested route ‘new style’ map.resources :franchises, :has\_many =\> :documents in place of the : map.resources :franchises do |franchises| franchises.resources :documents, :name\_prefix =\> “franch…

---

## [A richer role model](https://www.ruby-forum.com/t/a-richer-role-model/112587)

<div class="topic-metadata">

**Author:** [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/a-richer-role-model/112587 "2007-08-21T21:41:45Z")

</div>

A question of philosophy Currently, we’re looking at extending radiant for a client whose primary need is content. However, they also need some other tools specific to not-for-profits. Ideally it would be great to d…

---

## [Plugin de pagination](https://www.ruby-forum.com/t/plugin-de-pagination/109723)

<div class="topic-metadata">

**Author:** [@Dragonix](https://www.ruby-forum.com/u/Dragonix)\
**Replies:** 4\
**Last updated:** [July 19, 2007, 8:02am UTC](https://www.ruby-forum.com/t/plugin-de-pagination/109723 "2007-07-19T08:02:37Z")

</div>

Bonjour, J’aimerais savoir selon vous et votre expérience, quel plugin est le mieux pour la pagination sachant que celle de ActiveRecord va etre deprecié. J’ai entendu parlé de will\_paginate et paginate\_find Sachan…

---

## [Funcion para escribir la fecha, el dia de las semana y el me](https://www.ruby-forum.com/t/funcion-para-escribir-la-fecha-el-dia-de-las-semana-y-el-me/108005)

<div class="topic-metadata">

**Author:** [@fernandosilva](https://www.ruby-forum.com/u/fernandosilva)\
**Replies:** 4\
**Last updated:** [June 28, 2007, 2:14pm UTC](https://www.ruby-forum.com/t/funcion-para-escribir-la-fecha-el-dia-de-las-semana-y-el-me/108005 "2007-06-28T14:14:21Z")

</div>

Buenas, Existe en Ruby alguna funciÃ³n al estilo de las de PHP para imprimir la fecha, el dÃ­a de la semana y el mes? Seria algo asÃ­? \<% Time.now.to\_i %\>? muchas gracias y un saludo

---

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

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 26, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/gsub-question/92949 "2007-04-26T16:25:45Z")

</div>

Hello, i’m new to ruby, and working mostly with text. i have this very simple program that reads a file and replaces all ‘’ with a whitespace. (rtf to txt conversion is causing an endless occurence of 's). the way i…

---

## [Help me .hide() the div!](https://www.ruby-forum.com/t/help-me-hide-the-div/88898)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 5:35am UTC](https://www.ruby-forum.com/t/help-me-hide-the-div/88898 "2007-03-16T05:35:23Z")

</div>

here is my code: ï¼œinput id=‘the\_input’ type=‘text’ /\> \<%= observe\_field(:the\_input, :frequency =\> 0.5, :update =\> ‘the\_result’, #… )%\> \<%= link\_to\_function(‘the link’, “$(‘the\_input’).value=‘new value’;$(‘the\_…

---

## [Oracle OCI8 connection error](https://www.ruby-forum.com/t/oracle-oci8-connection-error/81373)

<div class="topic-metadata">

**Author:** [@yajiri](https://www.ruby-forum.com/u/yajiri)\
**Replies:** 4\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/oracle-oci8-connection-error/81373 "2007-01-19T16:29:38Z")

</div>

I’m trying to connect to a remote oracle database and I am receiving an OCI Error (see below). Here is what I’ve done thus far: I’ve added the most recent OCI8 gem for windows. It is in the C:\\ruby\\lib\\ruby\\1.8 fo…

---

## [Dhaka-1.0.0 now with RDoc](https://www.ruby-forum.com/t/dhaka-1-0-0-now-with-rdoc/81428)

<div class="topic-metadata">

**Author:** [@Mushfeq\_K](https://www.ruby-forum.com/u/Mushfeq_K)\
**Replies:** 4\
**Last updated:** [January 10, 2007, 6:35am UTC](https://www.ruby-forum.com/t/dhaka-1-0-0-now-with-rdoc/81428 "2007-01-10T06:35:30Z")

</div>

Three major changes with this release: A backwards-incompatible modification to Dhaka::Evaluator (hence the jump to 1.x.x - I just discovered the rational versioning system): When specifying evaluation rules, Evalu…

---

## [Uploading pictures with ajax](https://www.ruby-forum.com/t/uploading-pictures-with-ajax/72732)

<div class="topic-metadata">

**Author:** [@shai](https://www.ruby-forum.com/u/shai)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:07am UTC](https://www.ruby-forum.com/t/uploading-pictures-with-ajax/72732 "2006-11-07T11:07:47Z")

</div>

is this possible? any references, tips, help, other cool ideas like this, are much appreciated. . . many 10x, harp

---

## [Ruby-talk, comp.lang.ruby, ruby-talk-google](https://www.ruby-forum.com/t/ruby-talk-comp-lang-ruby-ruby-talk-google/67612)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [September 6, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/ruby-talk-comp-lang-ruby-ruby-talk-google/67612 "2006-09-06T20:44:49Z")

</div>

Where does the third fit into the equation? I browse ruby-talk via the comp.lang.ruby group on Google G… Barring gateway troubles, I think I see posts by everyone on the mailing list. When I post via comp.lang.ruby, I…

---

## [Require 'mysql' is failing](https://www.ruby-forum.com/t/require-mysql-is-failing/101886)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [August 8, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/require-mysql-is-failing/101886 "2006-08-08T17:24:20Z")

</div>

I really thought I’d be through at this point … but Thanks to several of you here (and I REALLY appreciate the help), I FINALLY managed to get the mysql gem installed. When I ran gem install, it gave me several option…

---

## [Acts\_as\_attachment , someone using it?](https://www.ruby-forum.com/t/acts-as-attachment-someone-using-it/62146)

<div class="topic-metadata">

**Author:** [@Nhila\_D](https://www.ruby-forum.com/u/Nhila_D)\
**Replies:** 4\
**Last updated:** [June 1, 2006, 8:01am UTC](https://www.ruby-forum.com/t/acts-as-attachment-someone-using-it/62146 "2006-06-01T08:01:15Z")

</div>

Hi, i just found the acts\_as\_attachment plugin for image upload, seems sogood but i cant find any docs about it, if someone here using it can give some references or working examples about the plugin that will be exce…

---

## [Copious Free Time bit enabled](https://www.ruby-forum.com/t/copious-free-time-bit-enabled/59770)

<div class="topic-metadata">

**Author:** [@Piers\_C](https://www.ruby-forum.com/u/Piers_C)\
**Replies:** 4\
**Last updated:** [May 6, 2006, 5:28pm UTC](https://www.ruby-forum.com/t/copious-free-time-bit-enabled/59770 "2006-05-06T17:28:03Z")

</div>

First up: Sorry for all the recent problems with Typo that followed on from a couple of my patches; I’ve spent the last week insanely busy on paying work which left me too knackered to do anything on Typo in the eveni…

---

## [Form post not working](https://www.ruby-forum.com/t/form-post-not-working/59580)

<div class="topic-metadata">

**Author:** [@Abhinav](https://www.ruby-forum.com/u/Abhinav)\
**Replies:** 4\
**Last updated:** [May 4, 2006, 2:41pm UTC](https://www.ruby-forum.com/t/form-post-not-working/59580 "2006-05-04T14:41:02Z")

</div>

Hi there, I have this form code in a view: \<%= start\_form\_tag :action =\> “listByArtist”, :id =\> artist.id %\> List by Artist: \<%= options\_from\_collection\_for\_select(@artists, "id", "name") %\> \<%= submit\_tag…

---

## [Best way to test for file existence?](https://www.ruby-forum.com/t/best-way-to-test-for-file-existence/57518)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [April 11, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/best-way-to-test-for-file-existence/57518 "2006-04-11T18:30:13Z")

</div>

All, What is the best way to determine the existence of a file (more specifically, a directory)? Are there Perl - like file test operators available? Wes

---

## [Anyone noticed slow rendering performance with formhelpers?](https://www.ruby-forum.com/t/anyone-noticed-slow-rendering-performance-with-formhelpers/93521)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 4\
**Last updated:** [April 4, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/anyone-noticed-slow-rendering-performance-with-formhelpers/93521 "2006-04-04T14:27:48Z")

</div>

It seems like the form helpers, such as “link\_to” and “check\_box” really slows down rendering when you have hundreds of rows. Has anyone else noticed this?? Is there a way to go around it apart from typing the raw ht…

---

## [Basic MVC in RoR question](https://www.ruby-forum.com/t/basic-mvc-in-ror-question/101438)

<div class="topic-metadata">

**Author:** [@Basic\_MVC\_in\_RoR\_qu](https://www.ruby-forum.com/u/Basic_MVC_in_RoR_qu)\
**Replies:** 4\
**Last updated:** [February 6, 2006, 4:58am UTC](https://www.ruby-forum.com/t/basic-mvc-in-ror-question/101438 "2006-02-06T04:58:04Z")

</div>

Ok, Here’s my controller: def create trainingplan = Trainingplan.createplan(@params\[:startdate\], @params\[:enddate\], @params\[:hoursperweek\], @params\[:programtype\]) end My model is: class Trainingplan \<ActiveRecord::…

---

## [Scgi routing problem not DRY (update to SCGI and caching not](https://www.ruby-forum.com/t/scgi-routing-problem-not-dry-update-to-scgi-and-caching-not/48326)

<div class="topic-metadata">

**Author:** [@mortonda](https://www.ruby-forum.com/u/mortonda)\
**Replies:** 4\
**Last updated:** [November 16, 2005, 11:29pm UTC](https://www.ruby-forum.com/t/scgi-routing-problem-not-dry-update-to-scgi-and-caching-not/48326 "2005-11-16T23:29:22Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I’m attempting to set up typo using the SCGI runner. As near as I can tell, here’s what happens, please tell me if I’m wrong: The instructions for scgi and rails: (Pea…

---

## [Using gems in .rb file](https://www.ruby-forum.com/t/using-gems-in-rb-file/260333)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 6:44am UTC](https://www.ruby-forum.com/t/using-gems-in-rb-file/260333 "2020-10-07T06:44:39Z")

</div>

Hi i am using some gems which are working in rails but when i make use of gems in .rb file i am getting the below error after installling gem also in \`require’: cannot load such file – daru (LoadError) please help me …

---

## [Failure/Error: visit '/static\_pages/about' ActionController::RoutingError:](https://www.ruby-forum.com/t/failure-error-visit-static-pages-about-actioncontroller/242048)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 23, 2015, 8:44am UTC](https://www.ruby-forum.com/t/failure-error-visit-static-pages-about-actioncontroller/242048 "2015-05-23T08:44:07Z")

</div>

Hi When i run static\_page\_rspec file() displayed error: Failure/Error: visit ‘/static\_pages/contact’ ActionController::RoutingError: No route matches \[GET\] “/static\_pages/contact” Its routes.rb: et ‘/’ =\> ‘pets#in…

---

## [Ruby net/ldap, LDAP PDU error](https://www.ruby-forum.com/t/ruby-net-ldap-ldap-pdu-error/236487)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 6:07pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-ldap-pdu-error/236487 "2013-09-20T18:07:54Z")

</div>

I have a problem here. I am trying to connect to a LDAP server (IBM’s Tivoli to be exact) to automate a process that will export the schema in LDIF format. I am able to bind to Active directory with no problems using …

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

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