# Rails

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

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

---

## [How to get the rendered string without using render\_to\_strin](https://www.ruby-forum.com/t/how-to-get-the-rendered-string-without-using-render-to-strin/112245)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 1\
**Last updated:** [August 17, 2007, 1:26am UTC](https://www.ruby-forum.com/t/how-to-get-the-rendered-string-without-using-render-to-strin/112245 "2007-08-17T01:26:38Z")

</div>

Hi, I have a few sample letters that needs to be sent out. As part of the specification the layout needs to be used and to be shown to legal and then mail those letters and log the full content in the database. The …

---

## [Bizare soap4r problem](https://www.ruby-forum.com/t/bizare-soap4r-problem/112060)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [August 17, 2007, 12:31am UTC](https://www.ruby-forum.com/t/bizare-soap4r-problem/112060 "2007-08-17T00:31:00Z")

</div>

Hey chaps I am using classes I generated from wsdl2ruby, and they work like a charm when running somthing like: ruby -d path/to/file.rb and i get the result I expect. However, when I use them within rails, the actua…

---

## [Fulltime RoR Programmer Needed](https://www.ruby-forum.com/t/fulltime-ror-programmer-needed/112275)

<div class="topic-metadata">

**Author:** [@roremployer](https://www.ruby-forum.com/u/roremployer)\
**Replies:** 0\
**Last updated:** [August 17, 2007, 12:15am UTC](https://www.ruby-forum.com/t/fulltime-ror-programmer-needed/112275 "2007-08-17T00:15:26Z")

</div>

We are looking to pay WELL above market rate for a seriously good Ruby on Rails developer to help us improve our existing products and create new ones. You may work from home at this job but MUST be available from 9-5…

---

## [Rails version coexistence](https://www.ruby-forum.com/t/rails-version-coexistence/111210)

<div class="topic-metadata">

**Author:** [@DuzenburyS\_Rich](https://www.ruby-forum.com/u/DuzenburyS_Rich)\
**Replies:** 2\
**Last updated:** [August 17, 2007, 12:02am UTC](https://www.ruby-forum.com/t/rails-version-coexistence/111210 "2007-08-17T00:02:25Z")

</div>

Hi, What is the correct way to get multiple rails installs to cooperate with each other? I’ve got nine projects that I built on my (windows) workstation and deployed to a linux server. The linux server is running ru…

---

## [Validation? Cool... How about before\_save formatting](https://www.ruby-forum.com/t/validation-cool-how-about-before-save-formatting/112043)

<div class="topic-metadata">

**Author:** [@mindtonic](https://www.ruby-forum.com/u/mindtonic)\
**Replies:** 7\
**Last updated:** [August 16, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/validation-cool-how-about-before-save-formatting/112043 "2007-08-16T23:43:23Z")

</div>

Hello, I am trying to define a before\_save method in an object. I would like to call a function like sanitize or simple\_format. These are view functions. Is there any way, short of writing my own functions, to san…

---

## [Rjs - how to display returned javascript](https://www.ruby-forum.com/t/rjs-how-to-display-returned-javascript/112260)

<div class="topic-metadata">

**Author:** [@mindtonic](https://www.ruby-forum.com/u/mindtonic)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/rjs-how-to-display-returned-javascript/112260 "2007-08-16T23:40:22Z")

</div>

Hello, My rjs is returning javascript to the browser, as it should. I am trying to replace the html inside of a div. How do I get it to display the code and not the script? http://pastie.caboo.se/88348 http://past…

---

## [Addind a default value to a restful route](https://www.ruby-forum.com/t/addind-a-default-value-to-a-restful-route/112269)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/addind-a-default-value-to-a-restful-route/112269 "2007-08-16T23:18:20Z")

</div>

map.resources :trackables map.resources :activities, :controller =\> ‘trackables’ I want my trackables\_controller to handle activities request. The above accomplishes the route, but does not allow for the trackables\_…

---

## [Nested REST resource routes without controller name](https://www.ruby-forum.com/t/nested-rest-resource-routes-without-controller-name/112266)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/nested-rest-resource-routes-without-controller-name/112266 "2007-08-16T22:47:16Z")

</div>

I am curious if the following URL pattern is appropriate to use with REST and map.resources: Let’s say I want to build a website with information about cars. I decide that there will be a page to view/manage cars by…

---

## [Creating an HTML select](https://www.ruby-forum.com/t/creating-an-html-select/112234)

<div class="topic-metadata">

**Author:** [@niky81](https://www.ruby-forum.com/u/niky81)\
**Replies:** 4\
**Last updated:** [August 16, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/creating-an-html-select/112234 "2007-08-16T22:28:16Z")

</div>

Hi, I use the following code in a view to show a list of states inside a form but I get not result, I mean I get no errors nor the expected HTML code that should be something like \<option … @states = State.find(:all, …

---

## [\[ANN\] Ruby East Registration Is Open - Small Correction](https://www.ruby-forum.com/t/ann-ruby-east-registration-is-open-small-correction/112263)

<div class="topic-metadata">

**Author:** [@Eric\_Snyder](https://www.ruby-forum.com/u/Eric_Snyder)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/ann-ruby-east-registration-is-open-small-correction/112263 "2007-08-16T22:27:09Z")

</div>

One small correction. The location is Penn State Great Valley, Malvern, PA USA and not Drexel University. Ruby East registration is now open! Register at http://ruby-east.com Chariot Solutions http://chariotsolutions…

---

## [RFacebook prepends :action and :id with canvas\_url in url\_fo](https://www.ruby-forum.com/t/rfacebook-prepends-action-and-id-with-canvas-url-in-url-fo/111828)

<div class="topic-metadata">

**Author:** [@Chris\_Barna](https://www.ruby-forum.com/u/Chris_Barna)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/rfacebook-prepends-action-and-id-with-canvas-url-in-url-fo/111828 "2007-08-16T22:21:08Z")

</div>

I’m using the RFacebook for rails plugin and I have stumbled across an annoying problem when generating paths and links with url\_for and link\_to. It appears that when I, for example, call url\_for :controller =\> “pages…

---

## [\[ANN\] Ruby East Registration Is Open](https://www.ruby-forum.com/t/ann-ruby-east-registration-is-open/112262)

<div class="topic-metadata">

**Author:** [@Eric\_Snyder](https://www.ruby-forum.com/u/Eric_Snyder)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-east-registration-is-open/112262 "2007-08-16T22:15:06Z")

</div>

Ruby East registration is now open! Register at http://ruby-east.com Chariot Solutions http://chariotsolutions.com is proud to be able to bring some of the top speakers in the Ruby and Rails communities to our region…

---

## [Rspec tutorial](https://www.ruby-forum.com/t/rspec-tutorial/111332)

<div class="topic-metadata">

**Author:** [@oren](https://www.ruby-forum.com/u/oren)\
**Replies:** 7\
**Last updated:** [August 16, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/rspec-tutorial/111332 "2007-08-16T22:14:06Z")

</div>

I am trying to follow this tutorial - http://www.lukeredpath.co.uk/2006/8/29/developing-a-rails-model-using-bdd-and-rspec-part-1 I installed the Rspec gem but I can’t install the RSpec On Rails plugin (the url is not …

---

## [Best way to do a wizard that creates a set of objects?](https://www.ruby-forum.com/t/best-way-to-do-a-wizard-that-creates-a-set-of-objects/112173)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/best-way-to-do-a-wizard-that-creates-a-set-of-objects/112173 "2007-08-16T21:36:01Z")

</div>

I have a multi-step user interaction to create a “parent” object that has a few more associated with it. I need to be able to let the user go back and forth between the pages so they can make corrections and such. At…

---

## [Clean Up your Operating System](https://www.ruby-forum.com/t/clean-up-your-operating-system/197155)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 9:33pm UTC](https://www.ruby-forum.com/t/clean-up-your-operating-system/197155 "2007-08-16T21:33:01Z")

</div>

Optimize your operating system, minimize background activities, repair registry base, uninstall unnecessary components, get rid of boring errors and make your operating system safer.

---

## [Problem installing flashplayrhelpr plugin](https://www.ruby-forum.com/t/problem-installing-flashplayrhelpr-plugin/112249)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/problem-installing-flashplayrhelpr-plugin/112249 "2007-08-16T20:06:38Z")

</div>

I’m trying to install the flashplayrhelpr plugin. I ran the following at the command line, in my app’s root folder: ruby script/plugin install svn://rubyforge.org/var/svn/flashplayrhelpr A bunch of flash\_player files…

---

## [Comment Form Problem](https://www.ruby-forum.com/t/comment-form-problem/111541)

<div class="topic-metadata">

**Author:** [@sashaski](https://www.ruby-forum.com/u/sashaski)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/comment-form-problem/111541 "2007-08-16T19:09:19Z")

</div>

Hi, I’ve recently implemented permalinks into my app and thus have had to change all “:id =\> @post” to use permalinks. However when I got to updating the comments form I hit a problem, the original code I had was: \<%=…

---

## [TypeError: html has no properties](https://www.ruby-forum.com/t/typeerror-html-has-no-properties/112239)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 5\
**Last updated:** [August 16, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/typeerror-html-has-no-properties/112239 "2007-08-16T18:59:44Z")

</div>

I’m trying to update a div after form submission, for some reason it is dying on this line: render :update do |page| page\[:body\].replace\_html :url =\> body\_report\_show(:id =\> params\[:report\_id\]) end I get an alert w…

---

## [Update from RoR 1.1.6 - 1.2.3 Rake fails](https://www.ruby-forum.com/t/update-from-ror-1-1-6-1-2-3-rake-fails/112244)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/update-from-ror-1-1-6-1-2-3-rake-fails/112244 "2007-08-16T18:57:44Z")

</div>

I am getting a message when I update my system from rails 1.1.6 to 1.2.3 running rake. \[\]# rake test --trace (in /var/www/matrix.1.7.15) \*\* Invoke test (first\_time) \*\* Execute test \*\* Invoke test:units (first\_time) …

---

## [Uninitialized constant ActionWebService::Dispatcher::ActionC](https://www.ruby-forum.com/t/uninitialized-constant-actionwebservice-actionc/112243)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-actionwebservice-actionc/112243 "2007-08-16T18:50:43Z")

</div>

i’m looking at the peepcode video on caching with rails. later on in the video he shows a little hack so that the there will be a cached index.html file when you have a default route for the controller that you want c…

---

## [RoR Group - West LA](https://www.ruby-forum.com/t/ror-group-west-la/112240)

<div class="topic-metadata">

**Author:** [@wickNbomb](https://www.ruby-forum.com/u/wickNbomb)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/ror-group-west-la/112240 "2007-08-16T18:27:39Z")

</div>

Hey - I just moved from San Jose, Ca. to Santa Monica, Ca. and am looking to network with RoR developers in and around West LA. I’m planning on hosting a meetup once/month at my office in Santa Monica, Ca. to exchange…

---

## [Gzip response to AJAX requests](https://www.ruby-forum.com/t/gzip-response-to-ajax-requests/112222)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/gzip-response-to-ajax-requests/112222 "2007-08-16T18:23:38Z")

</div>

Hi, I an application I am working on, each user has a bunch of text files that they can retrieve using a AJAX request. These files don’t change after creation, but they are served from a Rails process as they can on…

---

## [Sessions on Rails with Pound and Mongrel](https://www.ruby-forum.com/t/sessions-on-rails-with-pound-and-mongrel/112235)

<div class="topic-metadata">

**Author:** [@ant](https://www.ruby-forum.com/u/ant)\
**Replies:** 3\
**Last updated:** [August 16, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/sessions-on-rails-with-pound-and-mongrel/112235 "2007-08-16T18:17:36Z")

</div>

Hi All, I’m experiencing a problem when using pound with Rails. My set up is I have a machine acting as a load balancer running Pound. This listens on port 80 and directs requests with a particular URL to two backend …

---

## [Modeling many types of users](https://www.ruby-forum.com/t/modeling-many-types-of-users/112182)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 4\
**Last updated:** [August 16, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/modeling-many-types-of-users/112182 "2007-08-16T18:12:36Z")

</div>

Looking for some input on modeling a user system. The user system is for schools. We have many potential types of users, and we need to be extremely flexible in the design as the system will be used at different scho…

---

## [Locomotive to Linux](https://www.ruby-forum.com/t/locomotive-to-linux/112236)

<div class="topic-metadata">

**Author:** [@bloc](https://www.ruby-forum.com/u/bloc)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/locomotive-to-linux/112236 "2007-08-16T18:05:16Z")

</div>

Hi guys, I initially developed an application using Locomotive on Mac OS X. I developed 2 applications which use one database. Now I would like to export them to a Linux box. How do I go about doing that. My applicat…

---

## [Need help on writing a plugin](https://www.ruby-forum.com/t/need-help-on-writing-a-plugin/112090)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/need-help-on-writing-a-plugin/112090 "2007-08-16T18:02:35Z")

</div>

Hey all, I’ve just “script/generate plugin my\_plugin” and I would like to “overload” one of my view. Say I have app/views/sessions/new.html.erb and I would like to rewrite that file without touching it using the plug…

---

## [Strange Race Condition?](https://www.ruby-forum.com/t/strange-race-condition/112228)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/strange-race-condition/112228 "2007-08-16T17:00:23Z")

</div>

I have a very odd situation. I have a method in my application controller: def manual\_location(city, region, country) result = Location.user\_created(params\[:new\_city\], params\[:new\_region\], params\[:new\_country\]) case…

---

## [Join across Multiple DBs](https://www.ruby-forum.com/t/join-across-multiple-dbs/112177)

<div class="topic-metadata">

**Author:** [@hbotadra](https://www.ruby-forum.com/u/hbotadra)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/join-across-multiple-dbs/112177 "2007-08-16T16:59:22Z")

</div>

Hi, I was just wondering if joins across table in different DBs could be done using ActiveRecord? If yes, does anyway have an example for the same? I am confused so as to how would I use multiple connections within…

---

## [Global Exception handler](https://www.ruby-forum.com/t/global-exception-handler/112227)

<div class="topic-metadata">

**Author:** [@Peter\_De\_Berdt](https://www.ruby-forum.com/u/Peter_De_Berdt)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/global-exception-handler/112227 "2007-08-16T16:58:22Z")

</div>

Hi Is there a way in Ruby or Rails to have a global exception handler to rescue from a StaleObject exception? I know about rescue\_action\_in\_public, but I don’t know how to get the object the exception occurred on. F…

---

## [Camping or Rails for a Webmin-ish application?](https://www.ruby-forum.com/t/camping-or-rails-for-a-webmin-ish-application/112221)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 4:58pm UTC](https://www.ruby-forum.com/t/camping-or-rails-for-a-webmin-ish-application/112221 "2007-08-16T16:58:22Z")

</div>

I was thinking about creating a web-interface for managing a few things on my server, and started wondering what would be easiest to use when mainly running local-non-web code in the app. Like, the simplest operation …

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

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