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
You need to use the fields option instead of only e.g. render json: user, fields: [:access_token], status: 201. Seems like the docs are missing for this options, maybe you would be willing to create a PR for it?
I have a serializer like this
in one specific controller, I don't want to return first name and last name, so I've done this
in previous version (0.9.5) it was working, but when I updated to 0.10.0, it returns the first_name and last_name as empty values on the JSON
I'm using Ruby 2.3.1p112 with Rails 4.2.6
The text was updated successfully, but these errors were encountered: