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

Use ActiveSupport.on_load to hook into ActiveRecord #272

Merged
merged 2 commits into from
May 10, 2017
Merged

Use ActiveSupport.on_load to hook into ActiveRecord #272

merged 2 commits into from
May 10, 2017

Conversation

brendon
Copy link
Owner

@brendon brendon commented May 10, 2017

Closes #268

rono23 and others added 2 commits May 10, 2017 01:49
In our case it’s fairly simple to just call `extend` to bring in the
class method. The instance methods are then included when
`acts_as_list` is called.

`active_record` also has `active_support` as a dependency so we don’t
need to declare that.
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.

2 participants