# Rails

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

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

---

## [\[ANN\] Radiant 0.8.1 - Luster Release](https://www.ruby-forum.com/t/ann-radiant-0-8-1-luster-release/175008)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 6:13pm UTC](https://www.ruby-forum.com/t/ann-radiant-0-8-1-luster-release/175008 "2009-09-05T18:13:31Z")

</div>

Looks like it’s time for another release of Radiant: http://radiantcms.org/download/ Radiant 0.8.1 Luster sports numerous enhancements to extensions, most notably: Rails metal and Cucumber features are supported; the…

---

## [How can i incorporate google map in a rails application](https://www.ruby-forum.com/t/how-can-i-incorporate-google-map-in-a-rails-application/175003)

<div class="topic-metadata">

**Author:** [@soutom](https://www.ruby-forum.com/u/soutom)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/how-can-i-incorporate-google-map-in-a-rails-application/175003 "2009-09-05T17:40:43Z")

</div>

i just want ot incorporate google map in my application. So for this what should i do. if any one please help me step by step… thanking you

---

## [Changing cursor while waiting for remote function response?](https://www.ruby-forum.com/t/changing-cursor-while-waiting-for-remote-function-response/174948)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 12\
**Last updated:** [September 5, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/changing-cursor-while-waiting-for-remote-function-response/174948 "2009-09-05T16:53:16Z")

</div>

Hello, Google and the search function didn’t help me this time. Is it possible to change the mouse cursor while waiting for a response of a remote function call?

---

## [Problem running phusion passenger on os x 10.6](https://www.ruby-forum.com/t/problem-running-phusion-passenger-on-os-x-10-6/174971)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 5, 2009, 4:36am UTC](https://www.ruby-forum.com/t/problem-running-phusion-passenger-on-os-x-10-6/174971 "2009-09-05T04:36:55Z")

</div>

Hi, I am trying to update passenger for 10.6, and I am getting an error relating to fastthread… passenger thinks fastthread is missing. Here’ the apache error log output: /usr/local/lib/ruby/site\_ruby/1.8/i686-darwi…

---

## [MySQL BIT column type in ActiveRecord](https://www.ruby-forum.com/t/mysql-bit-column-type-in-activerecord/174976)

<div class="topic-metadata">

**Author:** [@ndaniels](https://www.ruby-forum.com/u/ndaniels)\
**Replies:** 1\
**Last updated:** [September 5, 2009, 1:44am UTC](https://www.ruby-forum.com/t/mysql-bit-column-type-in-activerecord/174976 "2009-09-05T01:44:42Z")

</div>

I’m attempting to access a MySQL BIT(1) column with b’1’ as the data in the case of a true boolean from within activerecord and am unable to get any output. The table was created by Hibernate (which uses BIT as it’s …

---

## [XSS security patch](https://www.ruby-forum.com/t/xss-security-patch/174964)

<div class="topic-metadata">

**Author:** [@pakothawade](https://www.ruby-forum.com/u/pakothawade)\
**Replies:** 3\
**Last updated:** [September 5, 2009, 12:30am UTC](https://www.ruby-forum.com/t/xss-security-patch/174964 "2009-09-05T00:30:28Z")

</div>

Hi, Does anyone know how to apply the XSS security patch delivered by the rails community at http://weblog.rubyonrails.org/assets/2009/9/4/2-3-timing-weakness.patch When i try to click on the link it opens some crypt…

---

## [\[JOBS\] Volunteer Scheduling Application](https://www.ruby-forum.com/t/jobs-volunteer-scheduling-application/174970)

<div class="topic-metadata">

**Author:** [@BenB-SF](https://www.ruby-forum.com/u/BenB-SF)\
**Replies:** 2\
**Last updated:** [September 5, 2009, 12:26am UTC](https://www.ruby-forum.com/t/jobs-volunteer-scheduling-application/174970 "2009-09-05T00:26:32Z")

</div>

The purpose of this project is to provide automated support for the work of the Volunteer Services Department at San Francisco Food Bank. As the volume of work for this department increases, automating appropriate par…

---

## [Libxml-ruby: How to handle XML::Parser::ParseError?](https://www.ruby-forum.com/t/libxml-ruby-how-to-handle-xml-parseerror/174953)

<div class="topic-metadata">

**Author:** [@adrianopol](https://www.ruby-forum.com/u/adrianopol)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 8:34pm UTC](https://www.ruby-forum.com/t/libxml-ruby-how-to-handle-xml-parseerror/174953 "2009-09-04T20:34:33Z")

</div>

Code: require “rubygems” require “xml” class TaskLoader class BadXML \< RuntimeError end def load\_tasks doc = XML::Parser.file( “qq.xml” ).parse # … work with document … rescue XML::Parser::ParseError, BadXML # t…

---

## [Error\_messages\_for help](https://www.ruby-forum.com/t/error-messages-for-help/174592)

<div class="topic-metadata">

**Author:** [@bgumbiker](https://www.ruby-forum.com/u/bgumbiker)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/error-messages-for-help/174592 "2009-09-04T20:00:35Z")

</div>

Hello, Does anyone know how to use error\_messages\_for with remote\_form\_for? Here is my code: \<%= error\_messages\_for ‘quotation’ %\> \<% remote\_form\_for(Quotation.new, :url =\> { :action =\> "send\_quotation" }) do |f| %\>…

---

## [Best way to convert path slash for backtick usage?](https://www.ruby-forum.com/t/best-way-to-convert-path-slash-for-backtick-usage/174941)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 10\
**Last updated:** [September 4, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/best-way-to-convert-path-slash-for-backtick-usage/174941 "2009-09-04T19:22:22Z")

</div>

Hi, Depenbding on whether running under windows or unix/mac I obviously need to use the \\ instead of the / character for shell commands so I have 2 questions really I would love to know if anyone has a neat way of …

---

## [Form\_for issue](https://www.ruby-forum.com/t/form-for-issue/174956)

<div class="topic-metadata">

**Author:** [@manaus](https://www.ruby-forum.com/u/manaus)\
**Replies:** 4\
**Last updated:** [September 4, 2009, 7:03pm UTC](https://www.ruby-forum.com/t/form-for-issue/174956 "2009-09-04T19:03:48Z")

</div>

Hello, I have this object in a controller action. The controller is named “Translation” def detail @house = House.find(:params\[:id\]) end the action loads a view, localhost/translation/detail \<% form\_for @house do …

---

## [Question on the XSS Security Patch](https://www.ruby-forum.com/t/question-on-the-xss-security-patch/174963)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/question-on-the-xss-security-patch/174963 "2009-09-04T18:25:59Z")

</div>

After reading this security bulletin: http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?pli=1 I am a bit confused as to which patch I should apply. My application is currently running on a froz…

---

## [Will Rails be able to do this -fast-?](https://www.ruby-forum.com/t/will-rails-be-able-to-do-this-fast/174828)

<div class="topic-metadata">

**Author:** [@jhaagmans](https://www.ruby-forum.com/u/jhaagmans)\
**Replies:** 39\
**Last updated:** [September 4, 2009, 6:05pm UTC](https://www.ruby-forum.com/t/will-rails-be-able-to-do-this-fast/174828 "2009-09-04T18:05:51Z")

</div>

Hi, First of all I’d like to say I really love this Rails community. Everyone is very helpful and I’ve learned so much that I simply couldn’t have learned just by reading books. I was wondering if you could help me w…

---

## [Reverse engineering database](https://www.ruby-forum.com/t/reverse-engineering-database/174934)

<div class="topic-metadata">

**Author:** [@asrijaal](https://www.ruby-forum.com/u/asrijaal)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/reverse-engineering-database/174934 "2009-09-04T17:26:47Z")

</div>

Hi guys, I’m triying to get into the ruby on rails stuff, reading a lot and trying some stuff directly. I got a little question maybe someone of you can give me a short answer or tipp :wink: Is there a script/tool/pl…

---

## [Rails 2.3.4 is now available](https://www.ruby-forum.com/t/rails-2-3-4-is-now-available/174923)

<div class="topic-metadata">

**Author:** [@railsgirl](https://www.ruby-forum.com/u/railsgirl)\
**Replies:** 2\
**Last updated:** [September 4, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/rails-2-3-4-is-now-available/174923 "2009-09-04T16:09:18Z")

</div>

Happy to inform that… " Rails 2.3.4 is now available." Does any one know… what’s new in Rails 2.3.4. …? Pl. share here.

---

## [Unsure of how to update values using a constant](https://www.ruby-forum.com/t/unsure-of-how-to-update-values-using-a-constant/174951)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 5\
**Last updated:** [September 4, 2009, 4:08pm UTC](https://www.ruby-forum.com/t/unsure-of-how-to-update-values-using-a-constant/174951 "2009-09-04T16:08:43Z")

</div>

Here is my code: Please note that I’ve outlined the issue in the link but will add a bit more information here in terms of processing: The method is a universal method for approx. 37 models. This means that 37 mod…

---

## [Model relationship question](https://www.ruby-forum.com/t/model-relationship-question/174892)

<div class="topic-metadata">

**Author:** [@gattone](https://www.ruby-forum.com/u/gattone)\
**Replies:** 14\
**Last updated:** [September 4, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/model-relationship-question/174892 "2009-09-04T15:45:18Z")

</div>

I’m a newbie in the programming world and I need some advice regarding the best way of achieving the task I’m gonna describe. I’ve got an User model and another model called Sandbox. Now I want to make each sandbox ha…

---

## [Where to start?](https://www.ruby-forum.com/t/where-to-start/174933)

<div class="topic-metadata">

**Author:** [@rushenaly](https://www.ruby-forum.com/u/rushenaly)\
**Replies:** 4\
**Last updated:** [September 4, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/where-to-start/174933 "2009-09-04T15:16:36Z")

</div>

Hello rails community… I am trying to build a web application. Every part of this application will be done by one man : me. I want to use state of art rails framework. There are many different process groups for this …

---

## [How/where to load initial data?](https://www.ruby-forum.com/t/how-where-to-load-initial-data/174929)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/how-where-to-load-initial-data/174929 "2009-09-04T14:47:19Z")

</div>

Hello, I’ve got a got a question about how and where to load initial data that is necessary in order to make the website work (menu structure, page contents, …) I know it’s preference and everybody can do it as s/he …

---

## [Looping problem](https://www.ruby-forum.com/t/looping-problem/174945)

<div class="topic-metadata">

**Author:** [@prashanth\_hiremath](https://www.ruby-forum.com/u/prashanth_hiremath)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 1:57pm UTC](https://www.ruby-forum.com/t/looping-problem/174945 "2009-09-04T13:57:34Z")

</div>

require ‘rubygems’ require ‘nokogiri’ require ‘rexml/document’ include REXML doc1=Nokogiri::HTML(open(‘Delhi.txt’)) builder = Nokogiri::HTML::Builder.new do |doc| doc.html { doc.landmark { doc1.search('//s…

---

## [Render\_component\_as\_string equivalent](https://www.ruby-forum.com/t/render-component-as-string-equivalent/174943)

<div class="topic-metadata">

**Author:** [@massi](https://www.ruby-forum.com/u/massi)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 1:42pm UTC](https://www.ruby-forum.com/t/render-component-as-string-equivalent/174943 "2009-09-04T13:42:10Z")

</div>

hello , is there anay solution to implemente differently render\_component\_as\_string , otherwise i would like to get the content of a method in diffferent controller thnx

---

## [MySQL "Closed Stream"](https://www.ruby-forum.com/t/mysql-closed-stream/174167)

<div class="topic-metadata">

**Author:** [@rubyrubyruby\_onrail](https://www.ruby-forum.com/u/rubyrubyruby_onrail)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 1:17pm UTC](https://www.ruby-forum.com/t/mysql-closed-stream/174167 "2009-09-04T13:17:45Z")

</div>

I have an app that is giving a “closed stream” error when I reload a view or visit it a second time. Typically the page loads fine the first time, but then it fails. It is working fine on another machine. I’m running…

---

## [Repopulate select on partial render](https://www.ruby-forum.com/t/repopulate-select-on-partial-render/174940)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/repopulate-select-on-partial-render/174940 "2009-09-04T13:08:59Z")

</div>

I am adding data to a table (for my Channelnotes model) in my ChannelsController. in my /view/channels I have a partial (shown below) that creates a select of the most recent three entries in this table. It works perf…

---

## [Embedded Ruby in Views in Ruby 1.8.7](https://www.ruby-forum.com/t/embedded-ruby-in-views-in-ruby-1-8-7/174913)

<div class="topic-metadata">

**Author:** [@nroose](https://www.ruby-forum.com/u/nroose)\
**Replies:** 6\
**Last updated:** [September 4, 2009, 1:05pm UTC](https://www.ruby-forum.com/t/embedded-ruby-in-views-in-ruby-1-8-7/174913 "2009-09-04T13:05:27Z")

</div>

Good morning! I am trying to find full documentation about the way to embed ruby commands in the rails views. I am working on a large existing app. We just installed Ruby 1.8.7 on one of our servers in an attempt to…

---

## [File is not getting saved using paperclip](https://www.ruby-forum.com/t/file-is-not-getting-saved-using-paperclip/196994)

<div class="topic-metadata">

**Author:** [@akramwasim1234](https://www.ruby-forum.com/u/akramwasim1234)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/file-is-not-getting-saved-using-paperclip/196994 "2009-09-04T12:42:02Z")

</div>

Hi all I have a form which contains attachments but the attachment is not getting created in file system and the fields for the attachment in DB is not getting filled when a new form is created . I’m using paperclip I…

---

## [File is not getting saved using paperclip](https://www.ruby-forum.com/t/file-is-not-getting-saved-using-paperclip/174938)

<div class="topic-metadata">

**Author:** [@akramwasim1234](https://www.ruby-forum.com/u/akramwasim1234)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/file-is-not-getting-saved-using-paperclip/174938 "2009-09-04T12:42:02Z")

</div>

Hi all I have a form which contains attachments but the attachment is not getting created in file system and the fields for the attachment in DB is not getting filled when a new form is created . I’m using paperclip I…

---

## [Mysql and Snow leopard](https://www.ruby-forum.com/t/mysql-and-snow-leopard/174847)

<div class="topic-metadata">

**Author:** [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Replies:** 10\
**Last updated:** [September 4, 2009, 11:31am UTC](https://www.ruby-forum.com/t/mysql-and-snow-leopard/174847 "2009-09-04T11:31:47Z")

</div>

I can’t get mysql gem installed on snow leopard. On Leopard (10.5) all I did was sudo gem install – --with-mysql-config=/path/to/mysql\_config But that doesn’t work any more, and i get tons of No definition for XXX …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/174935)

<div class="topic-metadata">

**Author:** [@sushma\_desai](https://www.ruby-forum.com/u/sushma_desai)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 11:12am UTC](https://www.ruby-forum.com/t/no-subject/174935 "2009-09-04T11:12:28Z")

</div>

Hi, Ya i have read the documents regarding the installation of Budget\_plugin…i.e., Install Follow the Redmine plugin installation steps at: http://www.redmine.org/wiki/redmine/Plugins Make sure the plugin is inst…

---

## [Entity relation diagram from Models](https://www.ruby-forum.com/t/entity-relation-diagram-from-models/174936)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 11:04am UTC](https://www.ruby-forum.com/t/entity-relation-diagram-from-models/174936 "2009-09-04T11:04:51Z")

</div>

Hi, Do you know some tool (I hope open source) to create Entity Relation diagram from rails Models ? It would be nice ! thank you, Alessandro

---

## [Migrate rails project from 1.1.6 to 2.2.2](https://www.ruby-forum.com/t/migrate-rails-project-from-1-1-6-to-2-2-2/174786)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 11\
**Last updated:** [September 4, 2009, 11:04am UTC](https://www.ruby-forum.com/t/migrate-rails-project-from-1-1-6-to-2-2-2/174786 "2009-09-04T11:04:32Z")

</div>

Hi all, My rails application’s current version is 1.1.6, I want to migrate it to rails 2.2.2. Please state me the steps what I need to do. Thanks in advance, Raju

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

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