Create a Arkaan::Campaigns::Note class with a content field to store the content of the note
Create a Arkaan::Campaigns::Document class that will be the superclass of both Arkaan::Campaigns::File and Arkaan::Campaigns::Note
Replace all the occurrences to Arkaan::Campaigns::File in the associations by occurrences to Arkaan::campaigns::Document so that a user can indifferencialy create one or the other.
In a far future :
Directly store the content of .txt files into a Arkaan::Campaigns::Note so that it does not need a call into AWS to be retrieved.
Arkaan::Campaigns::Note
class with acontent
field to store the content of the noteArkaan::Campaigns::Document
class that will be the superclass of bothArkaan::Campaigns::File
andArkaan::Campaigns::Note
Arkaan::Campaigns::File
in the associations by occurrences toArkaan::campaigns::Document
so that a user can indifferencialy create one or the other.In a far future :
Arkaan::Campaigns::Note
so that it does not need a call into AWS to be retrieved.