Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Oracle adapter should escape keywords

#1536

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.

Reported by Ola Bini · December 9th, 2008 @ 11:44 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Frederick Cheung
    Frederick Cheung
    • State changed from new to invalid

    Sorry, the oracle adapter isn't part of rails any more. You should probably report this to the maintainer of the new oracle adapter (rubyforge project here (they might even have fixed this already)

    December 9th, 2008 @ 02:04 PM