This project is archived and is in readonly mode.

#1536 ✓invalid
Ola Bini

Oracle adapter should escape keywords

Reported by Ola Bini | December 9th, 2008 @ 11:44 AM | in 2.x

If you try to create a table that contains a reserved keyword as a column in, with Oracle, the activerecord-oracle-adapter will fail to create that table. The preferred behavior would be to have the adapter check for keywords in quote_column_name, and escape them in that case. Some fairly common words, such as "size", is a keyword in Oracle and will make things fail in ugly ways.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages