public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Don't use alias_method_chain. Use alias_method directly. Fixes issue #41.
Hongli Lai (Phusion) (author)
Tue Apr 29 14:53:04 -0700 2008
commit  d773c27a9a4b49a2aa5a8f0d9fba23a6d6987aba
tree    cc4949d803f7ed0bd0ffa258bbf243074cdd2741
parent  95fcd7a4c62d31cbba6e20b2ecd31ce5451f7eff
...
250
251
252
253
 
 
254
255
256
...
250
251
252
 
253
254
255
256
257
0
@@ -250,7 +250,8 @@ private
0
           load_environment_without_passenger
0
         end
0
         
0
-        alias_method_chain :load_environment, :passenger
0
+        alias_method :load_environment_without_passenger, :load_environment
0
+        alias_method :load_environment, :load_environment_with_feature
0
       end
0
     end
0
     require 'config/environment'

Comments

    No one has commented yet.