Loading…

What are naming conventions?

  • In Variables, all letters must be lowercase and words should be separated by underscores.
  • Modules and Classes use MixedCase and no underscore is required. Each word must start with uppercase.
  • The database table name should have a mix of lowercase and underscore, and all names should be in the plural form.
  • Model is represented by MixedCase and has singular table name.
  • The names of Controller are in plural form.

Suggest An Answer

No suggestions avaliable!

Latest post from Ruby on rails interview questions

Ask Question