Latest #changeset Threads 
Hey there :slight_smile:
I was trying to adapt the Contexts Article using the Form Struct and to_form.
I ended up having problems to re...
New
Hello everyone :slight_smile:
I’m wondering what the accepted approach is for validating values in the new Scope struct. When I run phx....
New
I have observed that after_action hook silently gets ignored when a change is atomic but when I set require_atomic? to false it triggers...
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
Hello Everyone,
I am still quite new to the Phoenix framework and I am struggling with the has_many relationship using ecto and how to r...
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
This code is intended to validate a user typed DELETE before deleting their account, but it doesn’t work because add_error isn’t adding t...
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
The different for_* actions require a specific action atom (i.e. |> for_create(:create, opts) ), so what’s the point of these explicit...
New
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
This code is intended to validate a user typed DELETE before deleting their account, but it doesn’t work because add_error isn’t adding t...
New
Hey there :slight_smile:
I was trying to adapt the Contexts Article using the Form Struct and to_form.
I ended up having problems to re...
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
The different for_* actions require a specific action atom (i.e. |> for_create(:create, opts) ), so what’s the point of these explicit...
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
I have observed that after_action hook silently gets ignored when a change is atomic but when I set require_atomic? to false it triggers...
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
Hello Everyone,
I am still quite new to the Phoenix framework and I am struggling with the has_many relationship using ecto and how to r...
New
Hello everyone :slight_smile:
I’m wondering what the accepted approach is for validating values in the new Scope struct. When I run phx....
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
I’m stumped. I have a LiveView form tied to a Changeset (rather than a schema) like so:
~H"""
<.form as={:form} for={@changeset} :l...
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
Changeset struct undefined
Hello everbody. I’m just getting started learning Phoenix and I’m trying to create a basic Github clone as a l...
New
Hi there!
Within my form changeset there is a field that holds more than 700 records, I would paginate straight from the DB however I ne...
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
Hi,
I’m trying to create a function for the last couple of hours with no luck so I could really use your help.
So, it’s a Phoenix app a...
New
I have a table in which I have put unique constraints on the combination of two fields. I had also defined this in changeset.
def change...
New
Hello,
I’m building a small app for learning purposes where I have users and those users can create projects. Projects can have differen...
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:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







