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
上级 e3980457
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册