Module: GoSecure::SecureSerializeHelpers

Defined in:
lib/go_secure.rb

Instance Method Summary collapse

Instance Method Details

#[]=(*args) ⇒ Object



256
257
258
259
260
261
262
# File 'lib/go_secure.rb', line 256

def []=(*args)
  if args[0].to_s == self.class.secure_column
    send("#{self.class.secure_column}=", args[1])
  else
    super
  end
end

#reload(*args) ⇒ Object



250
251
252
253
254
# File 'lib/go_secure.rb', line 250

def reload(*args)
  res = super
  load_secure_object
  res
end