Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Define SolidusFriendlyPromotions.table_name_prefix early #98

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Jan 18, 2024

In Rails 7.1.3, the table_name_prefix method is redefined if it is not already defined. Since we have multiple module definitions, we need to make sure that the class method is defined before we load engine.rb.

In Rails 7.1.3, the `table_name_prefix` method is redefined if it is not
already defined. Since we have multiple module definitions, we need to
make sure that the class method is defined before we load `engine.rb`.
Copy link
Collaborator

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Geiler Fix

@mamhoff mamhoff merged commit fff0acc into main Jan 18, 2024
@mamhoff mamhoff deleted the fix-table-name-prefix-rails-7-1-3 branch January 18, 2024 15:16
mamhoff added a commit that referenced this pull request Jul 1, 2024
…7-1-3

Define SolidusFriendlyPromotions.table_name_prefix early
mamhoff added a commit that referenced this pull request Oct 25, 2024
…7-1-3

Define SolidusFriendlyPromotions.table_name_prefix early
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants