What is the use of $ in ruby?
Answer / Milky Sodhi
$ in Ruby represents global variables, which are accessible from anywhere in your script. They are declared without a variable name.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the hashes?
Tell me what is orm (object-relationship-model) in rails?
Tell me what is the function of garbage collection in ruby on rails?
What is the difference between render and redirect?
Tell me what is coc in rails?
What is the difference between delete and destroy ?
Are there any disadvantages of ruby on rails? If yes, mention them.
How is direct different from render?
What is rails active record?
Mention all the naming conventions in ruby on rails.
What are the types of caching used in rails, what are they?
The string can be represented in single as well as double quotes. What is the difference between the two?