What is the naming convention for variables?
Answer / Munendra Kumar Gaur
In Rails, variable names should be descriptive and follow a snake_case naming convention (underscores separate words). Variable names should start with an underscore if they are private instance variables. Constants are written in ALL_CAPS_WITH_UNDERSCORES.
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me what is polymorphic association in ruby on rails?
Explain me what is the naming convention in rails?
Is it possible to build a 50% bespoke e-commerce platform hence having the ability to customize everything down the line? For example would it make sense to start coding an application on the Ruby on Rails framework but where the most complex/time consuming code pieces (e.g. shopping cart, etc) can be initially bolted on (hence diminishing development time and cost) having the ability to change them completely further down the line?
What is rails scaffolding?
How many types of relationships does a model has?
What is the difference between sessions and flash?
Who developed ruby on rails?
what is the command to create a migration?
Explain how you can run rails application without creating databases?
How to serialize data with yaml?
what is rails caching?
What is the naming convention for variables?