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

Rename generated method by .decorates_association #48

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

nicolas-brousse
Copy link
Member

@nicolas-brousse nicolas-brousse commented Sep 28, 2023

Change generated method for associations to #decorated_[ASSOCIATION_NAME] instead #[ASSOCIATION_NAME].
It's often annoying to have original rails association method replaced.

@nicolas-brousse nicolas-brousse self-assigned this Sep 28, 2023
@nicolas-brousse nicolas-brousse force-pushed the rename-decorated-association-method-name branch 2 times, most recently from fa80d10 to 75b7ae7 Compare October 23, 2023 16:07
@nicolas-brousse nicolas-brousse force-pushed the rename-decorated-association-method-name branch from 75b7ae7 to 674d0f2 Compare November 6, 2023 13:23
@nicolas-brousse nicolas-brousse force-pushed the rename-decorated-association-method-name branch from 674d0f2 to feac76d Compare November 6, 2023 13:26
@nicolas-brousse nicolas-brousse merged commit 81147fd into main Nov 6, 2023
34 checks passed
@nicolas-brousse nicolas-brousse deleted the rename-decorated-association-method-name branch November 6, 2023 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant