DEPRECATION WARNING: The cattr_* method definitions have been moved into active_support/core_ext/module/attribute_accessors. (Rails 4.1.0.beta1) #620

Closed
afn opened this Issue Jan 15, 2014 · 20 comments
@afn

lib/delayed/worker.rb has:

require 'active_support/core_ext/class/attribute_accessors'

For Rails 4.1 this should be changed to:

require 'active_support/core_ext/module/attribute_accessors'
@saki7

+1, I can confirm this error too.

@zolzaya

+1 same here

@mikeatlas

+1 seeing this issue as well

@mikedebock

+1 same here

@rensverschuren

+1 same

@wspruijt

+1 Same error

@jkypet

+1

@wspruijt

I fixed this in a fork, can I pull it to this repository? Might break when running Rails 3.x

wspruijt@4d70f57

@creasty

+1

@twiho

+1

@zolzaya

Any updates?

@Hirurg103 Hirurg103 added a commit that referenced this issue Mar 21, 2014
@Hirurg103 Hirurg103 Require 'active_support/core_ext/module/attribute_accessors' instead …
…of active_support/core_ext/class/attribute_accessors' in order to avoid deprecation warnings

[closes #620]
45f898f
@olivierlacan

I opened a pull request to address this in a backwards compatible fashion: see #642. Haven't tested it yet.

@gsxdsm

+1

@twiho
@albus522
Collective Idea member

ActiveSupport removed the deprecation warning

@albus522 albus522 closed this Apr 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment