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
These methods do not seem to work, as the JSON hash will just contain "settings": null. Is there any way to accomplish this? I am on version 1.2.0 which I understand is old.
The text was updated successfully, but these errors were encountered:
Hi,
I'm wondering if there is a way to include the settings.all hash when you're converting a user object to JSON, such as:
user.to_json(:include => :settings)
user.to_json(:include => { :settings => :all })
These methods do not seem to work, as the JSON hash will just contain
"settings": null
. Is there any way to accomplish this? I am on version 1.2.0 which I understand is old.The text was updated successfully, but these errors were encountered: