Yes, look in Equipment so see what I did. There is a security module that separate the authentication of the authorization. You can define authentication or authorization rules on a class or application wide level.
Note that mixins have some limitations, this is why the Equipment extension method is pretty complex. If you mix module A in module B and THEN add some methods to module A, module B won't get them. In Equipment, all includes are done when the #create method is called to avoid that problem. -- Cheers, zimbatm [1] http://zimbatm.oree.ch/files/camping.png _______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

