[Rg 85] custom authentication helper

Vladimir Konrad v.konrad at lse.ac.uk
Wed Sep 19 11:03:13 EDT 2007


Hello,

I have written custom authentication helper for active directory
 (based on AuthHelper in ramaze distribution) but cannot
figure out how to use it.

The file is called authentication_helper.rb and lives in src/helper
directory. The file contains AuthenticationHelper module.

In the controller file, i require it and use (in controller
class)

helper :authentication

but this does not work (can't convert nil into string error).

I looked through mailing list, examples and the source code (including
test case for AuthHelper) but cannot figure this one out.

Any ideas?

Vlad

Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm


More information about the Ramaze-general mailing list