petehamilton / citier

CITIER (Class Inheritance & Table Inheritance Embeddings for Rails) is a solution for simple Multiple Class Inheritance in Rails.
88 stars 24 forks source link

Adding quotes around column names #56

Closed noisecapella closed 12 years ago

noisecapella commented 12 years ago

One of my columns was named 'order', which caused a SQLException since that's a keyword. Adding single quotes around the column names fixes the problem (at least for SQLite). Sorry for all the little whitespace changes, I guess my editor was being a bit overzealous

noisecapella commented 12 years ago

ugh... wrong solution. I'll redo this pull request when it works properly