Displaying 2 results from an estimated 2 matches for "accessd".
Did you mean:
access
2006 Jul 07
4
Calling a method each time an ActiveRecord Object is accessd
Hi,
I know that it is possible to execute code each time data is saved into
a model by using the +validate+ method.
However, is there also a way to execute code each time the data is
accessed, not just when it is changed?
Bye,
Winsmith
--
Posted via http://www.ruby-forum.com/.
2005 Apr 13
3
Authctxt
...rchangeably, e.g.:
In line 302 of sshconnect2.c the function "userauth_none" is called:
userauth_none(&authctxt);
The referred authctxt is of type 1. sshconnect2.c does not include auth.h.
"userauth_none" is defined in auth2-none.c. In that function the passed
authctxt is accessd like a struct from type 2.
In line 114 of auth2-none.c the member "pw" is accessed:
if (check_nt_auth(1, authctxt->pw) == 0)
"pw" is defined in type 2 only. In type 1 there is no "pw". Furthermore,
"userauth_none" eventually calls "auth_password&quo...