# Top

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

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

---

## [Undefined method \`param\_posted?'](https://www.ruby-forum.com/t/undefined-method-param-posted/123433)

<div class="topic-metadata">

**Author:** [@tresero](https://www.ruby-forum.com/u/tresero)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 12:11am UTC](https://www.ruby-forum.com/t/undefined-method-param-posted/123433 "2007-12-18T00:11:07Z")

</div>

I upgraded an app to 2.01 and can’t figure out why I am getting a undefined method \`param\_posted?’ for #\<ControlPanelController: 0xb748ba18\> The controller should be inheriting this. class ControlPanelController \< Ap…

---

## [Different error code during proxied backend restart?](https://www.ruby-forum.com/t/different-error-code-during-proxied-backend-restart/123417)

<div class="topic-metadata">

**Author:** [@kappa](https://www.ruby-forum.com/u/kappa)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/different-error-code-during-proxied-backend-restart/123417 "2007-12-17T19:11:49Z")

</div>

At the moment, nginx (I use 0.5.33) reports 404 (Not Found) when the (reverse-) proxied backend is unavailable (for example, while it is being restarted). I think it is somewhat confusing, both for normal users, and f…

---

## [Select version of rails to install](https://www.ruby-forum.com/t/select-version-of-rails-to-install/122607)

<div class="topic-metadata">

**Author:** [@jason\_white](https://www.ruby-forum.com/u/jason_white)\
**Replies:** 2\
**Last updated:** [December 10, 2007, 3:54am UTC](https://www.ruby-forum.com/t/select-version-of-rails-to-install/122607 "2007-12-10T03:54:05Z")

</div>

how can i select a version of rails to be installed? thanks, jason

---

## [Creating AJAX on the fly](https://www.ruby-forum.com/t/creating-ajax-on-the-fly/122532)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 2\
**Last updated:** [December 9, 2007, 11:18am UTC](https://www.ruby-forum.com/t/creating-ajax-on-the-fly/122532 "2007-12-09T11:18:37Z")

</div>

I have two drop-down menus in a page. the first has only two values, and when one of those two values is selected, an AJAX call is made to RoR. there, I fetch some rows from the database, and fill the second drop-dow…

---

## [Adding Post Data to IE.navigate method with Ruby](https://www.ruby-forum.com/t/adding-post-data-to-ie-navigate-method-with-ruby/120321)

<div class="topic-metadata">

**Author:** [@Bach\_Le](https://www.ruby-forum.com/u/Bach_Le)\
**Replies:** 2\
**Last updated:** [November 15, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/adding-post-data-to-ie-navigate-method-with-ruby/120321 "2007-11-15T23:40:39Z")

</div>

Hi all, I’m automating IE with Watir and Ruby and I have a slight problem that I can’t seem to solve. I’d like to pass post data to IE’s navigate method (Navigate method (Internet Explorer) | Microsoft Learn) Seems l…

---

## [Rubyscript2exe \> Invalid char \`\\220' in expression (RC=256)?](https://www.ruby-forum.com/t/rubyscript2exe-invalid-char-220-in-expression-rc-256/115761)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 10:41am UTC](https://www.ruby-forum.com/t/rubyscript2exe-invalid-char-220-in-expression-rc-256/115761 "2007-09-28T10:41:02Z")

</div>

Hi, i want to create an executable of the following simple ruby snippet = time=Time.now.strftime(‘%d.%m.%Y’) exec(“c:/Programme/Internet Explorer/IEXPLORE.EXE http://scmcs/deploy/ControllerServlet?startsuchdatum=#{t…

---

## [How to define a function-generating function?](https://www.ruby-forum.com/t/how-to-define-a-function-generating-function/114690)

<div class="topic-metadata">

**Author:** [@Josip\_G](https://www.ruby-forum.com/u/Josip_G)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/how-to-define-a-function-generating-function/114690 "2007-09-17T13:25:39Z")

</div>

Hello! A newbie question. Here’s what I’d like to be able to do. #============================================ def\_init\_function( :system\_init ) do |x,y| …something… end def\_init\_function( :timers\_init ) do |a| ……

---

## [Why are these items being persisted?](https://www.ruby-forum.com/t/why-are-these-items-being-persisted/114244)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 2\
**Last updated:** [September 11, 2007, 11:52am UTC](https://www.ruby-forum.com/t/why-are-these-items-being-persisted/114244 "2007-09-11T11:52:32Z")

</div>

Hi all, In this bit of code: @feeds = Feed.find\_all @feeds.each { |feed| items = \[\] rssdoc = Hpricot.XML(open(feed.url, ‘User-Agent’ =\> USER\_AGENT)) (rssdoc/:item).each {|item| items.push(rss\_item\_to\_db\_item(item, …

---

## [Build a menu (li.selected)](https://www.ruby-forum.com/t/build-a-menu-li-selected/110733)

<div class="topic-metadata">

**Author:** [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Replies:** 2\
**Last updated:** [July 30, 2007, 1:37pm UTC](https://www.ruby-forum.com/t/build-a-menu-li-selected/110733 "2007-07-30T13:37:21Z")

</div>

Hello, when I try to create a menu I found the following limitation: the event li.selected does not work and, I am not being able to show an image when the menu option is selected in my CSS exists the following code…

---

## [Need help with calling a ruby method inside rhtml](https://www.ruby-forum.com/t/need-help-with-calling-a-ruby-method-inside-rhtml/108087)

<div class="topic-metadata">

**Author:** [@Manic](https://www.ruby-forum.com/u/Manic)\
**Replies:** 2\
**Last updated:** [June 28, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/need-help-with-calling-a-ruby-method-inside-rhtml/108087 "2007-06-28T23:32:55Z")

</div>

My problem is simple. I have a function “translateTo(lang)” that i need to call in my show\_data.rhtml file. The function that i need to call returns a string that i need to print out on my show\_data.rhtml page. Shoul…

---

## [Calling Ruby from within Ruby under Windows](https://www.ruby-forum.com/t/calling-ruby-from-within-ruby-under-windows/107405)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 11:14am UTC](https://www.ruby-forum.com/t/calling-ruby-from-within-ruby-under-windows/107405 "2007-06-22T11:14:55Z")

</div>

Ruby 1.8.6 after installation has associated the file extension .rb within Windows to Ruby. Hence I can call a Ruby program directly from the Windows command line: ruby t2.rb t2.rb t2 all work the same. This does …

---

## [Attachment\_fu, polymorphic model](https://www.ruby-forum.com/t/attachment-fu-polymorphic-model/103843)

<div class="topic-metadata">

**Author:** [@walksalong](https://www.ruby-forum.com/u/walksalong)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/attachment-fu-polymorphic-model/103843 "2007-05-14T16:21:22Z")

</div>

I’m borrowing this question from a user named Spencer on the Rails Forums. He clearly explains the issue we’re having: "First of all, apologies, as I am probably missing something utterly obvious. I am trying to set …

---

## [Paso de parÃ¡metros a mÃ©todo a before \_filter](https://www.ruby-forum.com/t/paso-de-para-metros-a-ma-todo-a-before-filter/103601)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 8:11am UTC](https://www.ruby-forum.com/t/paso-de-para-metros-a-ma-todo-a-before-filter/103601 "2007-05-11T08:11:27Z")

</div>

Buenas. No sÃ© si se podrÃ¡ hacer Ã©sto, pero ahÃ­ va… Quiero tener controladores que sean accesibles sÃ³lo para usuarios con roles concretos. Ahora tengo la cosa asÃ­: def es\_super\_usuario? logged\_in? && authoriz…

---

## [Simple deployment](https://www.ruby-forum.com/t/simple-deployment/92852)

<div class="topic-metadata">

**Author:** [@Ernst\_BeiglbSSSSck](https://www.ruby-forum.com/u/Ernst_BeiglbSSSSck)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 8:45am UTC](https://www.ruby-forum.com/t/simple-deployment/92852 "2007-04-25T08:45:42Z")

</div>

Hi, what is the simplest and most up-to-date method of deploying rails for a site with very few users? I definitely don’t need clustering. Should I use Lighttpd? If yes, can someone point me to a site describing the …

---

## [Why the 'next' call within the Proc obj created by 'lambda'](https://www.ruby-forum.com/t/why-the-next-call-within-the-proc-obj-created-by-lambda/92143)

<div class="topic-metadata">

**Author:** [@FindSun](https://www.ruby-forum.com/u/FindSun)\
**Replies:** 2\
**Last updated:** [April 17, 2007, 9:52am UTC](https://www.ruby-forum.com/t/why-the-next-call-within-the-proc-obj-created-by-lambda/92143 "2007-04-17T09:52:38Z")

</div>

Hi, guys, I am one of the chinese translators for “Programming Ruby 2nd”. And one reader in China reported that the ‘next’ call within the Proc obj created by ‘lambda’ always returns nil, instead of the specified val…

---

## [Installing Rails on Ubuntu Edgy](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331)

<div class="topic-metadata">

**Author:** [@gregg](https://www.ruby-forum.com/u/gregg)\
**Replies:** 2\
**Last updated:** [April 6, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331 "2007-04-06T22:04:22Z")

</div>

I’ve found various online instructions for installing Rails on Ubuntu but none of them are perfect. First things first, I already have Ruby 1.8.4 installed. The executable was named ruby1.8 so I alias’d it to ruby s…

---

## [Model Question - First Rails Project](https://www.ruby-forum.com/t/model-question-first-rails-project/88734)

<div class="topic-metadata">

**Author:** [@billbell52](https://www.ruby-forum.com/u/billbell52)\
**Replies:** 2\
**Last updated:** [March 15, 2007, 2:27am UTC](https://www.ruby-forum.com/t/model-question-first-rails-project/88734 "2007-03-15T02:27:48Z")

</div>

I am trying to do my first Rails project. I am having a problem understanding how to create the model. The project will track parts that are used in building an item. It will be hierarchical. For example a bicycle…

---

## [Create on a has\_many through?](https://www.ruby-forum.com/t/create-on-a-has-many-through/87220)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 1, 2007, 3:06pm UTC](https://www.ruby-forum.com/t/create-on-a-has-many-through/87220 "2007-03-01T15:06:37Z")

</div>

Hi, I have two models, User and Item, as well as a join model, UserItem. So the User model includes the lines: has\_many :user\_items has\_many :items, :through =\> :user\_items I’ve noticed that this doesn’t work: u = …

---

## [Validate Before RJS/Ajax Execution?](https://www.ruby-forum.com/t/validate-before-rjs-ajax-execution/83550)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/validate-before-rjs-ajax-execution/83550 "2007-01-27T17:03:58Z")

</div>

Hi I’ve got a model which validates\_presence\_of a field (its a comment form) and the new comment is added to the top of the comment listing with a blind\_down effect. However, regardless of whether the field has been …

---

## [Auto-generate database schema based upon model?](https://www.ruby-forum.com/t/auto-generate-database-schema-based-upon-model/82873)

<div class="topic-metadata">

**Author:** [@rhodebump](https://www.ruby-forum.com/u/rhodebump)\
**Replies:** 2\
**Last updated:** [January 22, 2007, 2:13pm UTC](https://www.ruby-forum.com/t/auto-generate-database-schema-based-upon-model/82873 "2007-01-22T14:13:47Z")

</div>

From my research, it appears that I have to manually create database tables. I was wondering if there is a gem or something else in ROR that would auto-create the database for me based upon my ruby model. Thanks.

---

## [Localizzare rails](https://www.ruby-forum.com/t/localizzare-rails/82879)

<div class="topic-metadata">

**Author:** [@ventura](https://www.ruby-forum.com/u/ventura)\
**Replies:** 2\
**Last updated:** [January 22, 2007, 9:51am UTC](https://www.ruby-forum.com/t/localizzare-rails/82879 "2007-01-22T09:51:25Z")

</div>

Salve a tutti, tempo fa avevo visto uno zip su qualche sito per localizzare ror in italiano, e con questo intendo ad esempio gli errori che vengono generati da validates\_presence\_of e compagnia bella. Qualcuno sa darm…

---

## [Ror+ajax](https://www.ruby-forum.com/t/ror-ajax/78919)

<div class="topic-metadata">

**Author:** [@Rocio\_F](https://www.ruby-forum.com/u/Rocio_F)\
**Replies:** 2\
**Last updated:** [December 15, 2006, 11:46pm UTC](https://www.ruby-forum.com/t/ror-ajax/78919 "2006-12-15T23:46:39Z")

</div>

Hola, perdon si la consulta es basica o esta mal formulada, la idea es que he estado revisando algunas framewoks que permiten desarrollar aplicaciones con ajax, especificamente: qooxdoo turbowidgets que me parecrier…

---

## [Help with join tables and has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/help-with-join-tables-and-has-and-belongs-to-many/75327)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 2\
**Last updated:** [November 9, 2006, 5:59am UTC](https://www.ruby-forum.com/t/help-with-join-tables-and-has-and-belongs-to-many/75327 "2006-11-09T05:59:34Z")

</div>

Hi, I have a user model and a privilege model. They have the has\_and\_belongs\_to\_many relationship. Here are the model defs: class User \< ActiveRecord::Base belongs\_to :status has\_and\_belongs\_to\_many :privileges e…

---

## [Eager Finder SQL](https://www.ruby-forum.com/t/eager-finder-sql/75054)

<div class="topic-metadata">

**Author:** [@gkellogg](https://www.ruby-forum.com/u/gkellogg)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 3:30pm UTC](https://www.ruby-forum.com/t/eager-finder-sql/75054 "2006-11-07T15:30:05Z")

</div>

Hi, I just uploaded a Rails plugin that allows you to specify custom SQL when doing a find with associations (AKA eager loading). One of the problems I encountered when implementing the Chacha Underground (http://unde…

---

## [Help: Validating when Updating a Record](https://www.ruby-forum.com/t/help-validating-when-updating-a-record/71467)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 2\
**Last updated:** [October 9, 2006, 6:49am UTC](https://www.ruby-forum.com/t/help-validating-when-updating-a-record/71467 "2006-10-09T06:49:01Z")

</div>

Hi For my users model, the password field cannot be the same as the username, which is checked by the validate method in the model: class User \< ActiveRecord::Base ... def validate if password == username …

---

## [Overriding a datetime\_select's value with .update\_attributes](https://www.ruby-forum.com/t/overriding-a-datetime-selects-value-with-update-attributes/68508)

<div class="topic-metadata">

**Author:** [@Dylan\_B](https://www.ruby-forum.com/u/Dylan_B)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 8:38am UTC](https://www.ruby-forum.com/t/overriding-a-datetime-selects-value-with-update-attributes/68508 "2006-09-13T08:38:30Z")

</div>

I just can’t seem to figure this out. I think I’m just looking in the wrong place. On an “edit post” page, I want users to be able to either specify their own “created\_at” date/time or let it default to “now”. The way…

---

## [Validates\_length\_of with char field](https://www.ruby-forum.com/t/validates-length-of-with-char-field/65279)

<div class="topic-metadata">

**Author:** [@shauna](https://www.ruby-forum.com/u/shauna)\
**Replies:** 2\
**Last updated:** [August 18, 2006, 7:03am UTC](https://www.ruby-forum.com/t/validates-length-of-with-char-field/65279 "2006-08-18T07:03:45Z")

</div>

I am new to ruby/rails and am having a problem with validates\_length\_of. It seems to work fine on a varchar field, but when I try it on a char field the extra characters are silently truncated and the message appears …

---

## [Case statement not being picked up](https://www.ruby-forum.com/t/case-statement-not-being-picked-up/64858)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/case-statement-not-being-picked-up/64858 "2006-08-15T14:19:56Z")

</div>

Hi, This is my code and I have printed out some de-bug statements. I haven’t a clue why the task = ‘validate’ switch statement is not being executed. class Form def initialize #see if file exists, what file or we g…

---

## [Rails 1.1.5 released (2)](https://www.ruby-forum.com/t/rails-1-1-5-released-2/64528)

<div class="topic-metadata">

**Author:** [@Ruben\_N](https://www.ruby-forum.com/u/Ruben_N)\
**Replies:** 2\
**Last updated:** [August 10, 2006, 12:56am UTC](https://www.ruby-forum.com/t/rails-1-1-5-released-2/64528 "2006-08-10T00:56:39Z")

</div>

Apparently 1.1.5 is a CRITICAL update, please check: http://weblog.rubyonrails.org/2006/8/9/rails-1-1-5-mandatory-security- patch-and-other-tidbits They are begging for everyone to update to 1.1.5, no many details are …

---

## [Anyone experience problems with mongrel and sessions?](https://www.ruby-forum.com/t/anyone-experience-problems-with-mongrel-and-sessions/101388)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 12:48pm UTC](https://www.ruby-forum.com/t/anyone-experience-problems-with-mongrel-and-sessions/101388 "2006-08-07T12:48:20Z")

</div>

I’ve moved an application that was running under apache2/fcgi to apache2/mongrel(mod\_proxy). under the original setup i had no problems with sessions. now under mongrel, the users are experiencing application errors. …

---

## [Problem with gem install, rubygems 0.9.0](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [June 29, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468 "2006-06-29T17:08:21Z")

</div>

Hi all, Solaris 10 Ruby 1.8.4 gems 0.9.0 I did a fresh install of Ruby, installed gems via “ruby setup.rb”, and tried by my first ‘gem install’. This is what I got: djberge@~/local/src/ruby-516\>sudo gem install p…

---

## [Conditional validation](https://www.ruby-forum.com/t/conditional-validation/95743)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 2\
**Last updated:** [June 12, 2006, 1:15pm UTC](https://www.ruby-forum.com/t/conditional-validation/95743 "2006-06-12T13:15:35Z")

</div>

Hi how can I validate a field only if another field is set to a specific value? I tried to use validates\_length\_of :fieldname, :maximum =\> 100, :if =\> :otherfieldname == ‘myvalue’ But doesn’t work Thanks Paolo

---

## [Best way to validate an integer field?](https://www.ruby-forum.com/t/best-way-to-validate-an-integer-field/61657)

<div class="topic-metadata">

**Author:** [@juantar](https://www.ruby-forum.com/u/juantar)\
**Replies:** 2\
**Last updated:** [May 26, 2006, 2:45am UTC](https://www.ruby-forum.com/t/best-way-to-validate-an-integer-field/61657 "2006-05-26T02:45:37Z")

</div>

I am trying to validate an integer field called quantity. I don’t know how to chack if it has gone beyond or below the maximum or minimum value allowed by the Firebird RDBMS. I tired adding this code to the validate m…

---

## [Possible Bug with intercept calls with alias\_method](https://www.ruby-forum.com/t/possible-bug-with-intercept-calls-with-alias-method/49482)

<div class="topic-metadata">

**Author:** [@paulchin](https://www.ruby-forum.com/u/paulchin)\
**Replies:** 2\
**Last updated:** [May 11, 2006, 4:09am UTC](https://www.ruby-forum.com/t/possible-bug-with-intercept-calls-with-alias-method/49482 "2006-05-11T04:09:10Z")

</div>

Hi all I’m trying user alias\_method to overload the link\_to method, It works the first time, but when I reload the page, it will have an error “stack level too deep”. I’m using rails 0.14.3 ruby 1.8.2 Webrick in wi…

---

## [Make check in gr-atsc fails](https://www.ruby-forum.com/t/make-check-in-gr-atsc-fails/94307)

<div class="topic-metadata">

**Author:** [@Berndt\_Josef\_W](https://www.ruby-forum.com/u/Berndt_Josef_W)\
**Replies:** 2\
**Last updated:** [April 28, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/make-check-in-gr-atsc-fails/94307 "2006-04-28T19:47:12Z")

</div>

G’day, Is “make check” in gr-atsc know to complete? It currently fails to complete with the following message. Making check in python make check-TESTS … sched: \<gr\_block atsc\_viterbi\_decoder (31)\> is requesting m…

---

## [Return Rendering Controller In View](https://www.ruby-forum.com/t/return-rendering-controller-in-view/56890)

<div class="topic-metadata">

**Author:** [@larsenmtl](https://www.ruby-forum.com/u/larsenmtl)\
**Replies:** 2\
**Last updated:** [April 5, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/return-rendering-controller-in-view/56890 "2006-04-05T16:56:47Z")

</div>

I have a shared partial which could be rendered by two different controllers. Is there an easy way in the view to return which controller rendered the partial? I’ve tried using: \<%debug(params\[‘controller’\])%\> Whil…

---

## [Problems testing on 1.1 and postgresql](https://www.ruby-forum.com/t/problems-testing-on-1-1-and-postgresql/56738)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 2:31pm UTC](https://www.ruby-forum.com/t/problems-testing-on-1-1-and-postgresql/56738 "2006-04-03T14:31:50Z")

</div>

Hi, I get errors doing this: createdb myapp\_test rake db:test:clone\_structure rake test:units rake aborted! PGError: ERROR: relation “matches” already exists I’m using the :sql schema format because there are some…

---

## [How to use Readymade plugins?](https://www.ruby-forum.com/t/how-to-use-readymade-plugins/55831)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 2\
**Last updated:** [March 24, 2006, 8:02am UTC](https://www.ruby-forum.com/t/how-to-use-readymade-plugins/55831 "2006-03-24T08:02:29Z")

</div>

Hi, I have downloaded “Ruby on Rails validator plugin for password fields”. & they have specified that for using it we have to unzip it in plugins directory of your rails application. But I cant find the plugin direc…

---

## [How to limit standard layout on action](https://www.ruby-forum.com/t/how-to-limit-standard-layout-on-action/55065)

<div class="topic-metadata">

**Author:** [@zaq](https://www.ruby-forum.com/u/zaq)\
**Replies:** 2\
**Last updated:** [March 16, 2006, 8:14pm UTC](https://www.ruby-forum.com/t/how-to-limit-standard-layout-on-action/55065 "2006-03-16T20:14:53Z")

</div>

I have an action/view that I need to return only data (other external processes query this action/view) but I need the standard\_layout template to be attached to the other actions/views in the same controller. ie, th…

---

## [Clarify](https://www.ruby-forum.com/t/clarify/78909)

<div class="topic-metadata">

**Author:** [@dotnet\_java\_develop](https://www.ruby-forum.com/u/dotnet_java_develop)\
**Replies:** 2\
**Last updated:** [March 9, 2006, 10:41am UTC](https://www.ruby-forum.com/t/clarify/78909 "2006-03-09T10:41:39Z")

</div>

im learning rails and i got a error while writing a sample code. Script : class GuestBookController \< ActionController::Base def index @entry = GuestBook.find\_all end def list\_parameters params = request.parameters …

---

## [Active\_record postgresql adapter problem](https://www.ruby-forum.com/t/active-record-postgresql-adapter-problem/75314)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [March 1, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/active-record-postgresql-adapter-problem/75314 "2006-03-01T18:22:24Z")

</div>

Instead of using numeric I created the field “unit\_price” as PostgreSQL type money. Now when I try and add a row I get the following. How do I override AR default behaviour to cast numeric post data to money, or am …

---

## [How can I put the error messages generated by the validation](https://www.ruby-forum.com/t/how-can-i-put-the-error-messages-generated-by-the-validation/53673)

<div class="topic-metadata">

**Author:** [@Jochen\_Dress](https://www.ruby-forum.com/u/Jochen_Dress)\
**Replies:** 2\
**Last updated:** [February 13, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/how-can-i-put-the-error-messages-generated-by-the-validation/53673 "2006-02-13T23:03:04Z")

</div>

Hello, I’m a newbie, coming from Visual FoxPro - a database centric and object orientated scripting language with a rich set of graphical user interface controlls. Lerning ruby on rails means for me to lern html as w…

---

## [Itterating through one's path(s)](https://www.ruby-forum.com/t/itterating-through-ones-path-s/66033)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [February 12, 2006, 2:02pm UTC](https://www.ruby-forum.com/t/itterating-through-ones-path-s/66033 "2006-02-12T14:02:39Z")

</div>

I’d like to see if I can itterate through the directories of my PATH (or $PATH for Unix-based systems) using blocks. #!/usr/bin/ruby -w path = ENV\[‘PATH’\].split(File::PATH\_SEPARATOR) path.each{|zz| Dir.new zz} There…

---

## [Strategies for updating multiple parts of the page with AJAX](https://www.ruby-forum.com/t/strategies-for-updating-multiple-parts-of-the-page-with-ajax/65066)

<div class="topic-metadata">

**Author:** [@tlianza](https://www.ruby-forum.com/u/tlianza)\
**Replies:** 2\
**Last updated:** [February 9, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/strategies-for-updating-multiple-parts-of-the-page-with-ajax/65066 "2006-02-09T17:38:49Z")

</div>

Hi all, I have a layout that’s evolving, but it looks like there will be several divs. I’m trying to keep everything AJAX-y and avoid full page reloads. My problem is, if I have the login box in a div, I’m going to …

---

## [Relationship navigation issue](https://www.ruby-forum.com/t/relationship-navigation-issue/53301)

<div class="topic-metadata">

**Author:** [@nekapoor](https://www.ruby-forum.com/u/nekapoor)\
**Replies:** 2\
**Last updated:** [February 1, 2006, 3:19am UTC](https://www.ruby-forum.com/t/relationship-navigation-issue/53301 "2006-02-01T03:19:38Z")

</div>

class Event \< ActiveRecord::Base belongs\_to :venue belongs\_to :category end class Venue \< ActiveRecord::Base belongs\_to :city end class City \< ActiveRecord::Base belongs\_to :state end I want to retrieve all…

---

## [Creating a web service with AWS](https://www.ruby-forum.com/t/creating-a-web-service-with-aws/99456)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 2\
**Last updated:** [January 31, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/creating-a-web-service-with-aws/99456 "2006-01-31T21:01:29Z")

</div>

So I’ve read the Action Web Service bit of the documentation for a while, searched around and asked on the IRQ channel and I just can’t seem to get a simple Hello World type web service up and running with AWS on Rail…

---

## [New RoR app: RTRails 0.1. Uses HTTP push and a window system](https://www.ruby-forum.com/t/new-ror-app-rtrails-0-1-uses-http-push-and-a-window-system/52674)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 10:50pm UTC](https://www.ruby-forum.com/t/new-ror-app-rtrails-0-1-uses-http-push-and-a-window-system/52674 "2006-01-17T22:50:45Z")

</div>

hi all, anybody care to see my new rails app? It is the second version of Realtime on Rails. Link: http://ccml01.medien.uni-weimar.de/ Two screenshots: http://www.uni-weimar.de/~scheffl2/amsterdam/screenshot\_rtrails…

---

## [How to run direct sql](https://www.ruby-forum.com/t/how-to-run-direct-sql/52627)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 5:23am UTC](https://www.ruby-forum.com/t/how-to-run-direct-sql/52627 "2006-01-17T05:23:01Z")

</div>

How can i run and get the value from the following sql: select avg(my\_field) from my\_table where which\_year=‘0506’ and which\_week \<= 21 and my\_foreign\_key\_id=10 cheers

---

## [Map.connect - redirect with 302?](https://www.ruby-forum.com/t/map-connect-redirect-with-302/102326)

<div class="topic-metadata">

**Author:** [@csn](https://www.ruby-forum.com/u/csn)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/map-connect-redirect-with-302/102326 "2006-01-11T21:44:49Z")

</div>

Is it possible to write map.connect rules in route.rb that externally redirect (HTTP 302) to other actions? thanks csn Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

---

## [RoR presentations](https://www.ruby-forum.com/t/ror-presentations/74363)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [December 23, 2005, 12:09am UTC](https://www.ruby-forum.com/t/ror-presentations/74363 "2005-12-23T00:09:45Z")

</div>

Hi, I was wondering is there any editor that can do autocompletion as shown in the tutorials on the RoR website in the windows or linux environment. If not do any one has sharable macros that comes with textpad or any …

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

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