mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Remove commented code
This commit is contained in:
parent
b854d49298
commit
bd90af0e49
@ -421,16 +421,6 @@ module ActiveModel
|
||||
|
||||
alias :read_attribute_for_serialization :send
|
||||
|
||||
# def _serializable_hash
|
||||
# instrument(:serialize, :serializer => self.class.name) do
|
||||
# node = attributes
|
||||
# instrument :associations do
|
||||
# include_associations!(node) if _embed
|
||||
# end
|
||||
# node
|
||||
# end
|
||||
# end
|
||||
|
||||
def _serializable_hash
|
||||
return nil if @object.nil?
|
||||
@node = attributes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user