Can I turn off config.action_view.cache_template_loading in Production
54 views
Skip to first unread message
jebw
unread,
Jul 30, 2009, 11:26:16 AM7/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
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?
Thanks
jebw
PS: yeh - I know liquid would be a better option, its on the list for
the future
Maurício Linhares
unread,
Jul 30, 2009, 1:01:17 PM7/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Do you understand the performance hit you'll get once you do that?