Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Active Record secure token compiler #1316

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

bdewater
Copy link
Contributor

Motivation

Found myself having to write a couple of shims for this, so here's a small compiler for https://api.rubyonrails.org/classes/ActiveRecord/SecureToken/ClassMethods.html which was added in Rails 5.

It ain't much but it's honest work.

Implementation

Used the same extension used for delegated types.

Tests

Added tests

@bdewater bdewater requested a review from a team as a code owner December 15, 2022 03:43
@paracycle paracycle merged commit 23d034f into Shopify:main Feb 15, 2023
@bdewater bdewater deleted the add-ar-secure-token branch February 15, 2023 21:54
@shopify-shipit shopify-shipit bot temporarily deployed to production February 21, 2023 12:01 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants