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
Hi, I've just started passing the result of an interaction into FormBuilder when there are errors and I've found that it doesn't work very well with nested attributes. To get around this, my View Component model has calls to to_model all over the place which is both ugly and confusing for new developers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I've just started passing the result of an interaction into FormBuilder when there are errors and I've found that it doesn't work very well with nested attributes. To get around this, my View Component model has calls to
to_model
all over the place which is both ugly and confusing for new developers.Is there a better way this should be done?
Beta Was this translation helpful? Give feedback.
All reactions