Ruby on Rails Thursday, April 29, 2010

Robert Walker wrote:
> Jonathan Rochkind wrote:
>> Is this a bug? Or is this expected behavior? Is there something I'm
>> missing? Under what circumstances is the cached file supposed to be
>> regenerated? If the last-modified timestamp changes on one of the
>> included files, will it be regenerated? Will it EVER be re-generated?
>
> I see the same behavior, and I basically use the same solution. Probably
> not a bad idea to add a step to your Capistrano (or whatever deploy
> tool) to delete those files on each deployment.

Thanks for the response. I'm thinking this is a bug, and I'll try to go
ahead and file it in the tracker, although I lack the Rails fu to fix it
myself.

In the absence of a fix, could also add something to your Rails app
startup routines to delete the files, to work regardless of Capistrano
use or not.
--
Posted via http://www.ruby-forum.com/.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment