Fix undefined method each error occurring on static assets. [Fix #9]