R
Взял вот этот https://github.com/SeyZ/jsonapi-serializer/issues?utf8=%E2%9C%93&q=deserialize+return
Какой то глючный весь
Size: a a a
R
A
💭П
A
NG
VI
A
2.6.2 :001 > 9 + '9'
Traceback (most recent call last):
5: from /home/alex/.rvm/rubies/ruby-2.6.2/bin/irb:23:in `<main>'
4: from /home/alex/.rvm/rubies/ruby-2.6.2/bin/irb:23:in `load'
3: from /home/alex/.rvm/rubies/ruby-2.6.2/lib/ruby/gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>'
2: from (irb):1
1: from (irb):1:in `+'
TypeError (String can't be coerced into Integer)
VI
2.6.2 :001 > 9 + '9'
Traceback (most recent call last):
5: from /home/alex/.rvm/rubies/ruby-2.6.2/bin/irb:23:in `<main>'
4: from /home/alex/.rvm/rubies/ruby-2.6.2/bin/irb:23:in `load'
3: from /home/alex/.rvm/rubies/ruby-2.6.2/lib/ruby/gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>'
2: from (irb):1
1: from (irb):1:in `+'
TypeError (String can't be coerced into Integer)
A
A
2.6.2 :002 > '9' + 9
TypeError (no implicit conversion of Integer into String)
VI
A
>>> '9' + 9
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can only concatenate str (not "int") to str
>>> 9 + '9'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'int' and 'str'
IF
VI
>>> '9' + 9
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can only concatenate str (not "int") to str
>>> 9 + '9'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'int' and 'str'
A
A
IF
S
IF