Sha256: 09bbce7b888627bbb1713d18bfea21716484efb64a8e751d1228b3851b76ed46

Contents?: true

Size: 347 Bytes

Versions: 194

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module ActiveModel
  module Validations
    module HelperMethods # :nodoc:
      private
        def _merge_attributes(attr_names)
          options = attr_names.extract_options!.symbolize_keys
          attr_names.flatten!
          options[:attributes] = attr_names
          options
        end
    end
  end
end

Version data entries

194 entries across 189 versions & 18 rubygems

Version Path
activemodel-7.0.8.1 lib/active_model/validations/helper_methods.rb
activemodel-6.1.7.7 lib/active_model/validations/helper_methods.rb
activemodel-7.1.3 lib/active_model/validations/helper_methods.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activemodel-7.0.3.1/lib/active_model/validations/helper_methods.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activemodel-7.0.2.3/lib/active_model/validations/helper_methods.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activemodel-6.1.6.1/lib/active_model/validations/helper_methods.rb
activemodel-7.1.2 lib/active_model/validations/helper_methods.rb
activemodel-7.1.1 lib/active_model/validations/helper_methods.rb
activemodel-7.1.0 lib/active_model/validations/helper_methods.rb
activemodel-7.1.0.rc2 lib/active_model/validations/helper_methods.rb
activemodel-7.1.0.rc1 lib/active_model/validations/helper_methods.rb
activemodel-7.1.0.beta1 lib/active_model/validations/helper_methods.rb
activemodel-7.0.8 lib/active_model/validations/helper_methods.rb
activemodel-7.0.7.2 lib/active_model/validations/helper_methods.rb
activemodel-6.1.7.6 lib/active_model/validations/helper_methods.rb
activemodel-7.0.7.1 lib/active_model/validations/helper_methods.rb
activemodel-6.1.7.5 lib/active_model/validations/helper_methods.rb
activemodel-7.0.7 lib/active_model/validations/helper_methods.rb
activemodel-7.0.6 lib/active_model/validations/helper_methods.rb
activemodel-7.0.5.1 lib/active_model/validations/helper_methods.rb