Notation (JSON) serialization format:
Sorry, I'm unfamiliar with to_js method. Where is that one defined? I
didn't see it anywhere in the Rails documentation.
Both are used for the same purpose?