You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the following: [{:return=>{:success=>false, :error_messages=>nil, :success_messages=>nil}}]
a call .to_array(:return, :success)
will return an empty array ([]) and not an array containing false ([false]) so the evaluated result ist nil and not false.
The text was updated successfully, but these errors were encountered:
Given the following:
[{:return=>{:success=>false, :error_messages=>nil, :success_messages=>nil}}]
a call
.to_array(:return, :success)
will return an empty array (
[]
) and not an array containing false ([false]
) so the evaluated result ist nil and not false.The text was updated successfully, but these errors were encountered: