Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Tom Hoen's Profile

GitHub User: hoenth

Comments by Tom Hoen


In Ryan's example, storing the data in the DOM and also retrieving it using AJAX, it would incur multiple database calls. But Ryan was simply demonstrating how you could use the serializers to store data in the DOM. In the real world, you likely wouldn't need both on the same page.