Module: ActiveRecord::Serialization::ClassMethods

Defined in:
lib/active_record/serializers/json_serializer.rb

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



75
76
77
# File 'lib/active_record/serializers/json_serializer.rb', line 75

def json_class_name
  @json_class_name ||= name.demodulize.underscore.inspect
end