Latest #nested-associations Threads Top

joseratts
Hello everyone I’m creating an example phoenix app just for learning. My example app is a real estate web portal, so I’m gonna publish pl...
New
Nicemaker
I have a nested preload with a has_many relation and I would love to filter these references by a join I did on the top level, Here is my...
New
yolo007wizard
Wondering if anyone has advice on modelling this data structure in Ash resources: { "id": "123456", "name": "Rule - Lionel Messi...
New
Owens
Hello all, I’m doing a DB call for the index page of a WhatsApp-style chat app. I have ChatsUsers -> Chats -> Messages. I need t...
New
woohaaha
Hi all, How do you write your context tests (create_thingy(attrs)) when there are a lot of associations that need to be created first? ...
New
boggsey
Hey friends! I’m very new to Elixir and Phoenix and this community has been extremely helpful so far. Unfortunately, I am running into so...
New
Kapeusz
Hi, I have two models, Product and Category. After help I got from here I could add/edit a product with the chosen category, but now aft...
New
ion
I have a schema with a :has_many resource that I cast_assoc in the changeset function. On updates, I need to check the :insert_at timesta...
New
wolfiton
Hi everyone, I am getting an error when i try to add a select in a nested form The error no function clause matching in Keyword.pop/3 ...
New
abdelaz3r
Hello. I have this Ecto Shema: Instance -> has_many(Faction) -> many_to_many(Profils) So, instances has many factions, and profi...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

yolo007wizard
Wondering if anyone has advice on modelling this data structure in Ash resources: { "id": "123456", "name": "Rule - Lionel Messi...
New
joseratts
Hello everyone I’m creating an example phoenix app just for learning. My example app is a real estate web portal, so I’m gonna publish pl...
New
Nicemaker
I have a nested preload with a has_many relation and I would love to filter these references by a join I did on the top level, Here is my...
New

Trending Over Three Years Top

helicon
Hello! I have 2 schemas: Asset and File. # asset schema has_many :files, File # file schema belongs_to :asset, Asset So it looks like...
New
abdelaz3r
Hello. I have this Ecto Shema: Instance -> has_many(Faction) -> many_to_many(Profils) So, instances has many factions, and profi...
New
boggsey
Hey friends! I’m very new to Elixir and Phoenix and this community has been extremely helpful so far. Unfortunately, I am running into so...
New
wolfiton
Hi everyone, I am getting an error when i try to add a select in a nested form The error no function clause matching in Keyword.pop/3 ...
New
dobrygin
Hello! I have structure: Post -> Author and Post -> Shared -> Author. But my nested associations for Author inside Shared doesn’...
New
Owens
Hello all, I’m doing a DB call for the index page of a WhatsApp-style chat app. I have ChatsUsers -> Chats -> Messages. I need t...
New
johnkacz
Howdy, I’m looking for some help with polymorphic associations and nested forms. I’m using formex (a great form library inspired by Symf...
New
ion
I have a schema with a :has_many resource that I cast_assoc in the changeset function. On updates, I need to check the :insert_at timesta...
New
Kapeusz
Hi, I have two models, Product and Category. After help I got from here I could add/edit a product with the chosen category, but now aft...
New
woohaaha
Hi all, How do you write your context tests (create_thingy(attrs)) when there are a lot of associations that need to be created first? ...
New
deerob4
I’m using cast_assoc/3 to cast some nested associations in my changesets. The simplified schemas look like this: schema "trial" do has...
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