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

Rails 5 AR workflow addition. #76

Merged
merged 1 commit into from Aug 27, 2016

Conversation

merqlove
Copy link
Contributor

Ability to setup custom parent classes (i.e. ApplicationRecord). Tested with rails5 branch.

@merqlove merqlove force-pushed the feature/custom-parent-classes branch from d2f6996 to 5fe8253 Compare August 27, 2016 00:55
@merqlove merqlove changed the base branch from master to rails5 August 27, 2016 00:59
@@ -3,12 +3,14 @@ module FollowerLib

private

DEFAULT_PARENTS = [ActiveRecord::Base]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you set the DEFAULT_PARENTS to ApplicationRecord if it's Rails 5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep

@jcoyne
Copy link
Collaborator

jcoyne commented Aug 27, 2016

This is great work. Thank you for contributing.

@merqlove merqlove force-pushed the feature/custom-parent-classes branch 2 times, most recently from 4acdee8 to f4e340e Compare August 27, 2016 21:00
@merqlove merqlove force-pushed the feature/custom-parent-classes branch from f4e340e to e14a1e4 Compare August 27, 2016 21:01
@merqlove
Copy link
Contributor Author

Changed logic back for unless.

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

Successfully merging this pull request may close these issues.

None yet

2 participants