# Rails

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

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

---

## [Is fastthread required for Mongrel or not?](https://www.ruby-forum.com/t/is-fastthread-required-for-mongrel-or-not/92840)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 7\
**Last updated:** [April 26, 2007, 5:42am UTC](https://www.ruby-forum.com/t/is-fastthread-required-for-mongrel-or-not/92840 "2007-04-26T05:42:20Z")

</div>

All, I just saw this Zed S. post from a few months back: which seems to imply that I should be using fastthread or I may encounter memory leakage in Mongrel. Currently, I don’t have fastthread installed on any platf…

---

## [Need to change number of thumbnails on my view page PLZ HELP](https://www.ruby-forum.com/t/need-to-change-number-of-thumbnails-on-my-view-page-plz-help/92970)

<div class="topic-metadata">

**Author:** [@ccd03c](https://www.ruby-forum.com/u/ccd03c)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 4:54am UTC](https://www.ruby-forum.com/t/need-to-change-number-of-thumbnails-on-my-view-page-plz-help/92970 "2007-04-26T04:54:03Z")

</div>

Hey I am making a photo website for a class and I am stuck i need to have a text\_area pick up a variable and put it in my controller to change the number of thumbnails that show up on my view page. I can not figure o…

---

## [Find related tags with acts\_as\_taggable](https://www.ruby-forum.com/t/find-related-tags-with-acts-as-taggable/92703)

<div class="topic-metadata">

**Author:** [@RSElliott\_M](https://www.ruby-forum.com/u/RSElliott_M)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 4:28am UTC](https://www.ruby-forum.com/t/find-related-tags-with-acts-as-taggable/92703 "2007-04-26T04:28:23Z")

</div>

Using the acts\_as\_taggable plugin, how can I go about finding related tags? ie specify a tag, find objects that have that tag, and then count up its other tags and return say, the top 50 or something, in a method some…

---

## [Creating an Ajax.Updater - do I have to start the request?](https://www.ruby-forum.com/t/creating-an-ajax-updater-do-i-have-to-start-the-request/92955)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 3:48am UTC](https://www.ruby-forum.com/t/creating-an-ajax-updater-do-i-have-to-start-the-request/92955 "2007-04-26T03:48:48Z")

</div>

I realize this is a Prototype question, but I figure somebody here knows the answer. I want to make a simple HTTP request using Javascript and spit the results out onto my page. So I made an Ajax.Updater like this: n…

---

## [Matching group names](https://www.ruby-forum.com/t/matching-group-names/92870)

<div class="topic-metadata">

**Author:** [@anon1m0us](https://www.ruby-forum.com/u/anon1m0us)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 3:34am UTC](https://www.ruby-forum.com/t/matching-group-names/92870 "2007-04-26T03:34:47Z")

</div>

I am trying to capture a users group. I use dsquery and the output is a bunch of groups starting with the words CN= group name followed by a comma. I need the group name from after CN= and before the FIRST comma. How …

---

## [Webrick won't boot, deprecation warning](https://www.ruby-forum.com/t/webrick-wont-boot-deprecation-warning/92962)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 2:57am UTC](https://www.ruby-forum.com/t/webrick-wont-boot-deprecation-warning/92962 "2007-04-26T02:57:45Z")

</div>

Hello, I haven’t worked on my Rails project in a while and today I decided to shake the dust off her and give her a go… I did an svn up on my entire project which also updated the svn external “rails” in RAILS\_ROOT/v…

---

## [Sweet opportunity for Ruby on Rails developers in Atlanta](https://www.ruby-forum.com/t/sweet-opportunity-for-ruby-on-rails-developers-in-atlanta/92959)

<div class="topic-metadata">

**Author:** [@GoldCollarMan](https://www.ruby-forum.com/u/GoldCollarMan)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 2:07am UTC](https://www.ruby-forum.com/t/sweet-opportunity-for-ruby-on-rails-developers-in-atlanta/92959 "2007-04-26T02:07:43Z")

</div>

A proprietary software company in Atlanta, GA is seeking Ruby on Rails developers to help redesign and deploy the latest version of their flagship product. If any of you guys and gals are interested or know anyone who…

---

## [Validates\_presence\_of foreign key](https://www.ruby-forum.com/t/validates-presence-of-foreign-key/92954)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 2:05am UTC](https://www.ruby-forum.com/t/validates-presence-of-foreign-key/92954 "2007-04-26T02:05:43Z")

</div>

Does validates\_presence\_of work for foreign keys? I have a Service model the belongs to Agent I then have validates\_presence\_of :title, :locator, :agent\_id, :user\_id in my model. But I can create Services with out c…

---

## [Quick REST question](https://www.ruby-forum.com/t/quick-rest-question/92882)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 6\
**Last updated:** [April 26, 2007, 1:50am UTC](https://www.ruby-forum.com/t/quick-rest-question/92882 "2007-04-26T01:50:42Z")

</div>

Is this possible? domain.com/users domain.com/users/1/products domain.com/products I’d like to view all the products for a User and also all of the entire products. From what I’ve tried, this does not work: map.res…

---

## [Checkboxes for downloading data via activerecord](https://www.ruby-forum.com/t/checkboxes-for-downloading-data-via-activerecord/92956)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 1:46am UTC](https://www.ruby-forum.com/t/checkboxes-for-downloading-data-via-activerecord/92956 "2007-04-26T01:46:38Z")

</div>

Hi Guys! i have a set of stories stored in a database, each with an associated unique title, and obviously an id as a primary key as follows: Story\_id —FK, integer Topic —Unique, varchar Story—Text i have impleme…

---

## [Map.resrouces without create or new action?](https://www.ruby-forum.com/t/map-resrouces-without-create-or-new-action/92777)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 5\
**Last updated:** [April 26, 2007, 12:57am UTC](https://www.ruby-forum.com/t/map-resrouces-without-create-or-new-action/92777 "2007-04-26T00:57:39Z")

</div>

Hi Is there a way to use map.resources in routes for a controller, but without including the create or new actions? Cheers

---

## [Canonical way to do a create form for ActiveResource?](https://www.ruby-forum.com/t/canonical-way-to-do-a-create-form-for-activeresource/92953)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 12:50am UTC](https://www.ruby-forum.com/t/canonical-way-to-do-a-create-form-for-activeresource/92953 "2007-04-26T00:50:39Z")

</div>

What would be the proper way to do setup a create action for an ActiveResource? I can’t just use @object = MyResource.new in the new action, because the bare resource doesn’t have any attributes, so in the form @obje…

---

## [Webservices in Rails](https://www.ruby-forum.com/t/webservices-in-rails/92928)

<div class="topic-metadata">

**Author:** [@pshussain](https://www.ruby-forum.com/u/pshussain)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 12:19am UTC](https://www.ruby-forum.com/t/webservices-in-rails/92928 "2007-04-26T00:19:37Z")

</div>

Hi Dude I need to know ,how to write WebServices in RoR If anybody knows that kindly tell me the solution I need to write the webservices for my project ok bye By P.S.Hussain

---

## [Sharing session between two rails app](https://www.ruby-forum.com/t/sharing-session-between-two-rails-app/92952)

<div class="topic-metadata">

**Author:** [@Peo](https://www.ruby-forum.com/u/Peo)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 12:15am UTC](https://www.ruby-forum.com/t/sharing-session-between-two-rails-app/92952 "2007-04-26T00:15:38Z")

</div>

Hi: I have two different rails app in the development environment, app1 and app2. I would like to share the sessions between them but it seems to me that it can only be done in production environment. As I am not done …

---

## [Conditional URL in form post?](https://www.ruby-forum.com/t/conditional-url-in-form-post/92950)

<div class="topic-metadata">

**Author:** [@fredrikbach](https://www.ruby-forum.com/u/fredrikbach)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 12:15am UTC](https://www.ruby-forum.com/t/conditional-url-in-form-post/92950 "2007-04-26T00:15:37Z")

</div>

Hello there, I am trying to send a form post to different URLs based on the data submitted in the form (if the user selects credit card payment I need to send a form POST to a payment gateway, and if the user selects …

---

## [RoR on-line store or OSCommerce?](https://www.ruby-forum.com/t/ror-on-line-store-or-oscommerce/92689)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 8\
**Last updated:** [April 26, 2007, 12:12am UTC](https://www.ruby-forum.com/t/ror-on-line-store-or-oscommerce/92689 "2007-04-26T00:12:17Z")

</div>

Hello everyone, I am in the process or searching for some info that will help me deciding what is better -1) to create my own on-line store in RoR or -2) to use the open source solutio Oscommerce What will be the pr…

---

## [Flash Skin and Rails View Issue](https://www.ruby-forum.com/t/flash-skin-and-rails-view-issue/92917)

<div class="topic-metadata">

**Author:** [@Nicholas\_Van\_W](https://www.ruby-forum.com/u/Nicholas_Van_W)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/flash-skin-and-rails-view-issue/92917 "2007-04-25T23:19:33Z")

</div>

Hi, I have an issue embedding a flash movie into one of my rails views. /movies/index.rhtml embeds /resources/movies/episode1.swf and episode1.flv e.g index.rhtml includes: If I put this in index.html in /resou…

---

## [\[nuby\] about date\_select, getting into DB](https://www.ruby-forum.com/t/nuby-about-date-select-getting-into-db/92944)

<div class="topic-metadata">

**Author:** [@szbeam](https://www.ruby-forum.com/u/szbeam)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/nuby-about-date-select-getting-into-db/92944 "2007-04-25T23:15:32Z")

</div>

Hello Everyone, I am trying to use the date\_select() form helper method per AWDWROR. In the DB the column “entry\_date” is a datetime. So using the below form, in part ============ app/views/entry/index.rhtml === da…

---

## [Mysql / mongrel do not start after reboot](https://www.ruby-forum.com/t/mysql-mongrel-do-not-start-after-reboot/92716)

<div class="topic-metadata">

**Author:** [@ehudros](https://www.ruby-forum.com/u/ehudros)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/mysql-mongrel-do-not-start-after-reboot/92716 "2007-04-25T22:59:31Z")

</div>

Hi everyone, I have a working ubuntu server deployed using capistrano and deprec. after the initial installation everything worked fine - but after rebooting only the apache server (httpd) started and mysql/mongrel we…

---

## [How to restart server programmatically?](https://www.ruby-forum.com/t/how-to-restart-server-programmatically/90545)

<div class="topic-metadata">

**Author:** [@Russell\_N](https://www.ruby-forum.com/u/Russell_N)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/how-to-restart-server-programmatically/90545 "2007-04-25T22:53:30Z")

</div>

I need to be able to restart my server based on a specific database change. I’ve been trying a call to system(“script/process/reaper -a graceful -d dispatch.fcgi”) but that raises a transaction error which rolls back …

---

## [Someone sent that to me and I laughed the entire morning](https://www.ruby-forum.com/t/someone-sent-that-to-me-and-i-laughed-the-entire-morning/92943)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/someone-sent-that-to-me-and-i-laughed-the-entire-morning/92943 "2007-04-25T22:29:28Z")

</div>

Someone sent that to me and I laughed the entire morning…I couldn’t stop it…It’s so funny… http://www.teenwag.com/playvideo/4190 Will Ferrell Arguing with Pearl the Landlord http://pearl.teenwag.com/playvideo/4190

---

## [Creating a "friends" association?](https://www.ruby-forum.com/t/creating-a-friends-association/92941)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/creating-a-friends-association/92941 "2007-04-25T22:21:26Z")

</div>

Hi, I’m trying to make a friendships table that looks like this: create\_table “friendships”, :force =\> true do |t| t.column “sent\_by\_user\_id”, :integer t.column “received\_by\_user\_id”, :integer t.column “status”,…

---

## [Can't pass parameters using redirect\_to](https://www.ruby-forum.com/t/cant-pass-parameters-using-redirect-to/92540)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 3\
**Last updated:** [April 25, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/cant-pass-parameters-using-redirect-to/92540 "2007-04-25T21:55:05Z")

</div>

I’m unable to pass a subset of a form’s parameters to another method within the same controller. The error message is “wrong number of arguments (0 for 3)” and there aren’t any parameters listed. Here’s the controlle…

---

## [Polymorphic destroy of resource](https://www.ruby-forum.com/t/polymorphic-destroy-of-resource/92789)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/polymorphic-destroy-of-resource/92789 "2007-04-25T21:11:16Z")

</div>

I have a folder class which has a folder\_linkable, which links a folder id to items via their id and class. If the folder is destroyed, I want each linking destroyed, and then each item that is linked to destroyed. I …

---

## [Filesystem as a Model?](https://www.ruby-forum.com/t/filesystem-as-a-model/92837)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [April 25, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/filesystem-as-a-model/92837 "2007-04-25T21:04:13Z")

</div>

One of the projects that I’m working on creates and twiddles with a lot of directories. In version 1, I did this all in the controllers, but I’m beginning to think that the whole design would be cleaner in v2 if I ma…

---

## [Database updates doesn't update input fields](https://www.ruby-forum.com/t/database-updates-doesnt-update-input-fields/92935)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 4\
**Last updated:** [April 25, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/database-updates-doesnt-update-input-fields/92935 "2007-04-25T20:52:19Z")

</div>

Hi there, I’m a compete Rails n00b and trying to understand how this thing works so any help is greatly appreciated. I created a table using migrations, so far so good. My view shows the list and I can add new record…

---

## [Rails on Apache](https://www.ruby-forum.com/t/rails-on-apache/92936)

<div class="topic-metadata">

**Author:** [@jack.tang](https://www.ruby-forum.com/u/jack.tang)\
**Replies:** 0\
**Last updated:** [April 25, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/rails-on-apache/92936 "2007-04-25T20:49:12Z")

</div>

Hi list I deploy my rails application on apache using mod\_proxy. and here is the config. \<VirtualHost \*:80\> ServerName testnl.lifegoo.com DocumentRoot /home/jack/app\_release11/public SetOutputFilter DEFLATE \<Direc…

---

## [How does one validate a 'float' field?](https://www.ruby-forum.com/t/how-does-one-validate-a-float-field/92907)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 25, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/how-does-one-validate-a-float-field/92907 "2007-04-25T20:31:09Z")

</div>

I would like to validate the following conditions on a numeric field: That the user did not enter a non-numeric string where he was required to enter a number. That the numeric value is zero or greater. There seems t…

---

## [Issue in installing Rail](https://www.ruby-forum.com/t/issue-in-installing-rail/92931)

<div class="topic-metadata">

**Author:** [@Mekhiya](https://www.ruby-forum.com/u/Mekhiya)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 8:17pm UTC](https://www.ruby-forum.com/t/issue-in-installing-rail/92931 "2007-04-25T20:17:06Z")

</div>

hi there! i have been trying to set up Rail env on my work local machine\[windows xp\]. Ruby got installed, but when i try step: gem install rails --remote It gives me an error, ERROR: While executing gem … (Gem::Re…

---

## [Backgroundrb and REXML issue](https://www.ruby-forum.com/t/backgroundrb-and-rexml-issue/92750)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 6\
**Last updated:** [April 25, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/backgroundrb-and-rexml-issue/92750 "2007-04-25T20:05:47Z")

</div>

Hi, I have an application that receives XML files, and then hands each one off to a backgroundrb worker to parse and store the info. Everything was working, until I needed to support a larger character set. So I ad…

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

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