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
Now, it contains only an ActiveRecord ID or something like that:
"#<Frame:0x00007f25035e47d0>"
I've made some changes in my code, mainly running bundle update and things like that, but nothing that would intentionally change how this work. However, there was a wide enough set of changes from updating the gems that it's hard to isolate the source of this change.
Is gon responsible for deciding how to convert something into Javascript? What would cause gon to convert into the format that only includes an identifier, rather than the dictionary of values?
The text was updated successfully, but these errors were encountered:
I'm having a strange problem: previously, the gon gem was working for me to pass an array of objects to the browser. Here's the assignment:
gon.frames = @job.sequence.frames.sort_by(&:n)
Previously, this assignment resulted in the
gon.frames
variable containing a list of Javascript dictionaries/objects:{id: 11, user_id: 12, sequence_id: 13, sequence_list_id: 3, complete: false, …}
Now, it contains only an ActiveRecord ID or something like that:
"#<Frame:0x00007f25035e47d0>"
I've made some changes in my code, mainly running bundle update and things like that, but nothing that would intentionally change how this work. However, there was a wide enough set of changes from updating the gems that it's hard to isolate the source of this change.
Is gon responsible for deciding how to convert something into Javascript? What would cause gon to convert into the format that only includes an identifier, rather than the dictionary of values?
The text was updated successfully, but these errors were encountered: