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 are the various components of rail?
what is Rails Active Record in Ruby on Rails?
What is the naming convention for variables?
What is the directory structure of rails?
The string can be represented in single as well as double quotes. What is the difference between the two?
How is visibility of methods changed in ruby (encapsulation) ?
Explain rest in rails routes.
Mention the types of variables available in Ruby Class?
Difference between gem and plugin?
Write a program to show the functionality of request.xhr in ruby on rails ?
What is the difference between Render vs. Redirect_to in ruby on rails ?
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?