# Rails

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

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

---

## [Rails app won't run on Dreamhost - "incomplet headers" error](https://www.ruby-forum.com/t/rails-app-wont-run-on-dreamhost-incomplet-headers-error/53114)

<div class="topic-metadata">

**Author:** [@richblunt](https://www.ruby-forum.com/u/richblunt)\
**Replies:** 38\
**Last updated:** [March 2, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/rails-app-wont-run-on-dreamhost-incomplet-headers-error/53114 "2007-03-02T19:36:47Z")

</div>

Can anyone provide some expert debugging help here? What’s the first step to take to see what the issue is here? I have no errors in the rails app’s log files. The only errors I have are those provided by apache and …

---

## [Getting column names from a record set](https://www.ruby-forum.com/t/getting-column-names-from-a-record-set/87458)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 4\
**Last updated:** [March 2, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/getting-column-names-from-a-record-set/87458 "2007-03-02T19:13:41Z")

</div>

Hello, I’m trying to get the column names associated w/ this record set: account\_all = Account.find(:all) Since account\_all is an array - how do I get the names? I know there’s got to be a simple way to do this.

---

## [How to validate composites?](https://www.ruby-forum.com/t/how-to-validate-composites/87462)

<div class="topic-metadata">

**Author:** [@suer\_rick](https://www.ruby-forum.com/u/suer_rick)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/how-to-validate-composites/87462 "2007-03-02T19:08:59Z")

</div>

Let’s take the example from AWDWR where a Customer object is compose\_of a Name object. And let’s say that the lastname and firstname can not be null. How would I use validates\_presence\_of ? Would it be something like…

---

## [Password Protecting Rails Configuration Passwords](https://www.ruby-forum.com/t/password-protecting-rails-configuration-passwords/87460)

<div class="topic-metadata">

**Author:** [@ara-vartanian](https://www.ruby-forum.com/u/ara-vartanian)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/password-protecting-rails-configuration-passwords/87460 "2007-03-02T18:43:10Z")

</div>

There is about a year-old thread on the list on the topic of password protecting the Rails database password (typically stored in the clear in database.yml). A lot of people dismissed the idea, since any key to decryp…

---

## [Google maps plugin, which one?](https://www.ruby-forum.com/t/google-maps-plugin-which-one/87129)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/google-maps-plugin-which-one/87129 "2007-03-02T18:34:13Z")

</div>

Hi all. I am going to be integrating google maps into a site I am doing. All it will be is a simple map with markers (and maybe marker groups). Nothing more complex than that. I have been googling around for rails pl…

---

## [Restful routes in a polymorphic association](https://www.ruby-forum.com/t/restful-routes-in-a-polymorphic-association/87044)

<div class="topic-metadata">

**Author:** [@giuseppe](https://www.ruby-forum.com/u/giuseppe)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/restful-routes-in-a-polymorphic-association/87044 "2007-03-02T18:22:55Z")

</div>

Hello, I have an Entry model with polymorphic associations with all kinds of contents, like notes, addresses, etc. Class Entry \< ActiveRecord::Base belongs\_to :content, :polymorphic =\> true end Class Note \< Active…

---

## [SOLVED: Re: PostgreSQL primary (sequence) key issue (Ruby/Ra](https://www.ruby-forum.com/t/solved-re-postgresql-primary-sequence-key-issue-ruby-ra/87380)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/solved-re-postgresql-primary-sequence-key-issue-ruby-ra/87380 "2007-03-02T18:05:52Z")

</div>

Hi, this one has been finally put to bed!! – Regards Andrew

---

## [Acts\_as\_reportable and images](https://www.ruby-forum.com/t/acts-as-reportable-and-images/87447)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/acts-as-reportable-and-images/87447 "2007-03-02T17:55:52Z")

</div>

Hi, I have just started using acts\_as\_reportable - it’s a wonderful tool! I’d like to be able to generate pdf reports with images included - anyone know if this is possible? Chris

---

## [Routing problems](https://www.ruby-forum.com/t/routing-problems/87445)

<div class="topic-metadata">

**Author:** [@amrkamel](https://www.ruby-forum.com/u/amrkamel)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/routing-problems/87445 "2007-03-02T17:52:51Z")

</div>

Hi all, I am facing a problem “weird actually”, after I enabled session management “actionRecord store” whenever I type any URL in the web client I get the following Action Controller Exception syaing that: no such f…

---

## [With\_options Confusion](https://www.ruby-forum.com/t/with-options-confusion/87432)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/with-options-confusion/87432 "2007-03-02T17:43:50Z")

</div>

I was looking through the code of attachment\_fu and came across the following block pulled from attachment\_fu:60 with\_options :foreign\_key =\> ‘parent\_id’ do |m| m.has\_many :thumbnails, :dependent =\> :destroy, :class…

---

## [Merging controllers and helpers includes?](https://www.ruby-forum.com/t/merging-controllers-and-helpers-includes/87444)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/merging-controllers-and-helpers-includes/87444 "2007-03-02T17:31:49Z")

</div>

Greetings, I’m enginefying a popular rails forum, and have found it’s necessary to include the engines lib module into the application’s Application Controller and Application Helper - even though both are included in …

---

## [Calling File.read( ) from rails](https://www.ruby-forum.com/t/calling-file-read-from-rails/87172)

<div class="topic-metadata">

**Author:** [@DavidB](https://www.ruby-forum.com/u/DavidB)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/calling-file-read-from-rails/87172 "2007-03-02T17:08:46Z")

</div>

I was looking at the encryption logic posted http://blog.leetsoft.com/2006/03/14/simple-encryption and http://blog.leetsoft.com/files/crypto-key.rb.txt there is a call made to File.read( ) to open up RSA keys. THe qu…

---

## [Status: 500 Internal Server Error Content-Type: text/html](https://www.ruby-forum.com/t/status-500-internal-server-error-content-type-text-html/87440)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/status-500-internal-server-error-content-type-text-html/87440 "2007-03-02T16:59:31Z")

</div>

Hello Every body! I’m newbie in Rails application. I installed rails in my fedora system last week. I dont have problem on starting lighttpd and using the command script/server and all. But when try to view my appli…

---

## [ActiveRecord::StatementInvalid error](https://www.ruby-forum.com/t/activerecord-statementinvalid-error/87253)

<div class="topic-metadata">

**Author:** [@Rib\_R](https://www.ruby-forum.com/u/Rib_R)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-error/87253 "2007-03-02T16:56:40Z")

</div>

When I try to run my webserver in the production environment I just get an application error message. This is all I can find in the log: ActiveRecord::StatementInvalid /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/…

---

## [REST and Limiting Access](https://www.ruby-forum.com/t/rest-and-limiting-access/87403)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/rest-and-limiting-access/87403 "2007-03-02T16:36:36Z")

</div>

I have a RESTful User class, but the User actions (minus new and create) require an application user to be logged in. This leads me to a bit of a REST conundrum. The edit action for a specific User is obviously access…

---

## [Input/Output Errors](https://www.ruby-forum.com/t/input-output-errors/86874)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 3\
**Last updated:** [March 2, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/input-output-errors/86874 "2007-03-02T16:35:24Z")

</div>

We keep getting Input/Output errors on various views. We’re running Webrick in production mode. The errors look like the following: A ActionView::TemplateError occurred in profile#financial: Input/output error On l…

---

## [RESTful Authentication](https://www.ruby-forum.com/t/restful-authentication/87388)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/restful-authentication/87388 "2007-03-02T16:27:35Z")

</div>

I’ve seen the RESTful Authentication plugin that Rick Olsen has, and was wondering if anyone has used it, or can answer my questions: What does RESTful Authentication really mean? How does CRUD fit into this? Creat…

---

## [Login authenticate?](https://www.ruby-forum.com/t/login-authenticate/87417)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/login-authenticate/87417 "2007-03-02T16:18:34Z")

</div>

Hello there, I’m trying to do the login section for my small web application, but it doesn’t seem to work like I want. Here is the Controller: if request.post? @user = User.authenticate(params\[:user\]\[:email\], param…

---

## [One page in app keeps rendering as text/plain](https://www.ruby-forum.com/t/one-page-in-app-keeps-rendering-as-text-plain/87162)

<div class="topic-metadata">

**Author:** [@Zeff](https://www.ruby-forum.com/u/Zeff)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/one-page-in-app-keeps-rendering-as-text-plain/87162 "2007-03-02T16:02:33Z")

</div>

Here’s what I get from wget -S: HTTP request sent, awaiting response… HTTP/1.1 200 OK Date: Wed, 28 Feb 2007 15:52:06 GMT Server: Apache/1.3.37 (Unix) mod\_fastcgi/2.4.2 mod\_gzip/1.3.26.1a mod\_auth\_passthrough/1.8 mo…

---

## [Css\_fields\_for in CSSFormBuilder](https://www.ruby-forum.com/t/css-fields-for-in-cssformbuilder/87427)

<div class="topic-metadata">

**Author:** [@redbaritone](https://www.ruby-forum.com/u/redbaritone)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/css-fields-for-in-cssformbuilder/87427 "2007-03-02T15:56:33Z")

</div>

Trying to use CSSFormBuilder, but having a problem with its css\_fields\_for wrapper. When I check out the code, there’s a fairly important-looking line commented out. Is anyone using this? Is that method broken, or hav…

---

## [File\_column save directory without object id dirname](https://www.ruby-forum.com/t/file-column-save-directory-without-object-id-dirname/69020)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 2:53pm UTC](https://www.ruby-forum.com/t/file-column-save-directory-without-object-id-dirname/69020 "2007-03-02T14:53:24Z")

</div>

Has anyone used file\_column for more ftp type file management? ie, where the files are all placed in one directory WITHOUT the object id number on the preceding directory? EG This file/filename1.ext file/filename2.…

---

## [ActionController::RoutingError](https://www.ruby-forum.com/t/actioncontroller-routingerror/87420)

<div class="topic-metadata">

**Author:** [@pradeep](https://www.ruby-forum.com/u/pradeep)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/87420 "2007-03-02T14:40:23Z")

</div>

plz give me the solution to solve the below error ActionController::RoutingError ActionController::RoutingError in Issues#new Showing app/views/issues/\_issue.rhtml where line #1 raised: issue\_url failed to generate f…

---

## [How can i create a .bat file which can run ruby](https://www.ruby-forum.com/t/how-can-i-create-a-bat-file-which-can-run-ruby/87265)

<div class="topic-metadata">

**Author:** [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Replies:** 7\
**Last updated:** [March 2, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/how-can-i-create-a-bat-file-which-can-run-ruby/87265 "2007-03-02T14:16:21Z")

</div>

Guys, I have InstantRails in my PC. i have written a ruby programm which will copy a file from my document to rails private directory varifying some characteristic of files.Suppose ruby directory is c:/instantsRails…

---

## [Attachment\_fu and Size Issue](https://www.ruby-forum.com/t/attachment-fu-and-size-issue/87313)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 1:46pm UTC](https://www.ruby-forum.com/t/attachment-fu-and-size-issue/87313 "2007-03-02T13:46:18Z")

</div>

I’ve been playing around with attachment\_fu for uploading images and discovered that it seems to handle the max size very strangely. It appears that the max size is checked after the image is resized. So you can uploa…

---

## [Anyone using Instant-ROR on Win98?](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405)

<div class="topic-metadata">

**Author:** [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405 "2007-03-02T12:46:14Z")

</div>

I’ve unzipped and sarted (as there is no install as such), the instant- ROR package, and it all starts up, and the test apps fucntion correctly when requested from 127.0.0.1. However, in win98 the hosts file is locat…

---

## [Rails/PostgreSQL SSL setup](https://www.ruby-forum.com/t/rails-postgresql-ssl-setup/87414)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/rails-postgresql-ssl-setup/87414 "2007-03-02T12:16:10Z")

</div>

Hi, does anyone know how to setup SSL between rails and postgreSQL? I have a J2EE project which is SSL’d up to my postgre dB at the moment, the required SSL certs residing in my postgre /data folder. The interface b…

---

## [Unable to configure apache 1.3.29 for ruby](https://www.ruby-forum.com/t/unable-to-configure-apache-1-3-29-for-ruby/87413)

<div class="topic-metadata">

**Author:** [@janakiraman](https://www.ruby-forum.com/u/janakiraman)\
**Replies:** 0\
**Last updated:** [March 2, 2007, 11:58am UTC](https://www.ruby-forum.com/t/unable-to-configure-apache-1-3-29-for-ruby/87413 "2007-03-02T11:58:26Z")

</div>

Hi, I downloaded Ruby(Version:1.8.2-15) from How No-Code Tools Can Automate Your Small Business? | AppMaster and followed the instruction given there. Everything went fine till creating the Rails application. But whe…

---

## [Ruby on Rails on PostgreSQL Installer for Windows](https://www.ruby-forum.com/t/ruby-on-rails-on-postgresql-installer-for-windows/87123)

<div class="topic-metadata">

**Author:** [@Dave\_Page](https://www.ruby-forum.com/u/Dave_Page)\
**Replies:** 6\
**Last updated:** [March 2, 2007, 10:26am UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-postgresql-installer-for-windows/87123 "2007-03-02T10:26:56Z")

</div>

Hi, I’m one of the maintainers of the windows distribution of PostgreSQL and am currently working on an application stack management tool to complement the PostgreSQL installer and allow our users to quickly and easi…

---

## [Rolling with Rails, ( Revisited version ) question?](https://www.ruby-forum.com/t/rolling-with-rails-revisited-version-question/87357)

<div class="topic-metadata">

**Author:** [@Davo](https://www.ruby-forum.com/u/Davo)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 9:04am UTC](https://www.ruby-forum.com/t/rolling-with-rails-revisited-version-question/87357 "2007-03-02T09:04:46Z")

</div>

Hi everyone, I recently noticed that the Rolling with Rails tutorial has had an update… It all went well, but at the stage where you delete either of the files ‘category.rhtml’ or ‘recipe.rhtml’ & rename the remainin…

---

## [Include a ruby library with rails app](https://www.ruby-forum.com/t/include-a-ruby-library-with-rails-app/87337)

<div class="topic-metadata">

**Author:** [@jsmecham](https://www.ruby-forum.com/u/jsmecham)\
**Replies:** 1\
**Last updated:** [March 2, 2007, 8:23am UTC](https://www.ruby-forum.com/t/include-a-ruby-library-with-rails-app/87337 "2007-03-02T08:23:41Z")

</div>

Is there a way to include a ruby library with rails app? For example, the http-access2 library and tell rails to use the one included with your app?

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

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