RailsCasts Pro episodes are now free!

Learn more or hide this

Puneet Pandey's Profile

GitHub User: puneetpandey

Site: http://puneetpandey.com

Comments by Puneet Pandey

Avatar

Hi Ryan,

That is very helpful. Wasn't aware that integration of HTML 5 with Rails 3 will be so simple and doesn't require unnecessary lines of code.

One small doubt: When we write this code:

$("products").update("<%= escape_javascript(render(@products)) %>");

in the index.js.erb file, it always expects a partial to be available in app/views/products/_product.html.erb. Why is that so and is there any way to skip this?

Best Regards
Puneet