Latest #changeset Threads Top

Fl4m3Ph03n1x
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
arcanemachine
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
mogadget
I have this schemaless changeset fields data = %{} types = %{name: :string, email: :string, age: :integer} params = %{name: "Callum", e...
New
lorenzomar
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
agonzalezro
Hi :wave: I had this piece of (working) code: items = products |> Enum.map(fn product -> params = %{produ...
New
alexsysm
The associated data may be given in different formats: * a map or a keyword list representing changes to be applied to the associated ...
New
enkr1
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
hawkyre
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
elt547
What’s the difference in behaviour of required between these uses? cast_assoc(:author, required: true) # vs this validate_required(:auth...
New
enkr1
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

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

agonzalezro
Hi :wave: I had this piece of (working) code: items = products |> Enum.map(fn product -> params = %{produ...
New
arcanemachine
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
mogadget
I have this schemaless changeset fields data = %{} types = %{name: :string, email: :string, age: :integer} params = %{name: "Callum", e...
New
lorenzomar
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
Fl4m3Ph03n1x
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 Top

hawkyre
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
alexsysm
The associated data may be given in different formats: * a map or a keyword list representing changes to be applied to the associated ...
New
enkr1
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
elt547
What’s the difference in behaviour of required between these uses? cast_assoc(:author, required: true) # vs this validate_required(:auth...
New
enkr1
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement