Hello, I have a big controller of about 1000 lines and whenever I make changes to views the browser does not show the updated code. I am running in development mode which makes it all more confusing. This happens in both rails 1.0.0 and 1.1.2 and both in ruby 1.8.2 and 1.8.4. It also happens for fcgi and scgi. Also for apache, webrick, and mongrel. At this point I have no idea what is going on. If you have any suggestions please let me know, Roland -- Posted via http://www.ruby-forum.com/.
First of all, why so big? I don''t know of any issues, but when you restart the webserver/process does it read the updated code fine? ------------- Timothy Johnson www.foundinteractive.com On Jun 26, 2006, at 1:55 PM, Roland Mai wrote:> Hello, > > I have a big controller of about 1000 lines and whenever I make changes > to views the browser does not show the updated code. I am running in > development mode which makes it all more confusing. > > This happens in both rails 1.0.0 and 1.1.2 and both in ruby 1.8.2 and > 1.8.4. > It also happens for fcgi and scgi. Also for apache, webrick, and > mongrel. At this point I have no idea what is going on. > > If you have any suggestions please let me know, > > Roland > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Actually, the controller grew with time, and since it was started by someone else, I kept working in it. Yes, I have to reload the webserver everytime to get the new updated view. Roland -- Posted via http://www.ruby-forum.com/.
Only thing I can guess is that if "I" have more than 20 actions, it''s time to start a new controller. Is this happening in Production mode also. -- Timothy Johnson On Jun 26, 2006, at 2:03 PM, Roland Mai wrote:> Actually, the controller grew with time, and since it was started by > someone else, I kept working in it. > > Yes, I have to reload the webserver everytime to get the new updated > view. > > Roland > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Same thing happens in production mode too... I guess I will have to split the controller and organize things better. Thanks Timothy for your help. -- Posted via http://www.ruby-forum.com/.
Roland Mai wrote:> Hello, > > I have a big controller of about 1000 lines and whenever I make changes > to views the browser does not show the updated code. I am running in > development mode which makes it all more confusing. > > This happens in both rails 1.0.0 and 1.1.2 and both in ruby 1.8.2 and > 1.8.4. > It also happens for fcgi and scgi. Also for apache, webrick, and > mongrel. At this point I have no idea what is going on. > > If you have any suggestions please let me know, > > RolandMaybe check the environments/development.rb to see if class caching is turned on. -- Posted via http://www.ruby-forum.com/.