arc_ecto
arc_ecto copied to clipboard
An integration with Arc and Ecto.
Besides other documentation changes, this commit includes all relevant documents to the generated HTML doc for HexDocs.pm and leverages on latest features of ExDoc.
This adds a `t()` typespec definition to the `__using__` macro in Arc.Ecto.Defintion, so that users can generate complete typespecs for their ecto schemas that include an arc definition.
What is the best way to regenerate a version for an attachment when having added a new version definition or changed an existing one. For instance, let's say I have...
Added `delete_attachments` to easily delete file contents when deleting schema data using changesets. Readme file has been updated with an example. Some changes have been made to tests because of...
arc allows storing `%{filename: filename, binary: data}`, and now arc_ecto allows these structs to be accepted in `cast_attachments` fixes #54
In a typical Phoenix app, you would probably like to store the uploaded the images in the priv/static directory, as it's exposed to the public. As i result i specified...
I'm using `cast_attachments` similar to the example provided with the README. I've experienced that the files are uploaded even though the normal `cast` that ran before this failed. I'd expect...
Hey there, I've been using Arc and Arc Ecto with lot's of luck so far. I'm however dealing with a small minor issue. Say i have this model: ## User:...
This fixes the current dialyzer error, but also cleans up the API and removes the need for `cast_attachments/4` to be a macro. With this new API, one can access the...
In `arc_ecto`, why do I get a `SignatureDoesNotMatch` error when uploading a file from an external URL to my S3 bucket (e.g. `File.upload_file(%{"attachment" => "http://sample.com/file.pdf"})` ? I already configured my...