It seems to me that it is possible to break rubies into rails so that neither scaffolding nor database migration can work anymore using specific model names.
In particular, I noticed this when using the "Dispatcher" for the model created using the scaffold. If I created the same object with a different name, everything will be fine.
Has anyone done similar events, or is there a list of names that will not be used?
thanks
The official list of reserved words in Rails: http://wiki.rubyonrails.org/rails/pages/reservedwords
"" " , , "
, :)
- , Rails ActionController - Rails.
Rails:
>> Dispatcher => ActionController::Dispatcher
Dispatcher, , , , , Rails.
Source: https://habr.com/ru/post/1715182/More articles:Starting a SQL Server task with an error when starting in a scheduled task, but is executed when a task is executed manually - sql-serverBoost :: bind and std :: copy - c ++Implemented system projects for an experienced programmer - embeddedProtocol Buffers with Extensions - c #Separation by date and PK - databasecalling fancybox using jquery.click function - javascriptAdding a New Folder to FolderBrowserDialog - .netПоиск по Youtube - commentsCastle WCF Windsor and WAS - .netHow can I use PDF 1.6 documents in Perl CAM :: PDF? - perlAll Articles