Explain me what is the naming convention in rails?
Answer / Banafsha Siddiqui
Ruby on Rails follows strict naming conventions to maintain a consistent and organized structure throughout your application. Common conventions include:nn- Controller names should have the suffix 'Controller' (e.g., UsersController).n- Model names are derived from the database table name (e.g., User for a users table).n- Views use the pluralized version of the model name with a .html.erb extension (e.g., users/index.html.erb).
| Is This Answer Correct ? | 0 Yes | 0 No |
am new to ruby. tell me one thing. i can view my project on browser when i write "ruby script/server". otherwise i cant view my project on localhost. what i have to do to view my project always on browser? pls help
what is the use of super function in ruby on rails?
What is a ruby singleton method ?
Explain the advantages of ruby on rails?
Explain some features of nested scaffolding.
What are the different types of association relationships that exist?
Explain what are the servers supported by ruby on rails?
What is the flash?
What is ORM in Rails?
Tell me what is mixin in rails?
what is the difference between destroy and delete?
How to find second max element from database ?