This patch combines 4 previous patches:
#1751: [PATCH] Named sequences for oracle
#1784: [PATCH] Support use of synonyms in Oracle
#1787: [PATCH] Change Oracle sequences to #{table_name}_seq
#1793: [PATCH] Fix OCI camelCase and base_test unit tests
In particular, #1751 and #1787 have been integrated using the following approach:
1. change the default sequence name from rails_sequence to #{table_name}_seq to better handle automagically most folks using Oracle (as per my patch)
2. add the set_sequence_name method (as per Caleb's patch) to allow folks to override. if anyone really wanted to keep the current default, they could AR::B.set_sequence_name, and have it inherited. or use the block approach to do anything else fancy (as per John's idea)
Rails Oracle support will be in better shape if this patch can be applied before the 1.0 release -- it implements the commonly used standard for sequences in Oracle, along with making rake test_oci pass all tests.