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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With