Using 'scope' as a column name in Rails 2.10
I want to now if I can use 'scope' as a column name safely in Rails 2.开发者_高级运维10 .
PS: if you have a list of "not to use column name table for Rails" it will be cool too :) !
Thanks !
I wouldn't use scope as it is in the list here (in the Other Names Reported to Have Caused Trouble section), it is always safer to rename your column name.
http://wiki.rubyonrails.org/rails/pages/reservedwords
精彩评论