Open joeroe opened 1 month ago
Had a quick look at this today. My plan of attack would be:
At that point we could either just stick with running it from the Rails console in production, which would look something like:
Paper trail.set_whodunnit_user(...)
import_table = ImportTable.create_and_save('file.csv', ...)
import_table.import
Which is not too bad. Or wrap it in a rake task or use one of the gems available for this kind of script management. Though I looked at the rake option and the syntax for passing parameters is not pretty.
Until we get the graphical interface up and running.