Skip to content

Commit 8b79bb8

Browse files
committed
Use unified deprecation method
1 parent b5e6e3c commit 8b79bb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/datagrid/filters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def filter_by(*filters)
330330

331331
# @!visibility private
332332
def select_options(filter)
333-
warn "[DEPRECATION] `select_options` is deprecated. Please use `select_choices` instead."
333+
Datagrid::Utils.warn_once "#select_options is deprecated and renamed. Use #select_choices instead."
334334
select_choices(filter)
335335
end
336336

0 commit comments

Comments
 (0)