Skip to content

Fix to check ActiveRecord prefix / suffix#432

Open
zaru wants to merge 2 commits intoRolifyCommunity:masterfrom
zaru:master
Open

Fix to check ActiveRecord prefix / suffix#432
zaru wants to merge 2 commits intoRolifyCommunity:masterfrom
zaru:master

Conversation

@zaru
Copy link
Copy Markdown

@zaru zaru commented Jan 18, 2017

Fixes #296

When using config.active_record.table_name_prefix in ActiveRecord, the name of join table is not changed. This PR works well in my environment, but please advise if there is any problem.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 20, 2017

Coverage Status

Coverage increased (+0.007%) to 93.096% when pulling 685246b on zaru:master into dffb0f6 on RolifyCommunity:master.

Copy link
Copy Markdown
Member

@EppO EppO left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution,
A test with ActiveRecord::Base.table_name_prefix set would be needed to check what is the impact when prefix is non-empty

@EppO EppO added the tests label Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants