Hacker News new | comments | show | ask | jobs | submit login

> I also think it's a bad idea to enable asset compilation in production.

I don't see where the article recommended that. The article (and the Rails Guides) seem to be pre-compiling for production. This is the standard & recommended practice.

Yes, the articles and all of us in the comment thread are recommending pre-compiling. There's a rails configuration option that enables run-time compilation of uncompiled assets - this is referred to both in the rails guide and in the linked HN article. It is not recommended for performance reasons.

Applications are open for YC Winter 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact