Flowdock
method

oracle_downcase

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::OracleAdapter
oracle_downcase(column_name) private

Oracle column names by default are case-insensitive, but treated as upcase; for neatness, we’ll downcase within Rails. EXCEPT that folks CAN quote their column names when creating Oracle tables, which makes then case-sensitive. I don’t know anybody who does this, but we’ll handle the theoretical case of a camelCase column name. I imagine other dbs handle this different, since there’s a unit test that’s currently failing test_oci.

Show source
Register or log in to add new notes.