Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 4 : What is cached when using config.cache_classes = true

Tags:

I was just wondering and didn't find explicit response on what in the model class (ActiveRecord) is cached when setting config.cache_classes to true ?

Could someone tell me or point me to the doc I didn't found ?

Thanks

like image 440
gonzoyumo Avatar asked May 27 '10 09:05

gonzoyumo


1 Answers

It determines whether or not your application classes are reloaded on each request. If it's true, you have to restart your server for code changes to take effect (i.e. you set it to true in production, false in development.)

Documentation is here.

like image 125
x1a4 Avatar answered Sep 30 '22 18:09

x1a4