Can I turn off config.action_view.cache_template_loading in Production

I’ve got an app which users can edit the ERB templates for emails, the
changes aren’t taking effect till the app restarts though because

config.action_view.cache_template_loading = true

I’ve seen various comments that suggest it has to be true when in
Production for thread safety - is Rails actually running in a threaded
manner yet? Surely this is a none issue at the moment?

Is anyone else running production apps with this set to false?



PS: yeh - I know liquid would be a better option, its on the list for
the future

Do you understand the performance hit you’ll get once you do that?

Maurício Linhares |

No - not really. How significant would it be?

I know this has only become a problem since the app got upgraded to
2.2 - prior to that we must not have been caching the templates


2009/7/30 Maurício Linhares [email protected]:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs