Okay, 'Agile Web Development with Rails' (First Edition), page 335
says:
"Page cache files are by default stored in the public directory of
your application."

Perhaps it would be nice to include a warning in 'config/environment.rb'
NOT to comment out line 44 ... to avoid such mail threads ;-)
(Or perhaps it would be nice to have educated users ...)


Best regards,
Andreas Semt


Andreas Semt schrieb:
> @Sean,
> 
> line 44 of 'config/environment.rb' *in*:
> ---
>  >> puts ActionController::Base.page_cache_directory
> script/../config/../config/../cache
> => nil
> ---
> 
> line 44 of 'config/environment.rb' *out*:
> ---
>  >> puts ActionController::Base.page_cache_directory
> script/../config/../config/../public
> => nil
> ---
> 
> You're right! Thanks! No more mystery for me!
> ... now i can eat my quiche :-)
> 
> 
> Best regards,
> Andreas Semt
> 
> 
> Sean Cribbs schrieb:
>> Yes,
>>
>> Andreas Semt wrote:
>>> @Sean,
>>>
>>> yes, I've put line 44 back in 'environment.rb' and all seems fine.
>>> Now - where i know that development mode gives me instant feedbacks -
>>> i will use development mode during development of my Radiant website
>>> (without doubt that makes sense ...).
>>> Sorry for all the traffic here.
>>>
>>>
>>> Best regards and a happy new year,
>>> Andreas Semt
>>>
>>> P.S.: Is it possible to verify your assumption with the rails console
>>> ('script/console')?
>>>
>>>   
>> Yes, you can verify where it puts the cache in script/console with this 
>> line:
>>
>> puts ActionController::Base.page_cache_directory
>>
>> Cheers,
>>
>> Sean
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to