# Top

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

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

---

## [Select - onclick](https://www.ruby-forum.com/t/select-onclick/140275)

<div class="topic-metadata">

**Author:** [@catiana](https://www.ruby-forum.com/u/catiana)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 11:40am UTC](https://www.ruby-forum.com/t/select-onclick/140275 "2008-07-14T11:40:46Z")

</div>

Ciao a tutti, ho un quesito da porvi. Ho questo frammento di codice: \<% @departures.each do |departure| %\> \<option value="\<%=departure.id %\> \<%= departure.from %\> - \<%= departure.to %\> ore \<%= departure.start…

---

## [Matchers not working...?](https://www.ruby-forum.com/t/matchers-not-working/141939)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 2\
**Last updated:** [July 2, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/matchers-not-working/141939 "2008-07-02T14:34:10Z")

</div>

Hi. I am pretty new to rspec so forgive my ignorance. I am getting errors that seem to be the matchers not working - example: vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:478:in …

---

## [Mock with an attributes that has state](https://www.ruby-forum.com/t/mock-with-an-attributes-that-has-state/139504)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 2\
**Last updated:** [June 4, 2008, 7:31pm UTC](https://www.ruby-forum.com/t/mock-with-an-attributes-that-has-state/139504 "2008-06-04T19:31:54Z")

</div>

I’m developing a rails application. I have an Order model that has\_many OrderItems. I mocked the OrderItem model in my Order specs using mock\_model. I thought I should focus my specs on each model and always mock a…

---

## [Ruby 1.8.7-preview4 has been released](https://www.ruby-forum.com/t/ruby-1-8-7-preview4-has-been-released/138633)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 2\
**Last updated:** [May 26, 2008, 6:48am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-preview4-has-been-released/138633 "2008-05-26T06:48:45Z")

</div>

ã€€Ruby 1.8.7-preview4 ã‚’ãƒªãƒªãƒ¼ã‚¹ã—ã¾ã—ãŸã€‚ã“ã‚ŒãŒãŠãã‚‰ããƒªãƒªãƒ¼ã‚¹å‰ æœ€å¾Œã®ãƒ—ãƒ¬ãƒ“ãƒ¥ãƒ¼ã§ã™ã€‚ ã€€é–“éš”ã¯ä¸€é€±é–“ã»ã©ã§ã™ãŒã€ preview3 ä»¥é™ã«ç™ºè¦‹ã•ã‚ŒãŸæ•°å¤šãã®å•é¡ŒãŒ …

---

## [Select\_tag inside loop](https://www.ruby-forum.com/t/select-tag-inside-loop/135647)

<div class="topic-metadata">

**Author:** [@maia](https://www.ruby-forum.com/u/maia)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 12:16am UTC](https://www.ruby-forum.com/t/select-tag-inside-loop/135647 "2008-04-24T00:16:00Z")

</div>

I have a user who has a list of friends on displayed on his webpage. He can add each friend to a group like, Family or Friends. To implement this , I have the select\_tag /form\_tag block inside a loop in my view as sh…

---

## [Functional testing with form\_authenticity\_token](https://www.ruby-forum.com/t/functional-testing-with-form-authenticity-token/130518)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [February 28, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/functional-testing-with-form-authenticity-token/130518 "2008-02-28T23:37:15Z")

</div>

hello, I am building a page that has many ajax calls on the page, so when I moved to rails 2.0, I, of course, noticed that my ajax calls stopped working. After some research, I came up with the following solution. I…

---

## [Getting specific values from params](https://www.ruby-forum.com/t/getting-specific-values-from-params/126293)

<div class="topic-metadata">

**Author:** [@DVG](https://www.ruby-forum.com/u/DVG)\
**Replies:** 2\
**Last updated:** [January 17, 2008, 4:27am UTC](https://www.ruby-forum.com/t/getting-specific-values-from-params/126293 "2008-01-17T04:27:45Z")

</div>

Sorry to post two newbie questions in one day :slight\_smile: I’m trying to make a new Character row in my database. It has several values in the row, but I only need 2 or so from the user and the rest can be figured o…

---

## [Some threads are not starting](https://www.ruby-forum.com/t/some-threads-are-not-starting/124933)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 2\
**Last updated:** [January 3, 2008, 11:30pm UTC](https://www.ruby-forum.com/t/some-threads-are-not-starting/124933 "2008-01-03T23:30:49Z")

</div>

I have this code to start 4 prog in 4 separate threads. however 2 of the ibScans and emailProcessing threads are not even starting. dunno why. ibScans and emailProcessing are not even starting and i dont see the puts…

---

## [Yet another primary key and migrations question](https://www.ruby-forum.com/t/yet-another-primary-key-and-migrations-question/123429)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 12:50am UTC](https://www.ruby-forum.com/t/yet-another-primary-key-and-migrations-question/123429 "2007-12-18T00:50:20Z")

</div>

I’ve read the messages concerning this issue, but I haven’t come to a conclusion. I have a legacy db with data I have to import to my new app, as it is. So I can’t use the auto-increment “id” my migrations generate. I…

---

## [Can't get mocha to install thru gem](https://www.ruby-forum.com/t/cant-get-mocha-to-install-thru-gem/119422)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 12:44am UTC](https://www.ruby-forum.com/t/cant-get-mocha-to-install-thru-gem/119422 "2007-11-08T00:44:44Z")

</div>

I’ve got an interactive program that I’d like to unit test and I’ve been referred to Mocha. I tried to install it thru gem, but it couldn’t find it. I’m on linux, how do I install it manually? (sorry, its kinda of a l…

---

## [Newbie Question on Operator Precedence?](https://www.ruby-forum.com/t/newbie-question-on-operator-precedence/118800)

<div class="topic-metadata">

**Author:** [@Z\_T](https://www.ruby-forum.com/u/Z_T)\
**Replies:** 2\
**Last updated:** [October 31, 2007, 2:41am UTC](https://www.ruby-forum.com/t/newbie-question-on-operator-precedence/118800 "2007-10-31T02:41:35Z")

</div>

I need your help to understand the output of this program. puts false or true #----\> output is false. OR does not get evaluated? if false or true then puts ‘then’ #----\> output is ‘then’. OR gets evaluated! else…

---

## [What is mean by scope in ruby?](https://www.ruby-forum.com/t/what-is-mean-by-scope-in-ruby/117347)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 2\
**Last updated:** [October 16, 2007, 8:18am UTC](https://www.ruby-forum.com/t/what-is-mean-by-scope-in-ruby/117347 "2007-10-16T08:18:45Z")

</div>

Hai friends, Please anybody can answer this question. What is mean by scope in ruby. Thank you.

---

## [MaxSizeError on spreadsheet-excel olewriter](https://www.ruby-forum.com/t/maxsizeerror-on-spreadsheet-excel-olewriter/116887)

<div class="topic-metadata">

**Author:** [@dbf](https://www.ruby-forum.com/u/dbf)\
**Replies:** 2\
**Last updated:** [October 12, 2007, 4:00am UTC](https://www.ruby-forum.com/t/maxsizeerror-on-spreadsheet-excel-olewriter/116887 "2007-10-12T04:00:37Z")

</div>

I am making an excel file with spreadsheet-excel 0.3.5.1. Getting a MaxSizeError in set\_size (olewriter.rb line 65) when generating a large file. Does anyone know what causes this? The docs refer to a former bug in th…

---

## [Trunk $B$G8=\>u%;%k%U%S%k%I$,$G$-$^$;$s(B](https://www.ruby-forum.com/t/trunk-b-g8-u-k-u-s-k-i-g-s-b/115315)

<div class="topic-metadata">

**Author:** [@SSSBS-SSSiS3SSSSSAS](https://www.ruby-forum.com/u/SSSBS-SSSiS3SSSSSAS)\
**Replies:** 2\
**Last updated:** [September 24, 2007, 3:31am UTC](https://www.ruby-forum.com/t/trunk-b-g8-u-k-u-s-k-i-g-s-b/115315 "2007-09-24T03:31:29Z")

</div>

e$BLZB\<$G$9!#e(B e$B0J2\<$N=$@5$,860x$G!"$3$N=$@5$,F~$C$?0J9\_$Ne(Bruby e$B$rM%@hE\*$K5/F0$9$k4D6-$Ke(B e$B$\*$$$F!"e(Btrunk e$B$N%;%k%U%S%k%I$,$G$-$J$/$J$C$F$$$^$9!#e(B Revision 13447 - (view) (download) (annotate) - \[s…

---

## [Framework gui](https://www.ruby-forum.com/t/framework-gui/115119)

<div class="topic-metadata">

**Author:** [@jamba](https://www.ruby-forum.com/u/jamba)\
**Replies:** 2\
**Last updated:** [September 21, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/framework-gui/115119 "2007-09-21T12:31:55Z")

</div>

Non ne ero a conoscenza cosa ne dite? http://code.whytheluckystiff.net/shoes/wiki

---

## [Cols not responding in text\_area](https://www.ruby-forum.com/t/cols-not-responding-in-text-area/113670)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 2\
**Last updated:** [September 10, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/cols-not-responding-in-text-area/113670 "2007-09-10T15:21:09Z")

</div>

Hi: I’m doing a pretty simple text\_area in a form. I need it to have a minimum width that’s really small - about 10, or 10 cols. I’ve tried it both ways, and neither will go small enough to what I need. Does texta…

---

## [Process.euid \[BUG\] Segmentation fault](https://www.ruby-forum.com/t/process-euid-bug-segmentation-fault/112034)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 1:39am UTC](https://www.ruby-forum.com/t/process-euid-bug-segmentation-fault/112034 "2007-08-15T01:39:22Z")

</div>

Process.euid e$B$Ge(B SEGV e$B$9$k$h$&$G$9!#e(B % ./ruby -e ‘p Process.euid’ -e:1: – control frame ---------- c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :euid c:0003 p:0014 s:0006 b:0005 l:000004 d:000004 T…

---

## [Nil? I don't know no nil... or maybe I do know nil](https://www.ruby-forum.com/t/nil-i-dont-know-no-nil-or-maybe-i-do-know-nil/109552)

<div class="topic-metadata">

**Author:** [@Kedron](https://www.ruby-forum.com/u/Kedron)\
**Replies:** 2\
**Last updated:** [July 16, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/nil-i-dont-know-no-nil-or-maybe-i-do-know-nil/109552 "2007-07-16T21:41:02Z")

</div>

I was on a roll until I started customizing the look of what Rails created for me… I broke something. ########### NoMethodError ########### You have a nil object when you didn’t expect it! You might have expected an…

---

## [Solaris door Ruby bindings](https://www.ruby-forum.com/t/solaris-door-ruby-bindings/106996)

<div class="topic-metadata">

**Author:** [@Banzai](https://www.ruby-forum.com/u/Banzai)\
**Replies:** 2\
**Last updated:** [June 17, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/solaris-door-ruby-bindings/106996 "2007-06-17T17:10:34Z")

</div>

I’m writing a ruby extension in C to the Solaris door library. The door library provides for fast IPC locally on Solaris. I wonder if such a thing is of interest to you. If you are interested (or not), I’d appreciat…

---

## [Fresh project with edge rails - can't find active\_resource](https://www.ruby-forum.com/t/fresh-project-with-edge-rails-cant-find-active-resource/104601)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [May 20, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/fresh-project-with-edge-rails-cant-find-active-resource/104601 "2007-05-20T21:21:02Z")

</div>

Heads-MacBookPro-2:~/Documents/Projects/my\_project roberthead$ ruby ./script/about /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in gem\_original\_require': no such file to load -- active\_resource (Mis…

---

## [Â¿rake db:fixtures:load para aplicacion\_production?](https://www.ruby-forum.com/t/a-rake-dbload-para-aplicacion-production/103185)

<div class="topic-metadata">

**Author:** [@HSSSSctor](https://www.ruby-forum.com/u/HSSSSctor)\
**Replies:** 2\
**Last updated:** [May 2, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/a-rake-dbload-para-aplicacion-production/103185 "2007-05-02T20:33:09Z")

</div>

rake db:fixtures:load carga las fixtures en aplicacion\_development. Â¿Y para hacer lo mismo pero con aplication\_production? Gracias!

---

## [Escapeshellcmd() for Ruby](https://www.ruby-forum.com/t/escapeshellcmd-for-ruby/91678)

<div class="topic-metadata">

**Author:** [@hawe](https://www.ruby-forum.com/u/hawe)\
**Replies:** 2\
**Last updated:** [April 11, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/escapeshellcmd-for-ruby/91678 "2007-04-11T16:53:09Z")

</div>

Hi! Is there something like PHP’s escapeshellcmd() function which removes special signs for system calls? Or do I have to do it myself and escape |;\>"? What else? Thanks a lot, hawe

---

## [Uml tool for RoR](https://www.ruby-forum.com/t/uml-tool-for-ror/89395)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/uml-tool-for-ror/89395 "2007-03-20T15:38:20Z")

</div>

Exists some tool of UML for RoR. That generate de models and migrations through the draw class.

---

## [Probando flash\[:notice\]](https://www.ruby-forum.com/t/probando-flash-notice/88886)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 2\
**Last updated:** [March 15, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/probando-flash-notice/88886 "2007-03-15T13:28:08Z")

</div>

Estoy probando una cosa tan sencilla como el flash, pero no me sale En mi controlador he puesto el flash correspondiente si se envía o no el email: def enviar\_mail contact=@params\[:contacto\] email=ContactoMailer.cre…

---

## [Asking about object databases and active record](https://www.ruby-forum.com/t/asking-about-object-databases-and-active-record/88676)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/asking-about-object-databases-and-active-record/88676 "2007-03-13T15:10:23Z")

</div>

why is it that mysql a relational database is the preferred database among rubyists and not an object orientated database (even a free object orientated database)? what is the important missing piece… i mean if you a…

---

## [Question re DL and INT16\_T return values](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671)

<div class="topic-metadata">

**Author:** [@CWCWCW](https://www.ruby-forum.com/u/CWCWCW)\
**Replies:** 2\
**Last updated:** [March 5, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671 "2007-03-05T18:03:16Z")

</div>

I am trying to call a function in Win32 DLL that returns a INT16\_T value. My attempts using both Win32API and DL to invoke the function both return a value of 47644672. I have no idea how to correctly decode/interpr…

---

## [Strange "Application error"](https://www.ruby-forum.com/t/strange-application-error/80187)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 2\
**Last updated:** [February 18, 2007, 8:55am UTC](https://www.ruby-forum.com/t/strange-application-error/80187 "2007-02-18T08:55:49Z")

</div>

This error is driving me crazy. I would really appreciate if someone could shed some light on it. I have a simple app with a couple models and a controller and a view. It starts out working fine, then I start getting …

---

## [Rest and Ajax](https://www.ruby-forum.com/t/rest-and-ajax/85704)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 2\
**Last updated:** [February 15, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/rest-and-ajax/85704 "2007-02-15T18:01:39Z")

</div>

I’m trying to do this latest project using Restful techniques, but how do you deal with Ajax and http POSTs? I have a helper function that generates a paginated, searchable custom ajax grid (developed pre-rest). The …

---

## [Fwd: Testsuite for #113](https://www.ruby-forum.com/t/fwd-testsuite-for-113/85253)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [February 12, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/fwd-testsuite-for-113/85253 "2007-02-12T22:50:20Z")

</div>

Begin forwarded message:

---

## [Passing params between controller methods](https://www.ruby-forum.com/t/passing-params-between-controller-methods/85264)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 2\
**Last updated:** [February 12, 2007, 12:14pm UTC](https://www.ruby-forum.com/t/passing-params-between-controller-methods/85264 "2007-02-12T12:14:46Z")

</div>

Hi all I’d like to call some controller methods from other controller methods after first modifying the params hash. Class MyController \< ApplicationController def quirky\_method if condtion do\_stuff else params.…

---

## [Destroy o non destroy?](https://www.ruby-forum.com/t/destroy-o-non-destroy/84787)

<div class="topic-metadata">

**Author:** [@stb](https://www.ruby-forum.com/u/stb)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/destroy-o-non-destroy/84787 "2007-02-08T12:52:05Z")

</div>

Ciao, ho implementato un sistema di messaggi per la mia applicazione e vorrei un consiglio. ho una tabella contenente il messaggio e una flag per stabilire se è stato letto o meno. poi dovrò creare o una tabella con…

---

## [Require library path](https://www.ruby-forum.com/t/require-library-path/83902)

<div class="topic-metadata">

**Author:** [@Krekna\_M](https://www.ruby-forum.com/u/Krekna_M)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 8:45am UTC](https://www.ruby-forum.com/t/require-library-path/83902 "2007-01-31T08:45:38Z")

</div>

Hi, I want to load the date.rb file, but require ‘date’ results in : ./mk.rb:4:in \`require’: no such file to load – date (LoadError) from ./mk.rb:4 ruby is installed in ~/ruby/rubyinstall/ Apparently Ruby does not l…

---

## [Re: Counting Toothpicks (#111)](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83815)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 12:07am UTC](https://www.ruby-forum.com/t/re-counting-toothpicks-111/83815 "2007-01-30T00:07:08Z")

</div>

I have a fairly verbose submission for this quiz. It’s probably quite slow compared to others, but at least I can follow my own code :slight\_smile: One question for the more advanced rubyists - I use sets in one place,…

---

## [Capistrano](https://www.ruby-forum.com/t/capistrano/82810)

<div class="topic-metadata">

**Author:** [@osvaldo](https://www.ruby-forum.com/u/osvaldo)\
**Replies:** 2\
**Last updated:** [January 29, 2007, 11:50am UTC](https://www.ruby-forum.com/t/capistrano/82810 "2007-01-29T11:50:30Z")

</div>

Ciao a tutti, sto’ imparando ad usare capistrano per esportare la mia applicazione rails sul server di produzione, ma quando do’ il comando #rake deploy mi ritorna questo errore svn: PROPFIND of ‘/svn/repos/trunk/des…

---

## [Has\_one behavior - AWDWR page 332](https://www.ruby-forum.com/t/has-one-behavior-awdwr-page-332/102989)

<div class="topic-metadata">

**Author:** [@pearl8](https://www.ruby-forum.com/u/pearl8)\
**Replies:** 2\
**Last updated:** [January 23, 2007, 3:17am UTC](https://www.ruby-forum.com/t/has-one-behavior-awdwr-page-332/102989 "2007-01-23T03:17:12Z")

</div>

Hi, On AWDWR page 332 there is this example class Order \< ActiveRecord::Base has\_one :invoice end order = Order.new(… attributes …) invoice = Invoice.new(… attributes …) order.invoice = invoice And then the expla…

---

## [Rails App Showcase](https://www.ruby-forum.com/t/rails-app-showcase/81604)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/rails-app-showcase/81604 "2007-01-10T14:32:52Z")

</div>

Hi: I am looking for inspiration! Is there rails application showcase site? where you can visit all the rails site or apps? I am not after downloading app but to see what folks are doing with rails… Any inspirational…

---

## [Crear primary key](https://www.ruby-forum.com/t/crear-primary-key/78246)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 2\
**Last updated:** [December 4, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/crear-primary-key/78246 "2006-12-04T14:53:17Z")

</div>

para hacer las relaciones has\_many\_belongs\_to me tendría que crear la tabla intermedia, cómo puedo crear los primary key para prod1 y prod2? def self.up create\_table :prod\_prod, :id=\>false do |t| t.column :prod1, :in…

---

## [How to render a partial for test?](https://www.ruby-forum.com/t/how-to-render-a-partial-for-test/76888)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 2\
**Last updated:** [November 22, 2006, 11:44am UTC](https://www.ruby-forum.com/t/how-to-render-a-partial-for-test/76888 "2006-11-22T11:44:20Z")

</div>

Railists: This snip works inside an index.rhtml. \<%= render :partial =\> ‘chat/index’, :locals =\> { :panel\_id =\> 1 } %\> Pretend for a moment that I know nothing about Rails. (:slight\_smile: How do I write a test cas…

---

## [Find\_by\_tag](https://www.ruby-forum.com/t/find-by-tag/75145)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 8:31pm UTC](https://www.ruby-forum.com/t/find-by-tag/75145 "2006-11-07T20:31:50Z")

</div>

What exactly is find\_by\_tag for? The rails documentation doesn’t really give a description of what it does. I tried doing a search for find\_by\_tag (and find\_all\_by\_tag), but nothing turned up.

---

## [Drowning in underscores and foreign keys](https://www.ruby-forum.com/t/drowning-in-underscores-and-foreign-keys/72767)

<div class="topic-metadata">

**Author:** [@Duane](https://www.ruby-forum.com/u/Duane)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/drowning-in-underscores-and-foreign-keys/72767 "2006-10-18T22:28:56Z")

</div>

Hi everybody, I’m working with a legacy schema where they saw fit to underscore everything in sight, and I’m wondering if that’s screwing up my associations. I have a table COMMUNITY\_TABLE that has a COMMUNITY\_ID as …

---

## [Hpricot - Trying to do a few things...are they possible?](https://www.ruby-forum.com/t/hpricot-trying-to-do-a-few-things-are-they-possible/70749)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 12:02am UTC](https://www.ruby-forum.com/t/hpricot-trying-to-do-a-few-things-are-they-possible/70749 "2006-10-04T00:02:56Z")

</div>

I’ve been messing with Hpricot and I’m trying to do a few things that aren’t apparently documented or available as part of Hpricot. Can someone verify the following… Is there a simple way to determine the element’s…

---

## [Rails on plesk+apache2+fcgid](https://www.ruby-forum.com/t/rails-on-plesk-apache2-fcgid/69286)

<div class="topic-metadata">

**Author:** [@wintermute](https://www.ruby-forum.com/u/wintermute)\
**Replies:** 2\
**Last updated:** [September 21, 2006, 4:05am UTC](https://www.ruby-forum.com/t/rails-on-plesk-apache2-fcgid/69286 "2006-09-21T04:05:20Z")

</div>

Hi, I am try to get RoR running with ruby 1.8.4, Rails 1.1.6, mod\_fcgid 1.09, Apache 2, on CentOS 4.3. When I browser to http://www.mydomain.com/test/ (definately with end slash) I get an application error. In the ap…

---

## [Role based authorization question](https://www.ruby-forum.com/t/role-based-authorization-question/66318)

<div class="topic-metadata">

**Author:** [@hroberts](https://www.ruby-forum.com/u/hroberts)\
**Replies:** 2\
**Last updated:** [August 25, 2006, 12:03am UTC](https://www.ruby-forum.com/t/role-based-authorization-question/66318 "2006-08-25T00:03:22Z")

</div>

I am using the the authorization recipe outlined in Rails Recipes.Is it possible for one role, say ‘admin’, to have access to every action on every controller without explicitly having to create a Right for each? I k…

---

## [Frustrating locale setting error](https://www.ruby-forum.com/t/frustrating-locale-setting-error/101499)

<div class="topic-metadata">

**Author:** [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:09pm UTC](https://www.ruby-forum.com/t/frustrating-locale-setting-error/101499 "2006-08-15T14:09:36Z")

</div>

Hi all, This has been very frustrating for me trying to get this acts\_as\_ferret working well on a Fedora box. On my mac it works great, no problems with locale, but when I put the code live on my Fedora server, it com…

---

## [Textile editor](https://www.ruby-forum.com/t/textile-editor/95686)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 2\
**Last updated:** [July 6, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/textile-editor/95686 "2006-07-06T17:57:04Z")

</div>

Hello, Is there any editor for textile? Something which has buttons, and will auto insert textile code for marking user inputs. (If possible displays a preview also.) Thanks. Surendra S. http://ssinghi.kreeti.com,…

---

## [Problemi con il render :file](https://www.ruby-forum.com/t/problemi-con-il-render-file/95715)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 2\
**Last updated:** [June 11, 2006, 11:06am UTC](https://www.ruby-forum.com/t/problemi-con-il-render-file/95715 "2006-06-11T11:06:02Z")

</div>

Che qualcuno mi sà dire perchè se in rails devo renderizzare un file rhtml, se lo passo come partial usando: render :partial =\> ‘prova’ me lo prende, se invece lo metto come render :file =\> ‘c:\\percorso assoluto del f…

---

## [Uninstalling RUBYGEMS](https://www.ruby-forum.com/t/uninstalling-rubygems/59269)

<div class="topic-metadata">

**Author:** [@edlim](https://www.ruby-forum.com/u/edlim)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/uninstalling-rubygems/59269 "2006-05-03T19:05:22Z")

</div>

Hi, does anyone know how to uninstall rubygem? I installed and it had the notorious hanging problem that no one seems to have an answer to. So I am going to attempt to install Rails without gems. Could someone point…

---

## [GNU Radio Architecture](https://www.ruby-forum.com/t/gnu-radio-architecture/59356)

<div class="topic-metadata">

**Author:** [@jjw](https://www.ruby-forum.com/u/jjw)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/gnu-radio-architecture/59356 "2006-05-03T18:58:23Z")

</div>

I have been digging through the code to try and understand the architecture that GNU Radio works on. From flow\_graph.py I have come to the understanding that GNU radio creates and manages it’s own memory buffering …

---

## [Language setting before routing?](https://www.ruby-forum.com/t/language-setting-before-routing/57853)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 2\
**Last updated:** [April 15, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/language-setting-before-routing/57853 "2006-04-15T18:46:11Z")

</div>

When processing a request, where can you obtain the language setting of a user’s browser? I know we can read @request.env\[“HTTP\_ACCEPT\_LANGUAGE”\] in an action easily. But I need to access it before being routed to a c…

---

## [Before\_destroy not called](https://www.ruby-forum.com/t/before-destroy-not-called/55883)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 2\
**Last updated:** [March 25, 2006, 11:45am UTC](https://www.ruby-forum.com/t/before-destroy-not-called/55883 "2006-03-25T11:45:51Z")

</div>

Hello, I’m trying to intercept delete call in my model but before\_destroy callback is never called… Somebody knows why ? Thanks The controller : def delete Image.delete(params\[:id\]) redirect\_to :action =\> “list” …

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

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