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

Refactor the alias finder service into a concern #897

Open
ezekg opened this issue Oct 9, 2024 · 0 comments
Open

Refactor the alias finder service into a concern #897

ezekg opened this issue Oct 9, 2024 · 0 comments

Comments

@ezekg
Copy link
Member

ezekg commented Oct 9, 2024

I'd like to eventually move [usage of FindByAliasService behind] a find_by_alias concern, where a model can define aliases:

class Product
  include Aliasable
  
  has_aliases :code
end

Originally posted by @ezekg in #894 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant