Have you by chance turned off pluralization? -nb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathaniel S. H. Brown http://nshb.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruce Raggett > Sent: January 29, 2006 4:22 AM > To: [email protected] > Subject: [Engine-users] user_engine installation problem > > Hello All, > > I am trying to install user_engine, but am unable to get the > rake commands to work. > > For example, when I run rake bootstrap I get the following error: > > rake aborted! > PGError: ERROR: relation "permission" does not exist > : SELECT a.attname, format_type(a.atttypid, > a.atttypmod), d.adsrc, a > .attnotnull > FROM pg_attribute a LEFT JOIN pg_attrdef d > ON a.attrelid = d.adrelid AND a.attnum = d.adnum > WHERE a.attrelid = 'permission'::regclass > AND a.attnum > 0 AND NOT a.attisdropped > ORDER BY a.attnum > > I know that there is no table called "permission" because the > table is called "permission_table" as specified in the > Permission model class: > > class Permission < ActiveRecord::Base > > set_table_name UserEngine.config(:permission_table) > has_and_belongs_to_many :roles, :join_table => > UserEngine.config(:permission_role_table) > > Can anyone throw any light on this? > > I am using Rails 1.0, PostgreSQL 8.0.3, and Windows XP. > > Many thanks, > Bruce. > > _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
