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
Thank you for your awesome gem, I'm using this to glue my backbone.js code with rails.
One thing I want to know is, in default rails, I can do things like this
user = User.find(xx)
user.to_json(:root => false)
to get rid of some nested key name. But now, after adapted gon, it automatically help me finished the covert between rails object and json. Therefore I don't have a place to do the render with root false.
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for your awesome gem, I'm using this to glue my backbone.js code with rails.
One thing I want to know is, in default rails, I can do things like this
to get rid of some nested key name. But now, after adapted gon, it automatically help me finished the covert between rails object and json. Therefore I don't have a place to do the render with root false.
The text was updated successfully, but these errors were encountered: