partials still getting cached in development mode #11

Closed
danieldkim opened this Issue Jul 2, 2010 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

danieldkim commented Jul 2, 2010

this little change to line 224 in request_extensions.js seems to fix it:

http://gist.github.com/462092

Contributor

danieldkim commented Jul 3, 2010

btw, i noticed that the read of the partial template is synchronous. any reason for that?

Owner

dantebronto commented Jul 14, 2010

This really bothers me but I can't think of a suitable fix. The partial loading is the only synchronous part of the framework. The reason I had to do this was in the event that someone calls a partial inside of an :each loop. If the partial loading is deferred until later, the partial scope would be lost, that is without majorly refactoring the way views are rendered.

@dantebronto dantebronto pushed a commit that referenced this issue Apr 22, 2011

Kellen Presley fixes issue #11 b76dfe0

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment