mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
More refactoring:
* Changed associations to be classes * remove @hash and always use @options[:hash] * pass serializer options down to child serializers
This commit is contained in:
@@ -737,7 +737,7 @@ class SerializerTest < ActiveModel::TestCase
|
||||
attributes :id, :name
|
||||
|
||||
define_method :serializable_hash do
|
||||
hash_object = @hash
|
||||
hash_object = @options[:hash]
|
||||
super()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user