logo       

Re: Re: [UHH] any blogs sprung from camping?: msg#00020

lang.ruby.camping.general

Subject: Re: Re: [UHH] any blogs sprung from camping?

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise