ruby - Passenger and Rails are Code Caching despite correctly loading Development Environment? -


i'm working simple rails application, built rails getting started guide. i'm running in vagrant development vm using apache2 , passenger (libapache2_mod_passenger). i'm having issue code caching.

my rails app appears caching controllers , models, not views. can load new controller or model code running sudo service apache2 restart on vagrant. correctly setting railsenv development in virtual host. i've tried setting rackenv development both instead , additionally.

i've inspected rails internal configuration , discovered correctly detecting development environment. rails.env returns "development". inspection of rails.application.config shows should be.

from in app through vagrant:

cache classes: --- false ... local requests: --- true ... perform caching: --- false ... cache store: --- :null_store ... 

except caching classes, because have restart web server in order load new controller code.

the kicker when run rails server on local machine, no caching occurs. can make change controller code, refresh page , change appears expected. suggests has passenger. isn't page caching, since view changes appear immediately.

the versions i'm working are:

ruby 2.3.2p120 (2016-05-21 revision 55092) [x86_64-linux]  rails 5.0.0.1  phusion passenger 5.0.30 

i'm @ complete loss here. thoughts on can look?

edited 8/29 ~11 am --previous debugging attempts in previous question revisions.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -