0

I have a Project model which has several attachments, attachments are xml and csvs. Rather than uploading these attachments to server, I just want to save them in table ( I do however want users to upload these attachments). Each project can have multiple attachments, then I am going to parse these attachments.

Any ideas how to do this ?

3
  • So? What problem do you have? Lets user upload file, save it in db and delete it from filesystem then. Commented Apr 27, 2013 at 17:34
  • I don't know how to do it :) Commented Apr 27, 2013 at 17:41
  • Maybe this could help: stackoverflow.com/questions/12484333/… Commented Apr 27, 2013 at 17:52

1 Answer 1

0

I hope below railscast episodes will help you.

http://railscasts.com/episodes/396-importing-csv-and-excel

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.