From 6f8d7d6e768af4fc98c276593c05cb3a47656652 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 26 Apr 2012 23:51:40 +0000 Subject: [PATCH] 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 --- config/initializers/10-patches.rb | 4 ---- 1 file changed, 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) -- 2.39.5