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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/639cf03b-8d4e-480b-9d67-79377040dd45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to