Skip to content

Commit 5efe9c3

Browse files
committed
Fix version check
1 parent 698bcc5 commit 5efe9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def when_stateful_js_context_available
105105
module ParamsHelper
106106
# Normalize params for Rails 5.1+
107107
def query_params(params)
108-
if Rails::VERSION.to_s > "5.0"
108+
if Rails.gem_version.to_s > "5.0"
109109
{params: params}
110110
else
111111
params

0 commit comments

Comments
 (0)