From 38c0bf7dfa7ed110b6c1c1205bbb04c9040065ee Mon Sep 17 00:00:00 2001 From: Chris Salzberg Date: Thu, 18 Apr 2019 10:17:32 +0900 Subject: Remove plain method --- activemodel/lib/active_model/attribute_methods.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activemodel') diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index cbd7798543..1a4e0b8e59 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -402,10 +402,6 @@ module ActiveModel def method_name(attr_name) @method_name % attr_name end - - def plain? - prefix.empty? && suffix.empty? - end end end -- cgit v1.2.3