mirror of https://github.com/rails/rails
Remove plain method
This commit is contained in:
parent
dd0357aeb8
commit
38c0bf7dfa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue