Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mathieuprog
polymorphic_embed
Repository navigation
Code
Issues
16
(16)
Pull requests
12
(12)
Actions
Projects
Security and quality
Insights
More
items
Fix embeds cast and forms
- #149
#149
Open
nduitz
wants to merge 11 commits into
mathieuprog:master
mathieuprog/polymorphic_embed:master
from
nduitz:fix-embeds-cast-and-forms
nduitz/polymorphic_embed:fix-embeds-cast-and-forms
Copy head branch name to clipboard
Conversation
Commits
11
(11)
Checks
Files changed
Open
Fix embeds cast and forms
#149
nduitz
wants to merge 11 commits into
mathieuprog:master
mathieuprog/polymorphic_embed:master
from
nduitz:fix-embeds-cast-and-forms
nduitz/polymorphic_embed:fix-embeds-cast-and-forms
Copy head branch name to clipboard
Commits
Commits on Oct 24, 2026
Add parity tests against Ecto embeds
Show description for d870095
nduitz
committed
d870095
View commit details
Copy full SHA for d870095
Browse repository at this point
Preserve child form params, data and actions
Show description for 87b3adf
nduitz
committed
87b3adf
View commit details
Copy full SHA for 87b3adf
Browse repository at this point
Commits on Oct 29, 2026
Return "is invalid" for params that are not maps
Show description for faed296
nduitz
committed
faed296
View commit details
Copy full SHA for faed296
Browse repository at this point
Handle the required option as Ecto does
Show description for e2273f8
nduitz
committed
e2273f8
View commit details
Copy full SHA for e2273f8
Browse repository at this point
Match existing embeds_many rows by primary key
Show description for 9caecc3
nduitz
committed
9caecc3
View commit details
Copy full SHA for 9caecc3
Browse repository at this point
Raise ArgumentError for an invalid on_replace option
Show description for 7f58990
nduitz
committed
7f58990
View commit details
Copy full SHA for 7f58990
Browse repository at this point
Keep an autogenerated integer id nil on cast
Show description for f4582f6
nduitz
committed
f4582f6
View commit details
Copy full SHA for f4582f6
Browse repository at this point
Put the primary key of existing rows into the hidden inputs
Show description for e5ad17c
nduitz
committed
e5ad17c
View commit details
Copy full SHA for e5ad17c
Browse repository at this point
Test the type of a nested embed with a parent type field
Show description for a8048a8
nduitz
committed
a8048a8
View commit details
Copy full SHA for a8048a8
Browse repository at this point
Read the polymorphic type from the cast data first
Show description for 12d065d
nduitz
committed
12d065d
View commit details
Copy full SHA for 12d065d
Browse repository at this point
Add the changes of this branch to the changelog
Show description for 383465e
nduitz
committed
383465e
View commit details
Copy full SHA for 383465e
Browse repository at this point
You can’t perform that action at this time.