what is Mixin in Rails?



what is Mixin in Rails?..

Answer / Minakshi

Mixin in Rails refers to a module that contains methods and can be included into another class to add functionality. Mixins allow code reuse between classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

What role does garbage collection play?

1 Answers  


How is dynamic scaffolding different from static scaffolding?

1 Answers  


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

1 Answers  


What is the difference between false and nil in ruby?

1 Answers  


what are helpers and how to use helpers in ror?

1 Answers  


What is object-relationship-model (orm)?

1 Answers  


How is direct different from render?

1 Answers  


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

1 Answers  


Difference between argument and parameter in ruby on rails ?

1 Answers  


What is the Install rail package?

1 Answers  


what are benefits of using active record as opposed to raw sql queries?

1 Answers  


What is the difference between sessions and flash?

3 Answers  


Categories