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

Explain bundler in rails.

0 Answers  


What are the different types of association relationships that exist?

0 Answers  


what is Mixin in Rails?

0 Answers  


what is testing in rails?

0 Answers  


How does router work in rails?

0 Answers  






What are the various changes between the rails version 2 and 3?

0 Answers  


What is the flash?

0 Answers  


explain request/response cycle?

0 Answers  


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

0 Answers  


when self.up and self.down method is used?

0 Answers  


What do you understand by rails?

0 Answers  


who developed rails?

0 Answers  


Categories