@@ -13,7 +13,11 module ActiveRecord | |||||
13 |
|
13 | |||
14 | # Undefines private Kernel#open method to allow using `open` scopes in models. |
|
14 | # Undefines private Kernel#open method to allow using `open` scopes in models. | |
15 | # See Defect #11545 (http://www.redmine.org/issues/11545) for details. |
|
15 | # See Defect #11545 (http://www.redmine.org/issues/11545) for details. | |
16 | class Base ; undef open ; end |
|
16 | class Base | |
|
17 | class << self | |||
|
18 | undef open | |||
|
19 | end | |||
|
20 | end | |||
17 | class Relation ; undef open ; end |
|
21 | class Relation ; undef open ; end | |
18 | end |
|
22 | end | |
19 |
|
23 |
General Comments 0
You need to be logged in to leave comments.
Login now