diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-26 23:51:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-26 23:51:40 +0000 |
commit | 6f8d7d6e768af4fc98c276593c05cb3a47656652 (patch) | |
tree | 1d9abc8200661ff311c1f8f1b20065dfb053e090 /config | |
parent | bf4d779ea209084affcb1b800343051bd38422ad (diff) | |
download | redmine-6f8d7d6e768af4fc98c276593c05cb3a47656652.tar.gz redmine-6f8d7d6e768af4fc98c276593c05cb3a47656652.zip |
remove Rails2 named_scope wrapper from config/initializers/10-patches.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9539 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/10-patches.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index ea353c49d..ea11311ba 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -3,10 +3,6 @@ require 'active_record' module ActiveRecord class Base include Redmine::I18n - def self.named_scope(*args) - scope(*args) - end - # Translate attribute names for validation errors display def self.human_attribute_name(attr, *args) l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr) |