I have rails 2.3 and ruby 1.8.7
I want to create only a controller and view the files for it. Is there any command in rails2.3 that will help me with this. I know this can be done in rails 3, but is there any way to do this in rails 2.3
Just say script/generate controller [controller_name] [action_name_1] [action_name_2] ... in the Rails directory to create a controller with the specified actions and corresponding view files.
script/generate controller [controller_name] [action_name_1] [action_name_2] ...
Source: https://habr.com/ru/post/1336271/More articles:One ESC closes all modal dialogs in the jQuery user interface. Workarounds? - javascriptThe doubt that life failure can be avoided is discussed in Effective Java - javaSeparate working directories between applications - appdomainList of files of a specific type from a specific directory - unixOracle: Schedule List - sqlMySQL: how to change varchar (255) UNIQUE column to UNIQUE Text NOT NULL? - sqlasp mvc using dashes in controller and routing names? - urlC-linked functions capable of returning a class type? - c ++NSPredicate to select keywords that are in the line - iphoneHow to check a specific version of code from SVN? - svnAll Articles