Topic: Creating fields without using scaffold
Right i creating a sign on system and i have used the scaffold command to create a test signin with username and password and run the rake db:migrate which works perfectly fine. I am wondering when the scaffold command is issued with the fieldname:type what goes where i.e. i see the controller as same bits in it but what other files are used. I am aiming at seeing how this works and instead of using the scaffold command to create the fields i would like to just issue "rails generate scaffold Signin" and then create the field options manually and then run db:migrate to create the fields within the db.
Last edited by paulie (2012-04-08 13:50:47)