Tell me what is mixin in rails?



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

Post New Answer

More Ruby on Rails Interview Questions

what is rake in Rails?

1 Answers  


Explain dry in rails?

1 Answers  


What are the steps involved in writing and setting up an application in ruby on rails?

1 Answers  


Explain what is the role of the subdirectories app/controllers and app/helpers in rails?

1 Answers  


Tell us what is the difference between redirect and render in ruby on rails?

1 Answers  


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?

1 Answers  


What is the architecture of Model views and controllers

1 Answers   Baidu,


Tell me what is mixin in rails?

1 Answers  


What are gemsets in rails?

1 Answers  


Tell me what is orm (object-relationship-model) in rails?

1 Answers  


What is the symbol garbage collector?

1 Answers  


how can we define Ruby regular expressions?

1 Answers  


Categories