- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
What is a standard prerequisite for implementing Single Table Inheritance (STI)?

1.The models used for STI must mix in the module ActiveRecord::STI

2.All models used for STI must include “self.abstract_class=true”.

3.All database tables used for STI must be related to each other using a foreign key.

4.The database table used for STI must have a column named “type”.

Posted Date:-2022-09-17 04:40:19


More MCQS Questions and answers

Search