<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="365822" data-post-id="365822">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albin" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albin/120/34434_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albin
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>well, with the PR and adding <code>change set_context(%{strategy_name: :password})</code> to <code>create :register_with_password</code>, I get <code>Invalid value provided for record_id: is invalid</code></p>
<pre data-code-wrap="sh"><code class="lang-sh">[info] GET /register
[debug] Processing with AshAuthentication.Phoenix.SignInLive.register/2
  Parameters: %{}
  Pipelines: [:browser]
[info] Sent 200 in 2ms
[info] CONNECTED TO Phoenix.LiveView.Socket in 11µs
  Transport: :websocket
  Serializer: Phoenix.Socket.V2.JSONSerializer
  Parameters: %{"_csrf_token" =&gt; "GFxmXjQLVCh9ACcKST5fZyAvESYENgVbrm50y2lzDZVIdaoSRmVPjwov", "_live_referer" =&gt; "undefined", "_mount_attempts" =&gt; "0", "_mounts" =&gt; "0", "_track_static" =&gt; %{"0" =&gt; "http://localhost:4000/assets/app.css", "1" =&gt; "http://localhost:4000/assets/app.js"}, "vsn" =&gt; "2.0.0"}
[debug] MOUNT AshAuthentication.Phoenix.SignInLive
  Parameters: %{}
  Session: %{"_csrf_token" =&gt; "j1SnM98R9ZqC-_04rBGvnAj-", "auth_routes_prefix" =&gt; "/auth", "context" =&gt; nil, "gettext_fn" =&gt; nil, "otp_app" =&gt; nil, "overrides" =&gt; [AshEventsTestWeb.AuthOverrides, AshAuthentication.Phoenix.Overrides.Default], "path" =&gt; "/sign-in", "register_path" =&gt; "/register", "reset_path" =&gt; "/reset", "resources" =&gt; nil, "tenant" =&gt; nil}
[debug] Replied in 134µs
[debug] HANDLE PARAMS in AshAuthentication.Phoenix.SignInLive
  Parameters: %{}
[debug] Replied in 79µs
[debug] HANDLE EVENT "change" in AshAuthentication.Phoenix.SignInLive
  Component: AshAuthentication.Phoenix.Components.Password.RegisterForm
  Parameters: %{"_csrf_token" =&gt; "BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6", "_target" =&gt; ["user", "email"], "user" =&gt; %{"_unused_password" =&gt; "[FILTERED]", "_unused_password_confirmation" =&gt; "[FILTERED]", "email" =&gt; "asd@add.com", "password" =&gt; "[FILTERED]", "password_confirmation" =&gt; "[FILTERED]"}}
[debug] Replied in 2ms
[debug] HANDLE EVENT "change" in AshAuthentication.Phoenix.SignInLive
  Component: AshAuthentication.Phoenix.Components.Password.RegisterForm
  Parameters: %{"_csrf_token" =&gt; "BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6", "_target" =&gt; ["user", "password"], "user" =&gt; %{"_unused_password_confirmation" =&gt; "[FILTERED]", "email" =&gt; "asd@add.com", "password" =&gt; "[FILTERED]", "password_confirmation" =&gt; "[FILTERED]"}}
[debug] Replied in 10ms
[debug] HANDLE EVENT "change" in AshAuthentication.Phoenix.SignInLive
  Component: AshAuthentication.Phoenix.Components.Password.RegisterForm
  Parameters: %{"_csrf_token" =&gt; "BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6", "_target" =&gt; ["user", "password_confirmation"], "user" =&gt; %{"email" =&gt; "asd@add.com", "password" =&gt; "[FILTERED]", "password_confirmation" =&gt; "[FILTERED]"}}
[debug] Replied in 3ms
[debug] HANDLE EVENT "submit" in AshAuthentication.Phoenix.SignInLive
  Component: AshAuthentication.Phoenix.Components.Password.RegisterForm
  Parameters: %{"_csrf_token" =&gt; "BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6", "user" =&gt; %{"email" =&gt; "asd@add.com", "password" =&gt; "[FILTERED]", "password_confirmation" =&gt; "[FILTERED]"}}
