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

Explain rails migration.

537


What is the rail console?

500


How will be the future for ruby on rails?

480


what are some advantages of using ruby on rails?

492


How are blocks created?

560






what is different between activerecord::relation's count, length and size methods?

520


what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?

508


What is the main difference between procs and blocks?

473


Tell me what is the function of garbage collection in ruby on rails?

495


hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions

1906


What is rake?

470


The string can be represented in single as well as double quotes. What is the difference between the two?

461


Which command is used to create a migration?

509


Can you explain me how rails implements ajax?

456


In how many ways you can create rails layout http response.

430