aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/topic.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-10-10 21:38:59 -0300
committerGitHub <noreply@github.com>2016-10-10 21:38:59 -0300
commitc2fa53606d3c98ac8dd079a1e5b22da3290a513b (patch)
treef6cb51b750c1ab0e725a4ecf41a5386af2b0bd8c /activemodel/test/models/topic.rb
parent36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc (diff)
parent6a78e0ecd6122a6b1be9a95e6c4e21e10e429513 (diff)
downloadrails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.tar.gz
rails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.tar.bz2
rails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.zip
Merge pull request #26755 from rafaelfranca/deprecations
Remove deprecations in Active Model, Action View and Active Job
Diffstat (limited to 'activemodel/test/models/topic.rb')
-rw-r--r--activemodel/test/models/topic.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activemodel/test/models/topic.rb b/activemodel/test/models/topic.rb
index 3924741acc..192786c096 100644
--- a/activemodel/test/models/topic.rb
+++ b/activemodel/test/models/topic.rb
@@ -36,8 +36,4 @@ class Topic
def my_validation_with_arg(attr)
errors.add attr, "is missing" unless send(attr)
end
-
- def my_word_tokenizer(str)
- str.scan(/\w+/)
- end
end