I have put my rails app to production environment under linux. And now i have changed the source of the file application_helper, however,no matter how i restart the app(restart mongrel and restart apache or even restart the computer) and delete all the caches under tmp/cache, the methods in the application_helper does not change at all,even i delete the file application_helper.rb,the old helper method still works, very strange,now i even does not have any method to let my new application_helper.rb worked! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I''m not sure this will help, bu how are you deploying? If it''s using capistrano, be aware that it updates the symlink "current" to point to a new directory every time you deploy. If you happened to be ssh-ed in, then you have to "cd" back to that directory. Otherwise you''ll be making changes to an old version of your app that''s not running. This prolly will not happen if you restart the comp tho ;-) Vish On 9/30/06, Benson <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I have put my rails app to production environment under linux. And now i > have changed the source of the file application_helper, however,no > matter how i restart the app(restart mongrel and restart apache or even > restart the computer) and delete all the caches under tmp/cache, the > methods in the application_helper does not change at all,even i delete > the file application_helper.rb,the old helper method still works, very > strange,now i even does not have any method to let my new > application_helper.rb worked! > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
hey this is really weird. i would suggest waiting for a day and check again. sometimes ISPs have cachers. (?) -- Heri R. http://sprinj.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---