SHould it be 'username' or 'user_name' when creating a property for a model?
'userstatus or 'user_status'
Are all datetimes ending with '_at' ?
what other ones are there?
SHould it be 'username' or 'user_name' when creating a property for a model?
'userstatus or 'user_status'
Are all datetimes ending with '_at' ?
what other ones are there?
variable naming in Ruby tends to follow the convention of all lowercase with underscores separating words (so user_name in your example). There is no special convention for datetimes, Rails just happens to put a couple of attributes on models by default which end with "_at". Other general conventions: