# Rails

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

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

---

## [Observer\_field - select form](https://www.ruby-forum.com/t/observer-field-select-form/105827)

<div class="topic-metadata">

**Author:** [@chil](https://www.ruby-forum.com/u/chil)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 1:51pm UTC](https://www.ruby-forum.com/t/observer-field-select-form/105827 "2007-06-05T13:51:30Z")

</div>

I want to load a form when a “select form” is changed. I have done this but it doesn’t work( i do not have an error but nothing change when i change the select list): in the view: \<% form\_tag :action =\> ‘update’, :id…

---

## [Observe\_field](https://www.ruby-forum.com/t/observe-field/105995)

<div class="topic-metadata">

**Author:** [@madhan](https://www.ruby-forum.com/u/madhan)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/observe-field/105995 "2007-06-05T13:45:32Z")

</div>

hi all, i have used observe\_field in my rhtml to select a hospital from a dropdown. how can i get the hospitals id in some other method with in a class. if i use params(…) method it returns nil value. guide me if an…

---

## [Preventing/validating model data changes on update](https://www.ruby-forum.com/t/preventing-validating-model-data-changes-on-update/105983)

<div class="topic-metadata">

**Author:** [@Nexos](https://www.ruby-forum.com/u/Nexos)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/preventing-validating-model-data-changes-on-update/105983 "2007-06-05T12:58:29Z")

</div>

Hi, I have a User model with a “name” attribute (and some others not shown here). I’d like to prevent name modification after the initial creation in the DB. Here is the code I used: class User \< ActiveRecord::Base …

---

## [Link\_to\_remote problem](https://www.ruby-forum.com/t/link-to-remote-problem/105861)

<div class="topic-metadata">

**Author:** [@nightdog](https://www.ruby-forum.com/u/nightdog)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 12:30pm UTC](https://www.ruby-forum.com/t/link-to-remote-problem/105861 "2007-06-05T12:30:08Z")

</div>

hey everyone I’m trying to implement a google map in my application using the ym4r framework. Accessing the action directly using the url /controller/action works fine. However, when i use link\_to\_remote or render\_c…

---

## [Is Cron/Rake My best Option?](https://www.ruby-forum.com/t/is-cron-rake-my-best-option/105987)

<div class="topic-metadata">

**Author:** [@Lynn\_Wallenstein](https://www.ruby-forum.com/u/Lynn_Wallenstein)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 10:49am UTC](https://www.ruby-forum.com/t/is-cron-rake-my-best-option/105987 "2007-06-05T10:49:56Z")

</div>

Hi I’m working on a site (www.istalkr.com) that ties together all your rss/atom feeds into a life stream. We are currently running a cron that calls a rake to import items into the feed. Is there anything you would r…

---

## [Rjs fade one image into another](https://www.ruby-forum.com/t/rjs-fade-one-image-into-another/105945)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 10:44am UTC](https://www.ruby-forum.com/t/rjs-fade-one-image-into-another/105945 "2007-06-05T10:44:50Z")

</div>

Hi, Has anyone got any suggestions on the best effect to use when fadding one image into another? Thanks Mark

---

## [RoR for a Large Scale App?](https://www.ruby-forum.com/t/ror-for-a-large-scale-app/145845)

<div class="topic-metadata">

**Author:** [@mojo.talantikite](https://www.ruby-forum.com/u/mojo.talantikite)\
**Replies:** 14\
**Last updated:** [June 5, 2007, 10:42am UTC](https://www.ruby-forum.com/t/ror-for-a-large-scale-app/145845 "2007-06-05T10:42:55Z")

</div>

I’ve seen discussion on this topic in the past, and was wondering what people’s feelings were in regards to the more recent releases? Mainly, could it be possible to build a web application on the scale of, say, Amazo…

---

## [How to cancel rendering in Rails](https://www.ruby-forum.com/t/how-to-cancel-rendering-in-rails/105977)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 7:12am UTC](https://www.ruby-forum.com/t/how-to-cancel-rendering-in-rails/105977 "2007-06-05T07:12:32Z")

</div>

Hello I develop a small search application in Ruby on Rails. I wonder how to cancel the rendering the view of that action method when the result is found. I want to display only one alert box and keeps the existing r…

---

## [Problem with pressing 'enter' in tinyMCE using firefox on ub](https://www.ruby-forum.com/t/problem-with-pressing-enter-in-tinymce-using-firefox-on-ub/105974)

<div class="topic-metadata">

**Author:** [@taiko](https://www.ruby-forum.com/u/taiko)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 6:53am UTC](https://www.ruby-forum.com/t/problem-with-pressing-enter-in-tinymce-using-firefox-on-ub/105974 "2007-06-05T06:53:17Z")

</div>

Hi, I hav a problem with tinyMCE. I used :convert\_newlines\_to\_brs =\> true, :force\_br\_newlines =\> true to add when user press enter. This works fine with IE and FireFox (running on window) but when press enter us…

---

## [Postgres gem -- LoadError](https://www.ruby-forum.com/t/postgres-gem-loaderror/105840)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 4:34am UTC](https://www.ruby-forum.com/t/postgres-gem-loaderror/105840 "2007-06-05T04:34:38Z")

</div>

I’m at a loss to explain why the postgres gem will not work on my new server. I’ve gotten it working on several other servers in the past. The major difference between then and now is that I’m using a newer version o…

---

## [My RMagick sucks under windowsXP](https://www.ruby-forum.com/t/my-rmagick-sucks-under-windowsxp/105970)

<div class="topic-metadata">

**Author:** [@Fredric](https://www.ruby-forum.com/u/Fredric)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 3:48am UTC](https://www.ruby-forum.com/t/my-rmagick-sucks-under-windowsxp/105970 "2007-06-05T03:48:51Z")

</div>

Hi,I plan to use rmagick for my rails app,however it can not work normally under windowsXP platform: I have installed ruby1.8.5,and then rmagick-1.14.1 and ImageMagick-6.3.0-7-Q8-windows-dll,which can be got from the …

---

## [Custom URL/path for map.resources?](https://www.ruby-forum.com/t/custom-url-path-for-map-resources/105960)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [June 5, 2007, 3:47am UTC](https://www.ruby-forum.com/t/custom-url-path-for-map-resources/105960 "2007-06-05T03:47:34Z")

</div>

Hi, what should I do if I want to customize/get rid of the controller name that’s part of the URL generated by default by map.resources ? What I mean is I would like : /posts/5 to become: /5 or: /blah/5 That must b…

---

## [Upgrading to rails 1.2.3 from 1.1.6 - problem with redirect\_](https://www.ruby-forum.com/t/upgrading-to-rails-1-2-3-from-1-1-6-problem-with-redirect/104397)

<div class="topic-metadata">

**Author:** [@dan.hatfield](https://www.ruby-forum.com/u/dan.hatfield)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 3:36am UTC](https://www.ruby-forum.com/t/upgrading-to-rails-1-2-3-from-1-1-6-problem-with-redirect/104397 "2007-06-05T03:36:29Z")

</div>

I’m trying to upgrdade from rails 1.1.6 to rails 1.2.3 and I’m running into a difference with redirect\_to that is causing a DoubleRenderError. Here’s my code (I’m using a variant of paranoid sql session store): befor…

---

## [AJAXifyng the forms without scaffolding?](https://www.ruby-forum.com/t/ajaxifyng-the-forms-without-scaffolding/105880)

<div class="topic-metadata">

**Author:** [@anusha18](https://www.ruby-forum.com/u/anusha18)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 3:06am UTC](https://www.ruby-forum.com/t/ajaxifyng-the-forms-without-scaffolding/105880 "2007-06-05T03:06:25Z")

</div>

Is there any way to validate the fields with using scaffolding technique??? And also how can the forms be AJAXified without the use of scaffolding??? any ideas?? pls do share them…

---

## [Javascript + rails](https://www.ruby-forum.com/t/javascript-rails/105968)

<div class="topic-metadata">

**Author:** [@hpacheco](https://www.ruby-forum.com/u/hpacheco)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 2:52am UTC](https://www.ruby-forum.com/t/javascript-rails/105968 "2007-06-05T02:52:24Z")

</div>

Hi, I have the following code for a google map event: @map.event\_init(@map,:click,“function(overlay,point) { if (overlay) { map.removeOverlay(overlay); document.getElementById(“latitude”).value=null; document.get…

---

## [Access session in models](https://www.ruby-forum.com/t/access-session-in-models/105886)

<div class="topic-metadata">

**Author:** [@kwi](https://www.ruby-forum.com/u/kwi)\
**Replies:** 4\
**Last updated:** [June 5, 2007, 2:44am UTC](https://www.ruby-forum.com/t/access-session-in-models/105886 "2007-06-05T02:44:23Z")

</div>

Hi guys, I have a little problem, i want to access the session in a model. I have a variable of that model in session and i want to keep my session update after each modification, and i want to centralize that in the …

---

## [Access to acts\_as\_threaded](https://www.ruby-forum.com/t/access-to-acts-as-threaded/105934)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 1:18am UTC](https://www.ruby-forum.com/t/access-to-acts-as-threaded/105934 "2007-06-05T01:18:26Z")

</div>

Hi, I have trouble accessing the acts\_as\_threaded plugin at http://railtie.net looks like the site is down. Does someone have a copy? or knows an alternative repository for the plugin? please you can zip it to to t…

---

## [Very odd RoR behavior. Something is wrong here](https://www.ruby-forum.com/t/very-odd-ror-behavior-something-is-wrong-here/105959)

<div class="topic-metadata">

**Author:** [@Adam\_Klunick](https://www.ruby-forum.com/u/Adam_Klunick)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 1:13am UTC](https://www.ruby-forum.com/t/very-odd-ror-behavior-something-is-wrong-here/105959 "2007-06-05T01:13:18Z")

</div>

I have 2 different actions for a single controller (show and shirt\_report). Each action has its own view. I have included the code for each below. The problem is that I am receiving an error when generating shirt\_r…

---

## [Install Plugin](https://www.ruby-forum.com/t/install-plugin/105958)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 4\
**Last updated:** [June 5, 2007, 12:20am UTC](https://www.ruby-forum.com/t/install-plugin/105958 "2007-06-05T00:20:06Z")

</div>

Hi I am new at RoR and don’t really have much of a programming background. I would like to know how to install a plugin. For example, I’ev downloaded the upload\_column0.2.1.zip file from ruby forge and placed in in m…

---

## [RoR for a Large Scale App?](https://www.ruby-forum.com/t/ror-for-a-large-scale-app/105953)

<div class="topic-metadata">

**Author:** [@mojo.talantikite](https://www.ruby-forum.com/u/mojo.talantikite)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/ror-for-a-large-scale-app/105953 "2007-06-04T22:48:39Z")

</div>

I’ve seen discussion on this topic in the past, and was wondering what people’s feelings were in regards to the more recent releases? Mainly, could it be possible to build a web application on the scale of, say, Amazo…

---

## [Overcoming security via typing in the URL?](https://www.ruby-forum.com/t/overcoming-security-via-typing-in-the-url/105936)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 4\
**Last updated:** [June 4, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/overcoming-security-via-typing-in-the-url/105936 "2007-06-04T22:17:34Z")

</div>

I’m creating a registration page where parents register their children for an event. I have each parent give me a username and password to login and register their children. Parents also have the ability to come bac…

---

## [Wiki plugin page hacked](https://www.ruby-forum.com/t/wiki-plugin-page-hacked/105949)

<div class="topic-metadata">

**Author:** [@Scott\_Sehlhorst](https://www.ruby-forum.com/u/Scott_Sehlhorst)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/wiki-plugin-page-hacked/105949 "2007-06-04T22:06:33Z")

</div>

no idea who manages the wiki, but my guess is that he or she reads this group, or someone who reads this knows the right people. the plugin page on the wiki has been spammed/hacked. http://wiki.rubyonrails.org/rails/…

---

## [In\_place\_editor customization](https://www.ruby-forum.com/t/in-place-editor-customization/105941)

<div class="topic-metadata">

**Author:** [@gabordemeter](https://www.ruby-forum.com/u/gabordemeter)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 10:00pm UTC](https://www.ruby-forum.com/t/in-place-editor-customization/105941 "2007-06-04T22:00:23Z")

</div>

I’ve just came across the in\_place\_editor function (before I was using rjs templatesfor showing / closing edit-in-place type AJAX forms). I’d like to make some changes to the html the in\_place\_editor function outputs …

---

## [RecordNotFound - I'm not understanding the](https://www.ruby-forum.com/t/recordnotfound-im-not-understanding-the/105937)

<div class="topic-metadata">

**Author:** [@Big\_Dave\_S](https://www.ruby-forum.com/u/Big_Dave_S)\
**Replies:** 5\
**Last updated:** [June 4, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/recordnotfound-im-not-understanding-the/105937 "2007-06-04T21:27:10Z")

</div>

Hello! I’m new to rails ad ActiveRecord, and have a very basic problem. I have a very basic rails app, which I want to contain computers, and notes. Each computer has associated notes. I’m getting an error I’m not…

---

## [Text\_field\_with\_auto\_complete Vs a browsers autocomplete fun](https://www.ruby-forum.com/t/text-field-with-auto-complete-vs-a-browsers-autocomplete-fun/104627)

<div class="topic-metadata">

**Author:** [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Replies:** 6\
**Last updated:** [June 4, 2007, 9:14pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-vs-a-browsers-autocomplete-fun/104627 "2007-06-04T21:14:07Z")

</div>

In the demo at http://demo.script.aculo.us/ajax/autocompleter\_customized the input firld generated by text\_field\_with\_auto\_complete has an autocomplete attribute set to off, which stops the browser using it’s own auto…

---

## [RJS from 1.1.6 to 1.2.x](https://www.ruby-forum.com/t/rjs-from-1-1-6-to-1-2-x/105943)

<div class="topic-metadata">

**Author:** [@taq](https://www.ruby-forum.com/u/taq)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/rjs-from-1-1-6-to-1-2-x/105943 "2007-06-04T21:09:34Z")

</div>

Hi there. I have an application who was working fine with 1.1.6. When I upgraded to 1.2.3, something weird happened with two RJS actions there. The code returned from the RJS was not working anymore. To make a small …

---

## [Helpers in mailing templates](https://www.ruby-forum.com/t/helpers-in-mailing-templates/105935)

<div class="topic-metadata">

**Author:** [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/helpers-in-mailing-templates/105935 "2007-06-04T20:48:00Z")

</div>

i’m having a problem using custom helpers in mailing templates. because action mailer never uses a controller it doesn’t inherit the helper module and i sadly can also not use the helpers from the controller than call…

---

## [Videos of railconf?](https://www.ruby-forum.com/t/videos-of-railconf/105938)

<div class="topic-metadata">

**Author:** [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/videos-of-railconf/105938 "2007-06-04T20:41:59Z")

</div>

does anyone have the info on video from railsconf? i wasn’t able to attend but the videos from last summer are basically the reason i got into rails. i’m sure they video taped them. the topics sound really cool and…

---

## [Updating scaffolding form field](https://www.ruby-forum.com/t/updating-scaffolding-form-field/105932)

<div class="topic-metadata">

**Author:** [@dafritz](https://www.ruby-forum.com/u/dafritz)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/updating-scaffolding-form-field/105932 "2007-06-04T20:20:39Z")

</div>

This may be a basic question, but i have an “image” field in a “news” table, and have a form that uploads the image. Following the upload, the “new” action is called in the rails scaffolding so i can add the rest of t…

---

## [How do you use Rails Framework for classes in /lib](https://www.ruby-forum.com/t/how-do-you-use-rails-framework-for-classes-in-lib/105933)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 0\
**Last updated:** [June 4, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/how-do-you-use-rails-framework-for-classes-in-lib/105933 "2007-06-04T20:20:39Z")

</div>

Hi, I create a library class in the /lib directory. When my Rails app goes to use it, I get an error saying that pluralize is an unknown function. How can I get my library class linked into all of the Rails Framewo…

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

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