def new(attributes = nil, &block)
      block = _deprecated_scope_block("new", &block)
      scoping { klass.new(attributes, &block) }
    end
def new(attributes = nil, &block)
      block = _deprecated_scope_block("new", &block)
      scoping { klass.new(attributes, &block) }
    end
Initializes new record from relation while maintaining the current
 scope.

 Expects arguments in the same format as {ActiveRecord::Base.new}[rdoc-ref:Core.new].

   users = User.where(name: 'DHH')
   user = users.new # => #<User id: nil, name: "DHH", created_at: nil, updated_at: nil>

 You can also pass a block to new with the new record as argument:

   user = users.new { |user| user.name = 'Oscar' }
   user.name # => Oscar