Class: ActiveRecord::Serialization::JsonSerializer
- Inherits:
-
Serializer
- Object
- Serializer
- ActiveRecord::Serialization::JsonSerializer
- Defined in:
- lib/active_record/serializers/json_serializer.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Serializer
Instance Method Summary collapse
Methods inherited from Serializer
#add_includes, #initialize, #serializable_attribute_names, #serializable_method_names, #serializable_names, #serializable_record, #to_s
Constructor Details
This class inherits a constructor from ActiveRecord::Serialization::Serializer
Instance Method Details
#serialize ⇒ Object
69 70 71 |
# File 'lib/active_record/serializers/json_serializer.rb', line 69 def serialize serializable_record.to_json end |