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

Fix for Rails 4 deprecation breaks Rails 5 #4

Open
willc0de4food opened this issue Jul 17, 2017 · 0 comments
Open

Fix for Rails 4 deprecation breaks Rails 5 #4

willc0de4food opened this issue Jul 17, 2017 · 0 comments

Comments

@willc0de4food
Copy link

Reference: #3 , 3ee3fae
Rails 5 is complaining with the following:

! Unable to load application: ArgumentError: Delegation needs a target. Supply an options hash with a :to key as the last argument (e.g. delegate :hello, to: :greeter).
/Users/tim/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.4/lib/active_support/core_ext/module/delegation.rb:155:in `delegate': Delegation needs a target. Supply an options hash with a :to key as the last argument (e.g. delegate :hello, to: :greeter). (ArgumentError)
	from /Users/tim/.rvm/gems/ruby-2.4.0/gems/cached_counts-0.3.0/lib/cached_counts/active_record_base_methods.rb:19:in `singleton class'
	from /Users/tim/.rvm/gems/ruby-2.4.0/gems/cached_counts-0.3.0/lib/cached_counts/active_record_base_methods.rb:11:in `block in <module:ActiveRecordBaseMethods>'
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

1 participant