We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4c2945 + 165589b commit 1d49b51Copy full SHA for 1d49b51
lib/rails_semantic_logger/active_record/log_subscriber.rb
@@ -198,7 +198,8 @@ def type_casted_binds_v5_1_5(casted_binds)
198
alias bind_values bind_values_v5_0_3
199
alias render_bind render_bind_v5_0_3
200
alias type_casted_binds type_casted_binds_v5_0_3
201
- elsif Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR > 0 # ~> 6.1.0
+ elsif (Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR > 0) || # ~> 6.1.0
202
+ Rails::VERSION::MAJOR == 7
203
alias bind_values bind_values_v6_1
204
alias render_bind render_bind_v6_1
205
alias type_casted_binds type_casted_binds_v5_1_5
0 commit comments