# Top

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

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

---

## [OpenGL support](https://www.ruby-forum.com/t/opengl-support/200725)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 24, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/opengl-support/200725 "2010-12-24T20:43:27Z")

</div>

Will there ever be updated bindings to OpenGL? I can’t understand how there’s a language without working bindings to the biggest open source graphics API out there. ruby-opengl only seems to work on Ruby 1.8, and ruby…

---

## [Detect if 2 ranges share elements](https://www.ruby-forum.com/t/detect-if-2-ranges-share-elements/186669)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 6\
**Last updated:** [April 11, 2010, 2:03am UTC](https://www.ruby-forum.com/t/detect-if-2-ranges-share-elements/186669 "2010-04-11T02:03:38Z")

</div>

Probably a simple problem for most of you out there: What is the best way to make sure two ranges don’t share any elements? For example: \[1…10\] and \[9…15\] =\> false (they share common elements) \[1…10\] and \[11…20\] =\> …

---

## [Soap4r-1.5.6](https://www.ruby-forum.com/t/soap4r-1-5-6/106840)

<div class="topic-metadata">

**Author:** [@NAKAMURAS\_Hiroshi](https://www.ruby-forum.com/u/NAKAMURAS_Hiroshi)\
**Replies:** 6\
**Last updated:** [March 2, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/soap4r-1-5-6/106840 "2010-03-02T15:01:31Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, ‘SOAP4R’ is an implementation of SOAP 1.1 (W3C Note). http://www.w3.org/TR/SOAP/ RAA: http://raa.ruby-lang.org/project/soap4r Release Note: http://dev.ctor.org/…

---

## [Saving to the DB uses a lot of RAM?](https://www.ruby-forum.com/t/saving-to-the-db-uses-a-lot-of-ram/182566)

<div class="topic-metadata">

**Author:** [@PierreW](https://www.ruby-forum.com/u/PierreW)\
**Replies:** 6\
**Last updated:** [February 1, 2010, 5:14am UTC](https://www.ruby-forum.com/t/saving-to-the-db-uses-a-lot-of-ram/182566 "2010-02-01T05:14:07Z")

</div>

Hi guys, I must be missing something obvious… array\_of\_stuff = \[ contains a lot of fairly small AR objects \] RAM at 30MB array\_of\_stuff.each do |foo| foo.save end array\_of\_stuff = nil RAM at 60+MB The iteration it…

---

## [Gzip\_static - any way to not have to store two files?](https://www.ruby-forum.com/t/gzip-static-any-way-to-not-have-to-store-two-files/181974)

<div class="topic-metadata">

**Author:** [@arianna](https://www.ruby-forum.com/u/arianna)\
**Replies:** 6\
**Last updated:** [January 21, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/gzip-static-any-way-to-not-have-to-store-two-files/181974 "2010-01-21T18:25:27Z")

</div>

right now we have to store two files - compressed and uncompressed. couldn’t nginx just read compressed file from filesystem and uncompress on the fly and send? Posted at Nginx Forum:

---

## [How to redirect to 'new'](https://www.ruby-forum.com/t/how-to-redirect-to-new/181874)

<div class="topic-metadata">

**Author:** [@imnotquitejack](https://www.ruby-forum.com/u/imnotquitejack)\
**Replies:** 6\
**Last updated:** [January 21, 2010, 10:56am UTC](https://www.ruby-forum.com/t/how-to-redirect-to-new/181874 "2010-01-21T10:56:09Z")

</div>

Hi guys, I’d like to be able to display my ‘new’ view but have an intermediate step before saving the new record using the ‘create’ button. Basically, some of the data for the model is variable and dependant on a numb…

---

## [Rb\_eval\_string\_protect and encoding](https://www.ruby-forum.com/t/rb-eval-string-protect-and-encoding/172678)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 6\
**Last updated:** [July 27, 2009, 4:03am UTC](https://www.ruby-forum.com/t/rb-eval-string-protect-and-encoding/172678 "2009-07-27T04:03:16Z")

</div>

e$B=uED$G$9!#e(B rb\_eval\_string\_protect e$B$He(B Encoding e$B$K4X$9$k\<ALd$G$9!#e(B e$B\<!$N%=!\<%9$N\<B9T7k2L$N:G8e$N9T$re(B #Encoding:EUC-JP e$B$H$9$k$?$a$K$O!"$I$&$9$l$P$$$$$s$G$7$g$&$+!)e(B rb\_eval\_string\_protect e…

---

## [\[Feature:trunk\] enhancement of Array#drop](https://www.ruby-forum.com/t/feature-trunk-enhancement-of-array-drop/168293)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 6\
**Last updated:** [May 19, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/feature-trunk-enhancement-of-array-drop/168293 "2009-05-19T18:50:21Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B Rubye$B$G%9%/%j%W%H$r=q$$$F$$$F!“G\[Ns$+$i!”$"$k\>r7o$K9gCW$9$k@he(B e$BF,$NMWAG$N$\_$r:o=|$9$k!"$H$$$&=hM}$r=q$-$?$$\>lLL$K=P2q$C$?$3e(B e$B$H$,2?EY$+$"$j$^$9!#e(B e$BL5\>r…

---

## [Where to call a global variable?](https://www.ruby-forum.com/t/where-to-call-a-global-variable/153350)

<div class="topic-metadata">

**Author:** [@panatura](https://www.ruby-forum.com/u/panatura)\
**Replies:** 6\
**Last updated:** [November 16, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/where-to-call-a-global-variable/153350 "2008-11-16T16:25:40Z")

</div>

Hi guys, I my application has to be all the “recent news, recent users, recent pictures”-stuff. This is shown in a rendered view. Right now I’m using a site controller getting data from different models like @news = …

---

## [Story runner not running on build machine](https://www.ruby-forum.com/t/story-runner-not-running-on-build-machine/146994)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 6\
**Last updated:** [August 28, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/story-runner-not-running-on-build-machine/146994 "2008-08-28T14:55:36Z")

</div>

Hi, have my stories running fine here on my dev machine but they blow up on the build machine. Rspec and Rspec-rails are installed as plugins When i attempt to run ruby stories/all.rb on the dev server i get this er…

---

## [Whats wrong here? I get the same result of each item](https://www.ruby-forum.com/t/whats-wrong-here-i-get-the-same-result-of-each-item/139584)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 6, 2008, 6:20am UTC](https://www.ruby-forum.com/t/whats-wrong-here-i-get-the-same-result-of-each-item/139584 "2008-06-06T06:20:53Z")

</div>

I get the same result off.png for each amigo.jid that I sent to isonline. were it should be on.png or off.png this is in the view… \<% @amigos.in\_groups\_of(2, false) do |grupo| %\> \<tr class="\<%= cycle('odd', 'even'…

---

## [Can platform agnosticism be achieved?](https://www.ruby-forum.com/t/can-platform-agnosticism-be-achieved/137649)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 15, 2008, 4:00am UTC](https://www.ruby-forum.com/t/can-platform-agnosticism-be-achieved/137649 "2008-05-15T04:00:42Z")

</div>

Hello List, I’ve been asking myself this question for quite some time, as Windows user need to break the rules and do things that don’t work out of the box with Ruby. I know Ruby has it’s root in posix and \*nix OS, …

---

## [Passer de rails 1.2.6 Ã  2](https://www.ruby-forum.com/t/passer-de-rails-1-2-6-a-2/130215)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 6\
**Last updated:** [February 27, 2008, 7:15pm UTC](https://www.ruby-forum.com/t/passer-de-rails-1-2-6-a-2/130215 "2008-02-27T19:15:13Z")

</div>

Bonjour, Il me semblait avoir vu un lien vers un tutorial qui expliquait comment passer une application rails de 1.2.6 vers 2, mais je ne le retrouve plus. D’autre part si je veux conserver sur mon ordinateur à la fo…

---

## [GNU Emacs + Ruby (not RoR)](https://www.ruby-forum.com/t/gnu-emacs-ruby-not-ror/125833)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [January 14, 2008, 9:35am UTC](https://www.ruby-forum.com/t/gnu-emacs-ruby-not-ror/125833 "2008-01-14T09:35:50Z")

</div>

Hi everyone, I’m trying to setup GNU Emacs (Aquamacs) for developing with Ruby, not Ruby on Rails. I’m having a hard time since I’m newbie to Emacs and almost all references I’ve found deal with RoR setup, not Ruby. …

---

## [Checking for other extensions and gems](https://www.ruby-forum.com/t/checking-for-other-extensions-and-gems/118580)

<div class="topic-metadata">

**Author:** [@mahadewa](https://www.ruby-forum.com/u/mahadewa)\
**Replies:** 6\
**Last updated:** [October 30, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/checking-for-other-extensions-and-gems/118580 "2007-10-30T15:29:26Z")

</div>

I’m writing an extension that depends on shards. I’d like to check for it and raise a useful error message when my extension is initialized. Any suggestions as to the best way to do that? -Chris

---

## [Chaining validate method in a plugin, completely stumped](https://www.ruby-forum.com/t/chaining-validate-method-in-a-plugin-completely-stumped/112850)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 6\
**Last updated:** [August 29, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/chaining-validate-method-in-a-plugin-completely-stumped/112850 "2007-08-29T23:32:34Z")

</div>

I’m trying to write a plugin which adds some new logic to the validate method of an ActiveRecord model. However, I still want the user to be able to define their own validate method in the model, and to call that as …

---

## [How to dynamically create a controller?](https://www.ruby-forum.com/t/how-to-dynamically-create-a-controller/85891)

<div class="topic-metadata">

**Author:** [@zukjimote](https://www.ruby-forum.com/u/zukjimote)\
**Replies:** 6\
**Last updated:** [February 17, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/how-to-dynamically-create-a-controller/85891 "2007-02-17T20:24:12Z")

</div>

I’m making a website for newspaper. While implemeting ARCHIVE function, I met a problem. I expect that “…/main/archive/volume\_number” is redirected to “…/volume\_number/index”. However, there are so many volumes in ar…

---

## [Field-by-field confirmation popup](https://www.ruby-forum.com/t/field-by-field-confirmation-popup/78683)

<div class="topic-metadata">

**Author:** [@shauna](https://www.ruby-forum.com/u/shauna)\
**Replies:** 6\
**Last updated:** [December 7, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/field-by-field-confirmation-popup/78683 "2006-12-07T22:39:11Z")

</div>

Hi, I’ve searched and can’t find a straightforward answer to my particular need. There are actually two related situations I need to find solutions for. On a data entry form, for certain fields I want to do some val…

---

## [Static functions, extensions, linkage](https://www.ruby-forum.com/t/static-functions-extensions-linkage/100947)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 6\
**Last updated:** [August 3, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/static-functions-extensions-linkage/100947 "2006-08-03T12:32:06Z")

</div>

Hi, How do you get at a static function from within a C extension? I tried this snippet where I attempt to use flo\_plus from numeric.c: /\* foo.c \*/ #include \<ruby.h\> extern VALUE flo\_plus(VALUE, VALUE); static VAL…

---

## [Best way to deal with command line options](https://www.ruby-forum.com/t/best-way-to-deal-with-command-line-options/63801)

<div class="topic-metadata">

**Author:** [@thomas\_coopman](https://www.ruby-forum.com/u/thomas_coopman)\
**Replies:** 6\
**Last updated:** [June 19, 2006, 10:12pm UTC](https://www.ruby-forum.com/t/best-way-to-deal-with-command-line-options/63801 "2006-06-19T22:12:37Z")

</div>

Hi, I’m verry new to ruby, just use it for some days now and I have question about the best implementation of how to deal with command line options. Suppose I have a program, with a class say A and a main. My program…

---

## [Problem upgrading to rails 1.1 on Unix](https://www.ruby-forum.com/t/problem-upgrading-to-rails-1-1-on-unix/56723)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 6\
**Last updated:** [April 4, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/problem-upgrading-to-rails-1-1-on-unix/56723 "2006-04-04T18:25:06Z")

</div>

Hi, I’m having problems installing rails on our Unix server. “gem install rails --include-dependencies” only install rails 1.0.0 “gem update rails” updates to rails 1.0.0 I have installed rails on my windows box (i …

---

## [Flickr - Tutorial](https://www.ruby-forum.com/t/flickr-tutorial/54518)

<div class="topic-metadata">

**Author:** [@mich](https://www.ruby-forum.com/u/mich)\
**Replies:** 6\
**Last updated:** [March 8, 2006, 10:27am UTC](https://www.ruby-forum.com/t/flickr-tutorial/54518 "2006-03-08T10:27:30Z")

</div>

So I’ve pretty much followed the steps in the video tutorial on RoR.com for creating a small app, to search for photos on flickr.com - all is good, and works as intended to… How would I go about adding validation, so …

---

## [Can two Rails versions use one database?](https://www.ruby-forum.com/t/can-two-rails-versions-use-one-database/238843)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 5, 2014, 5:53pm UTC](https://www.ruby-forum.com/t/can-two-rails-versions-use-one-database/238843 "2014-02-05T17:53:13Z")

</div>

I’m working on a Rails 1 application. We’d like to upgrade it to Rails 3 or 4, but Rails 1 is so old that we think it would take a total rewrite to upgrade. There are management and budget issues with a total rewrite.…

---

## ["best practices" for Rails serving RESTful JSON services for use by AngularJS, Ember.js, etc](https://www.ruby-forum.com/t/best-practices-for-rails-serving-restful-json-services-for-use-by-angularjs-ember-js-etc/223005)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 18, 2012, 7:30pm UTC](https://www.ruby-forum.com/t/best-practices-for-rails-serving-restful-json-services-for-use-by-angularjs-ember-js-etc/223005 "2012-09-18T19:30:04Z")

</div>

I’ve been writing a gem to implement and extend common controller functionality so that Rails can be used with Javascript frameworks like AngularJS (which we are using), Ember.js, etc. in such a way that the user doe…

---

## [re:Problems with sqllite with fresh Rails 3 install](https://www.ruby-forum.com/t/re-problems-with-sqllite-with-fresh-rails-3-install/185759)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 4\
**Last updated:** [March 28, 2010, 10:53pm UTC](https://www.ruby-forum.com/t/re-problems-with-sqllite-with-fresh-rails-3-install/185759 "2010-03-28T22:53:19Z")

</div>

Ok, I’ve narrowed it down to line 70 of connection\_specification: gem “activerecord-#{spec\[:adapter\]}-adapter” It’s evaluating to the correct adapter - activerecord-jdbcsqlite3-adapter, but for some reason it throws a …

---

## [Help with 'method\_missing Error](https://www.ruby-forum.com/t/help-with-method-missing-error/183858)

<div class="topic-metadata">

**Author:** [@haden](https://www.ruby-forum.com/u/haden)\
**Replies:** 4\
**Last updated:** [February 22, 2010, 9:52am UTC](https://www.ruby-forum.com/t/help-with-method-missing-error/183858 "2010-02-22T09:52:21Z")

</div>

Hey Everyone, I’m using JRuby with SWT to work up a ‘contacts’ app. I can successfully display contacts in a table when I pass TableItem an array of strings. But if I subclass Contact from ActiveRecord and then itera…

---

## [Calendar date picker plugin](https://www.ruby-forum.com/t/calendar-date-picker-plugin/182632)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 4\
**Last updated:** [February 1, 2010, 1:45am UTC](https://www.ruby-forum.com/t/calendar-date-picker-plugin/182632 "2010-02-01T01:45:20Z")

</div>

Hi I’m new to rails and trying to find a calendar picker plugin. I’ve come across ‘calendardateselect’, but I can’t seem to figure out step 4 =P The other one I tired is ‘activecalendar’ (does anyone know if this pro…

---

## [If process.exist then . . .?](https://www.ruby-forum.com/t/if-process-exist-then/176401)

<div class="topic-metadata">

**Author:** [@i8igmac](https://www.ruby-forum.com/u/i8igmac)\
**Replies:** 4\
**Last updated:** [September 30, 2009, 12:08pm UTC](https://www.ruby-forum.com/t/if-process-exist-then/176401 "2009-09-30T12:08:22Z")

</div>

im trying to monitor a process, if this process is closed then i want to write a time and date to a logfile… i dont know how to do it but it should be as simple as this… (improper) loop { if process.exist(‘notepad.e…

---

## [Can't get Nginx to work with memcached](https://www.ruby-forum.com/t/cant-get-nginx-to-work-with-memcached/168984)

<div class="topic-metadata">

**Author:** [@sayeo87](https://www.ruby-forum.com/u/sayeo87)\
**Replies:** 4\
**Last updated:** [May 29, 2009, 3:22am UTC](https://www.ruby-forum.com/t/cant-get-nginx-to-work-with-memcached/168984 "2009-05-29T03:22:38Z")

</div>

Hi, I think I’m having trouble even getting the most basic case of Nginx+memcached working properly. Here is my /etc/nginx/nginx.conf file: user www-data; worker\_processes 1; error\_log /var/log/nginx/error.log; p…

---

## [On Hashes - How the hashes printing works?](https://www.ruby-forum.com/t/on-hashes-how-the-hashes-printing-works/168910)

<div class="topic-metadata">

**Author:** [@Neela\_megha\_shyam\_C](https://www.ruby-forum.com/u/Neela_megha_shyam_C)\
**Replies:** 4\
**Last updated:** [May 28, 2009, 12:57pm UTC](https://www.ruby-forum.com/t/on-hashes-how-the-hashes-printing-works/168910 "2009-05-28T12:57:25Z")

</div>

Hi All, I have my code as follows:- people = { “torvalds”=\>{“lname”=\>“Torvalds”, “fname”=\>“Linus”, “job”=\>“maintainer”}, “matsumoto”=\>{“lname”=\>“Matsumoto”, “fname”=\>“Yukihiro”, “job”=\>“Ruby originator”}, “litt”=\>{…

---

## [ActionMailer, unit testing and multipart mails](https://www.ruby-forum.com/t/actionmailer-unit-testing-and-multipart-mails/154605)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 4\
**Last updated:** [December 15, 2008, 3:32am UTC](https://www.ruby-forum.com/t/actionmailer-unit-testing-and-multipart-mails/154605 "2008-12-15T03:32:18Z")

</div>

Hi all. Is there a “correct” way of writing a unit test for a mailer which sends attachments? I tried using the @expected variable as provided in ActionMailer::TestCase, but it led to various problems. Here’s what I…

---

## [Constness of key in ngx\_hash\_find\_](https://www.ruby-forum.com/t/constness-of-key-in-ngx-hash-find/151247)

<div class="topic-metadata">

**Author:** [@Arvind\_Jayaprakash](https://www.ruby-forum.com/u/Arvind_Jayaprakash)\
**Replies:** 4\
**Last updated:** [December 7, 2008, 7:15am UTC](https://www.ruby-forum.com/t/constness-of-key-in-ngx-hash-find/151247 "2008-12-07T07:15:24Z")

</div>

I was wondering if the “name” argument and also “hash” in the following functions should be const void \*ngx\_hash\_find(ngx\_hash\_t \*hash, ngx\_uint\_t key, u\_char \*name, size\_t len); void \*ngx\_hash\_find\_wc\_head(ngx\_hash\_…

---

## [Restarting upstream servers](https://www.ruby-forum.com/t/restarting-upstream-servers/138331)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 4\
**Last updated:** [May 23, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/restarting-upstream-servers/138331 "2008-05-23T15:10:40Z")

</div>

Hi, I’m using a bunch of upstream servers and using nginx as a proxy for them. The upstreams run on two different machines. When I restart the upstreams on one server, I get a bunch of errors like these: 2008/05/21…

---

## [Change in ngx\_conf\_merge\_ptr\_value for 0.5.33](https://www.ruby-forum.com/t/change-in-ngx-conf-merge-ptr-value-for-0-5-33/121163)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 4\
**Last updated:** [November 25, 2007, 6:29pm UTC](https://www.ruby-forum.com/t/change-in-ngx-conf-merge-ptr-value-for-0-5-33/121163 "2007-11-25T18:29:40Z")

</div>

Igor, do you have made some changes in the ngx\_conf\_merge\_ptr\_value function? In mod\_wsgi I have: ngx\_conf\_merge\_ptr\_value(conf-\>callable\_object, prev-\>callable\_object, “application”); for directive wsgi\_application…

---

## [Fastthread 0.6.2](https://www.ruby-forum.com/t/fastthread-0-6-2/82646)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/fastthread-0-6-2/82646 "2007-09-25T22:49:06Z")

</div>

It looks like I got too creative in 0.6.1 and consequently ran afoul of a bug in the Ruby interpreter. 0.6.2 works around the bug and should be entirely stable at this point. Thanks to Young H. for his help in coming…

---

## [Extension problems: create model and rake db:migrate](https://www.ruby-forum.com/t/extension-problems-create-model-and-rake-db-migrate/90879)

<div class="topic-metadata">

**Author:** [@spliffer](https://www.ruby-forum.com/u/spliffer)\
**Replies:** 4\
**Last updated:** [April 4, 2007, 10:07am UTC](https://www.ruby-forum.com/t/extension-problems-create-model-and-rake-db-migrate/90879 "2007-04-04T10:07:58Z")

</div>

Hi everybody, I’m trying to develop my first radiant extension, and I’ve found two problems. I’ll try to describe this problems. First problem: After that I’ve created my extension running “ruby script/generate ext…

---

## [Select\_date method](https://www.ruby-forum.com/t/select-date-method/78772)

<div class="topic-metadata">

**Author:** [@vasan\_cec](https://www.ruby-forum.com/u/vasan_cec)\
**Replies:** 4\
**Last updated:** [December 8, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/select-date-method/78772 "2006-12-08T14:46:23Z")

</div>

Hi Everyone, I used “select\_date” method in my application and got 3 select boxes for Date, Month and Year. Code : \<%= text\_field ‘content’, ‘title’ %\> \<%= text\_field ‘content’, ‘description’ %\> \<%= select\_date %\> …

---

## [Dynamic Menu](https://www.ruby-forum.com/t/dynamic-menu/99845)

<div class="topic-metadata">

**Author:** [@jake](https://www.ruby-forum.com/u/jake)\
**Replies:** 4\
**Last updated:** [July 26, 2006, 5:18am UTC](https://www.ruby-forum.com/t/dynamic-menu/99845 "2006-07-26T05:18:04Z")

</div>

I am new to radiant and although I really like it I am struggeling with this. I want to build a dynamic side nav am running into the following issues. Continue …

---

## [STI Broken on 1.1](https://www.ruby-forum.com/t/sti-broken-on-1-1/93468)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 4\
**Last updated:** [April 3, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/sti-broken-on-1-1/93468 "2006-04-03T20:15:40Z")

</div>

Yeah I’m getting major problems as well. I don’t know what the issue is but I’m thinking of going back to 1.0 I would really like to hear if you figure this out, kind of an important part of Rails for us. -Paul

---

## [Testing Rails: problem running a Gruff sample](https://www.ruby-forum.com/t/testing-rails-problem-running-a-gruff-sample/53334)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 4\
**Last updated:** [February 11, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/testing-rails-problem-running-a-gruff-sample/53334 "2006-02-11T17:57:36Z")

</div>

Hi All, I get errors when I try to run a Gruff sample for my WinXP/SP2 system and get an error which I can’t fathom. The sample is “Code Sample” from http://nubyonrails.topfunky.com/pages/gruff (scroll down to find…

---

## [Non-deterministic behavior](https://www.ruby-forum.com/t/non-deterministic-behavior/225754)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 7\
**Last updated:** [February 1, 2013, 1:57am UTC](https://www.ruby-forum.com/t/non-deterministic-behavior/225754 "2013-02-01T01:57:04Z")

</div>

Dear all, we are experiencing an undesired random behavior when we run an offline OFDM flow graph. Specifically, we store a transmitted sequence of packets in a \*.dat file (file\_sink) and then we run the receiver cha…

---

## [Cancan, how to allow artists to edit their own](https://www.ruby-forum.com/t/cancan-how-to-allow-artists-to-edit-their-own/196384)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 7\
**Last updated:** [October 12, 2010, 5:35pm UTC](https://www.ruby-forum.com/t/cancan-how-to-allow-artists-to-edit-their-own/196384 "2010-10-12T17:35:27Z")

</div>

What am I doing wrong here? I am using cancan on Rails 3. In my Ability class, I’ve got: class Ability include CanCan::Ability def initialize(user) user ||= User.new # guest user, for users who are not registered o…

---

## [Ruby-prof on windows: strange measured time numbers](https://www.ruby-forum.com/t/ruby-prof-on-windows-strange-measured-time-numbers/183669)

<div class="topic-metadata">

**Author:** [@zloy](https://www.ruby-forum.com/u/zloy)\
**Replies:** 7\
**Last updated:** [February 19, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/ruby-prof-on-windows-strange-measured-time-numbers/183669 "2010-02-19T17:31:41Z")

</div>

Hi there, I play with ruby-prof. Profiling those simple-few-dozens-line scripts seems clear, but when I try to profile rake --tasks, as follows C:\\InstantRails\\rails\_apps\\projectN\>“ruby-prof” “–printer=graph\_html” “–…

---

## [Simple Search Methode - newbie question](https://www.ruby-forum.com/t/simple-search-methode-newbie-question/172373)

<div class="topic-metadata">

**Author:** [@koko](https://www.ruby-forum.com/u/koko)\
**Replies:** 7\
**Last updated:** [July 22, 2009, 7:58pm UTC](https://www.ruby-forum.com/t/simple-search-methode-newbie-question/172373 "2009-07-22T19:58:32Z")

</div>

Dear All, Can you guide me how can i implement a search function in my simple Bookmark program. In my Bookmark I have “title” and “url”, “description”. What I want to do is “search\_by” “title”. many thanks in advance…

---

## [IRB fails to call some shell commands only on Windows](https://www.ruby-forum.com/t/irb-fails-to-call-some-shell-commands-only-on-windows/168304)

<div class="topic-metadata">

**Author:** [@umuro](https://www.ruby-forum.com/u/umuro)\
**Replies:** 7\
**Last updated:** [May 26, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/irb-fails-to-call-some-shell-commands-only-on-windows/168304 "2009-05-26T21:53:13Z")

</div>

http://conceptspace.wikidot.com/forum/t-154517/rails101-getting-started-with-rad-ruby-on-rails#post-483414 On windwos, we could not find a way to execute gem --version on windows. The weird thing is this is happening…

---

## [Best way to install Ruby 1.9](https://www.ruby-forum.com/t/best-way-to-install-ruby-1-9/165724)

<div class="topic-metadata">

**Author:** [@juan\_zanos](https://www.ruby-forum.com/u/juan_zanos)\
**Replies:** 7\
**Last updated:** [April 16, 2009, 10:34pm UTC](https://www.ruby-forum.com/t/best-way-to-install-ruby-1-9/165724 "2009-04-16T22:34:46Z")

</div>

I’d like to start using Ruby 1.9 more often. Often I could use the extra performance. However, I’m still concerned about bugs and incompatibilities. Is there a practical way to use 1.9 in such a way that these pot…

---

## [Newb question...get info from the db](https://www.ruby-forum.com/t/newb-question-get-info-from-the-db/162438)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 7\
**Last updated:** [March 10, 2009, 12:59am UTC](https://www.ruby-forum.com/t/newb-question-get-info-from-the-db/162438 "2009-03-10T00:59:36Z")

</div>

I am using a mysql db and I want to pull some info from the db. I think my problem is that I am trying to get the data from an object that doesn’t exist in my MemberController. My code: class MemberController \< Applic…

---

## [Cygwin: Dir.glob ALWAYS accesses floppy?](https://www.ruby-forum.com/t/cygwin-dir-glob-always-accesses-floppy/151445)

<div class="topic-metadata">

**Author:** [@Hugh\_S](https://www.ruby-forum.com/u/Hugh_S)\
**Replies:** 7\
**Last updated:** [October 23, 2008, 11:56am UTC](https://www.ruby-forum.com/t/cygwin-dir-glob-always-accesses-floppy/151445 "2008-10-23T11:56:37Z")

</div>

I’m finding under Cygwin, with ruby 1.8.7 (2008-08-11 patchlevel 72) \[i386-cygwin\] that if I Dir.glob(path) for a path under /cygdrive/c, the floppy drive is accessed. I’m trying to avoid a Huge recursive glob that …

---

## ['link\_to\_class\_current' helper](https://www.ruby-forum.com/t/link-to-class-current-helper/131199)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 7\
**Last updated:** [March 8, 2008, 9:57am UTC](https://www.ruby-forum.com/t/link-to-class-current-helper/131199 "2008-03-08T09:57:49Z")

</div>

I’m trying to create a navigation which adds :class =\> “current” to the currently selected nav link (just like the WordPress nav). I presume the class would be determined by the controller params (which isn’t a proble…

---

## [Can large scale projects be successful implemented around a dynamic programming language?](https://www.ruby-forum.com/t/can-large-scale-projects-be-successful-implemented-around-a-dynamic-programming-language/127008)

<div class="topic-metadata">

**Author:** [@jordi](https://www.ruby-forum.com/u/jordi)\
**Replies:** 7\
**Last updated:** [January 27, 2008, 10:06am UTC](https://www.ruby-forum.com/t/can-large-scale-projects-be-successful-implemented-around-a-dynamic-programming-language/127008 "2008-01-27T10:06:26Z")

</div>

A good article I have found (may have been linked by slashdot, don’t know) http://www.manageability.org/blog/stuff/chandler-failure In fact, thinking about it, I remember my C++ university times, when several friend…

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

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