# Rails

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

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

---

## [Heroku: An Online Rails Development and App Hosting Environment](https://www.ruby-forum.com/t/heroku-an-online-rails-development-and-app-hosting-environment/122709)

<div class="topic-metadata">

**Author:** [@pyodor](https://www.ruby-forum.com/u/pyodor)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 4:26am UTC](https://www.ruby-forum.com/t/heroku-an-online-rails-development-and-app-hosting-environment/122709 "2007-12-11T04:26:33Z")

</div>

Heroku is an online environment where you can develop and host Rails applications… all from the browser. Get an account now through invite or sign up to be on the waiting list and start playing rails applications in a…

---

## [Problem with Rmagick and simple captcha in Godaddy's ROR](https://www.ruby-forum.com/t/problem-with-rmagick-and-simple-captcha-in-godaddys-ror/122250)

<div class="topic-metadata">

**Author:** [@ahaleo](https://www.ruby-forum.com/u/ahaleo)\
**Replies:** 4\
**Last updated:** [December 11, 2007, 4:02am UTC](https://www.ruby-forum.com/t/problem-with-rmagick-and-simple-captcha-in-godaddys-ror/122250 "2007-12-11T04:02:33Z")

</div>

I am running into a problem with Godaddy’s Ruby on Rails (shared hosting) when trying to use simple captcha plugin with Rmagick. Here is the error: sh: line 1: gs: command not found sh: line 1: gs: command not found …

---

## [Problem with AR and 'virtual' multiparameter attributes](https://www.ruby-forum.com/t/problem-with-ar-and-virtual-multiparameter-attributes/107484)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 3:39am UTC](https://www.ruby-forum.com/t/problem-with-ar-and-virtual-multiparameter-attributes/107484 "2007-12-11T03:39:15Z")

</div>

Hello, I have a model which I would like to have a ‘virtual’ date column. This column wouldn’t exist in the database, but would exist for validation, etc. The data would be provided in the form of a date\_select in th…

---

## [Connecting to multiple databases in rails in one application](https://www.ruby-forum.com/t/connecting-to-multiple-databases-in-rails-in-one-application/122631)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 3:12am UTC](https://www.ruby-forum.com/t/connecting-to-multiple-databases-in-rails-in-one-application/122631 "2007-12-11T03:12:16Z")

</div>

I need to be able to have a single rails application that has models from two different databases.Some models are in database 1 locally and some are in database 2 in a remote server. I need to be able to have models, …

---

## [Ruby2Exe with Rails is not cleaning the temp files](https://www.ruby-forum.com/t/ruby2exe-with-rails-is-not-cleaning-the-temp-files/122510)

<div class="topic-metadata">

**Author:** [@juantar](https://www.ruby-forum.com/u/juantar)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 2:23am UTC](https://www.ruby-forum.com/t/ruby2exe-with-rails-is-not-cleaning-the-temp-files/122510 "2007-12-11T02:23:31Z")

</div>

I packed a Rails application using the instructions from the excellent Ruby2exe page. However, when I run the exe, use the application and then hit Ctrl-C to finish the application, Ruby2Exe and tar2ruby do not clean…

---

## [Adding School Condition](https://www.ruby-forum.com/t/adding-school-condition/122598)

<div class="topic-metadata">

**Author:** [@bernee](https://www.ruby-forum.com/u/bernee)\
**Replies:** 26\
**Last updated:** [December 11, 2007, 1:22am UTC](https://www.ruby-forum.com/t/adding-school-condition/122598 "2007-12-11T01:22:58Z")

</div>

For my implementation I would like any user who is logged in to be able to add a school (object.) However, I would like this school to only become visible to that and all other users, including non-users if four other…

---

## [Dynamic Scaffolding gone](https://www.ruby-forum.com/t/dynamic-scaffolding-gone/122698)

<div class="topic-metadata">

**Author:** [@rubylicious](https://www.ruby-forum.com/u/rubylicious)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 12:55am UTC](https://www.ruby-forum.com/t/dynamic-scaffolding-gone/122698 "2007-12-11T00:55:31Z")

</div>

Since Rails 2.0 has removed dynamic scaffolding, is there any other alternative?

---

## [NameError: uninitialized constant after deployment](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 12:14am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700 "2007-12-11T00:14:15Z")

</div>

i have set up my deployment with capistrano and it works fine till the step i call the app in the browser… it cannot find any of my custom classes … on the first call to a custom class i get a NameError: uninitialize…

---

## [File uploads and saving blobs to MySQL database](https://www.ruby-forum.com/t/file-uploads-and-saving-blobs-to-mysql-database/122343)

<div class="topic-metadata">

**Author:** [@Harmon](https://www.ruby-forum.com/u/Harmon)\
**Replies:** 5\
**Last updated:** [December 11, 2007, 12:10am UTC](https://www.ruby-forum.com/t/file-uploads-and-saving-blobs-to-mysql-database/122343 "2007-12-11T00:10:24Z")

</div>

I’ve been having trouble trying to get uploaded images to save correctly to a blob field in a MySQL database. Here’s my form view VIEW: \<% form\_for(@user, :html =\> { :class =\> ‘edit’,:multipart =\> true }) do |f| %\> …

---

## [Rails 1.2.6 is out](https://www.ruby-forum.com/t/rails-1-2-6-is-out/121127)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 11\
**Last updated:** [December 10, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/rails-1-2-6-is-out/121127 "2007-12-10T23:54:31Z")

</div>

Hi Railers, 1.2.6 is out : http://dev.rubyonrails.org/changeset/8197 There’s a fix for a regression in AR : http://dev.rubyonrails.org/ticket/8713 and a security fix, see : http://dev.rubyonrails.org/ticket/10048 h…

---

## [Validate Object Ownership (user\_id) in model, or in controller?](https://www.ruby-forum.com/t/validate-object-ownership-user-id-in-model-or-in-controller/122692)

<div class="topic-metadata">

**Author:** [@Astorian](https://www.ruby-forum.com/u/Astorian)\
**Replies:** 3\
**Last updated:** [December 10, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/validate-object-ownership-user-id-in-model-or-in-controller/122692 "2007-12-10T23:44:29Z")

</div>

Quick best practices question … I have a number of models with a user\_id attribute I am using the acts\_as\_authenticated plugin which lets you use something like current\_user to extract the current user from the sessi…

---

## [Using Mac OS X Server for deployment?](https://www.ruby-forum.com/t/using-mac-os-x-server-for-deployment/122697)

<div class="topic-metadata">

**Author:** [@chuck](https://www.ruby-forum.com/u/chuck)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/using-mac-os-x-server-for-deployment/122697 "2007-12-10T22:49:30Z")

</div>

Hi, Is anyone running Mac OS X Server 10.5.1 (or 10.4.x) for Rails apps with lots of users? If not, do you know of sites (any sites) using Mac OS X Server? Are there known issues specific to Mac OS X Server for Rails…

---

## [Rails 2.0 ActionMailer breaks my redmine render\_message](https://www.ruby-forum.com/t/rails-2-0-actionmailer-breaks-my-redmine-render-message/122518)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 6\
**Last updated:** [December 10, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/rails-2-0-actionmailer-breaks-my-redmine-render-message/122518 "2007-12-10T22:03:49Z")

</div>

I am using ‘redmine’ (v 0.6) as my major project manager, seems running fine w Rails 2.0 (slight modifs for paginations…) but I am stuck with a major error when sending a confirmation email : mailer.rb class Mailer \<…

---

## [Deployed application but it seems that no models are loaded](https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 1\
**Last updated:** [December 10, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694 "2007-12-10T21:22:29Z")

</div>

i have a strange problem … i successfully deployed my application and the mongrel cluster runs fine … now on the application level i get the following error when i request the app via the browser (it looks like not al…

---

## [Windows, Rails2.0, Zlib::BufError or Mongrel crash with rubygems update --system](https://www.ruby-forum.com/t/windows-rails2-0-zlib-buferror-or-mongrel-crash-with-rubygems-update-system/122591)

<div class="topic-metadata">

**Author:** [@jesperronn](https://www.ruby-forum.com/u/jesperronn)\
**Replies:** 1\
**Last updated:** [December 10, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/windows-rails2-0-zlib-buferror-or-mongrel-crash-with-rubygems-update-system/122591 "2007-12-10T19:55:46Z")

</div>

Hope i get your attention before running “gem update --system” on win32, as the 0.9.5 version of rubygems caused me some problems I have done what I could to gather the information and write what worked for me: Rails…

---

## [Tell apache to use mongrel cluster](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/tell-apache-to-use-mongrel-cluster/122652 "2007-12-10T19:34:05Z")

</div>

i have successfully deployed my app and the mongrel cluster is running … the problem i have no is that i cannot access the app via a browser … it always shows me the start page of apache … how do i say it should use t…

---

## [HELP under PROXY!](https://www.ruby-forum.com/t/help-under-proxy/122688)

<div class="topic-metadata">

**Author:** [@andre.ambrosio](https://www.ruby-forum.com/u/andre.ambrosio)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/help-under-proxy/122688 "2007-12-10T19:21:43Z")

</div>

Hello, I’ve been learning RoR for a week now and I gotta say the learning courve is awesome with this framework. However, with the introduction of rails 2.0 some things became a little bit fuzzy, and since I am deali…

---

## [\[ANN\] Browserized Styles Plugin](https://www.ruby-forum.com/t/ann-browserized-styles-plugin/122582)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [December 10, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/ann-browserized-styles-plugin/122582 "2007-12-10T17:33:11Z")

</div>

Browserized Styles provides a dead simple way to create browser- specific CSS code for use in a Rails application. All you need to do is create a .css file targeted to a browser by appending an underscore and identifi…

---

## [Reading Ruby Books on a Kindle?](https://www.ruby-forum.com/t/reading-ruby-books-on-a-kindle/122614)

<div class="topic-metadata">

**Author:** [@gman327](https://www.ruby-forum.com/u/gman327)\
**Replies:** 5\
**Last updated:** [December 10, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/reading-ruby-books-on-a-kindle/122614 "2007-12-10T17:03:12Z")

</div>

I’ve not seen one myself but most of the book reading focuses of novels and I’m just wondering if anybody’s seen either books from Pragmatic Programmers or Manning Publications render successfully on the new Amazon Ki…

---

## [Pagination with eagerfindersql](https://www.ruby-forum.com/t/pagination-with-eagerfindersql/122660)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 3\
**Last updated:** [December 10, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/pagination-with-eagerfindersql/122660 "2007-12-10T16:34:51Z")

</div>

I have installed the plugin eagerfindersql. if i try to insert :limit and offset in find: events=Event.find(:all, :limit=\>10,:offset =\> 0,:include =\> \[:event\_type\_names,{:event\_dates =\> {:place =\> :locality}}\], :find…

---

## [Restrat server](https://www.ruby-forum.com/t/restrat-server/122673)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [December 10, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/restrat-server/122673 "2007-12-10T16:18:56Z")

</div>

I have this file in my lib directory that I am using to encrypt/decrypt some stuff. While I am debugging it I have to contsantly start and restart the server in order for the changes to take effect (or for them to be …

---

## [One-to-many from script/generate scaffold \<model\> \<controller\>](https://www.ruby-forum.com/t/one-to-many-from-script-generate-scaffold-model-controller/122671)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/one-to-many-from-script-generate-scaffold-model-controller/122671 "2007-12-10T15:45:13Z")

</div>

I followed a tutorial step by step which resulted in what has been, for me, the holy grail: a one-to-many relationship. A screenshot of what I ended up with: Name: Chili Cookoff Budget: 150.0 Edit | Back Itemiz…

---

## [Ruby Programming](https://www.ruby-forum.com/t/ruby-programming/122667)

<div class="topic-metadata">

**Author:** [@VBVBVB](https://www.ruby-forum.com/u/VBVBVB)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/ruby-programming/122667 "2007-12-10T15:19:20Z")

</div>

iTechArt has specialized in Ruby on Rails (ROR) development and provides a complete software outsourcing services for web development solutions based on Ruby. We suggest use Ruby framework for developing database-back…

---

## [Text field magic?](https://www.ruby-forum.com/t/text-field-magic/122663)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 1\
**Last updated:** [December 10, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/text-field-magic/122663 "2007-12-10T15:16:58Z")

</div>

I have a text field. It starts with an initial value from the database. If it changes, I save it to the database. This works via observe\_field. The field cannot be blank, so if someone deletes the contents of the fiel…

---

## [Nignx vs litespeed](https://www.ruby-forum.com/t/nignx-vs-litespeed/122386)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 6\
**Last updated:** [December 10, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/nignx-vs-litespeed/122386 "2007-12-10T15:16:22Z")

</div>

I’d like to start a discussion on compare and contrast between these two web servers. Has anyone evaluated both? http://nginx.net/ Thanks! Chirag

---

## [Popup questions](https://www.ruby-forum.com/t/popup-questions/122665)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/popup-questions/122665 "2007-12-10T14:42:11Z")

</div>

I’m OK with the idea of a help button that is a link\_to (… :popup that produce a modal box. Q1: Can I make it produce a non-modal box? So the help text stays up but the user can continue working? But I’m trying to …

---

## [View function doesnt work when upgrade to rails2](https://www.ruby-forum.com/t/view-function-doesnt-work-when-upgrade-to-rails2/122658)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 2:09pm UTC](https://www.ruby-forum.com/t/view-function-doesnt-work-when-upgrade-to-rails2/122658 "2007-12-10T14:09:26Z")

</div>

hi all: i met some problems when upgrade rails 1.2.5 to rails 2.0.1 undefined method \`fix\_double\_escape’ you guys have any good idea?

---

## [664 permissions after cap deploy](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421)

<div class="topic-metadata">

**Author:** [@giuseb](https://www.ruby-forum.com/u/giuseb)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/664-permissions-after-cap-deploy/122421 "2007-12-10T14:07:28Z")

</div>

Hello, when I deploy my application via capistrano (using the default recipe): $ cap deploy everything appears to go well until the system complains that script/process/reaper cannot be found. It turns out that the …

---

## [Mysql error with rails 2.0.1](https://www.ruby-forum.com/t/mysql-error-with-rails-2-0-1/122659)

<div class="topic-metadata">

**Author:** [@Md.elme\_focruzzaman](https://www.ruby-forum.com/u/Md.elme_focruzzaman)\
**Replies:** 0\
**Last updated:** [December 10, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/mysql-error-with-rails-2-0-1/122659 "2007-12-10T13:45:02Z")

</div>

Hello Friends, Sorry for my bad english.I am a rails novice. I successfully install rails 2.0.1 and activerecord 2.0.1 in my windows Xp sevice pack 2 system. I am trying to develop simple rails application which does …

---

## [Rmagick](https://www.ruby-forum.com/t/rmagick/122628)

<div class="topic-metadata">

**Author:** [@mzalendo](https://www.ruby-forum.com/u/mzalendo)\
**Replies:** 1\
**Last updated:** [December 10, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/rmagick/122628 "2007-12-10T13:36:53Z")

</div>

Hi all, i have RMagick 1.15.9 installed but when i, require ‘RMagick’ i get the following error irb(main):001:0\> require 'RMagick' LoadError: no such file to load – RMagick from C:/instantrails/InstantRai…

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

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