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
before_mount{foo=Model.new(attr1: 'hello')
...
DIV{foo.belongs_to_some_bar&.bar_attribute}
...
on(:click){foo.belongs_to_some_bar=a_bar}# should rerender the div but does not
if we change the new to Model.new(attr1: 'hello', belongs_to_some_bar: nil) it works
This was found on hyperloop legacy so perhaps its fixed?
The text was updated successfully, but these errors were encountered:
catmando
changed the title
new records created on clients do not initialize belongs_to relations correctly
Belongs to relationships on new records will react to updates to the relationship.
Jun 19, 2019
catmando
changed the title
Belongs to relationships on new records will react to updates to the relationship.
Belongs to relationships on new records don't react to updates to the relationship.
Jun 19, 2019
if we change the new to
Model.new(attr1: 'hello', belongs_to_some_bar: nil)
it worksThis was found on hyperloop legacy so perhaps its fixed?
The text was updated successfully, but these errors were encountered: