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 is the purpose of RJs in Rails?
what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?
Choosing between belongs_to and has_one?
Mention the log that has to be seen to report errors in Ruby Rails?
what is the command to create a migration?
what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?
what is the log that has to seen to check for an error in ruby rails?
Tell me what is rails active record in ruby on rails?
What is the difference between symbol and string?
What is the process for creating a controller for the subject? What is its role?
What are the various components of rail?
what is Ruby on Rails?