This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-21
Channels
- # admin-announcements (80)
- # beginners (19)
- # boot (11)
- # cider (27)
- # clojure (55)
- # clojure-berlin (2)
- # clojure-italy (9)
- # clojure-korea (3)
- # clojure-russia (3)
- # clojure-sg (5)
- # clojurescript (70)
- # cursive (9)
- # datascript (5)
- # datomic (7)
- # editors (2)
- # emacs (4)
- # jobs (11)
- # ldnclj (7)
- # off-topic (17)
- # om (6)
- # reagent (63)
- # spacemacs (8)
- # testing (2)
maybe someone here knows this: http://stackoverflow.com/questions/32144651/handle-carrierwave-exception-and-add-error-on-one-to-many-relation
in general you should get away from the callbacks model and explicitly upload the files in its own module/class implementation
then you can catch which one of the cards fail but still complete the others for example
what we did is we have an explicit uploader class that handles this kinds of things, and we call .store!
on the individual files
there is probably some railsy way of doing this but that leads mostly to a massive headache.