I am learning Ruby on Rails, so I’m sure that I’ll find out sooner or later.
Why would the scaffold method be deprecated in version 2 of Rails?
The scaffold method went against the spirit of the forests, which is designed to give you a starting point that you must use for your needs. Dynamically generating a scaffold, you have nothing to edit.
The new scaffold generator method allows you to edit archive files so you can use it to create what you really need.
, Dynamic Scaffolding, .
, Dynamic Scaffolding , Dynamic Scaffolding , , , , ., .
AWDWR, p81 () ( ).
: script/ _ model_name .
, Rails, , scaffold. ActiveScaffold.
Because people thought it should be used for production, which would be a terrible idea. Instead, you create a scaffold that you can easily edit and get finished production from it.
Source: https://habr.com/ru/post/1702898/More articles:FROM#?? combined with ?: question - c #ошибка subprocess.Popen - pythonЕсть ли лучший способ справиться с именованием причуд? - naming-conventionsHow to create a local user profile for an anonymous user of an ASP.Net MVC application in IIS 7? - windows-7.NET Лучший подход к внедрению модели очередей клиентов и серверов с внешним приложением? - .netXML Documentation: with a few typical type parameters - genericsHow would you fill in a field based on another field - djangoPassing data in ASP.NET MVC using LINQ - nuttiness - c #Global custom view for document libraries in Sharepoint - sharepointAdding a row to a data table using ArrayDataModel in jsf? - javaAll Articles