how to "encrypt" the password/login for the blog.rb example?
Brendan Taylor
whateley at gmail.com
Sun Feb 24 10:49:39 EST 2008
On Sat, Feb 23, 2008 at 11:32:32PM -0400, Albert Ng wrote:
> Mr Taylor, I have used your module for digest authorization and was
> wondering if you could answer a couple of questions:
> What does module_function do without calling a :symbol?
<http://www.ruby-doc.org/core/classes/Module.html#M001665>:
"If used with no arguments, subsequently defined methods become module
functions."
> How is the «service» function called when I'm calling «authenticate», which
> only function is to raise if a condition is not met?
Mixin inheritance stuff.
<http://code.whytheluckystiff.net/camping/wiki/BeforeAndAfterOverrides>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/camping-list/attachments/20080224/7ffe4871/attachment.bin
More information about the Camping-list
mailing list