# Rails

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

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

---

## [Stack level too deep with actionmailer](https://www.ruby-forum.com/t/stack-level-too-deep-with-actionmailer/64543)

<div class="topic-metadata">

**Author:** [@chubbard](https://www.ruby-forum.com/u/chubbard)\
**Replies:** 6\
**Last updated:** [March 2, 2007, 8:08am UTC](https://www.ruby-forum.com/t/stack-level-too-deep-with-actionmailer/64543 "2007-03-02T08:08:11Z")

</div>

HI, Anytime I try to send emails with actionmailer I get a stack level too deep SystemStackError. There were several other posts related to stack overflows, but none of them invovled actionmailer. I’m using some p…

---

## [Dumping Rails configuration](https://www.ruby-forum.com/t/dumping-rails-configuration/87395)

<div class="topic-metadata">

**Author:** [@qertoip](https://www.ruby-forum.com/u/qertoip)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 7:37am UTC](https://www.ruby-forum.com/t/dumping-rails-configuration/87395 "2007-03-02T07:37:18Z")

</div>

How to access all configuration settings from environment.rb and (for example) development.rb from a running Rails application? I want to do something like: \<%= Rails.whole\_configuration\_hash.inspect %\>

---

## [Implement Message console](https://www.ruby-forum.com/t/implement-message-console/86767)

<div class="topic-metadata">

**Author:** [@Rails\_junkie](https://www.ruby-forum.com/u/Rails_junkie)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 7:03am UTC](https://www.ruby-forum.com/t/implement-message-console/86767 "2007-03-02T07:03:35Z")

</div>

What would be the best way to implement Message console in RoR? What I am trying to accomplish is to broadcast all the events for user activity for a session in a comsole DIV. e.g. If usr deleted something, it would s…

---

## [Ruby/Rails positions in SF Bay Area](https://www.ruby-forum.com/t/ruby-rails-positions-in-sf-bay-area/87393)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 6:59am UTC](https://www.ruby-forum.com/t/ruby-rails-positions-in-sf-bay-area/87393 "2007-03-02T06:59:43Z")

</div>

Hi all, I know lots of talented people read this forum. So for all those out there looking for a Rails job in the bay area, my company is looking to hire Ruby/RoR people. If you’re interested, here’s all the details: …

---

## [Render\_to\_string followed by render issues](https://www.ruby-forum.com/t/render-to-string-followed-by-render-issues/87389)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 6:49am UTC](https://www.ruby-forum.com/t/render-to-string-followed-by-render-issues/87389 "2007-03-02T06:49:57Z")

</div>

All, I have an action where I do a render\_to\_string and then a final render is done to send data back from the action. Here’s the action: def print\_quote …some stuff… begin File.open(pdfgen.xfdf\_file, "w") do |f|…

---

## [RESTful multiple objects via one form](https://www.ruby-forum.com/t/restful-multiple-objects-via-one-form/87362)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 3\
**Last updated:** [March 2, 2007, 6:06am UTC](https://www.ruby-forum.com/t/restful-multiple-objects-via-one-form/87362 "2007-03-02T06:06:33Z")

</div>

I’ve looked at all the tutorials on how to create multiple objects of the same type with one form. However, I cannot get it to work with my REST app. This is what I have tried: ----- Controller --------- ‘new’ action…

---

## [Calling a helper based on dynamically created string](https://www.ruby-forum.com/t/calling-a-helper-based-on-dynamically-created-string/87384)

<div class="topic-metadata">

**Author:** [@Mike\_Zornek](https://www.ruby-forum.com/u/Mike_Zornek)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 4:51am UTC](https://www.ruby-forum.com/t/calling-a-helper-based-on-dynamically-created-string/87384 "2007-03-02T04:51:29Z")

</div>

You know how when you are using the new resource features in Rails 1.2 it will create all these helper methods for you. Like if I had a resource for my Comment class I’d get comments\_url, comments\_path, comment\_path…

---

## [SOLVED: Re: PostgreSQL primary (sequence) key issue](https://www.ruby-forum.com/t/solved-re-postgresql-primary-sequence-key-issue/87383)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 4:25am UTC](https://www.ruby-forum.com/t/solved-re-postgresql-primary-sequence-key-issue/87383 "2007-03-02T04:25:28Z")

</div>

Hi, this one has finally been put to bed!!! – Regards Andrew

---

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

<div class="topic-metadata">

**Author:** [@zukjimote](https://www.ruby-forum.com/u/zukjimote)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 3:54am UTC](https://www.ruby-forum.com/t/library-require/87145 "2007-03-02T03:54:21Z")

</div>

I want to use the library ‘rubyful\_soup’ (Rubyful Soup: "The brush has got entangled in it!") Using ‘gem install rubyful\_soup’ command, I installed the library. The library is installed at /var/lib/gems/1.8/gems/. Wh…

---

## [OASIS Symposium 2007 - eBusiness and Open Standards](https://www.ruby-forum.com/t/oasis-symposium-2007-ebusiness-and-open-standards/87376)

<div class="topic-metadata">

**Author:** [@Symposium\_2007](https://www.ruby-forum.com/u/Symposium_2007)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 2:48am UTC](https://www.ruby-forum.com/t/oasis-symposium-2007-ebusiness-and-open-standards/87376 "2007-03-02T02:48:20Z")

</div>

OASIS Symposium 2007. eBusiness and Open Standards: Understanding the Facts, Fiction, and Future. Being held 15 - 20 April at the Marriott Mission Valley, San Diego, CA. $100 Discount expires March 19th! This year’s …

---

## [Gruff and rbgsl conflict](https://www.ruby-forum.com/t/gruff-and-rbgsl-conflict/87076)

<div class="topic-metadata">

**Author:** [@shin\_e](https://www.ruby-forum.com/u/shin_e)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 2:46am UTC](https://www.ruby-forum.com/t/gruff-and-rbgsl-conflict/87076 "2007-03-02T02:46:19Z")

</div>

I cannot get the server running with gruff and rbgsl together. require ‘gruff’ require ‘rbgsl’ If I have these two in either environment.rb or anywhere else the server quits with the following. The server runs fine w…

---

## [Can't set id on objects?](https://www.ruby-forum.com/t/cant-set-id-on-objects/87373)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 2:07am UTC](https://www.ruby-forum.com/t/cant-set-id-on-objects/87373 "2007-03-02T02:07:16Z")

</div>

I’m revamping an app I wrote a couple months ago and have just discovered that I cannot set the id of new or existing objects. \[aegis:~\] ryan% cd /tmp/ \[aegis:/tmp\] ryan% rails test \[aegis:/tmp\] ryan% cd test \[aegis…

---

## [Returning to a view after completing an action](https://www.ruby-forum.com/t/returning-to-a-view-after-completing-an-action/87170)

<div class="topic-metadata">

**Author:** [@macarthy](https://www.ruby-forum.com/u/macarthy)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 1:27am UTC](https://www.ruby-forum.com/t/returning-to-a-view-after-completing-an-action/87170 "2007-03-02T01:27:14Z")

</div>

Newbie question Hi there I have links that goes to my edit address form in several views. Does RoR have any clever helpers/ways to return my user to the originating view when they have finished with the edit form ???…

---

## [Localisation - Looking for a straight-forward solution](https://www.ruby-forum.com/t/localisation-looking-for-a-straight-forward-solution/81367)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 8\
**Last updated:** [March 2, 2007, 12:50am UTC](https://www.ruby-forum.com/t/localisation-looking-for-a-straight-forward-solution/81367 "2007-03-02T00:50:09Z")

</div>

Hello there. I’m looking for a localisation plugin that is: easy to use (like java’s ressource bundle for instance) flexible enough\* fast well documented \*My requirements in detail: I want to take care of my databa…

---

## [Deploy without SVN](https://www.ruby-forum.com/t/deploy-without-svn/87351)

<div class="topic-metadata">

**Author:** [@seanstewart](https://www.ruby-forum.com/u/seanstewart)\
**Replies:** 4\
**Last updated:** [March 2, 2007, 12:09am UTC](https://www.ruby-forum.com/t/deploy-without-svn/87351 "2007-03-02T00:09:04Z")

</div>

I want to deploy my app without using SVN. Any ideas?

---

## [Need People with "Ruby on Rails" skills](https://www.ruby-forum.com/t/need-people-with-ruby-on-rails-skills/87164)

<div class="topic-metadata">

**Author:** [@Anand\_Mohan](https://www.ruby-forum.com/u/Anand_Mohan)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 12:04am UTC](https://www.ruby-forum.com/t/need-people-with-ruby-on-rails-skills/87164 "2007-03-02T00:04:03Z")

</div>

We are looking for people who have good skills in “Ruby on Rails” web framework. We have few projects that requires these skills. We are looking for people in Virginia, USA and also in India. Please email me and send…

---

## [How to extend the page element in RJS](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125)

<div class="topic-metadata">

**Author:** [@franee](https://www.ruby-forum.com/u/franee)\
**Replies:** 2\
**Last updated:** [March 1, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/how-to-extend-the-page-element-in-rjs/87125 "2007-03-01T23:57:01Z")

</div>

Hi, How can I extend the page element in the RJS template? Thanks, /franee

---

## [FastCGI and Apache. Anybody know what can cause this error?](https://www.ruby-forum.com/t/fastcgi-and-apache-anybody-know-what-can-cause-this-error/87352)

<div class="topic-metadata">

**Author:** [@igotimac](https://www.ruby-forum.com/u/igotimac)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/fastcgi-and-apache-anybody-know-what-can-cause-this-error/87352 "2007-03-01T23:18:38Z")

</div>

Does anybody know what could possibly be causing my error? Somehow action\_controller got into a state where it was retuning not found for about 4 out of every 5 requests, seemingly arbitrarily. Has anybody else ever e…

---

## [RoR: Torrent Tracker](https://www.ruby-forum.com/t/ror-torrent-tracker/87347)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/ror-torrent-tracker/87347 "2007-03-01T23:04:48Z")

</div>

Hello their, I managed to find torrent tracker made in RoR language, now I downloaded and trying to run it, but I get error saying: Could not find RubyGem bencode (\>= 0.0.0) I don’t know where i can get the bencode, …

---

## [SELECTION LIST with local variable](https://www.ruby-forum.com/t/selection-list-with-local-variable/87343)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/selection-list-with-local-variable/87343 "2007-03-01T22:36:07Z")

</div>

Hello, Is there a way to use the Rails select list with a local variable that isn’t tied to any models? Here is what I mean: \<%= select(@name, %w{Joe Fred Arnold}) %\> It gives this error: wrong number of arguments …

---

## [Association extensions - has\_one](https://www.ruby-forum.com/t/association-extensions-has-one/87342)

<div class="topic-metadata">

**Author:** [@qwan](https://www.ruby-forum.com/u/qwan)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/association-extensions-has-one/87342 "2007-03-01T22:30:46Z")

</div>

Hi, I’m struggling with something that must be very common pattern, and want to do it the correct rails/ruby way but am a bit dense ! I have users - an admin user, registered users and a guest user (using ModelSecuri…

---

## [Correct URLs for routes with subdomain condition?](https://www.ruby-forum.com/t/correct-urls-for-routes-with-subdomain-condition/87340)

<div class="topic-metadata">

**Author:** [@kris](https://www.ruby-forum.com/u/kris)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/correct-urls-for-routes-with-subdomain-condition/87340 "2007-03-01T21:39:41Z")

</div>

Hi, I’m using Dan W.'s request routing plugin and I have a route set up as: map.user “/:name/:action”, :name =\> ‘action’, :controller =\> “user”, :conditions =\> { :subdomain =\> ‘id’ } Now it works when I go to id.doma…

---

## [Reducing the length of stupid Textfield](https://www.ruby-forum.com/t/reducing-the-length-of-stupid-textfield/87209)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [March 1, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/reducing-the-length-of-stupid-textfield/87209 "2007-03-01T21:31:40Z")

</div>

Is it possible to reduce the length of the text field in a form? I used :size =\> 5, it does not reduce the size of text field shown on the screen. It is very long. TIA.

---

## [Validating login form](https://www.ruby-forum.com/t/validating-login-form/87338)

<div class="topic-metadata">

**Author:** [@rubysharma](https://www.ruby-forum.com/u/rubysharma)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/validating-login-form/87338 "2007-03-01T21:11:12Z")

</div>

Hi, when i submit form with blank username and password its not showing errors. its only showing unsuccessful why?. by the by how to validate html forms with out atbase link… Thanks in advance… login.rhtml \<%= er…

---

## [Cookie based session management problems](https://www.ruby-forum.com/t/cookie-based-session-management-problems/87318)

<div class="topic-metadata">

**Author:** [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/cookie-based-session-management-problems/87318 "2007-03-01T21:09:35Z")

</div>

Edge has a change in default behaviour where sessions are stored as cookies instead of in the file system. This was a pleasant surprise when I synced up, fired up my app, and nothing worked. Ah, life on the edge. I’m …

---

## [How to write Array as html?](https://www.ruby-forum.com/t/how-to-write-array-as-html/87323)

<div class="topic-metadata">

**Author:** [@typej](https://www.ruby-forum.com/u/typej)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/how-to-write-array-as-html/87323 "2007-03-01T20:42:31Z")

</div>

Hi everyone, I’m trying to create a dynamic set of text fields as follows: \<% for i in 0…count%\> \<input id="\<%=“notes\_#{i}”%\>" name="\<%=“notes\[#{i}\]”%\>" type=“text” size=“65” maxlength=“55” value=""/\> \<%end%\> In th…

---

## [Pagination vs. Tags for viewing featured items](https://www.ruby-forum.com/t/pagination-vs-tags-for-viewing-featured-items/86262)

<div class="topic-metadata">

**Author:** [@Tag\_Sadness](https://www.ruby-forum.com/u/Tag_Sadness)\
**Replies:** 2\
**Last updated:** [March 1, 2007, 8:36pm UTC](https://www.ruby-forum.com/t/pagination-vs-tags-for-viewing-featured-items/86262 "2007-03-01T20:36:07Z")

</div>

Goal: Label certain “items” in the database as “featured.” View the “featured items” on a list page On the list page, each “featured item” links to a item show page. On each “featured item” show page, there are links t…

---

## [Deprecation Warning](https://www.ruby-forum.com/t/deprecation-warning/87321)

<div class="topic-metadata">

**Author:** [@Lewis](https://www.ruby-forum.com/u/Lewis)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/deprecation-warning/87321 "2007-03-01T20:33:06Z")

</div>

I recently created a small app that searches a db and displays the search results. I then cloned the app, changed the model and started the clone up. The second app is Throwing out Deprecation warnings on @params. I…

---

## [How to use a google maps url into YM4R?](https://www.ruby-forum.com/t/how-to-use-a-google-maps-url-into-ym4r/87223)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/how-to-use-a-google-maps-url-into-ym4r/87223 "2007-03-01T20:31:06Z")

</div>

hey all, I have a google maps url posted by the user such as: http://www.google.com/maps?hl=en&client=firefox-a&q=restaurants+sushi+de&near=Paris,+France&ie=UTF8&latlng=48871953,2303271,12028371856558028754&ei=lgHmRbHW…

---

## [Good practice to include javascript functions in view?](https://www.ruby-forum.com/t/good-practice-to-include-javascript-functions-in-view/87300)

<div class="topic-metadata">

**Author:** [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/good-practice-to-include-javascript-functions-in-view/87300 "2007-03-01T20:28:06Z")

</div>

Hello, I was just wondering if it was good pratice to have a load of javascript functions in a view file, or whether these javascript functions should be put in a javascript file and loaded in. Thanks for your time.

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

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