mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Remove left over references to scope instance variable
This commit is contained in:
@@ -71,8 +71,8 @@ class SerializerTest < ActiveModel::TestCase
|
||||
end
|
||||
|
||||
class CommentSerializer
|
||||
def initialize(comment, scope, options={})
|
||||
@comment, @scope = comment, scope
|
||||
def initialize(comment, options={})
|
||||
@comment = comment
|
||||
end
|
||||
|
||||
def serializable_hash
|
||||
|
||||
Reference in New Issue
Block a user