Tell me what is mixin in rails?
Answer / keerthi
We cannot inherit subclass from more than one class so multiple inheritance is not possible in ruby if we try to enable it we use modules we can include any number of modules in one class is called mixin principles.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is rake in Rails?
Explain dry in rails?
What are the steps involved in writing and setting up an application in ruby on rails?
Explain what is the role of the subdirectories app/controllers and app/helpers in rails?
Tell us what is the difference between redirect and render in ruby on rails?
If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?
What is the architecture of Model views and controllers
Tell me what is mixin in rails?
What are gemsets in rails?
Tell me what is orm (object-relationship-model) in rails?
What is the symbol garbage collector?
how can we define Ruby regular expressions?