Waffle.Ecto

Waffle.Ecto logo

Waffle.Ecto provides an integration with Waffle and Ecto.

Documentation · Hex

Presentation at ElixirConf · Thinking Elixir Podcast 80


Already using Waffle in your org? I'd love to learn more. Let's have a chat or just send me an email.


Installation

Add the latest stable release to your mix.exs file:

defp deps do
  [
    {:waffle_ecto, "~> 0.1"}
  ]
end

Then run mix deps.get in your shell to fetch the dependencies.

Usage

See the Waffle.Ecto guide for uploader and schema setup, and cast_attachments/4 for attachment casting and cleanup.

Sponsors

License

Copyright 2019 Boris Kuznetsov Copyright 2015 Sean Stavropoulos

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.