This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hi :wave:
I had this piece of (working) code:
items =
products
|> Enum.map(fn product ->
params = %{produ...
New
In Django, there is the concept of “non_field_errors”, which exists when a form field has an error that is not specific to any model fiel...
New
I have this schemaless changeset fields
data = %{}
types = %{name: :string, email: :string, age: :integer}
params = %{name: "Callum", e...
New
Hi there!
I’m in the situation where I’m receiving a struct which is also an Ecto Schema (wich embedded_one/many other schemas). To be m...
New
Background
I am trying to create a schema with some basic validations. However, when I spin up my app, it looks like the validations are ...
New
Trending Over Three Years
I want to create some kind of procedure to programmatically transform a changeset’s errors into my own error codes so that I can display ...
New
The associated data may be given in different formats:
* a map or a keyword list representing changes to be applied to the
associated ...
New
Hi community,
I am doing a test case and I have an associative table with FKs user_id and role_id. When I tried to insert with the repea...
New
What’s the difference in behaviour of required between these uses?
cast_assoc(:author, required: true)
# vs this
validate_required(:auth...
New
I have a map field which stores my mobile_json and I used inputs_for to display the embedded_schema’s fields which looks like:
<%= in...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







