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
When I create a new object, the collection of objects that gets pulled in by the client duplicates the new object, even though it is only created once in the database and on refreshing the client it only gets pulled in once.
I use .$save to create a new 'messageboard', and I use .all() to pull in all messageboards. The bug happens:
when I've gone into a particular messageboard (at /messageboards/:id) then gone back to the index - then when I create a new messageboard it appears two or three times in the collection of messageboards;
only in the client that has created the messageboard - in another browser the new messageboard only appears once;
because of something to do with what's being broadcast - I've done console.log() on the messageboards returned by .all() and the array includes the new messageboard two or three times, so the problem is to do with what's actually being broadcast, not how I'm displaying messageboards;
Can you provide a branch that runs just plain old sqlite instead of postgres? I have a new computer on which I don't have postgres set up yet and it would take a little bit for me to set it up. Thanks in advance.
When I create a new object, the collection of objects that gets pulled in by the client duplicates the new object, even though it is only created once in the database and on refreshing the client it only gets pulled in once.
I use .$save to create a new 'messageboard', and I use .all() to pull in all messageboards. The bug happens:
Here's the branch where the bug is happening - the angular app is in app/assets/javascripts
Other than this very strange issue, the gem's working great for me. Thank you!
The text was updated successfully, but these errors were encountered: