Hello All
I have come across a problem, documented in the links below, when
extending
Fowardable in an app I am porting to Rails 4.2.1.
Any class that extends Forwardable (which used to work) now gives this
error:
ArgumentError: wrong number of arguments calling instance_delegate
(2
for
1)
extended at
/Users/steve/.rvm/gems/jruby-1.7.13/gems/activemodel-4.2.1/lib/active_model/naming.rb:220
extend at org/jruby/RubyKernel.java:2200
The links have some suggestions which work in most cases. But I’m
surprised
there would be a conflict between those classes, both are in Rails core
right? Am I the only person seeing this?
https://github.com/jayroh/thredded/commit/fd0787130fb1e7d0847c2b50b4b4797396d858dc
https://github.com/cequel/cequel/issues/193
Thanks in advance for any help.
Steve