mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #40162 from jhawthorn/remove_name_redefinition
Don't override module name on AV::Base subclass
This commit is contained in:
commit
90216abe12
1 changed files with 1 additions and 5 deletions
|
@ -191,12 +191,8 @@ module ActionView #:nodoc:
|
|||
define_method(:compiled_method_container) { subclass }
|
||||
define_singleton_method(:compiled_method_container) { subclass }
|
||||
|
||||
def self.name
|
||||
superclass.name
|
||||
end
|
||||
|
||||
def inspect
|
||||
"#<#{self.class.name}:#{'%#016x' % (object_id << 1)}>"
|
||||
"#<ActionView::Base:#{'%#016x' % (object_id << 1)}>"
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue