How many types of associations relationships does a model has?
Answer / Renu Paras
"A model in Ruby on Rails can have four basic types of association relationships: belongs_to, has_one, has_many, and has_many :through."
| Is This Answer Correct ? | 0 Yes | 0 No |
Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?
Mention what is the difference between procs and blocks?
What is ruby software and where and when it is usefull.
Explain ruby ranges. What are the ways to define ranges?
Tell me how would you freeze an object in ruby? Can you provide a simple example?
what is the difference between a single quote and double quote?
Explain about the defined operator?
Name different methods for io console in ruby?
Describe class libraries in Ruby?
what is the Notation used for denoting class variables in Ruby?
What's the difference in scope for these two variables: @name and @@name?
Are ruby strings are mutable?