# Rails

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

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

---

## [Passing an array of hash to a render partial gives nil](https://www.ruby-forum.com/t/passing-an-array-of-hash-to-a-render-partial-gives-nil/106129)

<div class="topic-metadata">

**Author:** [@hamrin](https://www.ruby-forum.com/u/hamrin)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/passing-an-array-of-hash-to-a-render-partial-gives-nil/106129 "2007-06-11T13:30:45Z")

</div>

It looks like there is a problem passing an array of hash to a partial render via a collection. I am trying to do the following: \<%= render :partial =\> “listshop”, :collection =\> @pca %\> and @pca has the following: @…

---

## [Multiple Applications Setup](https://www.ruby-forum.com/t/multiple-applications-setup/106501)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/multiple-applications-setup/106501 "2007-06-11T13:18:52Z")

</div>

Hi everyone! I’m just getting started with RoR - I’m a bit behind the game! Anyway, I have several website I want to move over to this format and which I want to host on a single Linux Virtual Machine (that’s what my …

---

## [My app uses a lot of memory](https://www.ruby-forum.com/t/my-app-uses-a-lot-of-memory/106470)

<div class="topic-metadata">

**Author:** [@kay](https://www.ruby-forum.com/u/kay)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 12:56pm UTC](https://www.ruby-forum.com/t/my-app-uses-a-lot-of-memory/106470 "2007-06-11T12:56:36Z")

</div>

Hi guys. My problem is the follow: I use mongrel for my app and in normal use the app use 30 MB +/- of memory, the problem is when one of my funcionality is used, is a query that return a very big amouth of data, and…

---

## [The infamous /dispatch.fcgi" has failed to remain running fo](https://www.ruby-forum.com/t/the-infamous-dispatch-fcgi-has-failed-to-remain-running-fo/106504)

<div class="topic-metadata">

**Author:** [@hanoc](https://www.ruby-forum.com/u/hanoc)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 12:17pm UTC](https://www.ruby-forum.com/t/the-infamous-dispatch-fcgi-has-failed-to-remain-running-fo/106504 "2007-06-11T12:17:29Z")

</div>

Hi, I had an application up and running with rails and fcgi and I don’t really know how I messed things up. After hours of trying solutions from the web I have been able to get the famous /dispatch.fcgi" has failed …

---

## [Routing: Slash in front of controller](https://www.ruby-forum.com/t/routing-slash-in-front-of-controller/106297)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 11:27am UTC](https://www.ruby-forum.com/t/routing-slash-in-front-of-controller/106297 "2007-06-11T11:27:23Z")

</div>

OK, A while back (pre 1.2, if I remember correctly), putting a slash in front of a controller name then using link\_to would cause any recalled parameters to be ignored, e.g. On a page with a url of / articles/edit/1?t…

---

## [Flex app over RESTful application with RoR](https://www.ruby-forum.com/t/flex-app-over-restful-application-with-ror/106499)

<div class="topic-metadata">

**Author:** [@laurent](https://www.ruby-forum.com/u/laurent)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 11:15am UTC](https://www.ruby-forum.com/t/flex-app-over-restful-application-with-ror/106499 "2007-06-11T11:15:21Z")

</div>

Hi, For french speakers : I’ve published a little article about a simple Flex app over RESTful services in RoR http://social.hortis.ch/2007/06/10/rich-internet-application-avec-flex-over-restful-ror-services/ I plan…

---

## [Inheritance ActiveRecord on Rails](https://www.ruby-forum.com/t/inheritance-activerecord-on-rails/106497)

<div class="topic-metadata">

**Author:** [@Dhendy\_Ferdian](https://www.ruby-forum.com/u/Dhendy_Ferdian)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 10:52am UTC](https://www.ruby-forum.com/t/inheritance-activerecord-on-rails/106497 "2007-06-11T10:52:19Z")

</div>

can I create Class Table Inheritance or Concrete Table Inheritance ? I got this reference http://wiki. rubyonrails. org/rails/ pages/SingleTableInheritance but in some case I need to create Class Table Inheritance or …

---

## [Using act\_as\_authenticated and convert existing user table](https://www.ruby-forum.com/t/using-act-as-authenticated-and-convert-existing-user-table/106496)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 10:38am UTC](https://www.ruby-forum.com/t/using-act-as-authenticated-and-convert-existing-user-table/106496 "2007-06-11T10:38:31Z")

</div>

Hi, I am a rails newbie and I can’t find out how to use act\_as\_authenticated with an existing user table. The problem is that I can not figure out how to encrypt all existing passwords/logins to the fields encrypte…

---

## [Loading models in rake task](https://www.ruby-forum.com/t/loading-models-in-rake-task/106217)

<div class="topic-metadata">

**Author:** [@Isak\_H](https://www.ruby-forum.com/u/Isak_H)\
**Replies:** 5\
**Last updated:** [June 11, 2007, 10:17am UTC](https://www.ruby-forum.com/t/loading-models-in-rake-task/106217 "2007-06-11T10:17:14Z")

</div>

I’m working on a rake task that loads AR models from a yaml file, which fails when I try to use a deserialized object, as its class hasn’t been loaded. I don’t know beforehand exactly which classes are in the file(s),…

---

## [Analyzing text with Regular Expressions](https://www.ruby-forum.com/t/analyzing-text-with-regular-expressions/106421)

<div class="topic-metadata">

**Author:** [@Kristen](https://www.ruby-forum.com/u/Kristen)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 9:46am UTC](https://www.ruby-forum.com/t/analyzing-text-with-regular-expressions/106421 "2007-06-11T09:46:08Z")

</div>

Hello, Im analyzing some text by using regular expressions in Ruby. Im wondering if there are any tools to make the analyzing of text files more convenient. I ran across a program called RegExBuddy (Ruby Regexp Clas…

---

## [Remote database connection disconnecting after certain amoun](https://www.ruby-forum.com/t/remote-database-connection-disconnecting-after-certain-amoun/106489)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 8:32am UTC](https://www.ruby-forum.com/t/remote-database-connection-disconnecting-after-certain-amoun/106489 "2007-06-11T08:32:33Z")

</div>

I have a server running Merb connecting to a remote database using “establish\_connection.” When I call many methods in fast succession, I eventually get this Mysql error: Mysql::Error: Lost connection to MySQL server…

---

## [Dynamically showing data based on different selection](https://www.ruby-forum.com/t/dynamically-showing-data-based-on-different-selection/106480)

<div class="topic-metadata">

**Author:** [@surfman](https://www.ruby-forum.com/u/surfman)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 7:35am UTC](https://www.ruby-forum.com/t/dynamically-showing-data-based-on-different-selection/106480 "2007-06-11T07:35:53Z")

</div>

suppose there is a selection list that has different selections, I want to show different items to my users based on each different selection. say, there is selection list that has breakfast, lunch, dinner, when a use…

---

## [\[ANN\] Selenium RC Fu (plus js unit)](https://www.ruby-forum.com/t/ann-selenium-rc-fu-plus-js-unit/106485)

<div class="topic-metadata">

**Author:** [@Parker\_T](https://www.ruby-forum.com/u/Parker_T)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 6:29am UTC](https://www.ruby-forum.com/t/ann-selenium-rc-fu-plus-js-unit/106485 "2007-06-11T06:29:49Z")

</div>

We’ve been threatening to open source this for a while, most recently during Alex and Brian’s talk at Railsconf \[1\]. See the readme \[2\] for more info, and the source/rdocs for all the gory details. Feedback and cont…

---

## [SMTP settings for sending email?](https://www.ruby-forum.com/t/smtp-settings-for-sending-email/106463)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 5:49am UTC](https://www.ruby-forum.com/t/smtp-settings-for-sending-email/106463 "2007-06-11T05:49:56Z")

</div>

I know there have been several posts about sending emails via ActionMailer, so I’m not trying to add to them. I understand the process of sending emails on the RoR side of things, but I have no real knowledge of SMTP…

---

## [Rails action using an insane amount of MySQL/CPU](https://www.ruby-forum.com/t/rails-action-using-an-insane-amount-of-mysql-cpu/106294)

<div class="topic-metadata">

**Author:** [@dji](https://www.ruby-forum.com/u/dji)\
**Replies:** 8\
**Last updated:** [June 11, 2007, 5:21am UTC](https://www.ruby-forum.com/t/rails-action-using-an-insane-amount-of-mysql-cpu/106294 "2007-06-11T05:21:45Z")

</div>

Hey guys, I have a very large rails app running on 4 instances of mongrel on a P4 server with 1GB RAM. Not the absolute best setup, but, the server has been optimized and the application has been running extremely fas…

---

## [Simple SQL query from a legacy db](https://www.ruby-forum.com/t/simple-sql-query-from-a-legacy-db/92493)

<div class="topic-metadata">

**Author:** [@gabez](https://www.ruby-forum.com/u/gabez)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 5:04am UTC](https://www.ruby-forum.com/t/simple-sql-query-from-a-legacy-db/92493 "2007-06-11T05:04:44Z")

</div>

Hi, Im pretty new to Ruby as I’ve been programming for it for less than a month. I’m a php programmer that switched :slight\_smile: Anyways, I’m having an issue. I have my full site built in php and I’m using a legacy…

---

## [Model Plugin questions](https://www.ruby-forum.com/t/model-plugin-questions/91927)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 4:49am UTC](https://www.ruby-forum.com/t/model-plugin-questions/91927 "2007-06-11T04:49:43Z")

</div>

Hi all, I have had to integrate a rails application with a legacy database. I must say it worked out rather well, but now I need to create a separate Rails app that also needs to use much of the same functionality th…

---

## [Migration problem](https://www.ruby-forum.com/t/migration-problem/106479)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 4:44am UTC](https://www.ruby-forum.com/t/migration-problem/106479 "2007-06-11T04:44:42Z")

</div>

Hi, I seem to have a fundamental misunderstaning or Rake, Ruby, or Migrations.(or perhaps all three) I have done dozens of simple Migrations with just a self.up and self.down… Now I have one that is more complex and …

---

## [Get all classes which include a module](https://www.ruby-forum.com/t/get-all-classes-which-include-a-module/106455)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 1:34am UTC](https://www.ruby-forum.com/t/get-all-classes-which-include-a-module/106455 "2007-06-11T01:34:29Z")

</div>

Hey, while building a small CMS I now have the problem to create some content elements. To be able to make a selectbox (or something similar), I have to figure out, which content elements (each has its own model-clas…

---

## [VIDEO SURVEIlANCE OF PARIS HILTON IN PRISON](https://www.ruby-forum.com/t/video-surveilance-of-paris-hilton-in-prison/106467)

<div class="topic-metadata">

**Author:** [@rico](https://www.ruby-forum.com/u/rico)\
**Replies:** 0\
**Last updated:** [June 11, 2007, 12:02am UTC](https://www.ruby-forum.com/t/video-surveilance-of-paris-hilton-in-prison/106467 "2007-06-11T00:02:23Z")

</div>

HugeDomains.com Video of Paris hilton in Jail Miley Cyrus real home page HugeDomains.com Baby V - Vanessa Hudgens her blog and page http://www.teenwag.com/profile?user=vanessahudgens1214 Nat Wolff’s page TeenWag.com…

---

## [Video of Paris Hilton in Jail Surveilance Camera http://tee](https://www.ruby-forum.com/t/video-of-paris-hilton-in-jail-surveilance-camera-http-tee/106466)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 11:36pm UTC](https://www.ruby-forum.com/t/video-of-paris-hilton-in-jail-surveilance-camera-http-tee/106466 "2007-06-10T23:36:20Z")

</div>

Video of Paris Hilton in Jail Surveilance Camera

---

## [Deploy Your First JRuby on Rails App to Glassfish Tutorial](https://www.ruby-forum.com/t/deploy-your-first-jruby-on-rails-app-to-glassfish-tutorial/106456)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/deploy-your-first-jruby-on-rails-app-to-glassfish-tutorial/106456 "2007-06-10T19:50:48Z")

</div>

Good afternoon all, I have published the second of three JRuby tutorials on our blog: http://www.techcfl.com/blog. It this second tutorial, we show step-by- step how to use JRuby to deploy a Rails app to Glassfish. I …

---

## [Getting started with a legacy database](https://www.ruby-forum.com/t/getting-started-with-a-legacy-database/106447)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/getting-started-with-a-legacy-database/106447 "2007-06-10T19:31:47Z")

</div>

It’s been a few weeks, at least, since I’ve touched ruby. The plateau I’m at is that I can view a list of dummy data through firefox, that is, the dummy database is succesfully configured. However, configuring \<GitH…

---

## [Media Temple dv Deployment headache! help please!](https://www.ruby-forum.com/t/media-temple-dv-deployment-headache-help-please/106448)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/media-temple-dv-deployment-headache-help-please/106448 "2007-06-10T18:59:41Z")

</div>

Bah humbug I’m trying to deploy my very first rails app and man if i said i didn’t understand a damn thing it would be a understatement. I found development to be a breeze but now I’m totally stuck. I have a Media tem…

---

## [Ruport Roundtable](https://www.ruby-forum.com/t/ruport-roundtable/106289)

<div class="topic-metadata">

**Author:** [@mikem836](https://www.ruby-forum.com/u/mikem836)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/ruport-roundtable/106289 "2007-06-10T18:56:41Z")

</div>

It’s been a few weeks now since the 1.0 release of Ruport and now that the dust has settled, it seems like a good time to have a roundtable discussion to see how things are going. We’re mainly hoping to get some feedb…

---

## [Usage of stored procedures](https://www.ruby-forum.com/t/usage-of-stored-procedures/106382)

<div class="topic-metadata">

**Author:** [@Tyche](https://www.ruby-forum.com/u/Tyche)\
**Replies:** 2\
**Last updated:** [June 10, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/usage-of-stored-procedures/106382 "2007-06-10T17:35:34Z")

</div>

Hi, I am trying my hands on RoR for a dummy project and I use Mysql as my database. For data manipulation and querying purpose, should I write ruby code directly in active record or write a stored procedure and invok…

---

## [In\_place\_editor :script =\> true](https://www.ruby-forum.com/t/in-place-editor-script-true/106431)

<div class="topic-metadata">

**Author:** [@Zach\_ISSS\_LT3media](https://www.ruby-forum.com/u/Zach_ISSS_LT3media)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/in-place-editor-script-true/106431 "2007-06-10T16:47:31Z")

</div>

I’m having problems with my in\_place\_editor returning the javascript as text. http://pastie.caboo.se/69212 Wondered if anyone could help me? Thanks Zach

---

## [Change value of variable from config file and store it back](https://www.ruby-forum.com/t/change-value-of-variable-from-config-file-and-store-it-back/106435)

<div class="topic-metadata">

**Author:** [@rosty](https://www.ruby-forum.com/u/rosty)\
**Replies:** 1\
**Last updated:** [June 10, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/change-value-of-variable-from-config-file-and-store-it-back/106435 "2007-06-10T16:20:01Z")

</div>

I’m having a global variable that is placed in development.rb. How can I change the value of that variable from within the code and store it back to the config file?

---

## [UNICOM, Video Conferencing in Pakistan http://www.unicom.net](https://www.ruby-forum.com/t/unicom-video-conferencing-in-pakistan-http-www-unicom-net/106438)

<div class="topic-metadata">

**Author:** [@koom2020](https://www.ruby-forum.com/u/koom2020)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/unicom-video-conferencing-in-pakistan-http-www-unicom-net/106438 "2007-06-10T16:06:26Z")

</div>

UNICOM, Video Conferencing in Pakistan http://www.unicom.net.pk/ We at Unicom are pleased to inform you that we have expanded our network of video conferencing studios in all major cities of Pakistan including Karach…

---

## [Learning REST, singleton resources and connecting it to the](https://www.ruby-forum.com/t/learning-rest-singleton-resources-and-connecting-it-to-the/106436)

<div class="topic-metadata">

**Author:** [@oandrich](https://www.ruby-forum.com/u/oandrich)\
**Replies:** 0\
**Last updated:** [June 10, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/learning-rest-singleton-resources-and-connecting-it-to-the/106436 "2007-06-10T15:33:23Z")

</div>

Hi, I am still having here and there problems, when developing a RESTful application. After completing my first personal toy up, I felt like being on the way to understand REST in rails. :slight\_smile: But now I have…

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

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