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
If I call the errors for the outer: outer_output.errors.details
I will get this hash: {:base=>[{:error=>:wrong_number}, {:error=>"cannot be blank"}]}
meaning its merging the translated message and not the symbol from the inner interaction.
Is this how its supposed to be?
The text was updated successfully, but these errors were encountered:
Hello, I don't know if this is the expected behaviour or not but this is the situation:
I have 2 interactions, the inner one with:
errors.add(:base, :blank)
the outer one with:
If I call the errors for the outer:
outer_output.errors.details
I will get this hash:
{:base=>[{:error=>:wrong_number}, {:error=>"cannot be blank"}]}
meaning its merging the translated message and not the symbol from the inner interaction.
Is this how its supposed to be?
The text was updated successfully, but these errors were encountered: