what is the naming convention in Rails?
Answer / Puneet Rastogi
In Rails, the naming conventions follow a specific pattern for files, directories, and objects. For file names, controller actions, models, and database tables, Rails uses lowerCamelCase (e.g., WelcomeController, createAction, User). For directories, however, it follows PascalCase (e.g., App, Controllers, Models).
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you understand by rails migration and what it can do?
Why RubyonRails?
What is rails migrations?
What is Rails?
What is the directory structure of rails?
Explain rvm in rails?
What are the types of caching used in rails, what are they?
List out the few features of Ruby?
what is the purpose of the resources method in the code snippet below?
How are observers and callbacks different from each other?
What is Dynamic finders ?
What is the use of $ in ruby?