Created
September 18, 2012 16:42
-
-
Save cre-o/3744203 to your computer and use it in GitHub Desktop.
Rails, зарвезервировано!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Итак, в рельсах зарезирвированы следующие названия | |
:type в бд - single table inheritance | |
:frozen в бд - active_record | |
Модели с названием :file(s), соответственно и таблицы не рекомендуется так называть. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://oldwiki.rubyonrails.org/rails/pages/ReservedWords