If you come across ad sites such as craigslist, oodle, kijiji, ... everything is classified, when you publish classified, they show different form fields depending on the category selected. For example, if you publish a classified car, they show the make, model, interiors, etc. Do you think the data is processed in a database?
Do you think they create a separate table for each type of classified / or all have one table "Ads"? If the data is processed using one table (STI), there must be columns for each scenario (classification type), and all fields may not be used for each category.
What is the best way to create ActiveRecord objects to work with similar ad sites?
source share