Fixed that open scope on Project#issues raises an error (#11545).
Patch by Petr Pospisil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10199 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
91c875437d
commit
8fb1a7e3cc
4 files changed
+9
-2
No files matched your search
@@ -10,6 +10,11 @@ module ActiveRecord
|
||||
l("field_#{name.underscore.gsub('/', '_')}_#{attr}", :default => ["field_#{attr}".to_sym, attr])
|
||||
end
|
||||
end
|
||||
|
||||
# Undefines private Kernel#open method to allow using `open` scopes in models.
|
||||
# See Defect #11545 (http://www.redmine.org/issues/11545) for details.
|
||||
class Base ; undef open ; end
|
||||
class Relation ; undef open ; end
|
||||
end
|
||||
|
||||
module ActionView
|
||||
|
||||
Reference in new issue
Block a user