# Rails

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

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

---

## [Find every subclass of an object](https://www.ruby-forum.com/t/find-every-subclass-of-an-object/148553)

<div class="topic-metadata">

**Author:** [@DyingToLearn](https://www.ruby-forum.com/u/DyingToLearn)\
**Replies:** 2\
**Last updated:** [September 15, 2008, 4:08am UTC](https://www.ruby-forum.com/t/find-every-subclass-of-an-object/148553 "2008-09-15T04:08:20Z")

</div>

Hi, I have this class: class MoldItem \< ActiveRecord::Base self.abstract\_class = true end And then I have a (currenly unspecified) number of classes such as these: class StringMoldItem \< MoldItem end class LinkM…

---

## [The state of SOAP](https://www.ruby-forum.com/t/the-state-of-soap/148562)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 1:49am UTC](https://www.ruby-forum.com/t/the-state-of-soap/148562 "2008-09-15T01:49:41Z")

</div>

What’s the state of SOAP on rails? This is what I can gather so far. AWS doesn’t work with rails 2.1. There are two forks of it one from datanoise and one here http://www.actionwebservice.info/ There is something fr…

---

## [How to get session's cookie string](https://www.ruby-forum.com/t/how-to-get-sessions-cookie-string/148560)

<div class="topic-metadata">

**Author:** [@fanz](https://www.ruby-forum.com/u/fanz)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 1:40am UTC](https://www.ruby-forum.com/t/how-to-get-sessions-cookie-string/148560 "2008-09-15T01:40:55Z")

</div>

Hi,everyone! I have a problem: After using session\[:foo\]=foo change my session, I want to know what the new “session\_key” cookie value would be before I response. I tried session.to\_s and session.encode but didn’t wo…

---

## [Monitoring my production application](https://www.ruby-forum.com/t/monitoring-my-production-application/148404)

<div class="topic-metadata">

**Author:** [@shaggyrd](https://www.ruby-forum.com/u/shaggyrd)\
**Replies:** 3\
**Last updated:** [September 14, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/monitoring-my-production-application/148404 "2008-09-14T23:48:02Z")

</div>

Hi everybody, I’m running different rails applications in a production environment and I saw that the memory used by mongrels is increasing every day. What can I do to monitor this memory increasing? (the applications …

---

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

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/form-for-search-question/148555 "2008-09-14T23:32:41Z")

</div>

Hi there, I’m going through this tutorial on Thinking Sphinx: I’m really new to searches in rails; how do I get the search results to display on a separate search result page? I have a search form that appears on ev…

---

## [Setting up RoR with Postgresql ---heeellpp!](https://www.ruby-forum.com/t/setting-up-ror-with-postgresql-heeellpp/148466)

<div class="topic-metadata">

**Author:** [@dragonslayre](https://www.ruby-forum.com/u/dragonslayre)\
**Replies:** 4\
**Last updated:** [September 14, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/setting-up-ror-with-postgresql-heeellpp/148466 "2008-09-14T22:51:31Z")

</div>

Hi there, I’ve been trying for a few hours now to get RoR and postgresql talking - but I’m very confused about what’s going on (I’m running windows btw). I haven’t created a database in postgresql (I’m assuming that R…

---

## [Using Rails view templates without the Controller? How?](https://www.ruby-forum.com/t/using-rails-view-templates-without-the-controller-how/148378)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/using-rails-view-templates-without-the-controller-how/148378 "2008-09-14T22:33:04Z")

</div>

Hi I have a SupplierBreakdownReport class that uses a rails view to generate a html report, which then is converted into a PDF, as follows : class ReportGeneratorController \< ApplicationController … def supplier\_bre…

---

## [Libpcap with Ruby](https://www.ruby-forum.com/t/libpcap-with-ruby/148552)

<div class="topic-metadata">

**Author:** [@FryShadow](https://www.ruby-forum.com/u/FryShadow)\
**Replies:** 3\
**Last updated:** [September 14, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/libpcap-with-ruby/148552 "2008-09-14T21:03:36Z")

</div>

I just try some script from fukusima http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap/examples/ When I try to run the script it give a warning /usr/lib/ruby/site\_ruby/1.8/i686-linux/pcap.so: warning: do not use …

---

## [Rails 2.1 and Ruby 1.8.6-p237](https://www.ruby-forum.com/t/rails-2-1-and-ruby-1-8-6-p237/148551)

<div class="topic-metadata">

**Author:** [@tekwiz](https://www.ruby-forum.com/u/tekwiz)\
**Replies:** 1\
**Last updated:** [September 14, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/rails-2-1-and-ruby-1-8-6-p237/148551 "2008-09-14T20:43:03Z")

</div>

Gentoo finally released what they’re calling a “stable” version of ruby 1.8.6 p237, but they’re calling it version 1.8.6\_p237-r1. The last I heard, p237 broke parts of rails. Is this still the case?

---

## [Adding items in sent items page](https://www.ruby-forum.com/t/adding-items-in-sent-items-page/148300)

<div class="topic-metadata">

**Author:** [@adolf](https://www.ruby-forum.com/u/adolf)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/adding-items-in-sent-items-page/148300 "2008-09-14T20:19:08Z")

</div>

am in the process of developing a small application in which i want mails to be sent out whenever a customer purchases a product.mails can now be sent but i cannot see them in my sent items p…

---

## [Issue w helper](https://www.ruby-forum.com/t/issue-w-helper/148547)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [September 14, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/issue-w-helper/148547 "2008-09-14T19:25:52Z")

</div>

in one of my partials, I was using the following code (made it short…) \<% for work in @works %\> \<%= work.title -%\> \<%= draggable\_element "work\_#{work.id}", :revert =\> true %\> \<% end %\> due to an issue w…

---

## [Serializing an AR object into an attribute in another](https://www.ruby-forum.com/t/serializing-an-ar-object-into-an-attribute-in-another/148527)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/serializing-an-ar-object-into-an-attribute-in-another/148527 "2008-09-14T19:08:44Z")

</div>

Hi, I don’t know if this is a bug or it is the expected behavior but I am trying to serialize an AR object into another. I know this is not very usual but I don’t want to use a belongs\_to association because the obje…

---

## [Issue with Sqlite3 on Ubuntu](https://www.ruby-forum.com/t/issue-with-sqlite3-on-ubuntu/147291)

<div class="topic-metadata">

**Author:** [@Marquis](https://www.ruby-forum.com/u/Marquis)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 7:02pm UTC](https://www.ruby-forum.com/t/issue-with-sqlite3-on-ubuntu/147291 "2008-09-14T19:02:20Z")

</div>

I have installed sqlite3, libsqlite3-dev and libsqlite3-ruby When I run “sudo gem1.8 install sqlite3-ruby” I get the following: Building native extensions. This could take a while… ERROR: Error installing sqlite3-r…

---

## [Searching with pagination](https://www.ruby-forum.com/t/searching-with-pagination/148531)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 6\
**Last updated:** [September 14, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/searching-with-pagination/148531 "2008-09-14T18:20:41Z")

</div>

I’ve got a search action that submits to itself and allows users to search through a list of people by firstname and/or lastname. On submitting the form the action detects POST method, performs the search and renders …

---

## [No sort in a select](https://www.ruby-forum.com/t/no-sort-in-a-select/148535)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 4\
**Last updated:** [September 14, 2008, 3:36pm UTC](https://www.ruby-forum.com/t/no-sort-in-a-select/148535 "2008-09-14T15:36:34Z")

</div>

hi, i’m trying to add a select box with the select method, but rails orders it according to the name, while i needed ordered according to the value, or just to work in the order i put it in. this is my array: @price…

---

## [Migrate my rails app from v=1.1.6 to v=2.0.1](https://www.ruby-forum.com/t/migrate-my-rails-app-from-v-1-1-6-to-v-2-0-1/148390)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 3\
**Last updated:** [September 14, 2008, 11:08am UTC](https://www.ruby-forum.com/t/migrate-my-rails-app-from-v-1-1-6-to-v-2-0-1/148390 "2008-09-14T11:08:54Z")

</div>

hi all, We have a very big application, We started coding in rails 1.1.6, Now we want to migrate our rails application from the older 1.1.6 version to the latest released version, Can anyone please give me instruction…

---

## [Order that virtual attributes are processed](https://www.ruby-forum.com/t/order-that-virtual-attributes-are-processed/148441)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 5\
**Last updated:** [September 14, 2008, 11:07am UTC](https://www.ruby-forum.com/t/order-that-virtual-attributes-are-processed/148441 "2008-09-14T11:07:44Z")

</div>

hello I have a nested resource that needs the id of its parent when it is being created. This parent id is stored in a hidden attribute in the form (we’ll call this attribute A). I need this parent id to process the …

---

## [Globalization Issue](https://www.ruby-forum.com/t/globalization-issue/196754)

<div class="topic-metadata">

**Author:** [@gus](https://www.ruby-forum.com/u/gus)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 11:01am UTC](https://www.ruby-forum.com/t/globalization-issue/196754 "2008-09-14T11:01:52Z")

</div>

Hello, I wish someone could help me with this… i´ve been trying to figure out for some days now but have not come up with a solution. I am building an application (which is intended to be used in spanish speaking cou…

---

## [Noob - nested resource and destroy](https://www.ruby-forum.com/t/noob-nested-resource-and-destroy/148520)

<div class="topic-metadata">

**Author:** [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Replies:** 1\
**Last updated:** [September 14, 2008, 7:23am UTC](https://www.ruby-forum.com/t/noob-nested-resource-and-destroy/148520 "2008-09-14T07:23:02Z")

</div>

Hello I have an articles controller and an admin/articles…routes.rb: map.resource :articles map.namespace :admin do |admin| admin.resources :articles end Normally I could refer to the admin\_article\_path series of …

---

## [Basic select drop down returning the right params](https://www.ruby-forum.com/t/basic-select-drop-down-returning-the-right-params/148481)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 7\
**Last updated:** [September 14, 2008, 6:21am UTC](https://www.ruby-forum.com/t/basic-select-drop-down-returning-the-right-params/148481 "2008-09-14T06:21:04Z")

</div>

Anyone mind helping with he following, whatever I do I can’t get it to work quite right, I want the selection dropdown to show a list of enquiries maybe by Enquiry.firstname and when selected the show action to displa…

---

## [HELP: sends my id as my action](https://www.ruby-forum.com/t/help-sends-my-id-as-my-action/148061)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 5\
**Last updated:** [September 14, 2008, 3:36am UTC](https://www.ruby-forum.com/t/help-sends-my-id-as-my-action/148061 "2008-09-14T03:36:05Z")

</div>

i’m having a routing problem with my UPDATE action. I’ve pasted my CATEGORIES controller and view below. I ran scaffold for categories and i consolidated everything into a single view so that I could show list, crea…

---

## [\<meta http-equiv="refresh" content="5"/\>](https://www.ruby-forum.com/t/meta-http-equiv-refresh-content-5/148468)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 2:09am UTC](https://www.ruby-forum.com/t/meta-http-equiv-refresh-content-5/148468 "2008-09-14T02:09:30Z")

</div>

Do you know of any way for me to stick a meta tag in using a before\_filter or after\_filter or around\_filter? I have been trying to figure out out and just cannot make sense of it.

---

## [Image\_tag for images outside of application](https://www.ruby-forum.com/t/image-tag-for-images-outside-of-application/148503)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 2\
**Last updated:** [September 14, 2008, 2:02am UTC](https://www.ruby-forum.com/t/image-tag-for-images-outside-of-application/148503 "2008-09-14T02:02:29Z")

</div>

Hello. I’m writing an application that uses images stored in the same server but outside of the application directory. I have tried many things but nothing worked and found nothing really useful anywhere. What can I …

---

## [Pull from two tables to populate a select](https://www.ruby-forum.com/t/pull-from-two-tables-to-populate-a-select/148436)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [September 13, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/pull-from-two-tables-to-populate-a-select/148436 "2008-09-13T23:43:14Z")

</div>

I need to populoate a drop-down with values from two tables. Currently I have this code which just pulls from one table: \<%= select( “hotelmembership”, “hotel\_id”, Hotel.find( :all, :order=\> ‘name’ ).collect {|h| \[h.n…

---

## [Render HTML in RSS Builder template](https://www.ruby-forum.com/t/render-html-in-rss-builder-template/143980)

<div class="topic-metadata">

**Author:** [@clauer](https://www.ruby-forum.com/u/clauer)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 10:30pm UTC](https://www.ruby-forum.com/t/render-html-in-rss-builder-template/143980 "2008-09-13T22:30:02Z")

</div>

Hi, I have written an RSS builder template for my Rails app. Everything works great, but now I want to put some HTML code into the RSS Item description tag. Any idea on how to do that? It seems that Builder automatic…

---

## [Is CodeGear's 3rdRail dead or dormant?](https://www.ruby-forum.com/t/is-codegears-3rdrail-dead-or-dormant/148508)

<div class="topic-metadata">

**Author:** [@roschler](https://www.ruby-forum.com/u/roschler)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/is-codegears-3rdrail-dead-or-dormant/148508 "2008-09-13T21:53:29Z")

</div>

Hello everyone, I have to decide whether or not to re-up my subscription to Codegear/ 3rdRail. I bought a fully licensed copy back in Sep/2007 and the subscription is nearly up. I know it this may sound funny but I …

---

## [\[ANN\] Prawn 0.2 - Fast, Nimble Ruby PDF Generation](https://www.ruby-forum.com/t/ann-prawn-0-2-fast-nimble-ruby-pdf-generation/148510)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [September 13, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/ann-prawn-0-2-fast-nimble-ruby-pdf-generation/148510 "2008-09-13T21:39:39Z")

</div>

Prawn : Fast, Nimble Ruby PDF Generator Release Version 0.2.0 = Description: Prawn is a new pure Ruby PDF generation library, with the long term goal of providing a suitable replacement for PDF::Writer. It is being …

---

## [An issue regarding http://localhost/3000/](https://www.ruby-forum.com/t/an-issue-regarding-http-localhost-3000/148506)

<div class="topic-metadata">

**Author:** [@Warrenk](https://www.ruby-forum.com/u/Warrenk)\
**Replies:** 3\
**Last updated:** [September 13, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/an-issue-regarding-http-localhost-3000/148506 "2008-09-13T21:10:22Z")

</div>

I am new to the Ruby on Rails programming system and I just purchased Railspace but I cannot pull up this URL needed to progress further through the book, It is telling me it is an invalid URL, what should I do?

---

## [Rake db:migrate caues BSOD (Blue Screen of Death) on Vista](https://www.ruby-forum.com/t/rake-db-migrate-caues-bsod-blue-screen-of-death-on-vista/148486)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-caues-bsod-blue-screen-of-death-on-vista/148486 "2008-09-13T19:46:04Z")

</div>

I’m running latest RoR/Ruby/MySQL 5… I can reproduce at will. Any idea how rake db:migrate could cause Vista to crash? Pete REF: Windows Vista Home Premium (SP1), 2MB RAM, Dell Inspiron 1501 Ruby 1.8.6, Installer 18…

---

## [Messaging Plugin with Conversation](https://www.ruby-forum.com/t/messaging-plugin-with-conversation/148497)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 1\
**Last updated:** [September 13, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/messaging-plugin-with-conversation/148497 "2008-09-13T19:40:47Z")

</div>

I have not had luck in finding a messaging plugin that allows for the conversatoin concept like g-mail/outlook. That is each message is put into a conversation and you can see all of the messages as part of one conver…

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

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