# Rails

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

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

---

## [Mongrel problems](https://www.ruby-forum.com/t/mongrel-problems/153845)

<div class="topic-metadata">

**Author:** [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/mongrel-problems/153845 "2008-11-21T20:10:50Z")

</div>

Hi, I am using mongrel on win2k. after i start mongrel only one engine handles all the request so the requests are served serially. How can i run multiple instances of mongrel so that requests are directed to the mon…

---

## [Custom form builder errors?](https://www.ruby-forum.com/t/custom-form-builder-errors/153839)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 4\
**Last updated:** [November 21, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/custom-form-builder-errors/153839 "2008-11-21T19:51:20Z")

</div>

Hello all, I’m new to Ruby and Ruby on Rails, so please have patience with a newbie. I was looking at the HTML produced when there are form errors and realized why my layout keeps breaking. Every label and input with…

---

## [Windows tail development.log](https://www.ruby-forum.com/t/windows-tail-development-log/153772)

<div class="topic-metadata">

**Author:** [@rafael](https://www.ruby-forum.com/u/rafael)\
**Replies:** 7\
**Last updated:** [November 21, 2008, 7:16pm UTC](https://www.ruby-forum.com/t/windows-tail-development-log/153772 "2008-11-21T19:16:19Z")

</div>

Hi unfortunately I have to develop on a windows machine from time to time. But there is a little problem, mostly for debugging. How can I get the same output on the console as in a linux box or on the mac? I don’t s…

---

## [Forcing has\_many to left join](https://www.ruby-forum.com/t/forcing-has-many-to-left-join/153837)

<div class="topic-metadata">

**Author:** [@normelton](https://www.ruby-forum.com/u/normelton)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/forcing-has-many-to-left-join/153837 "2008-11-21T18:00:39Z")

</div>

I’d like for my has\_many :conditions clause to refer to columns on both sides of the association. This would require left joining the tables, all the time. See http://www.pastie.org/320700 I’ve already whipped up a l…

---

## [Help with partial](https://www.ruby-forum.com/t/help-with-partial/153673)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 8\
**Last updated:** [November 21, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/help-with-partial/153673 "2008-11-21T17:35:20Z")

</div>

First and foremost sorry if my english is not the best. In my application I have a view with tickets and i can select it one to one with a button. The selected tickets go to another view that shows me the tickets i ha…

---

## [Form\_tag\_with\_upload\_progress](https://www.ruby-forum.com/t/form-tag-with-upload-progress/153835)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/form-tag-with-upload-progress/153835 "2008-11-21T17:30:07Z")

</div>

I’ve been trying to get the upload\_progress plugin working in Rails 2.0 with no luck. It bombs with the “end\_form\_tag”. Is there a new preferred method of displaying file upload progress in newer versions of Rails?

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/153808)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/153808 "2008-11-21T16:13:17Z")

</div>

Hi, I have text\_field\_with\_auto\_complete , The problem i faced here is when type the text like “firstname&lastname”.When i get value of text field in controller i only get the firstname. i couldn’t get text value …

---

## [Generating Class Diagram from Models](https://www.ruby-forum.com/t/generating-class-diagram-from-models/153824)

<div class="topic-metadata">

**Author:** [@tlianza](https://www.ruby-forum.com/u/tlianza)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/generating-class-diagram-from-models/153824 "2008-11-21T15:29:49Z")

</div>

Hi all! There are several softwares which read a database and shows the tables graphically on the screen (now I\`m using Power Architect: SQL Power Architect – Data Modeling). Is there something which beyond to read t…

---

## [Deployment Howto - REE + Passenger + AWS (EC2, EBS, snapshots)](https://www.ruby-forum.com/t/deployment-howto-ree-passenger-aws-ec2-ebs-snapshots/153825)

<div class="topic-metadata">

**Author:** [@kckckc](https://www.ruby-forum.com/u/kckckc)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/deployment-howto-ree-passenger-aws-ec2-ebs-snapshots/153825 "2008-11-21T15:22:08Z")

</div>

Hi there, We are a software firm based in India. We are a 100% FOSS firm and RoR is one of the core focus areas. We contribute to RoR (and FSF)in various ways - code as well as cash donations. We also publish some ho…

---

## [Multiple file upload](https://www.ruby-forum.com/t/multiple-file-upload/151521)

<div class="topic-metadata">

**Author:** [@subhadip](https://www.ruby-forum.com/u/subhadip)\
**Replies:** 5\
**Last updated:** [November 21, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/multiple-file-upload/151521 "2008-11-21T15:06:51Z")

</div>

Hi, i am trying for uploading multiple files using attachment\_fu plugin. i use MultiSelector javascript for this purpose.It helps me to store minimum three files before uploading.but when i deleted one file and repla…

---

## [How to unescape some html tags](https://www.ruby-forum.com/t/how-to-unescape-some-html-tags/153819)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/how-to-unescape-some-html-tags/153819 "2008-11-21T14:53:19Z")

</div>

Hi there I am using h to escape the html or javascript. I want to unescape some of the html tags for instance how to do that? thanks

---

## [How to Point one domain to another domain](https://www.ruby-forum.com/t/how-to-point-one-domain-to-another-domain/153818)

<div class="topic-metadata">

**Author:** [@Piyush\_with\_Rails](https://www.ruby-forum.com/u/Piyush_with_Rails)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/how-to-point-one-domain-to-another-domain/153818 "2008-11-21T13:46:20Z")

</div>

Hi All, I am new to domain configuration. i want to know if we have two domain www.abc.com and www.xyz.com and i want to point www.abc.com to www.xyz.com then what are the things need to be done for this ? Can anyone…

---

## [How to install the plugin manually?](https://www.ruby-forum.com/t/how-to-install-the-plugin-manually/153792)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 2\
**Last updated:** [November 21, 2008, 12:32pm UTC](https://www.ruby-forum.com/t/how-to-install-the-plugin-manually/153792 "2008-11-21T12:32:29Z")

</div>

Dear all I would like to install plugin auto\_complete but failed… jruby -S script/plugin discover C:/jruby-1.1.5/lib/ruby/1.8/open-uri.rb:278:in \`open\_http’: 407 Proxy Authentication Required (OpenURI::HTTPError) I …

---

## [Assert XSD validity](https://www.ruby-forum.com/t/assert-xsd-validity/153622)

<div class="topic-metadata">

**Author:** [@jarl](https://www.ruby-forum.com/u/jarl)\
**Replies:** 5\
**Last updated:** [November 21, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/assert-xsd-validity/153622 "2008-11-21T12:14:44Z")

</div>

Hi. I am working on a webservice producing xml content, In my rails functional test I would like to assert that this generated xml (@reponse.body) conforms to a specific XSD. What is the best approach to do this? Ja…

---

## [Rails - 2 buttoms on a FORM](https://www.ruby-forum.com/t/rails-2-buttoms-on-a-form/153765)

<div class="topic-metadata">

**Author:** [@xads](https://www.ruby-forum.com/u/xads)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/rails-2-buttoms-on-a-form/153765 "2008-11-21T12:06:31Z")

</div>

then, in my FORM there are 2 buttoms : first to select a file to upload buttom=“Parcourir” second to send the complete Form, buttom=“ENVOYER” “parcourir” is for to select a file to upload but “ENVOYER” must validate…

---

## [Uninitialized constant ActionController::Caching::Fragments](https://www.ruby-forum.com/t/uninitialized-constant-actioncontroller-fragments/153787)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 12:01pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-actioncontroller-fragments/153787 "2008-11-21T12:01:49Z")

</div>

Hey, i’m trying to use “s3cache” plugin with my app, but after adding it to my vendor/plugins directory and following the install steps i’m getting this error after running script/server: /Users/richardschneeman/Docum…

---

## [How to read the logs?](https://www.ruby-forum.com/t/how-to-read-the-logs/153569)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 21, 2008, 11:59am UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569 "2008-11-21T11:59:27Z")

</div>

Can anyone tell me where I can learn how to read and decipher the logs? I’ve done a few google searches and nothing comes up. Specifically, I just uploaded my first app to a production server and it doesn’t work and I…

---

## [Filter\_parameter\_logging and https](https://www.ruby-forum.com/t/filter-parameter-logging-and-https/153805)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 11:56am UTC](https://www.ruby-forum.com/t/filter-parameter-logging-and-https/153805 "2008-11-21T11:56:32Z")

</div>

Hi guys I am not pretty sure where to use filter\_parameter\_logging is it in the configuration file, the model, or the controller. How do I use https? is there any tutorial? thanks

---

## [Required segments in routing](https://www.ruby-forum.com/t/required-segments-in-routing/153811)

<div class="topic-metadata">

**Author:** [@SSam](https://www.ruby-forum.com/u/SSam)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 11:51am UTC](https://www.ruby-forum.com/t/required-segments-in-routing/153811 "2008-11-21T11:51:49Z")

</div>

Hi Has anyone an explanation why the following routing is not working? ActionController::Routing::Routes.draw do |map| map.namespace :admin do |admin| admin.connect ‘:controller/:action/:id’ admin.connect ‘:controll…

---

## [New easy-to-use, installable live CD of the Ruby on Rails framework](https://www.ruby-forum.com/t/new-easy-to-use-installable-live-cd-of-the-ruby-on-rails-framework/153812)

<div class="topic-metadata">

**Author:** [@Liraz](https://www.ruby-forum.com/u/Liraz)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 11:51am UTC](https://www.ruby-forum.com/t/new-easy-to-use-installable-live-cd-of-the-ruby-on-rails-framework/153812 "2008-11-21T11:51:49Z")

</div>

Hi guys, I am one of the developers for TurnKey Linux, an opensource project that aims to develop high-quality software appliances that are easy to use, easy to deploy, and free. Our motto is “everything that can be …

---

## [Question about auto completion field](https://www.ruby-forum.com/t/question-about-auto-completion-field/153786)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 11:50am UTC](https://www.ruby-forum.com/t/question-about-auto-completion-field/153786 "2008-11-21T11:50:38Z")

</div>

Dear all I am reading a rails cookbook about the auto\_complete\_for function, the code as below app/controllers/musicians\_controller.rb: class MusiciansController \< ApplicationController auto\_complete\_for :musician, …

---

## [Pl. suggest some beginning tips for new Merbists](https://www.ruby-forum.com/t/pl-suggest-some-beginning-tips-for-new-merbists/153803)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 11:50am UTC](https://www.ruby-forum.com/t/pl-suggest-some-beginning-tips-for-new-merbists/153803 "2008-11-21T11:50:03Z")

</div>

Hello, Since Merb is new and so are we…can we expect some quick important tips to move ahead from senior Rails Developers as well as Merbists here…? It would be nice to guide us on the points below. (1) Best IDE cur…

---

## [Next and previous methods for a model](https://www.ruby-forum.com/t/next-and-previous-methods-for-a-model/153782)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [November 21, 2008, 8:37am UTC](https://www.ruby-forum.com/t/next-and-previous-methods-for-a-model/153782 "2008-11-21T08:37:03Z")

</div>

Anyone know of a plugin or gem that would create methods such as next and previous on a model to traverse among siblings? For example, @post.next and @post.prev.

---

## [Radio buttons are not mutually exclusive in Edit page](https://www.ruby-forum.com/t/radio-buttons-are-not-mutually-exclusive-in-edit-page/153802)

<div class="topic-metadata">

**Author:** [@spgangwar](https://www.ruby-forum.com/u/spgangwar)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:29am UTC](https://www.ruby-forum.com/t/radio-buttons-are-not-mutually-exclusive-in-edit-page/153802 "2008-11-21T08:29:09Z")

</div>

I have two emails for a contact. The first email is primary.While saving a new contact I can only set one radio button for primary, but in edit page the primary radio button can be set for both emails(not mutually exc…

---

## [Render partial for ym4r gmarker info\_window in rjs](https://www.ruby-forum.com/t/render-partial-for-ym4r-gmarker-info-window-in-rjs/153801)

<div class="topic-metadata">

**Author:** [@gsterndale](https://www.ruby-forum.com/u/gsterndale)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 8:10am UTC](https://www.ruby-forum.com/t/render-partial-for-ym4r-gmarker-info-window-in-rjs/153801 "2008-11-21T08:10:09Z")

</div>

Hi All, I’m trying to add a marker with an info\_window on my map in a rjs request using a partial. ---- new.js.rjs ---- marker = GMarker.new(\[@bar.lat, @bar.lng\], :info\_window =\> render (:partial =\> “/foo/bar”, :obj…

---

## [Destroy Action](https://www.ruby-forum.com/t/destroy-action/151287)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 3\
**Last updated:** [November 21, 2008, 7:38am UTC](https://www.ruby-forum.com/t/destroy-action/151287 "2008-11-21T07:38:34Z")

</div>

Hi Everyone, I have just created a destroy action in my controller, it was working fine about 2 hours ago and now for some reason it has stopped working. Once I click on destroy I receive ’ Unknown action No action …

---

## [Restful Rails with Ajax](https://www.ruby-forum.com/t/restful-rails-with-ajax/153794)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 6:27am UTC](https://www.ruby-forum.com/t/restful-rails-with-ajax/153794 "2008-11-21T06:27:02Z")

</div>

What is the proper way to handle Ajax requests restfully? def index @user = User.all respond\_to do |format| format.html # Normal requests format.js # Should I use this? format.rjs # Something like this? end en…

---

## [Can't install rails gem on ibex](https://www.ruby-forum.com/t/cant-install-rails-gem-on-ibex/153795)

<div class="topic-metadata">

**Author:** [@joeymarchy](https://www.ruby-forum.com/u/joeymarchy)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 6:23am UTC](https://www.ruby-forum.com/t/cant-install-rails-gem-on-ibex/153795 "2008-11-21T06:23:04Z")

</div>

joey@lab:~$ cat /etc/issue Ubuntu 8.10 \\n \\l joey@lab:~$ ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\] joey@lab:~$ gem --version 1.2.0 joey@lab:~$ gem install rails ERROR: While executing gem …

---

## [Gruff Graphs for Scatter Plot](https://www.ruby-forum.com/t/gruff-graphs-for-scatter-plot/100799)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 5:12am UTC](https://www.ruby-forum.com/t/gruff-graphs-for-scatter-plot/100799 "2008-11-21T05:12:16Z")

</div>

Hi all, Is there any way to generate a scatter plot with Gruff? I had a look at it but it seemed to me to only want a category type x axis. Cheers Daniel

---

## [String returns](https://www.ruby-forum.com/t/string-returns/153703)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 4:46am UTC](https://www.ruby-forum.com/t/string-returns/153703 "2008-11-21T04:46:40Z")

</div>

Hi, my output String is =\>contact(name).From this output, i want to do is get “name” alone from the output.How can i achieve this can anyone please tell me

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

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