Deprecate create alias of insert in connection adapters
From uloza+hey@proton.me · original ↗ · unsubscribe
insert / update / delete correspond to their SQL DML verbs, but create reads like DDL (create_table / create_database) rather than the INSERT it actually performs.
Deprecate `create` alias of `insert` in connection adapters by kamipo · Pull Request #58426 · rails/rails · GitHub
Navigation Menu
Appearance settings
-
Platform
-
AI CODE CREATION
-
DEVELOPER WORKFLOWS
-
APPLICATION SECURITY
-
EXPLORE
-
-
Solutions
-
BY COMPANY SIZE
-
BY USE CASE
-
BY INDUSTRY
-
-
Resources
-
EXPLORE BY TOPIC
-
EXPLORE BY TYPE
-
SUPPORT & SERVICES
-
-
Open Source
-
COMMUNITY
-
PROGRAMS
-
REPOSITORIES
-
-
Enterprise
Search/
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
Uh oh!
There was an error while loading. Please reload this page.
- Notifications You must be signed in to change notification settings
- Fork 22.4k
- Code
- Issues 485
- Pull requests 1.1k
- Discussions
- Actions
- Security and quality 26
- Insights
Additional navigation options
Deprecate create alias of insert in connection adapters - #58426
#58426
Merged
kamipo merged 1 commit into
rails:mainrails/rails:mainfrom
kamipo:deprecate_create_alias_of_insertkamipo/rails:deprecate_create_alias_of_insertCopy head branch name to clipboard
Aug 10, 2026
ConversationCommits1 (1)ChecksFiles changed
Merged
##
Deprecate create alias of insert in connection adapters#58426
kamipo merged 1 commit into
rails:mainrails/rails:mainfrom
kamipo:deprecate_create_alias_of_insertkamipo/rails:deprecate_create_alias_of_insertCopy head branch name to clipboard
Conversation
###
kamipo commented Aug 9, 2026
Copy link
Copy Markdown
Member
insert, update, delete correspond to their SQL DML verbs, but create reads like DDL (create_table, create_database) rather than the INSERT it actually performs. The alias is confusing and offers no value over calling insert directly.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
All reactions github-actions Bot added the activerecord label Aug 9, 2026
kamipo force-pushed the deprecate_create_alias_of_insert branch 2 times, most recently from e0be00c to 7ef8254 Compare August 9, 2026 12:34
[Deprecate `create` alias of `insert` in connection adapters](/rails/rails/pull/58426/commits/b571a7f159bf817f196f4dbfcc7533e64c5f8772 "Deprecate `create` alias of `insert` in connection adapters `insert`, `update`, `delete` correspond to their SQL DML verbs, but `create` reads like DDL (`create_table`, `create_database`) rather than the `INSERT` it actually performs. The alias is confusing and offers no value over calling `insert` directly.") …
[b571a7f](/rails/rails/pull/58426/commits/b571a7f159bf817f196f4dbfcc7533e64c5f8772)
`insert`, `update`, `delete` correspond to their SQL DML verbs, but `create` reads like DDL (`create_table`, `create_database`) rather than the `INSERT` it actually performs. The alias is confusing and offers no value over calling `insert` directly.
kamipo force-pushed the deprecate_create_alias_of_insert branch from 7ef8254 to b571a7f Compare August 10, 2026 08:48
Hide details View details
kamipo merged commit cf6d592 into rails:main Aug 10, 2026
5 checks passed
Uh oh!
There was an error while loading. Please reload this page.
kamipo deleted the deprecate_create_alias_of_insert branch August 10, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
### Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Footer
Footer navigation
- Terms
- Privacy
- Security
- Status
- Community
- Docs
- Contact
- Manage cookies
- Do not share my personal information
You can’t perform that action at this time.