# Rails

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

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

---

## [How do you grab the high lighted value from auto\_complete\_fi](https://www.ruby-forum.com/t/how-do-you-grab-the-high-lighted-value-from-auto-complete-fi/108301)

<div class="topic-metadata">

**Author:** [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Replies:** 5\
**Last updated:** [July 2, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/how-do-you-grab-the-high-lighted-value-from-auto-complete-fi/108301 "2007-07-02T19:05:40Z")

</div>

Any Help is appreciated…

---

## [\[OT\] What's so special about Rails?](https://www.ruby-forum.com/t/ot-whats-so-special-about-rails/108358)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/ot-whats-so-special-about-rails/108358 "2007-07-02T19:00:39Z")

</div>

In one of my next articles for O’Reilly, Boss will ask CB or Paul to put together a short ‘argument’ that he can use with his management and business customers to expand the IT group’s use of Rails. What follows is m…

---

## [Rake test without running re-creating database?](https://www.ruby-forum.com/t/rake-test-without-running-re-creating-database/107923)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/rake-test-without-running-re-creating-database/107923 "2007-07-02T17:47:11Z")

</div>

Hi, Complexly new to rails testing and having a few problems. Please correct me if I have any of this wrong: When I run rake test this first re-cerateâ€™s my test database, however because I am using a data type that…

---

## [How to use MS Word features from Rails app running as servic](https://www.ruby-forum.com/t/how-to-use-ms-word-features-from-rails-app-running-as-servic/108354)

<div class="topic-metadata">

**Author:** [@yash](https://www.ruby-forum.com/u/yash)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/how-to-use-ms-word-features-from-rails-app-running-as-servic/108354 "2007-07-02T17:18:54Z")

</div>

Hi, I am using features of MS Word 2003 on Win XP in my rails application. The server has Win XP installed. I am able to open a document, save as HTML etc. if I run the app using mongrel\_rails start … on command pro…

---

## [Developer needed for immediate start](https://www.ruby-forum.com/t/developer-needed-for-immediate-start/108350)

<div class="topic-metadata">

**Author:** [@flip](https://www.ruby-forum.com/u/flip)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 5:14pm UTC](https://www.ruby-forum.com/t/developer-needed-for-immediate-start/108350 "2007-07-02T17:14:05Z")

</div>

All, My company is looking for a Rails developer to start immediately. This position would initially be for contract work with the option to move to full time in the near future. The company is a new site that will b…

---

## [Query while installing mongrel via gem](https://www.ruby-forum.com/t/query-while-installing-mongrel-via-gem/108327)

<div class="topic-metadata">

**Author:** [@Rajmohan\_B](https://www.ruby-forum.com/u/Rajmohan_B)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/query-while-installing-mongrel-via-gem/108327 "2007-07-02T17:05:03Z")

</div>

Hi all, When I

---

## [Looking for Perl / Ruby Programmer](https://www.ruby-forum.com/t/looking-for-perl-ruby-programmer/108348)

<div class="topic-metadata">

**Author:** [@dejaso](https://www.ruby-forum.com/u/dejaso)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/looking-for-perl-ruby-programmer/108348 "2007-07-02T16:47:00Z")

</div>

Full-time position at a fantastic Michigan company, rated top in their industry, also rated one of the top 100 employers to work for in Michigan. E-mail me for contact info, and will go over any details and questions…

---

## [Are you going to erubycon.com conference? If so, share a roo](https://www.ruby-forum.com/t/are-you-going-to-erubycon-com-conference-if-so-share-a-roo/108349)

<div class="topic-metadata">

**Author:** [@JAWspeak](https://www.ruby-forum.com/u/JAWspeak)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/are-you-going-to-erubycon-com-conference-if-so-share-a-roo/108349 "2007-07-02T16:44:00Z")

</div>

I’m probably going to erubycon. I’m from out of town and am willing to share a room with someone else going. ====== the conference The first conference dedicated to displaying Ruby’s place in the enterprise has new d…

---

## [Installing backgroundrb](https://www.ruby-forum.com/t/installing-backgroundrb/108345)

<div class="topic-metadata">

**Author:** [@Rajmohan\_B](https://www.ruby-forum.com/u/Rajmohan_B)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/installing-backgroundrb/108345 "2007-07-02T16:29:59Z")

</div>

Hi, I am having issues with installing the backgroundrb plugin. I am using cygwin on WinXP. I downloaded the backgroundrb using the following cmd cd ~/ rails myapp cd myapp svn co http://svn.devjavu.com/backgroundr…

---

## [\[ANN\] New Rails tutorial](https://www.ruby-forum.com/t/ann-new-rails-tutorial/108344)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/ann-new-rails-tutorial/108344 "2007-07-02T16:23:58Z")

</div>

Just a quick note… I’m doing a monthly series for O’Reilly on Ruby on Rails. The series began with a rewrite-to-make-current of Curt Hibb’s influential “Rolling with Ruby on Rails” tutorial. This month’s piece (the …

---

## [Polymorphic fields, PostgreSQL, and delete constraints](https://www.ruby-forum.com/t/polymorphic-fields-postgresql-and-delete-constraints/108340)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/polymorphic-fields-postgresql-and-delete-constraints/108340 "2007-07-02T15:22:51Z")

</div>

Say I have: class Relationship \< ActiveRecord::Base belongs\_to :parent, :polymorphic =\> true end and then several models like: class Person \< ActiveRecord::Base has\_many :parents, :as =\> :parent, :class\_name =\> “Re…

---

## [javaScript and error](https://www.ruby-forum.com/t/javascript-and-error/108136)

<div class="topic-metadata">

**Author:** [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Replies:** 7\
**Last updated:** [July 2, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136 "2007-07-02T15:21:50Z")

</div>

Hi , I have developed an application and it uses javascript code and validations …what i have noticed is that it works fine in testing and deveoplment mode , but it gives error in production mode … Is there any parti…

---

## ["Hands on with Ruby on Rails"](https://www.ruby-forum.com/t/hands-on-with-ruby-on-rails/108313)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/hands-on-with-ruby-on-rails/108313 "2007-07-02T15:19:50Z")

</div>

Computerworld.com has just posted a piece I’ve been working on (on and off over a few months) about learning Ruby on Rails. It’s pretty basic and is meant for people new to the framework. It also includes a listing of…

---

## [Pound / Mongrel vs Apache / FastCGI etc](https://www.ruby-forum.com/t/pound-mongrel-vs-apache-fastcgi-etc/108119)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/pound-mongrel-vs-apache-fastcgi-etc/108119 "2007-07-02T14:54:47Z")

</div>

Hi Not really asking for a debate, per say, but more of a link ot a page outlining the differences in methodologies for deploying production quality (high volume) Rails sites. To me Apache has the win for handling my…

---

## [\[ANN\] acts\_as\_comparable 1.2 released](https://www.ruby-forum.com/t/ann-acts-as-comparable-1-2-released/108242)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 4\
**Last updated:** [July 2, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/ann-acts-as-comparable-1-2-released/108242 "2007-07-02T14:32:45Z")

</div>

acts\_as\_comparable 1.2 has been released. It includes a bug fix for passing in custom options to the declarative acts\_as\_comparable call. What is acts\_as\_comparable? acts\_as\_comparable is plugin for ActiveRecord which…

---

## [NoMethodError with :has\_many](https://www.ruby-forum.com/t/nomethoderror-with-has-many/108328)

<div class="topic-metadata">

**Author:** [@bernd](https://www.ruby-forum.com/u/bernd)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/nomethoderror-with-has-many/108328 "2007-07-02T14:27:35Z")

</div>

Hi, I have a problem in the guts of Rails. I have a :has\_many association. The :has\_many method calls the method “add\_multiple\_associated\_save\_callbacks” and this is where I have problems. In the line “validate metho…

---

## [DateFields and ActiveRecords](https://www.ruby-forum.com/t/datefields-and-activerecords/108269)

<div class="topic-metadata">

**Author:** [@jonas](https://www.ruby-forum.com/u/jonas)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/datefields-and-activerecords/108269 "2007-07-02T13:52:43Z")

</div>

Here is some typical code, right? \<% for column in User.visible\_columns true %\> \<%= column.human\_name %\> \<%=h @user.send(column.name) %\> \<% end %\> I want to customize how the date is formatted for timestamps. How…

---

## [Last modified date](https://www.ruby-forum.com/t/last-modified-date/108336)

<div class="topic-metadata">

**Author:** [@mahen1981](https://www.ruby-forum.com/u/mahen1981)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 1:29pm UTC](https://www.ruby-forum.com/t/last-modified-date/108336 "2007-07-02T13:29:19Z")

</div>

Hi, i want to know the last modified date of an external file from my application. Is it possible…?

---

## [Help with capistrano and nginx](https://www.ruby-forum.com/t/help-with-capistrano-and-nginx/108262)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/help-with-capistrano-and-nginx/108262 "2007-07-02T12:07:25Z")

</div>

I’m using nginx with capistrano to deploy my Rails app and I’m having a hard time getting the maintenance capistrano task (deploy:web:disable) to work like I want. I want nginx to redirect all requests to public/maint…

---

## [Circular foreign keys and order of creation](https://www.ruby-forum.com/t/circular-foreign-keys-and-order-of-creation/108236)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 4\
**Last updated:** [July 2, 2007, 11:40am UTC](https://www.ruby-forum.com/t/circular-foreign-keys-and-order-of-creation/108236 "2007-07-02T11:40:22Z")

</div>

Hi, I have two database tables accounts id owner\_id users id account\_id An account must have an owner\_id which is a user’s id. So the owner\_id field must not be null. A user must have an account\_id and so accou…

---

## [Problems about installing ruby from source on linux](https://www.ruby-forum.com/t/problems-about-installing-ruby-from-source-on-linux/108318)

<div class="topic-metadata">

**Author:** [@allen](https://www.ruby-forum.com/u/allen)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 11:37am UTC](https://www.ruby-forum.com/t/problems-about-installing-ruby-from-source-on-linux/108318 "2007-07-02T11:37:50Z")

</div>

Hi all, I’m trying to install ruby/ruby on rails from source on ubuntu 7.1. I’ve downloaded ruby-1.8.6 and done a successful install into /usr/ local/ruby. Next, I want to install rubygems without apt-get. So I downl…

---

## [Session WTF?](https://www.ruby-forum.com/t/session-wtf/108293)

<div class="topic-metadata">

**Author:** [@CptPingu](https://www.ruby-forum.com/u/CptPingu)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 11:25am UTC](https://www.ruby-forum.com/t/session-wtf/108293 "2007-07-02T11:25:05Z")

</div>

Hi. How to use session in ruby on rails ? I try to make it work for hours, but it still doesn’t work… In my controller I have this: def identification @current\_user = User.new(params\[:user\]) ok = false redir = ‘lo…

---

## [Anyone have an idea why this regex wont validate email addre](https://www.ruby-forum.com/t/anyone-have-an-idea-why-this-regex-wont-validate-email-addre/108323)

<div class="topic-metadata">

**Author:** [@wheresdave](https://www.ruby-forum.com/u/wheresdave)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 10:52am UTC](https://www.ruby-forum.com/t/anyone-have-an-idea-why-this-regex-wont-validate-email-addre/108323 "2007-07-02T10:52:17Z")

</div>

Just purchased the book RailsSpace (Rough Cut Version) and I am going through the tutorial for the user model. It says to add the code below for email validation to your user model, which I did. It then tells you to c…

---

## [STI and polyphormism](https://www.ruby-forum.com/t/sti-and-polyphormism/108321)

<div class="topic-metadata">

**Author:** [@Florian\_ASSSSmann](https://www.ruby-forum.com/u/Florian_ASSSSmann)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 9:56am UTC](https://www.ruby-forum.com/t/sti-and-polyphormism/108321 "2007-07-02T09:56:07Z")

</div>

Hi, i currently writing another ACL system for rails and I was wondering why BelongsToPolymorphicAssociation uses the base\_class for the polymorphed\_type. I have to fetch the polymorphed object from db each time when…

---

## [Regarding mail in ruby on rails](https://www.ruby-forum.com/t/regarding-mail-in-ruby-on-rails/108226)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 7:47am UTC](https://www.ruby-forum.com/t/regarding-mail-in-ruby-on-rails/108226 "2007-07-02T07:47:56Z")

</div>

Hi all, I am using action mailer to send mail,in that i want one option called reply\_to if i put @reply\_to=‘removed\_email\_address@domain.invalid’,…it is not working…how to put reply to.If anyone knows help me

---

## [What's the easiest way to resize an image on Dreamhost? Whic](https://www.ruby-forum.com/t/whats-the-easiest-way-to-resize-an-image-on-dreamhost-whic/108314)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 5:54am UTC](https://www.ruby-forum.com/t/whats-the-easiest-way-to-resize-an-image-on-dreamhost-whic/108314 "2007-07-02T05:54:46Z")

</div>

Hi, What’s the easiest way to resize an image on Dreamhost? Which image software? (i.e. ideally one that is already installed on the DH servers). For example, which of the image tool options mentioned in this artic…

---

## [Nested Resources](https://www.ruby-forum.com/t/nested-resources/108288)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 5:47am UTC](https://www.ruby-forum.com/t/nested-resources/108288 "2007-07-02T05:47:53Z")

</div>

I have a user model that can have one album. Album can have multiple photos. How do I create nested resources for these three models? How do you avoid nesting more than two levels? All the examples I have seen only ha…

---

## [Redirect\_to puts me from https to http](https://www.ruby-forum.com/t/redirect-to-puts-me-from-https-to-http/108307)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 4:52am UTC](https://www.ruby-forum.com/t/redirect-to-puts-me-from-https-to-http/108307 "2007-07-02T04:52:07Z")

</div>

I’m trying to deploy my application. I basically followed the cookbook in the rails book. But I have a problem. My incoming requests are https://foo.com/whatever I do a RewriteRule to pass it to a Proxy with two mon…

---

## [Acts\_as\_tree](https://www.ruby-forum.com/t/acts-as-tree/108255)

<div class="topic-metadata">

**Author:** [@dailer](https://www.ruby-forum.com/u/dailer)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 3:14am UTC](https://www.ruby-forum.com/t/acts-as-tree/108255 "2007-07-02T03:14:36Z")

</div>

I’m new to rails and was playing with a simple model with acts\_as\_threaded. The sql is… CREATE TABLE bobbits ( id integer NOT NULL DEFAULT nextval(‘destination\_countrycode\_id\_seq’::regclass), name character varying…

---

## [Google gears](https://www.ruby-forum.com/t/google-gears/108304)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 2:38am UTC](https://www.ruby-forum.com/t/google-gears/108304 "2007-07-02T02:38:34Z")

</div>

just being somewhat lazy, haven’t googled yet. anyone do any work with the rss portion? I wanted to store some rss feeds on my hdd in mysql and use RoR with it. RTFM? or google? -Thufir

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

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