So basically, do i only have to use plurals for the table names, and can
therefore delete any other plural controllers/models/anything else, or
do I need both?
Thanks, and I hope this makes some kind of sense.
Rails will let you do anything, but the convention is this given "foo"
1. The scaffold command creates model, view and controller files, and
it likes plural for the controller and view names. That is why you have
duplicates. You made your own controller with the singular name, and
scaffold made the plural one. You can go back and delete the singular
ones.
So the quickest way to a running app is:
a. rails airbus
b. configure the database.yaml file
c. ruby script/generate scaffold aircraft
d. ruby script/generate scaffold user
e. ruby script/server
2. The WebBrick server is just meant for testing one application at a
time. You will never have two apps at localhost:3000. But can have
multiple instances of Webrick running on different ports. eg. one on
localhost:3000 and one at localhost:3001.