Steven Little


1,060 Experience
10 Lessons Completed
0 Questions Solved


Thank you Chris.

Hi Chris,
I am adding active storage file uploading as a new feature to an existing Rails application. I have at least a couple of thousand PDF files with a standard naming format that looks like this 18-001-CUNSTOMER_NAME. The 18-001 is the file number which matches a record in my Rails app. Is there a way to create a rake task or something like that to bulk import these files which are stored on a local hard drive? The polymorphic associations are a little confusing for me.

Also, just wanted to let you know how much I appreciate your screencast & guides. They have been very helpful!!