Best practice in Forms

Hi,

What is the best practice?

I have a Model of User.

In the model (active record) are the basic information how username, password, firstname, lastname, id, type id, nationality, email, etcccc

For example in the cases: change password, login and others … ¿scenario vs new model form?.

Because for a simple update of profile (model active record) is the usual but for the above, what would be the best?.

Sorry my bad english

:)

It depends. If the case is really special such as changing password where you need old password which is not exactly a field in the User AR then I’d go with a form. If it’s just updating some subset of normal AR attributes then scenario should be fine.