[Rails] PostgreSQL Schema and Rails

Michael Koziarski koziarski at gmail.com
Tue Mar 1 01:10:22 GMT 2005


On Mon, 28 Feb 2005 17:00:46 -0800, Robby Russell <robby at planetargon.com> wrote:
> Hey all,
> 
> I am curious about how Rails interacts with SCHEMAs in PostgreSQL. From
> the generate command, is it possible to setup a scaffold for a table not
> in the public. schema in PostgreSQL?
> 
> As a test, I tried,
> ./script/generate scaffold Manage.Form Manage.Form

How about:

class Form < ActiveRecord::Base
  table_name "Manage.Form"
end
?
 
> No dice.
> 
> Any suggestions?
> 
> -Robby
> 
> --
> /***************************************
> * Robby Russell | Owner.Developer.Geek
> * PLANET ARGON  | www.planetargon.com
> * Portland, OR  | robby at planetargon.com
> * 503.351.4730  | blog.planetargon.com
> * PHP/PostgreSQL Hosting & Development
> * --- Now hosting Ruby on Rails Apps ---
> ****************************************/
> 
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
> 


-- 
Cheers

Koz


More information about the Rails mailing list