Andrea Pavoni

Results 44 comments of Andrea Pavoni

@slashdotdash thanks for the quick reply! I've deleted my comment few minutes after I wrote it because I've seen later in the book some clever workarounds for username/email uniqueness, by...

Maybe the quickiest way is to pattern match on the `update` function in controller where you check that `params` doesn't contain the `"user"` key.

It works like any other relation between schemas. If you can do it with schemas, the same is valid with uploads, it's up to you how to handle this.

@pejrich if you want custom paths, you need to work on your uploader file and override `storage_dir` function. Unfortunately you can't use the model's `id` because it's not available when...

Your question is a bit too generic because you didn't specified if you are trying to store files in dedicated folders and/or you're going to generate several versions of the...

Does it work across non-valid forms? It looks like your UUID generation happens _every time_ you call `changeset`. So in case you have to re-submit the form, you'll get different...

@andreyk-code they're related because that's the same problem, but they don't solve it as well. btw, I've forked arc_ecto to use a different approach/workaround. it's not perfect, but it's working...

pinging this issue. I'm trying to working around these problems manually, but the resulting code is not that clean. `cast_attachments` does too much things and is very difficult to track...

Hi @GBH, Even if your points make sense, I think you're comparing two different contexts. First of all, Elixir IS NOT an OOP language like Ruby, this means you don't...

Hi @SergeyKutsko thanks for asking :-) to be honest, it's not really _stopped_, it's just on hold because it didn't get too much attention/contributions and I actually hadn't a chance...