Skip to content
#

management

Here are 1,749 public repositories matching this topic...

djberg96
djberg96 commented Aug 5, 2020

With warnings enabled you'll see that the SupportsFeatureMixin triggers lots of redefinition warnings:

# sf_test.rb
require 'active_support'
require 'active_support/core_ext/object/blank'
require_relative 'supports_feature_mixin' # Assume sf_test.rb and supports_feature_mixin.rb are in same directory

class Post
  include SupportsFeatureMixin
  supports :publish
  supports_not 

Improve this page

Add a description, image, and links to the management topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the management topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.