# Rails

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

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

---

## [Rails application mysteriously takes a big chunk of memory](https://www.ruby-forum.com/t/rails-application-mysteriously-takes-a-big-chunk-of-memory/171150)

<div class="topic-metadata">

**Author:** [@Developer\_In\_London](https://www.ruby-forum.com/u/Developer_In_London)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 2:38pm UTC](https://www.ruby-forum.com/t/rails-application-mysteriously-takes-a-big-chunk-of-memory/171150 "2009-06-29T14:38:13Z")

</div>

I seem to be getting a problem where my rails application seems to be leaking memory when I load a page. It starts off at about 737mb free. After I load my page it comes to about 603 mb free. When I restart the thin …

---

## [Imagebundle port](https://www.ruby-forum.com/t/imagebundle-port/171219)

<div class="topic-metadata">

**Author:** [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 2:16pm UTC](https://www.ruby-forum.com/t/imagebundle-port/171219 "2009-06-29T14:16:29Z")

</div>

Hi - not sure if this is the place to post this. I need someone to port the Ruby rails imagebundle plugin to use imagescience: Currently it uses Rmagick. Its should be fairly easy(?) - since only about 3 lines of c…

---

## [Scruffy gems](https://www.ruby-forum.com/t/scruffy-gems/171241)

<div class="topic-metadata">

**Author:** [@doelsengupta](https://www.ruby-forum.com/u/doelsengupta)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/scruffy-gems/171241 "2009-06-29T13:36:01Z")

</div>

Hi, I have written a code for drawing a graph with the scruffy gem, but the exact value of the bars are not visible. I have tries doing that with the renderer method and the standard.rb file. Neither I can do that w…

---

## [Line Length limit in posts](https://www.ruby-forum.com/t/line-length-limit-in-posts/171091)

<div class="topic-metadata">

**Author:** [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Replies:** 2\
**Last updated:** [June 29, 2009, 10:49am UTC](https://www.ruby-forum.com/t/line-length-limit-in-posts/171091 "2009-06-29T10:49:23Z")

</div>

It has occurred to me several times lately that there seems to be a bit of an artificial line length limit on the posts. I wonder if there is something about the way I enter them, but randomly pulling up some posts i…

---

## [Problem with 2.3 nested forms and new elements](https://www.ruby-forum.com/t/problem-with-2-3-nested-forms-and-new-elements/171233)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 10:37am UTC](https://www.ruby-forum.com/t/problem-with-2-3-nested-forms-and-new-elements/171233 "2009-06-29T10:37:28Z")

</div>

Hi, I’m using the new nested forms functionality and I having problems with new created elements. I have an invoice with lines. I would like to be able to create a new invoice, in the same form insert new lines dinam…

---

## [Mongrel Cluster help](https://www.ruby-forum.com/t/mongrel-cluster-help/169391)

<div class="topic-metadata">

**Author:** [@kingston](https://www.ruby-forum.com/u/kingston)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 8:34am UTC](https://www.ruby-forum.com/t/mongrel-cluster-help/169391 "2009-06-29T08:34:10Z")

</div>

Hello i am newbie in rails I wanted to know what is mongrel cluster what it is used for wish some one can help me out thanks any way

---

## [Receiving email in production](https://www.ruby-forum.com/t/receiving-email-in-production/171228)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 0\
**Last updated:** [June 29, 2009, 7:15am UTC](https://www.ruby-forum.com/t/receiving-email-in-production/171228 "2009-06-29T07:15:09Z")

</div>

Question: Is there a way to make rails show the same information about received emails in production environment as in development? Reason: I’m using mailer fetcher daemon to get email into my app, everything works f…

---

## [User has many topics or subtopics](https://www.ruby-forum.com/t/user-has-many-topics-or-subtopics/171155)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 4:30am UTC](https://www.ruby-forum.com/t/user-has-many-topics-or-subtopics/171155 "2009-06-29T04:30:02Z")

</div>

Hi, So i have users in the system and i have topics. Topics also have\_many subtopics. What is the cleanest way to setup the AR relationships if a user can either have\_many topics or subtopics ? Its basically a dual…

---

## [Validation error messages in Form - how to disable the ActionView::Base.field\_error\_proc?](https://www.ruby-forum.com/t/validation-error-messages-in-form-how-to-disable-the-actionview-base-field-error-proc/171209)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [June 28, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/validation-error-messages-in-form-how-to-disable-the-actionview-base-field-error-proc/171209 "2009-06-28T23:48:41Z")

</div>

I wrote the following code in my form view : Email \<%= form.text\_field :email, :size =\> "30" %\> \<%= @user.errors.on(:email) %\> the generated html code is the following : \<span warning-text-indent="" class="'warning…

---

## [Flog problem when run rake metrics:all](https://www.ruby-forum.com/t/flog-problem-when-run-rake-metrics-all/171182)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/flog-problem-when-run-rake-metrics-all/171182 "2009-06-28T20:02:42Z")

</div>

I encountered a problem when I run rake metrics:all, the full stack trace is as follows: \*\* Invoke metrics:all (first\_time) \*\* Execute metrics:all /usr/lib/ruby/gems/1.8/gems/flog-2.1.2/bin/flog:11: undefined method …

---

## [Which design pattern will work best with AR](https://www.ruby-forum.com/t/which-design-pattern-will-work-best-with-ar/171208)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 2\
**Last updated:** [June 28, 2009, 5:48pm UTC](https://www.ruby-forum.com/t/which-design-pattern-will-work-best-with-ar/171208 "2009-06-28T17:48:25Z")

</div>

Hello, I’m writing a Rails application that will track people’s interests. I’d like to keep detailed information about each type of interest so I can’t just put everything in the interest table (the table would be ju…

---

## [CheckBox and Ruby on Rails](https://www.ruby-forum.com/t/checkbox-and-ruby-on-rails/171203)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/checkbox-and-ruby-on-rails/171203 "2009-06-28T17:47:17Z")

</div>

I have two questions: I have a checkbox on a form and after submit I need to check the status of the checkbox. Any idea how to see what the checkbox is set to? I am assuming this must be done in the controller or …

---

## [Starting Mongrels = no such file to load -- initializer (load error)](https://www.ruby-forum.com/t/starting-mongrels-no-such-file-to-load-initializer-load-error/164079)

<div class="topic-metadata">

**Author:** [@JMcG](https://www.ruby-forum.com/u/JMcG)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/starting-mongrels-no-such-file-to-load-initializer-load-error/164079 "2009-06-28T12:42:16Z")

</div>

I’ve searched high and low and cannot find a solution to this problem. Any help would be appreciated. My problem is when starting my mongrels with this command: mongrel\_rails start -d -p 3000 -P log/mongrel1.pid I ge…

---

## [Rake test:integration appears to load routes twice](https://www.ruby-forum.com/t/rake-test-integration-appears-to-load-routes-twice/171193)

<div class="topic-metadata">

**Author:** [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Replies:** 0\
**Last updated:** [June 28, 2009, 9:16am UTC](https://www.ruby-forum.com/t/rake-test-integration-appears-to-load-routes-twice/171193 "2009-06-28T09:16:53Z")

</div>

Whilst trying to find out why I was having problems running Webrat, I put a puts into the routes file to see when it was loaded, and noticed it gets loaded twice. Is there any problem with this. It only happens with …

---

## [First application: Alternatives to creating a database?](https://www.ruby-forum.com/t/first-application-alternatives-to-creating-a-database/171167)

<div class="topic-metadata">

**Author:** [@superbeefburrito](https://www.ruby-forum.com/u/superbeefburrito)\
**Replies:** 4\
**Last updated:** [June 28, 2009, 5:16am UTC](https://www.ruby-forum.com/t/first-application-alternatives-to-creating-a-database/171167 "2009-06-28T05:16:34Z")

</div>

Hi, I’ve done a bit of web development work, but decided to try something new after I got into a fight with PHP over regular expressions. I figured I’d have nothing to do by trying out Rails, so here I am. I’m follo…

---

## [Error while opening localhost:3000](https://www.ruby-forum.com/t/error-while-opening-localhost-3000/171188)

<div class="topic-metadata">

**Author:** [@A\_P](https://www.ruby-forum.com/u/A_P)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 5:01am UTC](https://www.ruby-forum.com/t/error-while-opening-localhost-3000/171188 "2009-06-28T05:01:17Z")

</div>

I installed ruby on rails and created a new project, when i start the server and check the “about your application’s environment” tab, I get a n error saying " We’re sorry, but something went wrong. We’ve been notif…

---

## [How to make an alternating hover table in Rails](https://www.ruby-forum.com/t/how-to-make-an-alternating-hover-table-in-rails/171183)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/how-to-make-an-alternating-hover-table-in-rails/171183 "2009-06-27T22:47:27Z")

</div>

Well, there’s not much I can offer to the community as of yet, but I figure I can offer what I do know. I’m pretty solid with javascript and css and table formatting. So, I wanted to show you how to make a table tha…

---

## [Has\_many:through](https://www.ruby-forum.com/t/has-many-through/171076)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 27\
**Last updated:** [June 27, 2009, 10:08pm UTC](https://www.ruby-forum.com/t/has-many-through/171076 "2009-06-27T22:08:38Z")

</div>

I just want to make sure I’m doing this properly. I have one table that acts as a primary key: Table : teams team\_id name All of my other tables have the following criteria: team\_id stats… more stats… even more…

---

## [Thread problem](https://www.ruby-forum.com/t/thread-problem/171181)

<div class="topic-metadata">

**Author:** [@felipegiotto](https://www.ruby-forum.com/u/felipegiotto)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/thread-problem/171181 "2009-06-27T21:31:33Z")

</div>

Hi! I’m having a strange problem. I need to open a mongrel server (with mongrel\_service and Windows) and I also need to run tasks in parallel with mongrel. So, first I tried a Thread.new do … end in my environment.rb…

---

## [RedCloth 4.2.1 with Rails 2.3.2 -- something's broken](https://www.ruby-forum.com/t/redcloth-4-2-1-with-rails-2-3-2-somethings-broken/171149)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 8:48pm UTC](https://www.ruby-forum.com/t/redcloth-4-2-1-with-rails-2-3-2-somethings-broken/171149 "2009-06-27T20:48:04Z")

</div>

I’m having a hell of a time getting RedCloth working. Here’s my system info: gem list rails \*\*\* LOCAL GEMS \*\*\* rails (2.3.2, 1.2.6, 1.2.3) gem list RedCloth \*\*\* LOCAL GEMS \*\*\* RedCloth (4.2.1, 3.0.4) admanb$ RedC…

---

## [Problem with :touch in belongs\_to](https://www.ruby-forum.com/t/problem-with-touch-in-belongs-to/171176)

<div class="topic-metadata">

**Author:** [@Arkadiusz\_MSSSS\_yna](https://www.ruby-forum.com/u/Arkadiusz_MSSSS_yna)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/problem-with-touch-in-belongs-to/171176 "2009-06-27T20:19:58Z")

</div>

I’ve read in rails api that there is a touch parameter and I want to use it in my application. I have something like that class User \< ActiveRecord::Base has\_many :phones after\_update :updated def updated … end e…

---

## [Testing error\_messages rails 2.3](https://www.ruby-forum.com/t/testing-error-messages-rails-2-3/171144)

<div class="topic-metadata">

**Author:** [@dream\_runner](https://www.ruby-forum.com/u/dream_runner)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 8:17pm UTC](https://www.ruby-forum.com/t/testing-error-messages-rails-2-3/171144 "2009-06-27T20:17:03Z")

</div>

Quick question. I’m kind of a novice to Rails and have been teaching myself using RailsSpace which has examples based on an older version of Ruby/Rails. I’ve been able to adapt them all but there was one question I ha…

---

## [A table named references](https://www.ruby-forum.com/t/a-table-named-references/171008)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 9\
**Last updated:** [June 27, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/a-table-named-references/171008 "2009-06-27T20:12:21Z")

</div>

Hi all, I accidentally generated a scaffold called reference, not realizing references was apparently a reserved word in MySQL. I thought I could get away with it, since the scaffold itself seemed to be working, but …

---

## [Scriptaculous -- How do I access from Rails?](https://www.ruby-forum.com/t/scriptaculous-how-do-i-access-from-rails/171036)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 8\
**Last updated:** [June 27, 2009, 1:17pm UTC](https://www.ruby-forum.com/t/scriptaculous-how-do-i-access-from-rails/171036 "2009-06-27T13:17:31Z")

</div>

If I look at a page with a Scriptaculous example like: http://www.gregphoto.net/sortable/advanced/ And I can view the html/js source of the page – my question becomes, how do I implement this, or wire this into, my ra…

---

## [Has\_many\_through inheritance](https://www.ruby-forum.com/t/has-many-through-inheritance/171162)

<div class="topic-metadata">

**Author:** [@ben-v](https://www.ruby-forum.com/u/ben-v)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 10:36am UTC](https://www.ruby-forum.com/t/has-many-through-inheritance/171162 "2009-06-27T10:36:18Z")

</div>

Hi all! In my application I’m trying to create a model (Groups), which will allow me to save groups of objects from various tables under a common name. For example, one record in this table could refer to a group of …

---

## [Question about saving](https://www.ruby-forum.com/t/question-about-saving/171142)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 2\
**Last updated:** [June 27, 2009, 8:45am UTC](https://www.ruby-forum.com/t/question-about-saving/171142 "2009-06-27T08:45:59Z")

</div>

Hi, I have a couple of classes, defined in simplified form as follows: class Item \< ActiveRecord::Base has\_many :item\_properties, :dependent =\> :delete\_all end class ItemProperty \< ActiveRecord::Base belongs\_to :it…

---

## [Param in View not being set](https://www.ruby-forum.com/t/param-in-view-not-being-set/170527)

<div class="topic-metadata">

**Author:** [@Rachel\_N](https://www.ruby-forum.com/u/Rachel_N)\
**Replies:** 12\
**Last updated:** [June 27, 2009, 8:06am UTC](https://www.ruby-forum.com/t/param-in-view-not-being-set/170527 "2009-06-27T08:06:14Z")

</div>

Hello All, I have :wsc\_uid=\>category\[‘wsc\_uid\_pk’\] in my view so that I can use :wsc\_uid parameter in my controller to pass to model. In my view I am printing category\[‘wsc\_uid\_pk’\] to see if there is data, and there…

---

## [XML POST / Upload, Flash uploaders and all that](https://www.ruby-forum.com/t/xml-post-upload-flash-uploaders-and-all-that/171153)

<div class="topic-metadata">

**Author:** [@zamo](https://www.ruby-forum.com/u/zamo)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 2:40am UTC](https://www.ruby-forum.com/t/xml-post-upload-flash-uploaders-and-all-that/171153 "2009-06-27T02:40:33Z")

</div>

Hello everybody, I’m having some trouble with my latest endeavor : POSTing a XML File to my Rails App. I use a flash Uploader, namely FancyUpload v2.0 (v3.0 stopped working for me for very random reasons) to POST the …

---

## [Putting Rails on the Web Server](https://www.ruby-forum.com/t/putting-rails-on-the-web-server/171043)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 11\
**Last updated:** [June 27, 2009, 2:14am UTC](https://www.ruby-forum.com/t/putting-rails-on-the-web-server/171043 "2009-06-27T02:14:06Z")

</div>

Can you put rails on a web server before you have written an application? And how do you do it? Thank you,

---

## [Closing popup on webserver](https://www.ruby-forum.com/t/closing-popup-on-webserver/171063)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 1:51am UTC](https://www.ruby-forum.com/t/closing-popup-on-webserver/171063 "2009-06-27T01:51:13Z")

</div>

Hello, I’ve got an interesting problem… I’m running RoR on Windows Server 2003 (using Apache though, not IIS) and I have an app that does a test to see if the user provided MAPI credentials are valid in MS Exchange. …

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

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