Tell me what is mixin in rails?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do rails implement ajax?

506


what is the difference between calling super() and super call?

509


What is the rail console?

494


what is testing in rails?

542


How is direct different from render?

503






What is ruby on rails & why it is used for?

426


Explain what are the servers supported by ruby on rails?

448


What is the main difference between procs and blocks?

469


What do you understand by rails?

510


What are the functions performed by rails migration?

478


What is the architecture of Model views and controllers

2207


What is the current version of ruby on rails?

468


How are string and symbol different?

488


How many types of variables are available in ruby class?

490


Write the command to update rvm in rails.

472