开发者

Rails :Is this caching problem

开发者 https://www.devze.com 2022-12-27 19:23 出处:网络
I\'m new to rails, and have taken some existing site for new enhancements. I mirrored rails application from remote server, and running locally using \"ruby script/server\" server.

I'm new to rails, and have taken some existing site for new enhancements. I mirrored rails application from remote server, and running locally using "ruby script/server" server. The problem is any changes to the files are not being refle开发者_C百科cted in web browser. Is this because of caching somehwere. Can someone pls point me where should Ilook to disable this or come back to development env?


If you have copied the source from a production server, your application may not be in development mode, which means that the server will not automatically reload the files.

IIRC, you can set the application mode in config/environment.rb.

In development mode the files should be reloaded automatically, unless you are using require to load your classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号