Displaying 1 result from an estimated 1 matches for "aaa_uid".
Did you mean:
aaa_id
2006 Mar 28
0
How to set session variable in plug-ins
...ch has to manipulate some session varibles
Unfortunately I end up with "Symbol as array index" errors.
Probably the error occurs in a point that I never think about but here''s
an abstract plug-in which generates the same error.
It fails in the line of assignment "session[:aaa_uid] = uid" with
"Symbol as array index" error.
module Legacy
module Rails #:nodoc:
module Test #:nodoc:
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def uses_test_plug(options = {})
class_eval do
e...