On 1/29/06, Bruce Raggett <[EMAIL PROTECTED]> wrote:
> 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)

This doesn't mean the table is actually called "permission_table";
rather that it uses the value stored in the CONFIG for the UserEngine
with the key :permission_table. The defaults are 'permission' or
'permissions' (depending on whether or not you've turned on
pluralisation. Unless, of course, you've set this explicitly - it
wasn't clear in your post.

Assuming that you didn't specify any custom table names, what tables
do you have in your database?

- james
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to