Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个项目模型,它有几个附件,附件是 xml 和 csvs。与其将这些附件上传到服务器,我只想将它们保存在表格中(但我确实希望用户上传这些附件)。每个项目可以有多个附件,那么我将解析这些附件。
任何想法如何做到这一点?
我希望下面的 railscast 剧集会对你有所帮助。
http://railscasts.com/episodes/396-importing-csv-and-excel