Why does user_json use slice before returning a user in JSON?

Topic: rails, JSON Serialization. Level: Basic.

The full answer to this question is available to Interview Reader members. See what is free and what Premium adds.