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

Conflict with Rails #532

Closed
brainopia opened this issue Aug 13, 2012 · 1 comment
Closed

Conflict with Rails #532

brainopia opened this issue Aug 13, 2012 · 1 comment

Comments

@brainopia
Copy link

In default configuration (with core extensions loaded) conflicts with current version of ActiveRecord because of https://github.com/rails/rails/blob/master/activerecord/lib/active_record/relation/calculations.rb#L296.

@jeremyevans
Copy link
Owner

I consider that a bug in ActiveRecord. Sequel has been using the as method for over 4 years, so you should file the bug with them and get them to use something beyond a simple respond_to?(:as) check. If you want to work around the issue in Sequel, undef_method is your friend.

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

No branches or pull requests

2 participants