RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: batamire
This example is not working in Rails3. At least for me.
The problem is that response is ActionDispatch object (code 200OK) the first time a route is accessed, and an empty array (code 304) for all requests.
Can you update this for Rails3 and explain this change a little further?