Well, I'll respond here then.

http://api.rubyonrails.com/classes/ActiveRecord/Associations/ClassMethods.html#M000527

If you look at some of the examples that use the :class_name
parameter, it does want strings, but of the actual *class* name, not
the table name. Luckily Rails rocks and provides a method on string to
convert a table name to a class name:

:class_name => MacEngine.config(:mac_user_grant_table).classify

I think that should do it.

-jeff

On 4/6/06, Vincent AE Scott <[EMAIL PROTECTED]> wrote:
> oops, appologies for replying to a previous post and forgetting to
> change the subject line after having removed the InReplyTo:
>
>
> --
> keys:  http://codex.net/gpg.asc
>
>  Heisenberg may have slept here
>
> _______________________________________________
> engine-developers mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
>


--
Jeff Lindsay
http://blogrium.com/
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

Reply via email to