I'd like to my a 'type' column in my database. Will this create a problem? thanks.
on 2007-04-05 10:46
on 2007-04-05 10:56
> I'd like to my a 'type' column in my database. Will this create a > problem? thanks. Yes, it's used for STI. See here: http://api.rubyonrails.org/classes/ActiveRecord/Base.html I think you can change it, but not sure how. HTH, Jordan
on 2007-04-05 11:24
Yup it is. I've run into this quite a bit, I just name my columns "type_of" now.
on 2007-04-05 15:23
Not to be a curmudgeon, but it really is easy to just try using "type" as a column name and see if you run into a problem. It probably takes less time too.