# Rails

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

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

---

## [NoMethodError after upgrading from 1.1.6 to 1.2.3](https://www.ruby-forum.com/t/nomethoderror-after-upgrading-from-1-1-6-to-1-2-3/122240)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 13\
**Last updated:** [December 7, 2007, 9:46am UTC](https://www.ruby-forum.com/t/nomethoderror-after-upgrading-from-1-1-6-to-1-2-3/122240 "2007-12-07T09:46:45Z")

</div>

After upgrading from Rails 1.1.6 to 1.2.3 I receive a NoMethodError when loading a particular page in my app (see Parked at Loopia). Here’s what I know about it: -The issue occurs in the development environment, but …

---

## [REST + Pagination + Caching](https://www.ruby-forum.com/t/rest-pagination-caching/122330)

<div class="topic-metadata">

**Author:** [@kayros](https://www.ruby-forum.com/u/kayros)\
**Replies:** 1\
**Last updated:** [December 7, 2007, 9:36am UTC](https://www.ruby-forum.com/t/rest-pagination-caching/122330 "2007-12-07T09:36:12Z")

</div>

Hi all, I want to have a RESTful resource (because I need to use atom\_feed\_builder). For the sake of the exemple, let say I need : map.resources :news I want to be able to list all the news in index action, paginate …

---

## [How can I parse Soap envelope to get values in SOAP header?](https://www.ruby-forum.com/t/how-can-i-parse-soap-envelope-to-get-values-in-soap-header/122399)

<div class="topic-metadata">

**Author:** [@suparna](https://www.ruby-forum.com/u/suparna)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 9:12am UTC](https://www.ruby-forum.com/t/how-can-i-parse-soap-envelope-to-get-values-in-soap-header/122399 "2007-12-07T09:12:09Z")

</div>

I have incoming SOAP request header with me. I want to parse it so as to read the values in header. The envelope i have is : \<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsd=“h…

---

## [For Loop](https://www.ruby-forum.com/t/for-loop/122128)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 7, 2007, 8:58am UTC](https://www.ruby-forum.com/t/for-loop/122128 "2007-12-07T08:58:44Z")

</div>

If I have a loop, let’s say: \<% for user in @users %\> \<%= link\_to "#{user.his\_uid}", :action =\> 'show', :id =\> user %\> \<%= link\_to "#{user.his\_uid}", :action =\> 'show', :id =\> user %\> \<% end %\> How can I …

---

## [Applciation configuration for imagemagick](https://www.ruby-forum.com/t/applciation-configuration-for-imagemagick/122393)

<div class="topic-metadata">

**Author:** [@halligalli](https://www.ruby-forum.com/u/halligalli)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:39am UTC](https://www.ruby-forum.com/t/applciation-configuration-for-imagemagick/122393 "2007-12-07T08:39:28Z")

</div>

Hi, I would like to specify a path for my imagemagick application, but I coldn’t figure out how to do it. That’s what I got so far at the environment.rp # Include your application configuration below IMAGE\_MAGICK\_P…

---

## [Autocomplete - returning id that has been matched?](https://www.ruby-forum.com/t/autocomplete-returning-id-that-has-been-matched/122360)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 3\
**Last updated:** [December 7, 2007, 8:25am UTC](https://www.ruby-forum.com/t/autocomplete-returning-id-that-has-been-matched/122360 "2007-12-07T08:25:47Z")

</div>

Hi, Has anyone got any suggestions or know of any examples where people have got an autocomplete field to return the id of the row it has matched on. I have been attempting to come up with a way to do this with the ai…

---

## [How to set authentication to the WEBric server?](https://www.ruby-forum.com/t/how-to-set-authentication-to-the-webric-server/122388)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:05am UTC](https://www.ruby-forum.com/t/how-to-set-authentication-to-the-webric-server/122388 "2007-12-07T08:05:28Z")

</div>

hi All, i want to set authentication to the WEBric server. do u know how to achieve this. (simply i want is when i hosed the site in my normal server before going to the index page in my ROR file it should ask for th…

---

## [Extending core classes?](https://www.ruby-forum.com/t/extending-core-classes/122267)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [December 7, 2007, 6:57am UTC](https://www.ruby-forum.com/t/extending-core-classes/122267 "2007-12-07T06:57:05Z")

</div>

I want to add some functionality to DateTime and stuff. I’m not sure how I would go about extending it though…would I modify the class itself in the core, extend it in another class, etc? Also, I don’t see where I’d p…

---

## [Install problems](https://www.ruby-forum.com/t/install-problems/122385)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 7, 2007, 6:16am UTC](https://www.ruby-forum.com/t/install-problems/122385 "2007-12-07T06:16:46Z")

</div>

I tried to follow the instructions on the web for mac OSX but got this error ./mkconfig.rb:191: \[BUG\] Segmentation fault ruby 1.8.6 (2007-03-13) \[i686-darwin9.1.0\] make: \*\*\* \[.rbconfig.time\] Abort trap

---

## [Associations counting](https://www.ruby-forum.com/t/associations-counting/122384)

<div class="topic-metadata">

**Author:** [@Ranieri\_T](https://www.ruby-forum.com/u/Ranieri_T)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 5:36am UTC](https://www.ruby-forum.com/t/associations-counting/122384 "2007-12-07T05:36:27Z")

</div>

Hi, I’m using the models, User, Item, and Add. Add belongs\_to User (with counter\_cache enabled) Add belongs\_to Item (also, with counter\_cache enabled) User has\_many adds, and has\_many items through adds Item has\_man…

---

## [Passing values trough models](https://www.ruby-forum.com/t/passing-values-trough-models/122280)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 2\
**Last updated:** [December 7, 2007, 5:03am UTC](https://www.ruby-forum.com/t/passing-values-trough-models/122280 "2007-12-07T05:03:11Z")

</div>

Hi all, i have a form and the form is validating correctly. the relevant table to this model has a coloum to store a some text(a auto generated text.). to store text to this coloum i am not giving it from a normal fo…

---

## [Attachment\_fu : Possible to delete record if no file present?](https://www.ruby-forum.com/t/attachment-fu-possible-to-delete-record-if-no-file-present/119514)

<div class="topic-metadata">

**Author:** [@ebrad](https://www.ruby-forum.com/u/ebrad)\
**Replies:** 2\
**Last updated:** [December 7, 2007, 3:42am UTC](https://www.ruby-forum.com/t/attachment-fu-possible-to-delete-record-if-no-file-present/119514 "2007-12-07T03:42:28Z")

</div>

I’m using Attachment fu to allow file attachments to my TimeOff model (for an employee program). An attachment is only optional for the app, so some TimeOffs will have files attached and some won’t. The problem is I …

---

## [Capitalizing an attribute - view, controller, or model?](https://www.ruby-forum.com/t/capitalizing-an-attribute-view-controller-or-model/122376)

<div class="topic-metadata">

**Author:** [@tomn](https://www.ruby-forum.com/u/tomn)\
**Replies:** 4\
**Last updated:** [December 7, 2007, 2:59am UTC](https://www.ruby-forum.com/t/capitalizing-an-attribute-view-controller-or-model/122376 "2007-12-07T02:59:11Z")

</div>

The users will enter students names on forms. How do I intercept the first and last names and have them stored capitalized when the user inputs them in lower case? Do I mess with the form html, skipping form\_for hel…

---

## [Migrations: default value where there shouldn't be one!](https://www.ruby-forum.com/t/migrations-default-value-where-there-shouldnt-be-one/122238)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 8\
**Last updated:** [December 7, 2007, 12:22am UTC](https://www.ruby-forum.com/t/migrations-default-value-where-there-shouldnt-be-one/122238 "2007-12-07T00:22:38Z")

</div>

Hi all (First of all: the following post is not that long as it might seem, it has quite much code excerpts that won’t be of interest… so thanks for reading it anyway :wink: ) I have a very strange problem. I just up…

---

## [Amazon API - How to display in view](https://www.ruby-forum.com/t/amazon-api-how-to-display-in-view/122158)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/amazon-api-how-to-display-in-view/122158 "2007-12-06T23:56:11Z")

</div>

I am new to Ruby and am pretty sure that this has a very easy solution. I am querying an Amazon wishlist but am not sure how to display all of the results in the view. Following is the code with comments. Any help …

---

## [Ruby on rails + Textmate](https://www.ruby-forum.com/t/ruby-on-rails-textmate/122148)

<div class="topic-metadata">

**Author:** [@DCDCDC](https://www.ruby-forum.com/u/DCDCDC)\
**Replies:** 4\
**Last updated:** [December 6, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-textmate/122148 "2007-12-06T23:27:58Z")

</div>

So I saw that screencast using Textmate and RoR, and it looks fun…is there a way to use Textmate with RoR projects that are online?

---

## [Stange behaviour with internet explorer](https://www.ruby-forum.com/t/stange-behaviour-with-internet-explorer/122361)

<div class="topic-metadata">

**Author:** [@chillicoder](https://www.ruby-forum.com/u/chillicoder)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/stange-behaviour-with-internet-explorer/122361 "2007-12-06T23:06:52Z")

</div>

Hi! I’m developing an application with Rails 1.2.6 and I’ve facing a weird problem. In a form, I’m using link\_to\_function that is aggregating a :partial, the code is as follows: \<%= render :partial =\> 'bonifi…

---

## [New Amazon RoR site](https://www.ruby-forum.com/t/new-amazon-ror-site/122323)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 1\
**Last updated:** [December 6, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/new-amazon-ror-site/122323 "2007-12-06T23:06:52Z")

</div>

Does anyone have a link to the new charity site that Amazon launched that was build with RoR? I can’t seem to find it. Thanks! Mike

---

## [\[ANN\] fixture\_dependencies plugin](https://www.ruby-forum.com/t/ann-fixture-dependencies-plugin/122358)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/ann-fixture-dependencies-plugin/122358 "2007-12-06T22:51:25Z")

</div>

fixture\_dependencies is a plugin that changes the way Rails uses fixtures in the following ways: Fixtures can specify associations instead of foreign keys Supports belongs\_to, has\_many, has\_one, and habtm association…

---

## [Email working](https://www.ruby-forum.com/t/email-working/122350)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/email-working/122350 "2007-12-06T22:46:22Z")

</div>

has anybody actually gotten to send email working? i tried putting this in my environments.rb file, and the server will not start with it now. i can remove the code and it will, i am on vista home premium. i have u…

---

## [Rake rdoc issue](https://www.ruby-forum.com/t/rake-rdoc-issue/122347)

<div class="topic-metadata">

**Author:** [@stephanie](https://www.ruby-forum.com/u/stephanie)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/rake-rdoc-issue/122347 "2007-12-06T22:41:31Z")

</div>

When I run “rake doc:app” I receive this error message. rake aborted! Don’t know how to build task ‘doc/README\_FOR\_APP’ Any Ideas? Thanks in advance. -Stephanie

---

## [Ruby on Rails Mailing List App](https://www.ruby-forum.com/t/ruby-on-rails-mailing-list-app/122356)

<div class="topic-metadata">

**Author:** [@Titus](https://www.ruby-forum.com/u/Titus)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-mailing-list-app/122356 "2007-12-06T22:39:45Z")

</div>

Hey everyone. I am pretty new to Ruby on Rails and love the tech! I am looking for an excellent open source, or for sale application that can manage Mailing lists using Ruby on Rails. Any ideas? I also need an exc…

---

## [Could not find RubyGem activesupport after RadRail upgrade](https://www.ruby-forum.com/t/could-not-find-rubygem-activesupport-after-radrail-upgrade/122355)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/could-not-find-rubygem-activesupport-after-radrail-upgrade/122355 "2007-12-06T22:22:52Z")

</div>

Hi, this topic might have been discussed but I can’t get over it. I had RadRails IDE installed in this machine working fine. I had to reinstall so I guess I got now a new version. Now I can’t create a Rails project c…

---

## [Nested map.resources no longer working with Rails 2 RC](https://www.ruby-forum.com/t/nested-map-resources-no-longer-working-with-rails-2-rc/122352)

<div class="topic-metadata">

**Author:** [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/nested-map-resources-no-longer-working-with-rails-2-rc/122352 "2007-12-06T21:46:22Z")

</div>

I have the following routes setup: map.resources :designs, :has\_many =\> :notes map.resources :designs do |designs| designs.resources :notes, :has\_many =\> :comments designs.resources :notes do |notes| notes.resources…

---

## [Geeting full path name of a file](https://www.ruby-forum.com/t/geeting-full-path-name-of-a-file/122324)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 5\
**Last updated:** [December 6, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/geeting-full-path-name-of-a-file/122324 "2007-12-06T21:25:15Z")

</div>

Hello all, how can i get the full path name of a file.like i have file called “example.csv”. in "D " drive . when i am using IE with rails i am geeting the full path name .but when i am using it with firefox i am j…

---

## [Ruby on Rails e-learning solution](https://www.ruby-forum.com/t/ruby-on-rails-e-learning-solution/116831)

<div class="topic-metadata">

**Author:** [@troberts](https://www.ruby-forum.com/u/troberts)\
**Replies:** 5\
**Last updated:** [December 6, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-e-learning-solution/116831 "2007-12-06T21:19:22Z")

</div>

Does anyone know of an e-learning solution based on Ruby on Rails besides digital seed?

---

## [Ferret difference between site and console](https://www.ruby-forum.com/t/ferret-difference-between-site-and-console/122333)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 1\
**Last updated:** [December 6, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/ferret-difference-between-site-and-console/122333 "2007-12-06T21:00:38Z")

</div>

I can’t figure out why this is, in a controller I have: @results = Group.paginated\_search(“Woot”, 1) render :text =\> “#{@results.size}” this results in 1, which is incorrect In the console I do the same thing: @resu…

---

## [HMT Help](https://www.ruby-forum.com/t/hmt-help/122349)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/hmt-help/122349 "2007-12-06T20:51:17Z")

</div>

Hello, I’ve been asked to create an admin tool for an existing project. There are 2 tables that I need to work with all the time in this tool: displays and categories. These two tables have a many to many relationshi…

---

## [Confused setting up relationships](https://www.ruby-forum.com/t/confused-setting-up-relationships/122334)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/confused-setting-up-relationships/122334 "2007-12-06T20:39:23Z")

</div>

Hi everyone, I am working on a new project which will implement a bracket based tournament system, like the NCAA finals. The entrants will be assigned to brackets, users will vote, the winner goes on, the looser goe…

---

## [Canceling execution of parent method](https://www.ruby-forum.com/t/canceling-execution-of-parent-method/122345)

<div class="topic-metadata">

**Author:** [@jawgaping](https://www.ruby-forum.com/u/jawgaping)\
**Replies:** 0\
**Last updated:** [December 6, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/canceling-execution-of-parent-method/122345 "2007-12-06T20:37:12Z")

</div>

I’m trying to write sort of a short-and-sweet authentication permissions system. As it is right now, I know how I think I want it to work but I’m having trouble making it escape the controller action that was running …

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

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