mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Remove explicit reference to self
This commit is contained in:
parent
adee76181f
commit
115de49004
@ -13,8 +13,8 @@ module ActiveModel
|
|||||||
|
|
||||||
class << self
|
class << self
|
||||||
def inherited(base)
|
def inherited(base)
|
||||||
base._attributes = (self._attributes || []).dup
|
base._attributes = (_attributes || []).dup
|
||||||
base._associations = (self._associations || {}).dup
|
base._associations = (_associations || {}).dup
|
||||||
end
|
end
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user