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 |
difference between member routes and collection routes ?
What are float, dig and max?
What is the difference between Render vs. Redirect_to in ruby on rails ?
what are benefits of using active record as opposed to raw sql queries?
When are self.up and self.down methods used?
what are the positive aspects of Rails?
what is the command to create a migration?
What are models in rails?
how can we define Ruby regular expressions?
Explain view in rails?
explain request/response cycle?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?