# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1709

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

---

## [FW: Advance Happy Ganesh Chathurdi](https://www.ruby-forum.com/t/fw-advance-happy-ganesh-chathurdi/114679)

<div class="topic-metadata">

**Author:** [@Kumara\_Swamy\_Yarra](https://www.ruby-forum.com/u/Kumara_Swamy_Yarra)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/fw-advance-happy-ganesh-chathurdi/114679 "2007-09-17T13:24:04Z")

</div>

From: Purushotham Gunti Sent: Friday, September 14, 2007 5:06 PM To: Naga Suresh Peddirsi; Kumara Swamy Yarra; Krishna Mantripragada; Raja Sekhar Boda; Prabhakar Gogula Subject: FW: Advance Happy Ganesh Chathurdi …

---

## [Rails and Firebird 2](https://www.ruby-forum.com/t/rails-and-firebird-2/114677)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/rails-and-firebird-2/114677 "2007-09-17T13:24:03Z")

</div>

I am considering trying out Firebird 2.0.1 with my Rails app. I currently use MySQL. I am told that Firebird offers good performance/ features, and is free to use under any circumstances (project contributions aside) …

---

## [Setting local variable from name](https://www.ruby-forum.com/t/setting-local-variable-from-name/114437)

<div class="topic-metadata">

**Author:** [@Mirek\_Rusin](https://www.ruby-forum.com/u/Mirek_Rusin)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/setting-local-variable-from-name/114437 "2007-09-17T13:24:02Z")

</div>

Hi there! How to set a local variable from a name inside a controller method? In other words an equivalent to: @my\_object = MyObject.find(params\[:id\]) when I have only name = "my\_object" How to set it as an local v…

---

## [Numeric context of enum in Views](https://www.ruby-forum.com/t/numeric-context-of-enum-in-views/114525)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/numeric-context-of-enum-in-views/114525 "2007-09-17T13:24:01Z")

</div>

Hi, I have a select list of this fashion: edit\_patient.rhtml \<%= select ‘patient’, ‘status’, \[\[‘Unspecified’,1\], \[‘Researhing’,2\], \[‘Critical’,3\], \[‘Normal’,4\], \[‘Needs extra person’,5\], %\> I have enums defined in…

---

## [Missing helper](https://www.ruby-forum.com/t/missing-helper/114549)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/missing-helper/114549 "2007-09-17T13:23:58Z")

</div>

This is going to be an off the wall question simply because everything is working perfectly and no crashing, no nothing, just smooth sailing. However, in my development log I have noticed a error after every action th…

---

## [REST on Apache Tomcat](https://www.ruby-forum.com/t/rest-on-apache-tomcat/114663)

<div class="topic-metadata">

**Author:** [@Plack](https://www.ruby-forum.com/u/Plack)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/rest-on-apache-tomcat/114663 "2007-09-17T13:23:58Z")

</div>

Hello, I have the problem with the deployment of my Rails application on Tomcat. The first problem is that I was not able to use the acts\_as\_ferret plugin when creating the war file. I always got an “IO error – ferre…

---

## [Are there a few basic ways to do AJAX on Rails?](https://www.ruby-forum.com/t/are-there-a-few-basic-ways-to-do-ajax-on-rails/114593)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/are-there-a-few-basic-ways-to-do-ajax-on-rails/114593 "2007-09-17T13:23:51Z")

</div>

are there a few basic ways to do AJAX on Rails? or is it open ended… just like using MFC to write a Win32 app… you can do it any way you want. right now I see two ways to update content using AJAX on Rails: one is t…

---

## [How many Days, hours, minutes ago?](https://www.ruby-forum.com/t/how-many-days-hours-minutes-ago/114585)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/how-many-days-hours-minutes-ago/114585 "2007-09-17T13:23:50Z")

</div>

Is there a plugin or library that can output that information already? How would I also translate that into a non-English language? Is this something that’s already available in Ruby or Rails?

---

## [Controller inheritance and views inheritance](https://www.ruby-forum.com/t/controller-inheritance-and-views-inheritance/114661)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/controller-inheritance-and-views-inheritance/114661 "2007-09-17T13:23:50Z")

</div>

Hi I’m using controller inheritance and I’d like to have the views inherited from the ancestors controllers as well. It seems that in an inherited controller rails only looks for views in the current controller path …

---

## [We need some RoR developer volunteers for opensource RoR cms](https://www.ruby-forum.com/t/we-need-some-ror-developer-volunteers-for-opensource-ror-cms/114565)

<div class="topic-metadata">

**Author:** [@jeet\_ajay](https://www.ruby-forum.com/u/jeet_ajay)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/we-need-some-ror-developer-volunteers-for-opensource-ror-cms/114565 "2007-09-17T13:23:50Z")

</div>

Hi All I was looking for a active RoR based cms.but didn’t find anyone appealing. there are so many high class php cms systems but there is nothing great RoR cms systems out there whereas we have such a great system…

---

## [Secure RSS](https://www.ruby-forum.com/t/secure-rss/114559)

<div class="topic-metadata">

**Author:** [@dipeshbatheja](https://www.ruby-forum.com/u/dipeshbatheja)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/secure-rss/114559 "2007-09-17T13:23:49Z")

</div>

Hi I am trying to create a RSS feed in rails which requires authentication. Can somebody point me on how to add authentication to RSS feeds. Thanks

---

## [Freezing rails question](https://www.ruby-forum.com/t/freezing-rails-question/114656)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/freezing-rails-question/114656 "2007-09-17T13:23:40Z")

</div>

Does anyone know if freeze does anything else besides adding the directories under /vendor/rails and the RAILS\_GEM\_VERSION = entry in environments.rb?

---

## [Validate\_format\_of](https://www.ruby-forum.com/t/validate-format-of/114518)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/validate-format-of/114518 "2007-09-17T13:23:38Z")

</div>

I have the following code: validates\_format\_of :password, :with =\> /^\\w+$/, :message =\> ‘Password must be alphanumeric’, :on =\> :save In order to get that message to display itself, do I have to say “object.save!” or …

---

## [Will monit start my mongrel\_cluster?](https://www.ruby-forum.com/t/will-monit-start-my-mongrel-cluster/114649)

<div class="topic-metadata">

**Author:** [@Thomas\_Nichols](https://www.ruby-forum.com/u/Thomas_Nichols)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/will-monit-start-my-mongrel-cluster/114649 "2007-09-17T13:23:37Z")

</div>

Hi, I’m not sure if this would be better for the monit list – but this seems specifically a monit+mongrel\_cluster problem, so I’m hoping someone here may have seen this before. I’m having problems getting monit to st…

---

## [Keep sessions while switching domains](https://www.ruby-forum.com/t/keep-sessions-while-switching-domains/114645)

<div class="topic-metadata">

**Author:** [@migo](https://www.ruby-forum.com/u/migo)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/keep-sessions-while-switching-domains/114645 "2007-09-17T13:23:34Z")

</div>

Hello, Our rails app has several domains. We are now implementing a single https connection https://secure.domain.xx. All other domains need to switch to that new secure domain in certain circumstances. We only have…

---

## [Finder\_sql patch problem](https://www.ruby-forum.com/t/finder-sql-patch-problem/113932)

<div class="topic-metadata">

**Author:** [@Plack](https://www.ruby-forum.com/u/Plack)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/finder-sql-patch-problem/113932 "2007-09-17T13:23:33Z")

</div>

Hello, I have the finder\_sql problem and I found this patch http://dev.rubyonrails.org/ticket/7576; but I don’t know how to use this patch?? I copied all the changes into the correct files and restartet the server o…

---

## [Problems with HelperTestCase](https://www.ruby-forum.com/t/problems-with-helpertestcase/114564)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/problems-with-helpertestcase/114564 "2007-09-17T13:23:31Z")

</div>

Hi all, I wanted to test my helpers so I installed ZenTest and now I want to use HelperTestCase. I created a testcase: http://pastie.caboo.se/97432 But I get an NameError. Can somebody help me with fixing this? I edi…

---

## [WYMeditor](https://www.ruby-forum.com/t/wymeditor/114636)

<div class="topic-metadata">

**Author:** [@brunopreis](https://www.ruby-forum.com/u/brunopreis)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/wymeditor/114636 "2007-09-17T13:23:27Z")

</div>

Hi all, I installed WYMeditor via it’s plugin, but got an error on the js syntax of the boot file boot\_wym.js Does anyone here have installed it and knows how to fix it? It is a very nice web editor. Thks, Bruno R. …

---

## [Encryption](https://www.ruby-forum.com/t/encryption/114638)

<div class="topic-metadata">

**Author:** [@CSSSSdric\_H](https://www.ruby-forum.com/u/CSSSSdric_H)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/encryption/114638 "2007-09-17T13:23:27Z")

</div>

Hi I’m trying to encrypt the traffic between my rails app ( running as a service ) and a client application. I think I need a cryptography library but I don’t know which is the best. Could you give my some help / po…

---

## [Why does this XmlMarkup return blank?](https://www.ruby-forum.com/t/why-does-this-xmlmarkup-return-blank/114632)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/why-does-this-xmlmarkup-return-blank/114632 "2007-09-17T13:23:20Z")

</div>

Both of these methods are in the controller. The method is called with /.xml;directory. The route completes, I get XML Parsing Error: no element found Location: .xml;mytest Line Number 1, Column 1: def mytest respo…

---

## [Parent Child Relationship](https://www.ruby-forum.com/t/parent-child-relationship/114623)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/parent-child-relationship/114623 "2007-09-17T13:23:11Z")

</div>

class Event \< ActiveRecord::Base has\_many :categories end If I delete a category, it affects the events that were created before. How can make sure that event can still display it’s old category name? TIA.

---

## [Parameters and named url helpers](https://www.ruby-forum.com/t/parameters-and-named-url-helpers/114620)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/parameters-and-named-url-helpers/114620 "2007-09-17T13:23:07Z")

</div>

I’m struggling to understand how named\_url helpers translate hashes into parameters. I’m using RESTful routes, so I have helpers like: trackables\_url trackable\_url new\_trackable\_url If I pass options to trackables\_…

---

## [Getting a nil not allowed mapping error when trying to send](https://www.ruby-forum.com/t/getting-a-nil-not-allowed-mapping-error-when-trying-to-send/114617)

<div class="topic-metadata">

**Author:** [@nimms](https://www.ruby-forum.com/u/nimms)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/getting-a-nil-not-allowed-mapping-error-when-trying-to-send/114617 "2007-09-17T13:23:03Z")

</div>

Hi all, I’m trying to call a webservice using soap4r and I keep getting a MappingError “nil not allowed” I assume I’m not constructing my webservice call properly. I call the wsdl like this: class SMSMessage def in…

---

## [Forms with nested objects](https://www.ruby-forum.com/t/forms-with-nested-objects/114497)

<div class="topic-metadata">

**Author:** [@creativelogic](https://www.ruby-forum.com/u/creativelogic)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/forms-with-nested-objects/114497 "2007-09-17T13:21:55Z")

</div>

Hi, I’m having a problem trying to create a form that can populated nested objects. In my main object, WG, I have two lists of objects: A objects, and B objects. I want to display a form where I can select an arbit…

---

## [Simple login action help](https://www.ruby-forum.com/t/simple-login-action-help/114505)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 5\
**Last updated:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/simple-login-action-help/114505 "2007-09-17T13:21:47Z")

</div>

def do\_login @login\_u = params\[:username\] @login\_p = params\[:password\] @login\_ua == “admin” @login\_pa == “letmein” if @login\_u == @login\_ua && @password\_u == @password\_ua redirect\_to :action =\> ‘suc’ end if @logi…

---

## [\[ANN/ADV\] "Advancing With Rails", November 6-9, New Jersey](https://www.ruby-forum.com/t/ann-adv-advancing-with-rails-november-6-9-new-jersey/114492)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/ann-adv-advancing-with-rails-november-6-9-new-jersey/114492 "2007-09-17T13:21:43Z")

</div>

Hi everyone – I’m delighted to announce the “debut” of a brand-new course from Ruby Power and Light, LLC: Advancing With Rails November 6-9, 2007 Instructor: David A. Black Hosted by Ex…

---

## [Using ROR on Host Excellence web servers](https://www.ruby-forum.com/t/using-ror-on-host-excellence-web-servers/114608)

<div class="topic-metadata">

**Author:** [@hoochblues](https://www.ruby-forum.com/u/hoochblues)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/using-ror-on-host-excellence-web-servers/114608 "2007-09-17T13:18:16Z")

</div>

I am just learning ROR. It is working fine on my Windows XP desktop. Eventually I will want to migrate my ROR work to a host. Currently I use Host Excellence. My account with them is a Windows account. They run Apache…

---

## [P.132 of Agile Web book error?](https://www.ruby-forum.com/t/p-132-of-agile-web-book-error/114604)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/p-132-of-agile-web-book-error/114604 "2007-09-17T12:57:11Z")

</div>

p.132 of Agile Web book has these two lines… but it seems that they cause an error when “rake db:migrate” execute “alter table line\_items add constraint fk\_line\_item\_products foreign key (product\_id) references produc…

---

## ["how to" for documenting rails code?](https://www.ruby-forum.com/t/how-to-for-documenting-rails-code/114605)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 11:59am UTC](https://www.ruby-forum.com/t/how-to-for-documenting-rails-code/114605 "2007-09-17T11:59:11Z")

</div>

Can anyone point me at a guide for documenting your rails code? Ie how to format and produce some proper docs? The book i have (agile web dev with rails 2) says how to produce a version of the api but not your own s…

---

## [Rails deployment](https://www.ruby-forum.com/t/rails-deployment/114503)

<div class="topic-metadata">

**Author:** [@Plack](https://www.ruby-forum.com/u/Plack)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 10:13am UTC](https://www.ruby-forum.com/t/rails-deployment/114503 "2007-09-17T10:13:14Z")

</div>

Hello, I want to deploy my RoR application on a apache tomcat server. I found a workthrough at http://www.digitalsanctum.com/2007/07/24/jruby-deploying-a-rails-application-on-tomcat/ but I have problems with the gold…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1708)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1710)