[debug] QUERY OK db=2.8ms idle=1205.2ms
begin []
↳ anonymous fn/3 in Ash.Changeset.with_hooks/3, at: lib/ash/changeset/changeset.ex:3760
[debug] QUERY OK db=0.3ms
SELECT pg_advisory_xact_lock($1) [2147483647]
[debug] QUERY OK source="events" db=2.9ms
INSERT INTO "events" ("data","version","metadata","resource","action","action_type","occurred_at","record_id") VALUES ($1,$2,$3,$4,$5,$6,$7,$8) RETURNING "user_id","record_id","occurred_at","system_actor","action_type","action","resource","metadata","version","data","id" [%{password: "asdfasdf", email: #Ash.CiString&lt;"asd@add.com"&gt;, password_confirmation: "asdfasdf"}, 1, %{}, AshEventsTest.Accounts.User, :register_with_password, :create, ~U[2025-05-26 02:59:04.248203Z], "4ace8cef-09da-4426-89fa-df4860dd9baa"]
↳ AshPostgres.DataLayer.bulk_create/3, at: lib/data_layer.ex:1979
[debug] QUERY OK source="users" db=9.1ms
INSERT INTO "users" ("id","email","hashed_password") VALUES ($1,$2,$3) RETURNING "confirmed_at","hashed_password","email","id" ["e6bd53a8-0c04-41ba-925e-7de629058595", #Ash.CiString&lt;"asd@add.com"&gt;, "$2b$12$GTPDwCO7uACTsEheZink4OKXbC.jpPfRLNyjZdSTCGLXiiUHcvm1G"]
↳ AshPostgres.DataLayer.bulk_create/3, at: lib/data_layer.ex:1979
[debug] QUERY OK db=0.2ms
SELECT pg_advisory_xact_lock($1) [2147483647]
[debug] QUERY OK db=0.3ms
rollback []
↳ anonymous fn/3 in Ash.Changeset.with_hooks/3, at: lib/ash/changeset/changeset.ex:3760
[error] GenServer #PID&lt;0.1657.0&gt; terminating
** (Ash.Error.Invalid)
Bread Crumbs:
  &gt; Error returned from: AshEventsTest.Events.Event.create
  &gt; Exception raised in: AshEventsTest.Accounts.Token.store_token
  &gt; Exception raised in: AshEventsTest.Accounts.User.register_with_password_ash_events_orig_impl
  &gt; Exception raised in: AshEventsTest.Accounts.User.register_with_password

Invalid Error

* Invalid value provided for record_id: is invalid.

"311f8qllfk1mdspg8g000a21"

  (ash 3.5.12) lib/ash/error/changes/invalid_attribute.ex:4: Ash.Error.Changes.InvalidAttribute.exception/1
  (ash 3.5.12) lib/ash/changeset/changeset.ex:6403: anonymous fn/4 in Ash.Changeset.add_invalid_errors/5
  (elixir 1.18.3) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
  (ash 3.5.12) lib/ash/changeset/changeset.ex:5687: anonymous fn/5 in Ash.Changeset.do_change_attribute/4
  (stdlib 6.2.2) maps.erl:860: :maps.fold_1/4
  (ash 3.5.12) lib/ash/changeset/changeset.ex:2298: Ash.Changeset.handle_params/4
  (ash 3.5.12) lib/ash/changeset/changeset.ex:2166: Ash.Changeset.do_for_action/4
  (ash_events 0.2.0) lib/events/action_wrapper_helpers.ex:77: AshEvents.Events.ActionWrapperHelpers.create_event!/4
  (ash_events 0.2.0) lib/events/create_action_wrapper.ex:16: AshEvents.CreateActionWrapper.create/3
  (ash 3.5.12) lib/ash/actions/create/create.ex:309: anonymous fn/6 in Ash.Actions.Create.commit/3
  (ash 3.5.12) lib/ash/changeset/changeset.ex:4226: Ash.Changeset.run_around_actions/2
  (ash 3.5.12) lib/ash/changeset/changeset.ex:3762: anonymous fn/3 in Ash.Changeset.with_hooks/3
  (ash 3.5.12) lib/ash/data_layer/data_layer.ex:419: Ash.DataLayer.transaction/4
  (ash 3.5.12) lib/ash/changeset/changeset.ex:3760: anonymous fn/3 in Ash.Changeset.with_hooks/3
  (ash 3.5.12) lib/ash/changeset/changeset.ex:3904: anonymous fn/2 in Ash.Changeset.transaction_hooks/2
  (ash 3.5.12) lib/ash/changeset/changeset.ex:3747: Ash.Changeset.with_hooks/3
  (ash 3.5.12) lib/ash/actions/create/create.ex:261: Ash.Actions.Create.commit/3
  (ash 3.5.12) lib/ash/actions/create/create.ex:132: Ash.Actions.Create.do_run/4
  (ash 3.5.12) lib/ash/actions/create/create.ex:50: Ash.Actions.Create.run/4
    (ash 3.5.12) lib/ash/error/invalid.ex:3: Ash.Error.Invalid.exception/1
    (ash 3.5.12) /Users/albin/projects/a/ash_events_test/deps/splode/lib/splode.ex:264: Ash.Error.to_class/2
    (ash 3.5.12) lib/ash/error/error.ex:108: Ash.Error.to_error_class/2
    (ash 3.5.12) lib/ash/actions/create/create.ex:155: Ash.Actions.Create.do_run/4
    (ash 3.5.12) lib/ash/actions/create/create.ex:50: Ash.Actions.Create.run/4
    (ash 3.5.12) lib/ash.ex:2272: Ash.create!/3
    (ash_events 0.2.0) lib/events/create_action_wrapper.ex:16: AshEvents.CreateActionWrapper.create/3
    (ash 3.5.12) lib/ash/actions/create/create.ex:309: anonymous fn/6 in Ash.Actions.Create.commit/3
    (ash 3.5.12) lib/ash/changeset/changeset.ex:4226: Ash.Changeset.run_around_actions/2
    (ash 3.5.12) lib/ash/changeset/changeset.ex:3762: anonymous fn/3 in Ash.Changeset.with_hooks/3
    (ash 3.5.12) lib/ash/data_layer/data_layer.ex:419: Ash.DataLayer.transaction/4
    (ash 3.5.12) lib/ash/changeset/changeset.ex:3760: anonymous fn/3 in Ash.Changeset.with_hooks/3
    (ash 3.5.12) lib/ash/changeset/changeset.ex:3904: anonymous fn/2 in Ash.Changeset.transaction_hooks/2
    (ash 3.5.12) lib/ash/changeset/changeset.ex:3747: Ash.Changeset.with_hooks/3
    (ash 3.5.12) lib/ash/actions/create/create.ex:261: Ash.Actions.Create.commit/3
    (ash 3.5.12) lib/ash/actions/create/create.ex:132: Ash.Actions.Create.do_run/4
    (ash 3.5.12) lib/ash/actions/create/create.ex:50: Ash.Actions.Create.run/4
    (ash_authentication 4.8.7) lib/ash_authentication/token_resource/actions.ex:306: AshAuthentication.TokenResource.Actions.store_token/3
    (ash_authentication 4.8.7) lib/ash_authentication/jwt.ex:114: AshAuthentication.Jwt.token_for_user/4
Last message: %Phoenix.Socket.Message{topic: "lv:phx-GEL0ZtcqgwZByigh", event: "event", payload: %{"cid" =&gt; 7, "event" =&gt; "submit", "meta" =&gt; %{}, "type" =&gt; "form", "value" =&gt; "_csrf_token=BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6&amp;user%5Bemail%5D=asd%40add.com&amp;user%5Bpassword%5D=asdfasdf&amp;user%5Bpassword_confirmation%5D=asdfasdf"}, ref: "15", join_ref: "4"}
State: %{socket: #Phoenix.LiveView.Socket&lt;id: "phx-GEL0ZtcqgwZByigh", endpoint: AshEventsTestWeb.Endpoint, view: AshAuthentication.Phoenix.SignInLive, parent_pid: nil, root_pid: #PID&lt;0.1657.0&gt;, router: AshEventsTestWeb.Router, assigns: %{path: "/sign-in", context: %{}, resources: nil, overrides: [AshEventsTestWeb.AuthOverrides, AshAuthentication.Phoenix.Overrides.Default], otp_app: nil, __changed__: %{}, flash: %{}, current_user: nil, live_action: :register, reset_path: "/reset", register_path: "/register", current_tenant: nil, auth_routes_prefix: "/auth", gettext_fn: nil}, transport_pid: #PID&lt;0.1649.0&gt;, sticky?: false, ...&gt;, components: {%{1 =&gt; {AshAuthentication.Phoenix.Components.SignIn, "sign-in", %{id: "sign-in", path: "/sign-in", context: %{}, resources: nil, overrides: [AshEventsTestWeb.AuthOverrides, AshAuthentication.Phoenix.Overrides.Default], otp_app: nil, __changed__: %{}, flash: %{}, live_action: :register, myself: %Phoenix.LiveComponent.CID{cid: 1}, reset_path: "/reset", register_path: "/register", current_tenant: nil, auth_routes_prefix: "/auth", gettext_fn: nil, strategies_by_resource: [%{link: [%AshAuthentication.Strategy.MagicLink{identity_field: :email, lookup_action_name: :get_by_email, name: :magic_link, prevent_hijacking?: true, registration_enabled?: true, request_action_name: :request_magic_link, require_interaction?: true, resource: AshEventsTest.Accounts.User, sender: {AshEventsTest.Accounts.User.Senders.SendMagicLinkEmail, []}, sign_in_action_name: :sign_in_with_magic_link, single_use_token?: true, token_lifetime: {10, :minutes}, token_param_name: :token}], form: [%AshAuthentication.Strategy.Password{require_confirmed_with: nil, confirmation_required?: true, hash_provider: AshAuthentication.BcryptProvider, hashed_password_field: :hashed_password, identity_field: :email, name: :password, password_confirmation_field: :password_confirmation, password_field: :password, provider: :password, register_action_accept: [], register_action_name: :register_with_password, registration_enabled?: true, resettable: %AshAuthentication.Strategy.Password.Resettable{token_lifetime: {3, :days}, request_password_reset_action_name: :request_password_reset_token, password_reset_action_name: :reset_password_with_token, sender: {AshEventsTest.Accounts.User.Senders.SendPasswordResetEmail, []}}, resource: AshEventsTest.Accounts.User, sign_in_action_name: :sign_in_with_password, sign_in_enabled?: true, sign_in_token_lifetime: {60, :seconds}, sign_in_tokens_enabled?: true, sign_in_with_token_action_name: :sign_in_with_token}]}]}, %{live_temp: %{}, lifecycle: %Phoenix.LiveView.Lifecycle{after_render: [], handle_async: [], handle_event: [], handle_info: [], handle_params: [], mount: []}, root_view: AshAuthentication.Phoenix.SignInLive, children_cids: [2, 4, 5, 3]}, {53235540489126668440535755947336435476, %{1 =&gt; {274984422862422153202768882637895786415, %{}}, 2 =&gt; 224601609182057262826203480175630377920}}}, 2 =&gt; {AshAuthentication.Phoenix.Components.Banner, "sign-in-banner", %{id: "sign-in-banner", overrides: [AshEventsTestWeb.AuthOverrides, AshAuthentication.Phoenix.Overrides.Default], __changed__: %{}, flash: %{}, myself: %Phoenix.LiveComponent.CID{cid: 2}, gettext_fn: nil}, %{live_temp: %{}, lifecycle: %Phoenix.LiveView.Lifecycle{after_render: [], handle_async: [], handle_event: [], handle_info: [], handle_params: [], mount: []}, root_view: AshAuthentication.Phoenix.SignInLive, children_cids: []}, {294032448310932641089610866171078170453, %{1 =&gt; {271353884051957093198285300347873910869, %{}}, 2 =&gt; {36157643456020396772491470016395703690, %{}}, 3 =&gt; {54829494123056995042665501654766121516, %{}}}}}, 3 =&gt; {AshAuthentication.Phoenix.Components.Password, "sign-in-user-with-password", %{id: "sign-in-user-with-password", path: "/sign-in", context: %{}, strategy: %AshAuthentic (truncated)
[debug] MOUNT AshAuthentication.Phoenix.SignInLive
  Parameters: %{}
  Session: %{"_csrf_token" =&gt; "j1SnM98R9ZqC-_04rBGvnAj-", "auth_routes_prefix" =&gt; "/auth", "context" =&gt; nil, "gettext_fn" =&gt; nil, "otp_app" =&gt; nil, "overrides" =&gt; [AshEventsTestWeb.AuthOverrides, AshAuthentication.Phoenix.Overrides.Default], "path" =&gt; "/sign-in", "register_path" =&gt; "/register", "reset_path" =&gt; "/reset", "resources" =&gt; nil, "tenant" =&gt; nil}
[debug] Replied in 576µs
[debug] HANDLE PARAMS in AshAuthentication.Phoenix.SignInLive
  Parameters: %{}
[debug] Replied in 62µs
[debug] HANDLE EVENT "change" in AshAuthentication.Phoenix.SignInLive
  Component: AshAuthentication.Phoenix.Components.Password.SignInForm
  Parameters: %{"_csrf_token" =&gt; "BkF-Hi4BQGNQHx8VZAVpXAgaNwVcLiYblp-pc8x1iEnVIZYhzXps2oL6", "_target" =&gt; ["user", "email"], "user" =&gt; %{"_unused_email" =&gt; "", "_unused_password" =&gt; "[FILTERED]", "email" =&gt; "", "password" =&gt; "[FILTERED]"}}
[debug] Replied in 1ms
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365822" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-365822" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365822"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="365823" data-post-id="365823">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachdaniel" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachdaniel/120/31980_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachdaniel
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Ash</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hmm…mayhaps another separate issue with <code>ash_events</code> somehow? <img src="https://forum.elixirforum.com/images/emoji/apple/thinking.png?v=15" title=":thinking:" class="emoji" alt=":thinking:" loading="lazy" width="20" height="20"> Can you put together a reproduction project and open and issue? Obviously <code>ash_events</code> wasn’t tested event sourcing on the user resource using <code>AshAuthentication</code> <img src="https://forum.elixirforum.com/images/emoji/apple/sweat_smile.png?v=15" title=":sweat_smile:" class="emoji" alt=":sweat_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365823" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-365823" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365823"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="365860" data-post-id="365860">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albin" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albin/120/34434_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albin
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a href="https://github.com/ash-project/ash_events/issues/21" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/ash-project/ash_events/issues/21</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365860" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-365860" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365860"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="365865" data-post-id="365865">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachdaniel" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachdaniel/120/31980_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachdaniel
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Ash</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Not a bug, my bad. You’ll have to set <code>record_id_type</code> which defaults to <code>:uuid</code>. Check the docs for more <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365865" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-365865" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365865"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="365866" data-post-id="365866">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albin" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albin/120/34434_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albin
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>FWIW, I just noticed I also forgot to change <code>MyApp</code> when copying over example code.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  event_log do
    persist_actor_primary_key :user_id, MyApp.Accounts.User
    persist_actor_primary_key :system_actor, MyApp.Accounts.SystemActor, attribute_type: :string
  end
</code></pre>
<p>Is it possible to catch something like this at compile time? <img src="https://forum.elixirforum.com/images/emoji/apple/sweat_smile.png?v=15" title=":sweat_smile:" class="emoji" alt=":sweat_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365866" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-365866" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365866"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="365867" data-post-id="365867">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachdaniel" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachdaniel/120/31980_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachdaniel
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Ash</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yes, we could write a verifier that discovers that. Please open an issue (make sure the word “verifier” is mentioned, because if its not done in a verifier it will incur a compile time dependency).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365867" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-365867" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365867"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="365869" data-post-id="365869">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albin" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albin/120/34434_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albin
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a href="https://github.com/ash-project/ash_events/issues/22" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/ash-project/ash_events/issues/22</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365869" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-365869" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365869"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="365971" data-post-id="365971">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albin" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albin/120/34434_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albin
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I messed up that time <img src="https://forum.elixirforum.com/images/emoji/apple/sweat_smile.png?v=15" title=":sweat_smile:" class="emoji" alt=":sweat_smile:" loading="lazy" width="20" height="20"></p>
<p>Followed the docs and started from scratch. Now I have /register working as expected.<br>
Here’s the working repo: <a href="https://github.com/albinkc/uber_for_ice_cream" class="inline-onebox" rel="noopener nofollow ugc">GitHub - albinkc/uber_for_ice_cream · GitHub</a></p>
<p>The two changes you suggested above were required for <code>/register</code> to work.</p>
<p>curious if the second change is something that can be integrated into the <code>ash_authentication</code>’s igniter installer.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="365971" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/transaction-rollback-with-no-errors-when-adding-ash-events-to-user-resource-created-by-ashauthentication-installer/70999/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-365971" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="365971"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>