You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2019. It is now read-only.
Create the Files model. A DataSet needs to have_many Files (and a File has to belong_to DataSet).
This model will basically have NO attributes, except for a file upload. I suggest using filepicker.io for the file uploads. Filepicker.io has great documentation and should help you get started.
The most complex part is probably the UI. Add a "Add File" button to the data_sets#show page, and make it so that once you upload something and then save the file, you end up back at the data_sets#show page, with the new file showing and the "Add File" button still there.
The text was updated successfully, but these errors were encountered:
Create the Files model. A DataSet needs to have_many Files (and a File has to belong_to DataSet).
This model will basically have NO attributes, except for a file upload. I suggest using filepicker.io for the file uploads. Filepicker.io has great documentation and should help you get started.
The most complex part is probably the UI. Add a "Add File" button to the data_sets#show page, and make it so that once you upload something and then save the file, you end up back at the data_sets#show page, with the new file showing and the "Add File" button still there.
The text was updated successfully, but these errors were encountered: