lib/good_job/lockable.rb in good_job-1.9.3 vs lib/good_job/lockable.rb in good_job-1.9.4

- old
+ new

@@ -243,14 +243,11 @@ advisory_unlock while advisory_locked? end private - def sanitize_sql_for_conditions(*args) - # Made public in Rails 5.2 - self.class.send(:sanitize_sql_for_conditions, *args) - end - + # @param query [String] + # @return [Boolean] def pg_or_jdbc_query(query) if Concurrent.on_jruby? # Replace $1 bind parameters with ? query.gsub(/\$\d*/, '?') else