I am trying to develop a small app, that will store User's input about Videos in an mySQL Database. The problem is that I want Users to have an mySQL Table for each video added.
so my approach is kinda this one
class User < ActiveRecord::Base
has_many :Videos
end
Example: The web app will gather User's 56 Input for Video 23 and execute an mySQL query "INSERT INTO video_23_info VALUES ...
Each time I add a new video to the database I want a table to be associated with the User.
I don't know if my approach is correct. I first thought of just using text files, and storing them on the server, into a separate folder or each User, instead of using MySQL. Any help?