Browse files

If included_modules doesnt take a parameter, we shouldnt either

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent e398045 commit 26761d6d323a3f4071bdc009058fb213e9c87718 @dhh dhh committed Feb 1, 2006
View
2 actionpack/lib/action_controller/caching.rb
@@ -522,7 +522,7 @@ class Sweeper < ActiveRecord::Observer #:nodoc:
attr_accessor :controller
# ActiveRecord::Observer will mark this class as reloadable even though it should be
- def self.included_modules(include_super = true)
+ def self.included_modules
super() - [ Reloadable ]
end
View
2 actionpack/lib/action_controller/session/active_record_store.rb
@@ -66,7 +66,7 @@ class Session < ActiveRecord::Base
class << self
# Don't try to reload ARStore::Session in dev mode.
- def included_modules(include_super = true)
+ def included_modules
super() - [ Reloadable ]
end

0 comments on commit 26761d6

Please sign in to comment.