This project is archived and is in readonly mode.
Tempalte cache in development broken
Reported by Paweł Kondzior | March 9th, 2009 @ 07:32 PM | in 2.x
My application in development environment doesn't reload templates. I need to restart it after changes any changes in template.
I've bisected from edge to this commit, all before this commit works ok.
893e9eb99504705419ad6edac14d00e71cef5f12 is first bad commit
commit 893e9eb99504705419ad6edac14d00e71cef5f12
Author: Andrew White <andyw@pixeltrix.co.uk>
Date: Mon Feb 9 14:20:30 2009 -0600
Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
:040000 040000 be4ff1533dfb27616ee484acce2b4ae1a89d6029 51391ab30b2bab9fe14f98f84c20845718dec2e9 M actionpack
:040000 040000 95bb2a437ddbcd6b9534bfb103772d285423c0fe 7cb70665188dd0a04f25ab82b5f0ff8e3b278082 M railties
Comments and changes to this ticket
-
Paweł Kondzior March 9th, 2009 @ 07:32 PM
- Assigned user set to josh
-
Paweł Kondzior March 9th, 2009 @ 07:40 PM
Ok, sorry for confusing. I figured out why this doesn't work:
config.threadsafe! have influence on this line http://github.com/rails/rails/co....
Putting this in environment.rb will have lead to not reloaded tempaltes.
-
thedarkone March 9th, 2009 @ 10:30 PM
Hi Pawel,
just making sure you don't shoot yourself in the leg, reloadable templates are not thread safe (neither is class reloading in development mode etc.).
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>