Let's say I have a SessionsController
, which controls user login and logout, but the only actions I really need are new (for displaying login form), create (for authentication and login) and destroy for logging out the user.
Is there any problem if I just have these three actions in my controller, or do I have to implement them all to make it correctly RESTful?
And second little question. Some people say that scaffolding is bad, and that one should write code by hand, but I find it pretty useful and time saving.
Is it OK to use scaffolding, or is it evil that should be avoided and why?