def find(*args, &block)
      if block_given?
        decorated_collection.find(*args, &block)
      else
        ActiveSupport::Deprecation.warn('Using ActiveRecord\'s `find` on a CollectionDecorator is deprecated. ' +
                                        'Call `find` on a model, and then decorate the result', caller)

        decorate_item(object.find(*args))
      end
    end
def find(*args, &block)
      if block_given?
        decorated_collection.find(*args, &block)
      else
        ActiveSupport::Deprecation.warn('Using ActiveRecord\'s `find` on a CollectionDecorator is deprecated. ' +
                                        'Call `find` on a model, and then decorate the result', caller)

        decorate_item(object.find(*args))
      end
    end
Delegated to the decorated collection when using the block form
 (`Enumerable#find`) or to the decorator class if not
 (`ActiveRecord::FinderMethods#find`)