Module: ActiveRecordMask

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_record_mask/version.rb,
lib/active_record_mask/active_record_mask.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

VERSION =
'0.1.1'

Instance Method Summary collapse

Instance Method Details

#mask_down!Object



38
39
40
# File 'lib/active_record_mask/active_record_mask.rb', line 38

def mask_down!
  @show_real_data = true
end

#mask_up!Object



42
43
44
# File 'lib/active_record_mask/active_record_mask.rb', line 42

def mask_up!
  @show_real_data = false
end