RailsCasts Pro episodes are now free!

Learn more or hide this

batamire's Profile

GitHub User: batamire

Comments by

Avatar

Hi Ryan,

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?

Respect!