-
Notifications
You must be signed in to change notification settings - Fork 801
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 ActiveSupport delegate ? #6
Comments
Yes, definitely seems like it. I'll look into it, it'll take some time, though. Couple of notes: a) The implementation is quite isolated in b) I couldn't decide whether to use c) The implementation shouldn't trample on the |
Actual for me too :( |
And for me |
Looking into it... ripped out stdlib's Due to inspect in https://github.com/rails/rails/blob/8dec2e7281a1b38db037dc23becd1a147d1fcae1/activesupport/lib/active_support/core_ext/module/delegation.rb#L179 I'm getting "Connection not established errors:.
|
…d::ConnectionNotEstablished` errors Rails 4 prevents these errors by default, see: https://github.com/rails/rails/blob/v4.0.2/activerecord/lib/active_record/core.rb#L108-L122 Related: #6
Replaced Had to monkeypatch |
@karmi 👍 |
Cool! @karmi |
Hi @karmi
Here is my Article model with
delegate
defined.Seems conflict with
Elasticsearch::Model::Support::Forwardable
Model example
Trace
Thanks!
The text was updated successfully, but these errors were encountered: