After doing some git-bisect magic it seems I'm in some real trouble.
Josh Peek intentionally disabled[1] the file modification time check.

@Mauricio, are you sure compiled templates are stored on disk?

[1] 
http://github.com/rails/rails/commit/ce5d958f8fe878465c0d2142991a2945ca8d3cd1

On Oct 31, 5:39 pm, "Maurício Linhares" <[EMAIL PROTECTED]>
wrote:
> Maybe you could remove the whole compliled templates folder.
>
> -
> Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) 
> |http://blog.codevader.com/(en)
> João Pessoa, PB, +55 83 8867-7208
>
> On Fri, Oct 31, 2008 at 1:35 PM, Matthijs Langenberg
>
> <[EMAIL PROTECTED]> wrote:
>
> > I don't understand. If checking if a template has already been
> > compiled is thread-safe, checking the modification date should also be
> > thread-safe.
>
> > If thread safety is the issue here, would there be an option for me to
> > reset all compiled templates at once?
>
> > On Oct 31, 2:08 pm, "Maurício Linhares" <[EMAIL PROTECTED]>
> > wrote:
> >> My bet is that it isn't thread-safe. Two actions may check at the same
> >> time, both will get a "true" and both will try to update the cache.
>
> >> -
> >> Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) 
> >> |http://blog.codevader.com/(en)
> >> João Pessoa, PB, +55 83 8867-7208
>
> >> On Fri, Oct 31, 2008 at 10:06 AM, Matthijs Langenberg
>
> >> <[EMAIL PROTECTED]> wrote:
>
> >> > Fred,
>
> >> > I think I could write a patch that will take the file modification
> >> > date into consideration, but I'm also eager to know, why the check has
> >> > actually been removed.
>
> >> > - Matthijs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to