Skip to content

Fix for rails3.1: DEPRECATION WARNING: class_inheritable_attribute is de...#16

Open
millisami wants to merge 1 commit into
parolkar:masterfrom
millisami:fix-deprecation-warning-rails3-1
Open

Fix for rails3.1: DEPRECATION WARNING: class_inheritable_attribute is de...#16
millisami wants to merge 1 commit into
parolkar:masterfrom
millisami:fix-deprecation-warning-rails3-1

Conversation

@millisami
Copy link
Copy Markdown

Making it compatible with Rails 3.1 to suppress the following warnings that clogs the console log.

DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from emits_pfeeds at /var/lib/jenkins/jobs/CloudFactory/workspace/vendor/plugins/pfeed/lib/pfeed.rb:20)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from emits_pfeeds at /var/lib/jenkins/jobs/CloudFactory/workspace/vendor/plugins/pfeed/lib/pfeed.rb:20)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from emits_pfeeds at /var/lib/jenkins/jobs/CloudFactory/workspace/vendor/plugins/pfeed/lib/pfeed.rb:24)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from emits_pfeeds at /var/lib/jenkins/jobs/CloudFactory/workspace/vendor/plugins/pfeed/lib/pfeed.rb:24)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from receives_pfeed at /var/lib/jenkins/jobs/CloudFactory/workspace/vendor/plugins/pfeed/lib/pfeed.rb:69)

… deprecated, please use class_attribute method instead.
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

Successfully merging this pull request may close these issues.

1 participant