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

ORM agnosticism: remove hard require of ActiveRecord #296

Merged
merged 1 commit into from
Oct 31, 2013

Conversation

johnnyshields
Copy link
Contributor

Do not use require 'activerecord', and instead only load the ransack AR adapters if AR has already been defined.

… the ransack AR adapters if AR has already been defined
@radar
Copy link
Contributor

radar commented Oct 31, 2013

Seems fine to me!

radar added a commit that referenced this pull request Oct 31, 2013
ORM agnosticism: remove hard require of ActiveRecord
@radar radar merged commit 4e228bc into activerecord-hackery:master Oct 31, 2013
radar pushed a commit that referenced this pull request Oct 31, 2013
… the ransack AR adapters if AR has already been defined

Fixes #296
@johnnyshields
Copy link
Contributor Author

@radar cheers 🍻

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