rsim / oracle-enhanced

Oracle enhaced adapter for ActiveRecord
MIT License
545 stars 308 forks source link

Accept nested functions in Dangerous Query Methods #2304

Closed koic closed 2 years ago

koic commented 2 years ago

Follow up https://github.com/rails/rails/pull/44010.

yahonda commented 2 years ago

Verified by running tests added via https://github.com/rails/rails/pull/44010

$ ARCONN=oracle bin/test test/cases/unsafe_raw_sql_test.rb -n /nested/
Using oracle
Run options: -n /nested/ --seed 41105

# Running:

..

Finished in 3.739834s, 0.5348 runs/s, 0.5348 assertions/s.
2 runs, 2 assertions, 0 failures, 0 errors, 0 skips
$