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
We have a pretty weird set-up wherein we share a database with a legacy coldfusion app. (I know.) Coldfusion can't deal with arrays in the way that rails represents relationships. So in some cases, we have foreign keys that are strings, rather than arrays. We can still see the data when we print it in the console normally, but when we try to do so with awesome_print, it appears as an empty array.
Expected behavior:
awesome_print shows data even when it is of an unexpected type.
Current behavior:
When a foreign key (model_id) is a string or list of strings, awesome_print shows them as an empty array.
The text was updated successfully, but these errors were encountered:
We have a pretty weird set-up wherein we share a database with a legacy coldfusion app. (I know.) Coldfusion can't deal with arrays in the way that rails represents relationships. So in some cases, we have foreign keys that are strings, rather than arrays. We can still see the data when we print it in the console normally, but when we try to do so with awesome_print, it appears as an empty array.
Expected behavior:
awesome_print shows data even when it is of an unexpected type.
Current behavior:
When a foreign key (model_id) is a string or list of strings, awesome_print shows them as an empty array.
The text was updated successfully, but these errors were encountered: