Remove parameterise deprecation warning

DEPRECATION WARNING: Passing the separator argument as a positional
parameter is deprecated and will soon be removed. Use `separator: '_'`
instead.
This commit is contained in:
rgarcia
2018-04-08 13:43:22 +02:00
committed by Julian Herrero
parent c6ab5dbe1b
commit f23fd6f3bb
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
module DocumentablesHelper
def documentable_class(documentable)
documentable.class.name.parameterize("_")
documentable.class.name.parameterize(separator: "_")
end
def max_documents_allowed(documentable)