jruby/activerecord-jdbc-adapter — pull request #570 by abrandoned (2014-07-31 01:50:08+00:00)
Title: allow database.yml or config option to set insert_returning without bein...

...g lost by ||=

When using the postgres adapter with a unique index that can be triggered on insert we found we need to shut off insert_returning because postgres doesn't handle the unique index violation the same with the RETURNING statement

when we shutoff `insert_returning` we found the ||= preventing us from being able to do so via the ENV variable or the configuration value