This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Petr
There is an example in Ash Framework of adding a resource Album into Music domain mix ash.gen.resource Tunez.Music.Album --extend postgr...
New

Last Three Year's Trending Top

ppicom
Hi! I’m running the latest version of Phoenix and LiveView, which is making it very hard for me to follow the book “Programming Phoenix L...
New
wintermeyer
I have a minimal Ash, PostgreSQL and Phoenix setup in which I do a mix phx.gen.html Shop Product products name:string price:float --no-c...
New
ostap
Hi. I ran this command: mix phx.gen.live Forms Form forms domain:string bg_color:string primary_color:string title:string description:te...
New
dewetblomerus
@victorbjorklund thanks for your @ThinkingElixir #167 on Phoenix Generators. This would solve a problem at work where we want all new se...
New
gregjohnson
Did anything come of the additional struct for user connection variables: %MyApp.Scope{ user: ..., org: ...., user_agent: ..., client_ip...
New
poipoi
Hi everyone, When you generate a context with phx.gen.context, the generator creates a changeset function in the schema file that casts ...
New
pelopo
When generating live views through phx.gen.live the entire set of table, schema and corresponding liveviews (.ex and heex), router links ...
New
nano2007
I am just getting started with Elixir, Ash etc., so most likely I am missing some configuration or step here. I tried to go through the d...
New
Gonza
Hey, I’m thinking about migrating a NodeJS backend to Ash. It’s one of those times in the life of a project where you start to think a fu...
New
DidactMacros
When I use generators I can enforce some nesting for the contexts (and their associated schemas) but this does not seem to be the case fo...
New

Trending Over Three Years Top

Kurisu
My problem is that I am working with an umbrella project. Context and schemas reside in core_app, migrations in db_app and “html” in the...
New
orestis
So Python has a nice concept of generators - functions that become iterators when called: def step(x, s): while True: yield ...
New
chrisjowen
Hey All, Im probably in the minority in that I generally dislike some of the way that the Ecto/Phoenix generators work in and would like...
New
mythicalprogrammer
Hi I’ve tried every combination of mix phx.gen.html About about --no-context --no-schema I took out about and About in several combinat...
New
kalkatfyodor
Normally, for a simple one word table, I would be using something like this: $ mix phx.gen.context Cars Car cars model:string price:stri...
New
jonbirke0927
Hello everyone, When using the phoenix generators to create a new context (i.e. mix phx.gen.context ContextName SchemaName table_name co...
New
stevensonmt
I know how to use comprehensions to generate combinations/permutations: (for a <- 0..9, b <- 0..9 |> Enum.reject(&Kernel.==...
New
sf8193
Hello! Having trouble running the phx.gen.html templates. This is the command I’m trying mix phx.gen.html Shipments shipmentroutes ship...
New
water
I’m reading, Contexts — Phoenix v1.6.15, and it’s all about phx.gen.html. When would you use phx.gen.live instead? I generated both and ...
New
thiagomajesk
Hi! I was wondering if we have something similar to the concept of “areas” in ASP.NET MVC for Phoenix. It’s nothing really complicated; ...
New
joaquinalcerro
So I am exploring Umbrella Apps to migrate a old application to have a better separation of concerns and of course I am trying to use the...
New
subati
Hi, I am trying to follow the Phoenix 1.4.6 guide’s Ecto section. I tried to create a schema called User using “mix phx.gen.schema” foll...
New
expilo
I was checking on the current status of Elixir static sites generators and it seems that they are all more or less abandoned as of today...
New
bulldog_in_the_dream
I am trying to add a schema and repo functions to an existing context. I run mix phx.gen.context ExistingContext NewSchema new_schema … ...
New
Sanjibukai
Hi everybody! How do you handle embedded schemas (the map fields in JSON or JSONB) with generators and forms? I have a situation where ...
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