# Top

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

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

---

## [Workarounds for replacing self](https://www.ruby-forum.com/t/workarounds-for-replacing-self/168600)

<div class="topic-metadata">

**Author:** [@jphastings](https://www.ruby-forum.com/u/jphastings)\
**Replies:** 7\
**Last updated:** [May 24, 2009, 7:39pm UTC](https://www.ruby-forum.com/t/workarounds-for-replacing-self/168600 "2009-05-24T19:39:53Z")

</div>

I’m attempting to build an ETA class, essentially identical to Time, but where new accepts a number of seconds from now and generates the underlying Time object accordingly. Obviously I can’t re-assign self, so how sh…

---

## [Large RoR systems design and implementation](https://www.ruby-forum.com/t/large-ror-systems-design-and-implementation/159388)

<div class="topic-metadata">

**Author:** [@sbrocher](https://www.ruby-forum.com/u/sbrocher)\
**Replies:** 7\
**Last updated:** [February 5, 2009, 4:28pm UTC](https://www.ruby-forum.com/t/large-ror-systems-design-and-implementation/159388 "2009-02-05T16:28:38Z")

</div>

Hi, I’ve implemented a few big RoR apps. I do have some good experience building large systems in many different languages and platforms but I don’t consider myself a RoR guru, so I’d like you experts comment on my t…

---

## [Valid? is not working in Rails 2.2.2](https://www.ruby-forum.com/t/valid-is-not-working-in-rails-2-2-2/154522)

<div class="topic-metadata">

**Author:** [@vmvipin](https://www.ruby-forum.com/u/vmvipin)\
**Replies:** 7\
**Last updated:** [December 2, 2008, 5:45am UTC](https://www.ruby-forum.com/t/valid-is-not-working-in-rails-2-2-2/154522 "2008-12-02T05:45:19Z")

</div>

Hey, I have a problem regarding the validation in rails 2.2.2. In my model User has these conditions. validates\_presence\_of :user\_name, :password, :email, :display\_name validates\_uniqueness\_of :email, :message =\> ’ …

---

## [Metodo search e qualche problema](https://www.ruby-forum.com/t/metodo-search-e-qualche-problema/134876)

<div class="topic-metadata">

**Author:** [@matte\_S](https://www.ruby-forum.com/u/matte_S)\
**Replies:** 7\
**Last updated:** [April 17, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/metodo-search-e-qualche-problema/134876 "2008-04-17T18:42:06Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Volevo chiedervi aiuto nuovamente, dove sbaglio? Ho implementato in un controller (che non ha model) il seguente metodo def search @people = Patient.find(:all,:condition…

---

## [FastCGI and PHP](https://www.ruby-forum.com/t/fastcgi-and-php/133648)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 7\
**Last updated:** [April 2, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/fastcgi-and-php/133648 "2008-04-02T12:42:22Z")

</div>

After the recent thread on php-fastcgi and memory leaks, I’ve realised that I’m a little unsure as to exactly how nginx and php-fastcgi communicate with one another. I’m wondering whether anyone could spare the time f…

---

## [\[OT\] AAA Aula per Workshop cercasi](https://www.ruby-forum.com/t/ot-aaa-aula-per-workshop-cercasi/116886)

<div class="topic-metadata">

**Author:** [@paolodona](https://www.ruby-forum.com/u/paolodona)\
**Replies:** 7\
**Last updated:** [October 11, 2007, 11:58am UTC](https://www.ruby-forum.com/t/ot-aaa-aula-per-workshop-cercasi/116886 "2007-10-11T11:58:53Z")

</div>

Ciao ragazzi, scusatemi l’ennesimo OT, Sto cercando un’aula corsi di buon livello a Roma per organizzare un RailsWorkshop a dicembre. Qualcuno dei Rubisti romani saprebbe consigliarmi? Mi serve un’aula da 10 posti ci…

---

## [Plugin d'authentication](https://www.ruby-forum.com/t/plugin-dauthentication/196337)

<div class="topic-metadata">

**Author:** [@Dragonix](https://www.ruby-forum.com/u/Dragonix)\
**Replies:** 7\
**Last updated:** [July 23, 2007, 6:10pm UTC](https://www.ruby-forum.com/t/plugin-dauthentication/196337 "2007-07-23T18:10:36Z")

</div>

Bonjour, C’est quoi votre plugin pour l’authentification qui vous parais le mieux ? Merci

---

## [Scite?](https://www.ruby-forum.com/t/scite/71658)

<div class="topic-metadata">

**Author:** [@tirano](https://www.ruby-forum.com/u/tirano)\
**Replies:** 7\
**Last updated:** [October 18, 2006, 10:39am UTC](https://www.ruby-forum.com/t/scite/71658 "2006-10-18T10:39:13Z")

</div>

Estoy empezando con esto del RoR de momento estoy con tutoriales y ejemplos, y utilizo el scite para pegar los ejemplos. pero mirando los foros en ingles veo cosas com IDE que no se muy bien a que se refiere, es algo…

---

## [How i can to parse string](https://www.ruby-forum.com/t/how-i-can-to-parse-string/58836)

<div class="topic-metadata">

**Author:** [@Jonh](https://www.ruby-forum.com/u/Jonh)\
**Replies:** 7\
**Last updated:** [April 26, 2006, 3:07pm UTC](https://www.ruby-forum.com/t/how-i-can-to-parse-string/58836 "2006-04-26T15:07:26Z")

</div>

I have this string: store\[name\]=Ilyas store,store\[phone\]= 4999-233-2923, store\[fax\]= 80233923293,store\[description\]=lkjklsdaj,save=save,cancel=cancel need with regexp, put it’s in Hash object

---

## [Ruby linux commands on FTP](https://www.ruby-forum.com/t/ruby-linux-commands-on-ftp/260987)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [March 2, 2021, 6:20am UTC](https://www.ruby-forum.com/t/ruby-linux-commands-on-ftp/260987 "2021-03-02T06:20:22Z")

</div>

How to run linux commands on FTP server using ruby code?

---

## [Correcting "scope access" warning from Rails Best Practices](https://www.ruby-forum.com/t/correcting-scope-access-warning-from-rails-best-practices/242530)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 30, 2015, 9:50pm UTC](https://www.ruby-forum.com/t/correcting-scope-access-warning-from-rails-best-practices/242530 "2015-06-30T21:50:55Z")

</div>

The code in question works, but Rails Best Practices docks me with a scope access warning. The code in question is: def show # NOTE: rails\_best practices recommends using scope access redirect\_to(root\_path) unless …

---

## [Pg-0.18.0, The Ruby PostgreSQL driver](https://www.ruby-forum.com/t/pg-0-18-0-the-ruby-postgresql-driver/233683)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 17, 2015, 2:58am UTC](https://www.ruby-forum.com/t/pg-0-18-0-the-ruby-postgresql-driver/233683 "2015-01-17T02:58:36Z")

</div>

Pg is the database driver for the PostgreSQL RDBMS. The major feature of this release is a new typecasting system written by my co-maintainer Lars Kanis. It’s mostly for people writing other libraries on top of databa…

---

## [Puma fails to start in production on jRuby 1.7.11](https://www.ruby-forum.com/t/puma-fails-to-start-in-production-on-jruby-1-7-11/239674)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 11, 2014, 8:22am UTC](https://www.ruby-forum.com/t/puma-fails-to-start-in-production-on-jruby-1-7-11/239674 "2014-03-11T08:22:32Z")

</div>

Hi Guys, I am trying to deploy a Rails app to my linux (Centos 6) VPS. I am running jRuby 1.7.11 on it. The problem is that when I try to start Puma I get this error: The signal USR1 is in use by the JVM and will not…

---

## [Recommend a git help forum?](https://www.ruby-forum.com/t/recommend-a-git-help-forum/204194)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 2, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/recommend-a-git-help-forum/204194 "2011-12-02T12:04:35Z")

</div>

Hi, I’m having problems finding the “fork” button on Git - for some reason it’s not there. Is there a good Git help forum I can go to to ask general git questions? Thanks!

---

## [Strange log entries (upstream time/request\_time)](https://www.ruby-forum.com/t/strange-log-entries-upstream-time-request-time/213243)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 28, 2011, 2:39pm UTC](https://www.ruby-forum.com/t/strange-log-entries-upstream-time-request-time/213243 "2011-10-28T14:39:35Z")

</div>

Hi, I’m running a simple nginx-\>memcache-\>backend architecture, and I’m currently facing some backend problems. While debugging the situation I’ve run on some strange log entries which look like nginx was incorrectl…

---

## [Segmentation Fault](https://www.ruby-forum.com/t/segmentation-fault/212954)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 26, 2011, 5:49pm UTC](https://www.ruby-forum.com/t/segmentation-fault/212954 "2011-10-26T17:49:11Z")

</div>

Hi all, I am facing “Segmentation Fault” error. My setup is - Ubuntu 11.04, USRP2 with WBX board, gnuradio. The scenario is - When I run uhd\_fft.py, I get the following - (gdb) run /usr/local/bin/uhd\_fft.py Starting…

---

## [Placing new names under standard namespaces?](https://www.ruby-forum.com/t/placing-new-names-under-standard-namespaces/198033)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 25, 2010, 2:54pm UTC](https://www.ruby-forum.com/t/placing-new-names-under-standard-namespaces/198033 "2010-10-25T14:54:11Z")

</div>

Someone recently pointed out that placing new classes and modules under standard library namespaces, like Time::Tree or Hash::Transforms, is frowned upon. I find this approach increases readability and keeps related t…

---

## [Suggestions to reduce binary size, make loading faster](https://www.ruby-forum.com/t/suggestions-to-reduce-binary-size-make-loading-faster/182901)

<div class="topic-metadata">

**Author:** [@night\_stalker](https://www.ruby-forum.com/u/night_stalker)\
**Replies:** 2\
**Last updated:** [September 9, 2010, 10:09pm UTC](https://www.ruby-forum.com/t/suggestions-to-reduce-binary-size-make-loading-faster/182901 "2010-09-09T22:09:38Z")

</div>

I found wxruby2.so in mingw release a bit large (18M), it is smaller (~15M) after stripping symbols. I learned this from Reducing Executable Size - WxWiki . The command line is: strip --strip-all wxruby2.so But I do…

---

## [Presentation Ideas](https://www.ruby-forum.com/t/presentation-ideas/185554)

<div class="topic-metadata">

**Author:** [@jcain](https://www.ruby-forum.com/u/jcain)\
**Replies:** 2\
**Last updated:** [March 23, 2010, 9:22am UTC](https://www.ruby-forum.com/t/presentation-ideas/185554 "2010-03-23T09:22:43Z")

</div>

Hi, I’m going to give a talk on Rails to my campus ACM group in about two weeks. I’m trying to think of ideas. The 15 minute blog is great, and I’d kind of like to do something like that, but I can’t do better than D…

---

## [Mail Daemon Error](https://www.ruby-forum.com/t/mail-daemon-error/160219)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 2\
**Last updated:** [April 30, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/mail-daemon-error/160219 "2009-04-30T22:19:29Z")

</div>

I’m using fetcher\_daemon svn://rubyforge.org/var/svn/slantwise/fetcher/trunk which is a daemon that checks a mail server. When ever I run ‘ruby script/mailer\_daemon\_fetcher start’ it works great, i get my mail but th…

---

## [Using tokenizers?](https://www.ruby-forum.com/t/using-tokenizers/149691)

<div class="topic-metadata">

**Author:** [@lyes](https://www.ruby-forum.com/u/lyes)\
**Replies:** 2\
**Last updated:** [October 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/using-tokenizers/149691 "2008-10-02T11:58:50Z")

</div>

Hi lis I using Ferret to index some files for a specific usage. I want to know how can I set a tokenizer for some of my index fields and if I can choose a different tokenizer for each field. For example: If in my do…

---

## [Search on fields](https://www.ruby-forum.com/t/search-on-fields/99198)

<div class="topic-metadata">

**Author:** [@vanesam](https://www.ruby-forum.com/u/vanesam)\
**Replies:** 2\
**Last updated:** [July 21, 2006, 7:00am UTC](https://www.ruby-forum.com/t/search-on-fields/99198 "2006-07-21T07:00:22Z")

</div>

Hi, I wonder if it is possible to perform the “find\_by\_contents” on a subset of fields indexed in acts\_as\_ferret.If so, how? In my code I have: acts\_as\_ferret (:fields =\> \[‘title’, ‘focus’, ‘purpose’\]) However, I li…

---

## [Come creare un app in inglese e italiano](https://www.ruby-forum.com/t/come-creare-un-app-in-inglese-e-italiano/233825)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 15, 2015, 10:06am UTC](https://www.ruby-forum.com/t/come-creare-un-app-in-inglese-e-italiano/233825 "2015-01-15T10:06:59Z")

</div>

…Come da titolo, mi piacerebbe ottenere un app in due lingue, precisamente inglese e italiano. Ora come posso fare? Potrei avere una bella infarinatura sull’argomento?! Grazie, continuate cosi siete grandi :slight\_smi…

---

## [Ignore content-type while forwarding to backend proxy](https://www.ruby-forum.com/t/ignore-content-type-while-forwarding-to-backend-proxy/233551)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 24, 2014, 10:43am UTC](https://www.ruby-forum.com/t/ignore-content-type-while-forwarding-to-backend-proxy/233551 "2014-12-24T10:43:07Z")

</div>

one of my apps, specifically those on IOS forwarded a content-type header…this is causing my backend server to mess up its security signature check… i need to be able to ignore content-type headers… assigning the hea…

---

## [Fastcgi\_index - am I missing something obvious?](https://www.ruby-forum.com/t/fastcgi-index-am-i-missing-something-obvious/232539)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 16, 2014, 1:37pm UTC](https://www.ruby-forum.com/t/fastcgi-index-am-i-missing-something-obvious/232539 "2014-10-16T13:37:29Z")

</div>

So I have the same setup on two different servers, using fcgiwrap to serve some basic classic style cgi scripts. On both, http://serverdomain.whatever/cgi-bin/index.cgi works great and other explicit .cgi urls work. …

---

## [Does anybody know how to setup JRuby on Rails with Drip (https://github.com/flatland/drip)](https://www.ruby-forum.com/t/does-anybody-know-how-to-setup-jruby-on-rails-with-drip-https-github-com-flatland-drip/224579)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 17, 2012, 10:17pm UTC](https://www.ruby-forum.com/t/does-anybody-know-how-to-setup-jruby-on-rails-with-drip-https-github-com-flatland-drip/224579 "2012-11-17T22:17:55Z")

</div>

Hi, I run into the following launcher for the Java Virtual Machine that provides much faster startup times than the java command: Drip ( GitHub - flatland/drip: Fast JVM launching without the hassle of persistent JVMs…

---

## [Channel measurements?](https://www.ruby-forum.com/t/channel-measurements/143955)

<div class="topic-metadata">

**Author:** [@Jason\_U](https://www.ruby-forum.com/u/Jason_U)\
**Replies:** 8\
**Last updated:** [November 3, 2011, 10:26am UTC](https://www.ruby-forum.com/t/channel-measurements/143955 "2011-11-03T10:26:51Z")

</div>

Hey all, What is the best way to measure the channel for use in space-time coding schemes using an RFX2400 board? As far as I know you can only get the I and Q streams out of the USRP, and I’m not sure how you would …

---

## [How do you factor out common "before(:each)" calls so that multiple specs can use them?](https://www.ruby-forum.com/t/how-do-you-factor-out-common-before-each-calls-so-that-multiple-specs-can-use-them/207444)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 26, 2011, 2:41am UTC](https://www.ruby-forum.com/t/how-do-you-factor-out-common-before-each-calls-so-that-multiple-specs-can-use-them/207444 "2011-05-26T02:41:50Z")

</div>

I’d like to factor this bunch of code so that all of my controller tests (well, almost all of them) use this before(:each) block: before(:each) do @user = User.new controller.stub(:authenticate\_user!) controller.stu…

---

## [Removing files if those exists](https://www.ruby-forum.com/t/removing-files-if-those-exists/197789)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [October 23, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/removing-files-if-those-exists/197789 "2010-10-23T12:16:06Z")

</div>

Hi, I just started to work with ruby and I do not know how to do this. So I have files junk1.cs, junk2.cs, junk3.cv etc. in the same folder. There is also other files in the same folder that cannot be deleted. What I…

---

## [\[Problem\] Rails 3 + RSpec 2 beta 22 with JRuby 1.5.2](https://www.ruby-forum.com/t/problem-rails-3-rspec-2-beta-22-with-jruby-1-5-2/195236)

<div class="topic-metadata">

**Author:** [@bcardoso](https://www.ruby-forum.com/u/bcardoso)\
**Replies:** 3\
**Last updated:** [September 20, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/problem-rails-3-rspec-2-beta-22-with-jruby-1-5-2/195236 "2010-09-20T17:27:13Z")

</div>

Hi, I created a clean rails 3 project and installed rspec 2 beta 22, created a simple test case and run all my test using “rake spec”, i get this error: D:/ruby/rubies/jruby-1.5.2/bin/jruby.bat -S bundle exec rspec …

---

## [\[cext\] updating CC override](https://www.ruby-forum.com/t/cext-updating-cc-override/194824)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 3\
**Last updated:** [September 14, 2010, 4:05pm UTC](https://www.ruby-forum.com/t/cext-updating-cc-override/194824 "2010-09-14T16:05:13Z")

</div>

Tim, Overriding CC via the environment before the process starts seems to work fine so far, but it has a usage side effect. On windows (using the DevKit to provide gcc, g++, and make capabilities) it’s now a two-step …

---

## [Ruby Webbrowser](https://www.ruby-forum.com/t/ruby-webbrowser/192494)

<div class="topic-metadata">

**Author:** [@kaid](https://www.ruby-forum.com/u/kaid)\
**Replies:** 8\
**Last updated:** [September 14, 2010, 7:17am UTC](https://www.ruby-forum.com/t/ruby-webbrowser/192494 "2010-09-14T07:17:48Z")

</div>

Hey Guys, I am new to Ruby and wanted to create a little project for learning Ruby, but it turned out that it would be a lot more work, then I considered. My I idea was writing a Ruby Web Browser. So now I search fo…

---

## [wxRuby documentation suggestion: include screen captures](https://www.ruby-forum.com/t/wxruby-documentation-suggestion-include-screen-captures/187480)

<div class="topic-metadata">

**Author:** [@rogerscardua](https://www.ruby-forum.com/u/rogerscardua)\
**Replies:** 3\
**Last updated:** [April 28, 2010, 12:15pm UTC](https://www.ruby-forum.com/t/wxruby-documentation-suggestion-include-screen-captures/187480 "2010-04-28T12:15:41Z")

</div>

I was thinking that screen captures would benefit many of the explanations in the documentation of wxRuby. And as I work my way through different portions of the API, I’m willing to make some of those captures. Who i…

---

## [Question on spliting Only date](https://www.ruby-forum.com/t/question-on-spliting-only-date/179039)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 8\
**Last updated:** [November 17, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/question-on-spliting-only-date/179039 "2009-11-17T20:22:45Z")

</div>

Hello i would like to get only date from this ActiveSupport::TimeWithZone class 2009-11-16 11:00:51. i want to get only 2009-11-16 since i want to use like below @groups = GroupsInfo.find(:all, :conditions=\>\[“date \>=…

---

## [Recommendation for CI server?](https://www.ruby-forum.com/t/recommendation-for-ci-server/176961)

<div class="topic-metadata">

**Author:** [@Joseph\_A](https://www.ruby-forum.com/u/Joseph_A)\
**Replies:** 8\
**Last updated:** [October 10, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/recommendation-for-ci-server/176961 "2009-10-10T22:43:30Z")

</div>

Does anyone have a recommendation for a CI server for a JRuby project? Would you use Java CI server like Hudson, or something like cruisecontrol.rb? Joe

---

## [Shibuya Rubyists?](https://www.ruby-forum.com/t/shibuya-rubyists/171154)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 28, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/shibuya-rubyists/171154 "2009-06-28T16:36:24Z")

</div>

I’m in and around Shibuya for a couple of weeks. My Nihong-go proficiency is less than my Ruby learnings. So I apologise for speaking English. If there are any readers interested in tech-niques.general.chat I look f…

---

## [Evitare duplicazione di codice](https://www.ruby-forum.com/t/evitare-duplicazione-di-codice/166796)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 8\
**Last updated:** [April 30, 2009, 8:30am UTC](https://www.ruby-forum.com/t/evitare-duplicazione-di-codice/166796 "2009-04-30T08:30:38Z")

</div>

Ho una action nel controller X che mi restituisce un elenco in base a dei parametri inviati da un form. In questo controller ho un before\_filter :foo. Nella view di un altro controller ho un altro form, anch’esso mi d…

---

## [Problemas con destroy](https://www.ruby-forum.com/t/problemas-con-destroy/158645)

<div class="topic-metadata">

**Author:** [@Marconi\_P](https://www.ruby-forum.com/u/Marconi_P)\
**Replies:** 3\
**Last updated:** [January 26, 2009, 2:08pm UTC](https://www.ruby-forum.com/t/problemas-con-destroy/158645 "2009-01-26T14:08:19Z")

</div>

Hola a todos, Aprendiendo el manejo de las asociaciones con este ejemplo \[1\]. Tengo una relacion del tipo post has\_many comments, El problema se me presenta al querer borrar un comment de la siguiente manera \<% @anu…

---

## [2.2.2 super simple upgrade question](https://www.ruby-forum.com/t/2-2-2-super-simple-upgrade-question/156458)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 8\
**Last updated:** [December 28, 2008, 6:24am UTC](https://www.ruby-forum.com/t/2-2-2-super-simple-upgrade-question/156458 "2008-12-28T06:24:06Z")

</div>

I’ve been riding rails since 1.2 and had no problems (that i couldn’t get over) upgrading. Since i’ve installed rails 2.2.2 (verified via gem list, and rails -v) and I change my environment.rb to read RAILS\_GEM\_VERSIO…

---

## [Passing parameters on rails](https://www.ruby-forum.com/t/passing-parameters-on-rails/133798)

<div class="topic-metadata">

**Author:** [@add](https://www.ruby-forum.com/u/add)\
**Replies:** 8\
**Last updated:** [April 4, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/passing-parameters-on-rails/133798 "2008-04-04T18:49:54Z")

</div>

Hi, I want to know how I can pass the following parameters … I have faculdade: id, name curso : id, faculdade\_id and the following code #view \<%= select(:curso, :faculdade\_id , Faculdade.find(:all).collect {|c| \[…

---

## [Ruby 3D Math libraries?](https://www.ruby-forum.com/t/ruby-3d-math-libraries/78618)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 8\
**Last updated:** [December 8, 2006, 10:46am UTC](https://www.ruby-forum.com/t/ruby-3d-math-libraries/78618 "2006-12-08T10:46:14Z")

</div>

Hello, Does anyone know good Ruby 3D Math libraries? I found Math3D (http://raa.ruby-lang.org/project/math3d/) but I can not get it working, ruby extconf.rb fails: $ ruby -r mkmf extconf.rb checking for atan() in -…

---

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

<div class="topic-metadata">

**Author:** [@Bharat](https://www.ruby-forum.com/u/Bharat)\
**Replies:** 8\
**Last updated:** [November 11, 2006, 8:42am UTC](https://www.ruby-forum.com/t/rjs-help/75368 "2006-11-11T08:42:45Z")

</div>

I need to get the innerHTML of a div in an rjs template. How do I go about doing this? I have already tried accessing it using page\[‘div1’\].innerHTML but rails complains that innerHTML is not a function. I tried writ…

---

## [Make -j\<N\> should now be working](https://www.ruby-forum.com/t/make-j-n-should-now-be-working/102332)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 8\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/make-j-n-should-now-be-working/102332 "2006-08-15T14:18:17Z")

</div>

Ticket #13 was reporting failure with parallel makes. Invoking (after bootstrap & configure) make with the -j option causes it to run as many instances in parallel as possible, dependencies allowing, in order to take …

---

## [How do I validate a numeric field?](https://www.ruby-forum.com/t/how-do-i-validate-a-numeric-field/49814)

<div class="topic-metadata">

**Author:** [@farocco](https://www.ruby-forum.com/u/farocco)\
**Replies:** 8\
**Last updated:** [December 8, 2005, 11:53pm UTC](https://www.ruby-forum.com/t/how-do-i-validate-a-numeric-field/49814 "2005-12-08T23:53:02Z")

</div>

Hello, I have a quanity field in my form that should have a length of no more than 3. I tried validate\_length\_of :qty, :maximum =\> 3 and this fails Thanks Frank

---

## [Block Syntax Error](https://www.ruby-forum.com/t/block-syntax-error/48254)

<div class="topic-metadata">

**Author:** [@zhimin.wen](https://www.ruby-forum.com/u/zhimin.wen)\
**Replies:** 8\
**Last updated:** [November 19, 2005, 1:10am UTC](https://www.ruby-forum.com/t/block-syntax-error/48254 "2005-11-19T01:10:51Z")

</div>

Hi, Please see the following code ===\>8======================= def func \*args,&blk puts \*args instance\_eval &blk end func(“a str”) {puts “blk”} #OK func “a str” do puts “blk” end #OK func “a str” {puts “blk”} #…

---

## [Category and List from a database](https://www.ruby-forum.com/t/category-and-list-from-a-database/48237)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 8\
**Last updated:** [November 16, 2005, 4:41pm UTC](https://www.ruby-forum.com/t/category-and-list-from-a-database/48237 "2005-11-16T16:41:15Z")

</div>

Can anyone offer help on how I’d list fields in a database that are related to a category(in another table? This would be an example of what’s displayed. Category field1 field2 field3 field4 field5

---

## [How to re-construct ActiveRecord from yaml](https://www.ruby-forum.com/t/how-to-re-construct-activerecord-from-yaml/144554)

<div class="topic-metadata">

**Author:** [@John\_Do](https://www.ruby-forum.com/u/John_Do)\
**Replies:** 1\
**Last updated:** [July 31, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/how-to-re-construct-activerecord-from-yaml/144554 "2008-07-31T14:57:40Z")

</div>

My controller rm\_grants\_controller.rb snip: class RmGrantsController \< ApplicationController def dump File.open(‘db/backup/rm\_grants.yaml’, ‘w’) { |f| f.puts RmGrants.find(:all).to\_yaml } end end This creates ‘db/…

---

## [Unbuffered output - how to](https://www.ruby-forum.com/t/unbuffered-output-how-to/90094)

<div class="topic-metadata">

**Author:** [@Andres\_MSHidalgo](https://www.ruby-forum.com/u/Andres_MSHidalgo)\
**Replies:** 1\
**Last updated:** [March 26, 2007, 1:53am UTC](https://www.ruby-forum.com/t/unbuffered-output-how-to/90094 "2007-03-26T01:53:31Z")

</div>

I need to do unbuffered output to sdtdout. Andres

---

## ["Best Practice" for Expand/Collapse a Table](https://www.ruby-forum.com/t/best-practice-for-expand-collapse-a-table/78311)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 1\
**Last updated:** [December 4, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/best-practice-for-expand-collapse-a-table/78311 "2006-12-04T22:47:23Z")

</div>

Is there a “best practice” for making a table expandable/collapsible. Basically, I want my html table to support expand/collapse using a “gem”? Ideally, I want to be able to sort as well. Any suggestions? Thanks, …

---

## [Visual Ruby GUI Development Environment Released](https://www.ruby-forum.com/t/visual-ruby-gui-development-environment-released/218482)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 6, 2016, 2:58pm UTC](https://www.ruby-forum.com/t/visual-ruby-gui-development-environment-released/218482 "2016-06-06T14:58:20Z")

</div>

Hi: I hoping to get some feedback on the latest release of visual ruby. It’s a complete IDE for creating GUIs with ruby. I’m getting a fair amount of downloads, but I’m not sure why I’m not getting questions. If any…

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

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