Module: ShouldaMatchmakers::Model::ActiveRecord::Matchmaker::Serialize

Included in:
ActiveRecordModelSmModel
Defined in:
lib/model/active_record/matchmakers/serialize.rb

Instance Method Summary collapse

Instance Method Details

#serialize_matcher_testsObject



8
9
10
11
12
13
14
15
# File 'lib/model/active_record/matchmakers/serialize.rb', line 8

def serialize_matcher_tests
  serialized_attributes = @app_class_name.constantize.serialized_attributes
  if serialized_attributes.present?
    generate_serialize_matcher_tests(serialized_attributes)
  else
    []
  end
end