If you come across classifieds websites like craigslist, oodle, kijiji,... everything is a classified, when you are posting a classified, they show different form fields depending upon the category one selects. For example, if you are posting a classified about Car, they show make, model, interiors, etc... How do you think data is handled in the database?
Do you think they are creating separate table for each type of classified/ or everything is one table "Classifieds"? If the data is handled using one table (STI) there must be columns for each and every scenario (type of classified) and all the fields might not be used for every classified.
What is the best way to design the ActiveRecord objects to handle to have similar classifieds website?